The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
|||
|
|||
![]()
I have full control of where aweber sends the data, I just tell it which url to redirect to and the post data is sent.
The problem is the register.php script seems far to complicated for me to edit, I cant find where the fields are assigned like email and user profile fields. i have found the template register but that just has a value of $email so its already asigned by then I think. I could just assign the values at the begining of theregister.php but they will be reassigned during the register process if I dont place the code in the right place. Hope that makes sense. Grant --------------- Added [DATE]1203085849[/DATE] at [TIME]1203085849[/TIME] --------------- Made some progress with this... I have found out how to populate the username by using the post method (re posting data to next page) on the rules area and then assigning the value to username in the register template. But I am having problems with user profile fields as the dont exist except for run time. Solution 1 ## (been trying this but cant get any further with it) The dropdown that i have created that holds the values (this is basicaly so users can change them at a later date if needed) need to be assigned or preselected( as its a dropdown) from a variable I have from the previous page. The problem is that the dropdown is dynamicaly built by vb as far as I can tell, so there is no where to put something like this: normal html code form dropdown: Code:
<option value=$myPOSTval selected="selected">item2</option> Solution 2 ## ( I think this might be the way to go) Another way I thought of doing it was on the submit and just assign the value like this: Code:
<input type="hidden" name="userfield[field2]" value=$myPOSTvar /> Anyone got any ideas where to add this line. Thanks Grant |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|