vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Quick Links - Admincp (https://vborg.vbsupport.ru/showthread.php?t=79753)

tp214 04-10-2005 10:00 PM

Quick Links - Admincp
 
What this does: This Allows you to add quick links into your admincp for your lazy self.

Edits: 2+ depending on how many links

How Long to Install: (Default) 2 minutes

First small hack/hack every, give me a break! :nervous:

<?-- Begin Steps --?>

Ok Firstly, download your admincp/index.php file from your ftp server.

Open it up and find:

Code:

$printhr = false;
        if (can_administer('canadminstyles'))
        {        $printhr = true;

Add After:

Code:

construct_nav_option($vbphrase['quicklink1'], 'http://www.url.com', '<br />');
                construct_nav_group("Quick Links", '<hr />');

(Of course replacing the "http://www.url.com" with your new link.)

After This, you must:

1. Create a new phrase -
type: global
phrase var: quicklink1
text: The name of your first link

After That, you can:

1. Copy and paste the first line
Code:

construct_nav_option($vbphrase['quicklink1'], 'http://www.url.com', '<br />');
and make as many links as you want.

*Note: Everytime you make a new button/link, you must change the "vbphrase" line to something else, and make a new phrase that has:
Code:

type: global
phrase var: newname
text: The name of your second+ link

<!-- End Begin Steps --!>

please click install if you install/edit...

Xenatino 04-11-2005 08:57 AM

Very simple yet effective hack.

I have something similar to this installed on my AdminCP to open the forum homepage in the frame then I can stay in AdminCP and look through board at the same time

BarHopper 04-11-2005 04:15 PM

^ I would like something similar. Please release it/.

Barrikin 04-11-2005 05:28 PM

umm just use this

Code:

construct_nav_option('Forum home', 'http://www.yourforum.com/', '<br />');

any link on the left menu will open on the right side.

tp214 04-11-2005 10:36 PM

no he means like it opens on the forum home... ill try this later on

JustAskJulie 04-13-2005 05:45 AM

Quote:

Originally Posted by Xenatino
I have something similar to this installed on my AdminCP to open the forum homepage in the frame then I can stay in AdminCP and look through board at the same time

Of course you could also just click the link that is already provided in the top right hand corner of the AdminCP that opens your forum Home in a new window.

I was actually just thinking today I needed to add some links into my admincp home to some other site related stuff tho, so this hack should come in handy.

Jagged Tooth 04-28-2005 06:07 AM

I'm still going to intall this hack. Just one question. Can you tell it to open a new window when you click the link?

Anyway

/me Clicks install

--Jagged Tooth--

cheech4487 05-14-2005 12:25 AM

Where would I put this for the Mod CP?

cheech4487 05-16-2005 03:12 PM

Can anybody help with this?

GSX-Racing 06-01-2005 05:51 PM

Need a link to open in a new window. The target="_blank" doesn't work here unless I'm putting in the wrong place.

Other than that, great little mod.


All times are GMT. The time now is 09:04 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.01011 seconds
  • Memory Usage 1,737KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete