vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Mini Mods - Admin Cp Links in Navbar (https://vborg.vbsupport.ru/showthread.php?t=156863)

djdonx 09-01-2007 10:00 PM

Admin Cp Links in Navbar
 
Admin Cp Links in your navbar

What does this do?
This Mod adds a small javascript drop-down menu into your navbar which contains links to useful pages in your admin panel. This part of your navbar can only be seen by members of the admin usergroup as it uses a conditional.

How do I install this?
Follow the template changes which are shown in the file below.

Support is given to those who click install!

ragtek 09-02-2007 03:10 PM

1. why you are using /forums/ ? and 2.
change ="admincp to $admincpdir because not everybody is using the standarddir

djdonx 09-02-2007 03:13 PM

Heh, this is only my second hack and I'm still learning, I'll fix it now ;)

v 1.0.0 - Initial Release
v 1.0.1 - Changed /forums/admincp to $admincpdir
v 1.0.2 - Added a missing <if> statement

ragtek 09-02-2007 03:19 PM

i just want to help^^
so 1. if you are in forumpath the link would be: www.yoursite.com/forums/forums/admincp

thats false
2. as i said, the admindirectory must not be the standardadress

cunder 09-02-2007 04:22 PM

how you make it that it to only see is by the admin usergroup in the navbar !!

ragtek 09-02-2007 04:27 PM

with this if condition:
Code:

<if condition="$show['admincplink']">see just admins </if>

djdonx 09-02-2007 05:14 PM

Any feedback on this Mod? :)

cunder 09-02-2007 06:30 PM

Quote:

Originally Posted by ragtek (Post 1330829)
with this if condition:
Code:

<if condition="$show['admincplink']">see just admins </if>


where I must place this code :)

djdonx 09-02-2007 06:48 PM

Oops, I missed out the if statement on the code, look in the first step, a slight code change

ragtek 09-02-2007 06:51 PM

also around
Code:

<div class="vbmenu_popup" id="3_menu" style="display:none">....</div>


All times are GMT. The time now is 08:24 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.01033 seconds
  • Memory Usage 1,728KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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