vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Possible to get vbulletin version variable? (https://vborg.vbsupport.ru/showthread.php?t=224984)

dicegame 10-10-2009 10:19 PM

Possible to get vbulletin version variable?
 
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 10:23 PM

As far as the vBulletin version, you could possibly use
HTML Code:

$vboptions[templateversion]

dicegame 10-11-2009 01: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 01:23 AM

Yes, I believe it is

dicegame 10-11-2009 01:42 AM

Quote:

Originally Posted by HMBeaty (Post 1897873)
Yes, I believe it is

Ok cool thank you!

One more question. :)

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

HMBeaty 10-11-2009 01:48 AM

No, sorry

dicegame 10-11-2009 01:54 AM

Quote:

Originally Posted by HMBeaty (Post 1897879)
No, sorry

No 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


All times are GMT. The time now is 11:41 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01592 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete