The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
VBULLETIN Login Info
Hi,
I am trying to write a custom php script that will add the logged in username into my mySQL table. Any simple guide/snippet that could help me retrieve the logged in username from different PC? To make it clear, I will need a simple script that could trace for his/her log in username and insert into mySQL table. I am still new to php but I don't need the full piece of script but just a snippet of how to retrieve the logged in forum ID from different PC(probably), and I will do the rest my own, thanks. Code:
<html> <head> <title>Database</title> </head> <body> <form action="welcome.php" method="get"> HWID: <input type="text" name="HWID" size="30"/><br /> <input type="submit" name="submit" value="Submit" /> </form> </body> </html> Thanks in advance. Regards, Nerrazzuri |
#2
|
|||
|
|||
I've read this a few times but I'm still not sure what you're asking for. If you are writing something to be a vbulletin plugin or add-on, then getting the user name is easy. But the "from another PC" part confuses me.
|
#3
|
|||
|
|||
Sorry to confuse you. I am trying to get the login username of every user when he click the submit button. Thats all.
Regards Nerrazzuri |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|