The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Get username from VB3 cookie...
... how do you do this? (read the username from the cookie).
Regards, Ben. |
#2
|
||||
|
||||
Pseudo-Code:
$userid = intval($_COOKIE[COOKIE_PREFIX . 'userid']); if ($userid) { $res = mysql_query("SELECT username FROM " . TABLE_PREFIX . "user WHERE userid = $userid"); // Do smth. } |
#3
|
|||
|
|||
Thanks! I actually realised something similar but your code did help!
Cheers, B. |
#4
|
||||
|
||||
See this thread:
https://vborg.vbsupport.ru/showthread.php?t=61953 And if you actually want to use the usernames and passwords in the vb database, see: https://vborg.vbsupport.ru/showthread.php?t=66735 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|