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)

cunder 09-02-2007 07:01 PM

Oke thanks he works well now :up:

djdonx 09-09-2007 08:59 AM

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

25 downloads, 5 installs aswell..

SemperFideles 10-07-2007 10:55 PM

Good mod, one error in the pulldown. The admincp php file for styles and templates is template.php and not templates.php. Great idea.

djdonx 10-08-2007 07:10 PM

Ah sorry, just a slight typo ;)

Re-uploaded the files with that small change..

Spank 10-08-2007 07:20 PM

is it possible to do this for the ModCP aswell?

yoyoyoyo 10-09-2007 11:21 AM

Quote:

Originally Posted by djdonx (Post 1335293)
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:

http://img523.imageshack.us/img523/7879/errorvg3.jpg

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.

djdonx 10-09-2007 03:59 PM

Quote:

Originally Posted by Spank (Post 1355686)
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 ;)

evesve 10-09-2007 04:52 PM

Quote:

Originally Posted by yoyoyoyo (Post 1356173)
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...)

yoyoyoyo 10-09-2007 05:20 PM

Quote:

Originally Posted by evesve (Post 1356320)
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.

Spank 10-09-2007 05:21 PM

Quote:

Originally Posted by djdonx (Post 1356290)
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.


All times are GMT. The time now is 06:56 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.01300 seconds
  • Memory Usage 1,749KB
  • 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
  • (6)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