![]() |
How to modify register.php
I do not like the fact the x-cart takes the user back to the Modify Profile page each time a user creates a new profile or modify the profile. It is totally not necessary to let user to play with profile so easy, and let it show up again.
How can we direct users to home.php or place Feature Products box there after they submit a profile or modify their profile? I think this will be a very good mod. Thanks a lot. Jeff |
Hey Jeff, really need to know your X-Cart version number. Please post it in your signature. This will help pepole not only in this thread, but any other threads you post in Thanks! :)
|
Sorry. I am working on version 4.0.11
Thanks. Jeff |
Well that certainly helps in this thread, but it won't in others. Edit your profile, and put the version number in your signature. Where you have 'Beginner' now. I'll get back to you with an answer to your question a little later....
|
I believe version 4.0.9 does the same. When users register and Submit the profile form, the page will be directed to "Modify Profile" immediately. This is an annoying. Why do not start to sell products, instead of giving them the profile again?
In addition, each click on the Submit button on the Profile page, the user and the store owner will get an email - wasting your time. I think the modifications should be in /include/register.php, around lines: Code:
$script = $xcart_catalogs['partner']."/home.php?mode=profile_created"; But, it's just over my head. Thanks, Jeff ~~~~~~~ Version 4.0.11 (and 4.0.9) |
Quote:
You can turn that off in admin/General settings/Email notification options |
Anyone successfully redirect a newly registered client yet?
|
Thank you for checking back.
I did the following in include/register.php Replace Code:
$script = $xcart_catalogs['partner']."/home.php?mode=profile_created"; with Code:
$script = $xcart_catalogs['partner']."/home.php?mode=profile_created"; It seems it works ok for me. I am not very good at x-cart and so I am not sure it will cause problem or not. If you see any, please post back. Regards, Jeff |
Thanks Jeff for this code.
Now I understand why I have customer registered 2 or 3 times in the same day. :? This code works OK in 4.0.13 All the best. |
Yes, this is good. I have noticed that somtimes a user will create a profile and then delete it only a few minutes later :oops:
|
All times are GMT -8. The time now is 07:15 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.