![]() |
In v2 I cant seem to change the url that people are redirected to after registering. Can some one point me to the line(s) that need changed.
To explain further I want to send them to a differnt url then the default one they are sent to after they register. Thanks :) -Brian |
I'm looking for the same thing. Also when members login. I want it to redirect them to the page they came from, not just the forum.
|
i'm looking for the same thing when users enter their username/pass they go to another URL not the index.php
thanks |
I am willing to pay some one a token fee via paypal to do this. It is just a matter of editing a few lines in member.php however I dont have the time to do it on v2, but did on v1.
I dont need anything pretty in the cp, just the lines and what to change code wize. -Brian |
Where are you wanting this page to link to.. where they came from.. the forums index page... ?
Just curious.. cause I will try to see if I can find the code to change for ya... don't need paid or anything.. just curious to see this myself :) |
To an external url.
Here is what I did in v1 Code:
if ($coppauser==1) { Thanks for looking into this :)!! |
At a quick glance at the register.php file.. here is what I see.. Well without posting the whole user if statement.. I will just add the part around where *I think* it needs changed.
PHP Code:
I think in that if statement you can change that $url value to whatever you want. $url = "http://www.somethingsomewhere.com"; or change the other values that have index.php on that page. I could be wrong.. I will take a look at this here in a bit. Tell me what you think on this. |
I was just wondering if anyone had a chance to check this out.
-Brian |
By the way for the person whom wanted it to redirect them to the page they came from they can simple use for a link javascript:history.go(-2) (replacing 2 with the number of pages it should take them back.
This is an easy way to do it but not the best way.. -Brian |
I have not had a chance to try this out myself, I might this weekend.. but did you try out what I posted.. changing that part?
|
I believe from before you have to modify a few other things although I am not positive. I will have to try it later today.
|
Has anyone had a chance to check and or try this out..
-Brian |
no offense, but why havent you tried it out yourself?
Brad showed where he *thinks* it is :) |
I work 6am till 8pm tommorow.. but when I get off work I will play with it.. I got caught up tonight in a few things.. way caught up :)
|
All times are GMT. The time now is 04:44 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|