vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Switch On/Off New vBulletin Version Notification in admincp (https://vborg.vbsupport.ru/showthread.php?t=105317)

Omranic 01-13-2006 10:00 PM

Switch On/Off New vBulletin Version Notification in admincp
 
hey,
I see that many people asking for something disable New vBulletin Version Notification in admincp or an option in admincp to switch it On/Off.

Now I worked on it only 30 seconds & get it work with 2 file edits (in one file - admincp/index.php) & a small product to give the ability to switch On/Off this Notification.

I made it as a sepaeate product becouse I Heard that this option may be available as default in future vbulletin version, so you can uninstall it whenever you need.


Installation: go to admincp dir & then to index.php file & open it in any php or text editor & find in it the following code:
PHP Code:

<script type="text/javascript" src="http://version.vbulletin.com/versioncheck.js"></script

Put above It directly the following code:
PHP Code:

<?php
if ($vbulletin->options['disablevbnvno'])
{
?>


then find in the same file the following code:
PHP Code:

    document.writeln('</td></tr></table>');
}
//-->
</script

& put under it directly the following code:
PHP Code:

<?php
}
?>



Now Save your work & upload the file in its place
Now go to your admincp & then to Manage Products then [Add/Import Product] then import the attached product.


Now you are done

to use the hack & see that option follow the following steps:
Admincp >> vBulletin Options >> Admin Control Panel Options >> see at the button for this option (Switch On/Off New vbulletin version notification.) you will see it as default (yes) make it No if you need to disable it.


Thats All
Hope You have all the benefit
Thanks & Don't Forget to Click INSTALL

coffeefix 01-14-2006 05:31 PM

Installing now :)

Replicators 01-14-2006 11:31 PM

Thank you for this, works perfectly >8)

PixelFx 01-15-2006 02:19 AM

Quote:

Originally Posted by Replicators
Thank you for this, works perfectly >8)

thank you, your a god :D *clicks install*

Omranic 01-15-2006 07:06 AM

you are welcome :)

ahmed-samara 04-26-2006 02:15 AM

thank you, your a god *clicks install*


All times are GMT. The time now is 11:10 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.01163 seconds
  • Memory Usage 1,731KB
  • 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
  • (4)bbcode_php_printable
  • (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