vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - Add Other Official Site Links to Admin CP (https://vborg.vbsupport.ru/showthread.php?t=176800)

cheat-master30 04-20-2008 10:00 PM

Add Other Official Site Links to Admin CP
 
This modification simply edits the nice dropdown menu in the Admin Control Panel to have links to vBulletin.org, vBulletin Germany, the German Resource site, vBulletin China and vBulletin Hungrary. Or just add the ones you feel like adding. This does however require a VERY minor file edit, so I guess back up the file beforehand.

Open in the Admin CP folder the index.php file and find:

Code:

'vBulletin' => array(
                'http://www.vbulletin.com/' => $vbphrase['home_page'] . ' (vBulletin.com)',
                'http://members.vbulletin.com/' => $vbphrase['members_area'],
                'http://www.vbulletin.com/forum/' => $vbphrase['community_forums'],
                'http://www.vbulletin.com/docs/html/' => $vbphrase['reference_manual'],

Add underneath:

Code:

                'http://www.vbulletin.org/' => $vbphrase['vBulletinorg'],
                'http://www.vbulletin-hungary.com/' => $vbphrase['vBulletinHungrary'],
                'http://www.vbulletin-china.cn/' => $vbphrase['vBulletinChina'],
                'http://www.vbulletin-germany.com/' => $vbphrase['vBulletinGermany'],
                'http://www.vbulletin-germany.org/' => $vbphrase['vBulletinGermanyMod'],

Then, add phrases for vBulletinorg, vBulletinHungrary, vBulletinChina, vBulletinGermany and vBulletinGermanyMod. That's it.

To uninstall, just take back up copy of file and overwrite it. Then optionally delete the phrases.

cheat-master30 04-21-2008 07:43 PM

Oh, and both installation and uninstallation now guaranteed to be extremely simple.

Hornstar 04-22-2008 07:27 AM

could be useful but im too lazy to do the file edit lol so id just rather book mark the sites I need to save time. thanks for the release tho.

cheat-master30 04-22-2008 07:53 AM

No problem. I wish the Admin CP used templates...

digicom 04-22-2008 09:03 AM

Thanks apprciated :up:

Jasem 04-22-2008 10:11 PM

Thank you very much


All times are GMT. The time now is 08:45 AM.

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.01010 seconds
  • Memory Usage 1,716KB
  • 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
  • (2)bbcode_code_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