vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   smart version check (https://vborg.vbsupport.ru/showthread.php?t=58826)

liquidblaze 11-25-2003 10:00 PM

smart version check
 
Having experienced some problems lately with my ACP not reporting my version and the "view Board" Link, I decided to just make a quick modification to admin/index.php to check if vbulletin.com is actually reachable or if I'm just wasting my time.

What this script does, is check if vbulletin.com can be opened via fopen.

There is just one modification and a little code you will have to add to your admin/index.php - read the attachment for instructions.

This script has been tested on my 2.3.2 and 2.3.3 board. However I dont guarantee that it will work on any other board than mine. Although it should also work on the Betas - that is, if they use the same check.

Oh and this is my first hack - so bear with me. If you need support - post in this thread and I will try to be as helpful as possible.

assassingod 11-26-2003 04:24 PM

Good hack, I believe it's included for vB3, so this is great for vB2 users:)

liquidblaze 11-26-2003 04:31 PM

thanks. I was just annoyed by the fact that I never got to see the topbar when I hit abort during loading or had to wait an awfull long time so I just wrote some lines and *poof* it worked :)

MindTrix 11-26-2003 10:15 PM

I never even knew it got that info straight from vbulletin.com (such a dumbass)

Cheers mate!

Dan 11-26-2003 10:39 PM

Quote:

Originally Posted by MindTrix
I never even knew it got that info straight from vbulletin.com (such a dumbass)

Cheers mate!

Nice one mate :D Hope to see more from you in the future.

MindTrix 12-03-2003 12:58 PM

Not a major note but in your instructions on step 2, you might want to tell people to put the code underneath the <?php tag

Some new guys might not know this thats all ;)


All times are GMT. The time now is 01:47 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.01227 seconds
  • Memory Usage 1,717KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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