The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
running script after confirmed
in register.php underneath..
Quote:
i inserted... Quote:
Quote:
Now... as you can tell my statement inserts data to table using sql query.. but the part .$bbuserinfo['username']. seems to be not getting the username every time.. 8 out of 10 instances so far it has saved the username 'Unregistered' to fix this should i put my code in another part of the script, or use a different variable instead of $bbuserinfo['username'] Basically trying to run my code once the user has confirmed registration.. and needs their uid and uname to work. help appreciated. |
#2
|
||||
|
||||
what is the script using around that point?
try using an addslashed $_POST['username'] |
#3
|
|||
|
|||
i dont understand your question?
when a person confirms their activation, i want that username to be inserted into my sql code that is pasted above.. in some cases it isnt posting the Username that has been confirmed.. and is doing 'Unregistered' Im puzzled about why it is doing this, and wondered if there is another way to reference the username that is being confirmed.. or if i should place the code somewhere else. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|