View Full Version : Passing Variables to postsignup.php
aniemi
10th April 2007, 06:27 PM
I'm trying to pass some variables to the postsignup.php but so far I've not been able to.
I'd like the affiliate id to be passed so I can include it when posting to a different application. Is this possible?
TIA
-Aaron
drakeman
11th April 2007, 12:50 AM
I think, that this is not a possible. I send this request to our programmers and I let you know.
aniemi
11th April 2007, 12:53 AM
I think, that this is not a possible. I send this request to our programmers and I let you know.
Thanks! Maybe add it to session data further up in the .class?
I'm grasping at straws, but I need to figure it out.
-Aaron
aniemi
11th April 2007, 07:48 PM
[quote=drakeman]I think, that this is not a possible. I send this request to our programmers and I let you know.
I heard back from the ticket I put in, they also said it's impossible. But I've never let that stop me...so I figured it out, for others who may need this functionality, here's what I did:
I set a cookie in SignupUserNew.class.php on line 196
setcookie("cookie_name", $this->user->getColumn('userid'));
then on postsignup.php I can access the userid via the cookie I set.
-Aaron
drakeman
17th April 2007, 02:07 PM
I hope, that your solution will be useful for other users. Thank you
parker
17th March 2008, 04:17 PM
Thanks very much for this thread, just what I was after!
But could you please tell me what code to put on the thankyou page, to display the collected userid cookie?
I use "thanks.htm" as the post-signup page, instead of the standard "postsignup.php" file.
Any input would be greatly appreciated!
ricknap74
18th March 2008, 08:36 AM
Same here... I would to find out the code needed on the thanks.htm page.
Rick
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.