Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Admin Cp Links in Navbar Details »»
Admin Cp Links in Navbar
Version: 1.0.2, by djdonx djdonx is offline
Developer Last Online: Jan 2009 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.8 Rating:
Released: 09-01-2007 Last Update: 10-07-2007 Installs: 21
Template Edits
 
No support by the author.

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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-02-2007, 07:01 PM
cunder's Avatar
cunder cunder is offline
 
Join Date: May 2005
Location: NL
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oke thanks he works well now :up:
Reply With Quote
  #13  
Old 09-09-2007, 08:59 AM
djdonx djdonx is offline
 
Join Date: May 2007
Location: Manchester, England
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, any feedback or comments at all then? I wanna improve it somehow (:

25 downloads, 5 installs aswell..
Reply With Quote
  #14  
Old 10-07-2007, 10:55 PM
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Location: Northern VA
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good mod, one error in the pulldown. The admincp php file for styles and templates is template.php and not templates.php. Great idea.
Reply With Quote
  #15  
Old 10-08-2007, 07:10 PM
djdonx djdonx is offline
 
Join Date: May 2007
Location: Manchester, England
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah sorry, just a slight typo

Re-uploaded the files with that small change..
Reply With Quote
  #16  
Old 10-08-2007, 07:20 PM
Spank Spank is offline
 
Join Date: Jan 2007
Location: Scotland
Posts: 809
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to do this for the ModCP aswell?
Reply With Quote
  #17  
Old 10-09-2007, 11:21 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djdonx View Post
So, any feedback or comments at all then? I wanna improve it somehow (:

25 downloads, 5 installs aswell..
Well, since you asked, I did something similar awhile ago with the same idea:

Quote:
<!-- START ADMIN CP LINKS -->
<if condition="$bbuserinfo[usergroupid] == 6">
<div class="vbmenu_popup" id="3_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Admin CP Links</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/index.php">Control Panel Home</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/template.php?do=modify">Styles & Templates</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/template.php?s=&do=modify&expandset=1&group=all#al l">Modify Templates</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/options.php?null=0">vBulletin Options</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/options.php?do=options&dogroup=[all]">Show All Settings</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/user.php?do=modify">Search for Users</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/user.php?do=find">Show All Users</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/forum.php?do=modify">Forum Manager</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/plugin.php?do=product">Manage Products</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/plugin.php?do=productadd">Add/Import Product</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/announcement.php?do=add">Post New Announcement</a></td>
</tr>
<if condition="$vbulletin->userinfo['userid'] == 1">
<tr>
<td class="vbmenu_option"><a href="$admincpdir/queries.php">Execute SQL Query</a></td>
</tr>
</if>
</table>
</div>
</if>
<!-- END ADMIN CP LINKS -->
I added my new links in to your hack so you can see what I added.

You will notice that I put
Code:
<if condition="$vbulletin->userinfo['userid'] == 1">
before the execute SQL query option, and a
Code:
</if>
after. You can naturally choose to delete or change that if you want.

Here is a screenshot:



Some of the links, such as "VBulletin Options" and "Show All Settings" are similar, but the "Show All Settings" displays all of the settings saving you a click.

Feel free to use any of my additions you want for your next release, or if you don't like what I have added, no big deal, just thought I would share.
Reply With Quote
  #18  
Old 10-09-2007, 03:59 PM
djdonx djdonx is offline
 
Join Date: May 2007
Location: Manchester, England
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spank View Post
is it possible to do this for the ModCP aswell?
Sure this is possible. If you want me to I can release one for the Mod Cp aswell if ya want
Reply With Quote
  #19  
Old 10-09-2007, 04:52 PM
evesve evesve is offline
 
Join Date: Jul 2005
Location: Sweden
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo View Post
Code:
<tr>
<td class="vbmenu_option"><a href="$admincpdir/templates.php?do=modify">Styles & Templates</a></td>
</tr>
this is from before the update: one s too much...

Code:
<tr>
<td class="vbmenu_option"><a href="$admincpdir/template.php?do=modify" target="_blank">Styles & Templates</a></td>
This is my way to open in new window...
(But I guess 99% of you know that already...)
Reply With Quote
  #20  
Old 10-09-2007, 05:20 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by evesve View Post
this is from before the update: one s too much...

Code:
<tr>
<td class="vbmenu_option"><a href="$admincpdir/template.php?do=modify" target="_blank">Styles & Templates</a></td>
This is my way to open in new window...
(But I guess 99% of you know that already...)
ok - thanks for the correction - I was just copying my code in to the info posted here, but I fixed my post above so as not to confuse anyone.
Reply With Quote
  #21  
Old 10-09-2007, 05:21 PM
Spank Spank is offline
 
Join Date: Jan 2007
Location: Scotland
Posts: 809
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djdonx View Post
Sure this is possible. If you want me to I can release one for the Mod Cp aswell if ya want
Tht would be great, cos mods don't actually see the ModCP link which is a little strange.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:22 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05788 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete