I need to have on my site the following: User visit site, click add anounsement, FILL anounsement field and then goto login/registretion page. For example last step in checkout process is question "Do you have account here?". If answer is yes redirect to login page, if no redirect to registration page. As user registered, his/her anounsement will be added. Any ideas how to implement it? I am using developer version 4.2.4 Thanks in advance, Lev.
That is much more complicated than you are most likely imagining. There would be several core php files that you would have to change and affects many other items that you are probably not even aware of. The checkout process requires you to be logged in to start with in order to tie the listing to the user. In addition, once a category is chosen, then the ad listing packages are shown, which are not only based on the category chosen but also the USER GROUP the user is assigned to. All of this before you even get to the part that you asked about. At that point you would then need to be able to save all of the listing/order information somehow before passing them to the login and/or registration. In either of those cases again, you would need to change other items to get them back to where they are if logging in. If registering, then it would also be dependent on your settings for registration including whether you require validation, etc.. Bottom line is, you are asking to almost completely redo much of the core functionality and process of how the script works now. It would be extremely complex and much, much more than anyone would be able to tell you how to do in the forum.
Thank you for reply. I just wanted to get confirmation that it is not few lines code changes You count exactly the same stuff what I am going to do. Wish me good luck...