PDA

View Full Version : minimum page requirements


tomsch
12-24-2009, 09:02 PM
ok i gave away my brain for xmas.

what is the minimum information i need on a page to access the VB variables??

i am trying to integrate the TNG geneolgy app and want to populate its user table when a new uer registers in VB.

i have a stripped down php that i need to transfer the variables to.

Lynne
12-24-2009, 10:34 PM
I'm not sure what you mean. We have articles on what is required to make your own vbulletin powered page - is that what you are trying to do? Or, maybe just try requiring global.com at the beginning of the page and see if that is what you mean.

tomsch
12-25-2009, 01:16 AM
yup thats what i needed now the next question i have is how do i display on my custom page vbulletin variables like the user name?

Lynne
12-25-2009, 03:14 AM
Are you using templates in your custom page or it is just php? If just php, your username is $vbulletin->userinfo['username']. You can look in the default vbulletin files to see this.