Log in

View Full Version : Possible to get vbulletin version variable?


dicegame
10-10-2009, 11:19 PM
Hey I'm trying to create a logout script on an external page. I've got the logout script to work for 3.8.1

Does anyone have any documentation of what version use the different types of logout code. I've noticed that 3.8.1 uses something different from 3.6.x etc

Also is there anything in the database which referers to the Vbulletin version maybe a phrase of some sorts?

I'm trying to create a logout script which knows the version and then generates the appropriate logout code for the different versions.

Thanks,
Thomas

HMBeaty
10-10-2009, 11:23 PM
As far as the vBulletin version, you could possibly use
$vboptions[templateversion]

dicegame
10-11-2009, 02:21 AM
Ok, I found the vbulletin phrase which is stored in the database for that specific one the other day. I'm just wondering if that is updated on every vbulletin release. As i will need it to be updated so i can do an if/else for different logout systems.

EDIT: If possible i'm looking into the database entry...don't really want to be including vbulletin files just to obtain a version. :)

HMBeaty
10-11-2009, 02:23 AM
Yes, I believe it is

dicegame
10-11-2009, 02:42 AM
Yes, I believe it isOk cool thank you!

One more question. :)

You wouldn't happen to know the version history of logout links?

HMBeaty
10-11-2009, 02:48 AM
No, sorry

dicegame
10-11-2009, 02:54 AM
No, sorryNo problem you've already been very helpful.

Just one final question i promise.

I'm trying to include a right hand side section into a vbulletin template. I remember finding a code that would insert a plugin that would include a php file. I would then call that php file in my template just by calling the variable. All i can find now is calling another template...i need to call a seperate php file.

Thanks