The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Checking user logged in or not
Hi,
1) I want to add a php file with some fields which user should fill up and save on our database. 2) I have to check whether user is currently logged in or not. If yes then user will be able to see the php page otherwise not. 3) I have to retrieve userid and email from "user" table 4) Finally all the details with userid, email will be saved on a new table. Thanks in advance. Regards, Samser |
#2
|
||||
|
||||
Here a basic example
PHP Code:
|
#3
|
|||
|
|||
Thanks for reply!
is this code would work for both version 3.0.3 and 3.6.1? I think no. because I have tested in 3.0.3 but it's not working. First, I have to include header and footer of vBulletin with my script. Secondly, I need to check whether user is logged in or not Then I have to retrieve username, email from database. Eearly reply is appretiated. Regards |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|