vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Display Enhancements - Admin and Mod Toolbar in Navbar (https://vborg.vbsupport.ru/showthread.php?t=209985)

Slaxi 05-28-2009 05:38 AM

Quote:

Originally Posted by nizzie (Post 1808460)
Sorry but how do I add another group to view the admin toolbar? because I have an owners group and a admin group (owners is 6 and admins is 13)??

Thanks!

try this:

find in the navbar template:

Code:

<!-- ADMIN TOOLBAR -->

<if condition="$bbuserinfo[usergroupid] == 6">
<td id="3" class="vbmenu_control"><a href="#4">Admin Toolbar</a>
<script type="text/javascript"> vbmenu_register("3"); </script></td>
</if>

replace it with:

Code:

<!-- ADMIN TOOLBAR -->

<if condition="is_member_of($bbuserinfo, 6, 13">
<td id="3" class="vbmenu_control"><a href="#4">Admin Toolbar</a>
<script type="text/javascript"> vbmenu_register("3"); </script></td>
</if>

than search for:

Code:

<!-- ADMIN TOOLBAR -->

<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 Toolbar</td>

replace it with:

Code:

<!-- ADMIN TOOLBAR -->

<if condition="is_member_of($bbuserinfo, 6, 13">
<div class="vbmenu_popup" id="3_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Admin Toolbar</td>

--------------------------------------------------------------------------------------------------------------------------

thanks for the mod, nNj.

I've translated the Install Guide to german.

Code:

| Admin and Mod Toolbars  V2.5  |
 --------------------------------
Installing (Upgrade Instructions below)

1. Im NAVBAR template folgendes suchen :
--------------------------------

        <if condition="$show['member']">
                <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
        </if>

------------------------------
folgendes drunter einf?gen:
------------------------------

<!-- ADMIN TOOLBAR -->

<if condition="$bbuserinfo[usergroupid] == 6">
<td id="3" class="vbmenu_control"><a href="#4">Admin Toolbar</a>
<script type="text/javascript"> vbmenu_register("3"); </script></td>
</if>

<!-- MOD TOOLBAR -->

<if condition="in_array($bbuserinfo[usergroupid], array(5,7))">
<td id="4" class="vbmenu_control"><a href="#4">Mod Toolbar</a>
<script type="text/javascript"> vbmenu_register("4"); </script></td>
</if>



------------------------------

2. Danach im NAVBAR template folgendes suchen :
------------------------------

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

------------------------------
folgendes drunter einf?gen:
------------------------------

<!-- ADMIN TOOLBAR -->

<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 Toolbar</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/index.php">Admin Panel Startseite</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/options.php?null=0">vBulletin Optionen</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/template.php?do=modify">Styles verwalten</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/usergroup.php?do=modify">Benutzergruppen verwalten</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/forum.php?do=modify">Foren verwalten</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/user.php?do=find">Alle Benutzer anzeigen</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/user.php?do=modify">Benutzer suchen</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$modcpdir/banning.php?do=banuser">Benutzer sperren</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/options.php?do=options&dogroup=banning">Benutzer ?ber IP sperren</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/announcement.php?do=add">Ank?ndigung hinzuf?gen</a></td>
</tr>
</table>
</div>
</if>

<!-- MOD TOOLBAR -->


<if condition="in_array($bbuserinfo[usergroupid], array(5,7))">
<div class="vbmenu_popup" id="4_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Mod Toolbar</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$modcpdir/index.php">Mod Panel Startseite</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$modcpdir/user.php?do=find">Benutzer suchen</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$modcpdir/user.php?do=doips">IP suchen</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$modcpdir/banning.php?do=banuser">Benutzer sperren</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$modcpdir/announcement.php?do=add">Ank?ndigung hinzuf?gen</a></td>
</tr>
</table>
</div>
</if>


nNJ 05-28-2009 06:01 PM

Thanks for the Translation Slaxi! I'll upload it and add your name to the co authors ^^.

GeorgeB85 05-28-2009 06:15 PM

The one suggestion I would like to make is make a link to where if you click on "ban user" for instance, there will be a link to click on to go back to the forums.

VonDoom 07-10-2009 06:55 PM

Flawless! *Installed* Thanks..

s-p0k 07-19-2009 06:10 AM

have a prob with this one where to put it?
not seeing it
PHP Code:

<if condition="$show['member']">
    <
td class="alt2" nowrap="nowrap">
    <
div class="smallfont">
        <
strong><phrase 1="$bbuserinfo[username]2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
        <
phrase 1="$pmbox[lastvisitdate]2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>

        <if 
condition="$show['notifications']">
            <
div><span id="notifications"><


Strike-Force.ne 07-20-2009 01:48 AM

Installed on 3.8.3

Nice feature for the Mods to access these tools faster.

Mr_Devlin 07-20-2009 05:58 PM

I've added this to the quick links menue as additional options below the miscellaneous options. Works fine, thank you.

bluej 08-20-2009 12:56 AM

great mod, thanks :)

Sador 08-20-2009 11:09 AM

Installed, thank you. Looking forward for version 3.

jkcerda 08-20-2009 03:36 PM

cool, will try it:D

jfrenaye 08-23-2009 10:44 PM

I installed this on a brand new forum this afternoon and it worked like a charm. However another one I work on (3.82) does not seem to have the first code that I search for.

Here is my code in the NAVBAR. Any help is much appreciated. Great Hack!

Quote:

<br />
<div class="tcorner"><div class="tcrn-c"><div class="tcrn-l"></div><div class="tcrn-r"></div></div></div>
<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>

<if condition="$show['member']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['notifications'] AND $show['popups']">
<div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
<script type="text/javascript"> vBmenu.register("notifications"); </script>
<else /><if condition="$show['pmstats']">
<div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></div>
</if></if>
<!-- clock hack--> <div id="clock">Loading...</div> <script type="text/javascript"> function refrClock() { var d=new Date(); var s=d.getSeconds(); var m=d.getMinutes(); var h=d.getHours(); var day=d.getDay(); var date=d.getDate(); var month=d.getMonth(); var year=d.getFullYear(); var days=new Array("Sunday","Monday","Tuesday","Wednesday","Thu rsday","Friday","Saturday"); var months=new Array("January","February","March","April","May"," June","July","August","Septemb er","October","November","December"); var AM_PM; if (s<10) {s="0" + s} if (m<10) {m="0" + m} if (h>12) {h-=12;AM_PM = "PM"} else {AM_PM="AM"} if (h<10) {h="0" + h} document.getElementById("clock").innerHTML=days[day] + " :: " + months[month] + " " + date + "," + " " + year + " :: " + h + ":" + m + ":" + s + " " + AM_PM; setTimeout("refrClock()",1000); } refrClock(); </script> <!-- / clock hack -->
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
</div>
</td>

<else />

<td class="alt2" nowrap="nowrap" style="padding:0px">

<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>
<div class="bcorner"><div class="bcrn-c"><div class="bcrn-l"></div><div class="bcrn-r"></div></div></div>
<!-- / breadcrumb, login, pm info -->

<br />
<if condition="$show['forumdesc']">
<div class="tcorner"><div class="tcrn-c"><div class="tcrn-l"></div><div class="tcrn-r"></div></div></div>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<div class="bcorner"><div class="bcrn-c"><div class="bcrn-l"></div><div class="bcrn-r"></div></div></div>
<br />
</if>

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<div><input type="text" class="search_input" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
<div style="margin-top:$stylevar[cellpadding]px">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
&nbsp;
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</div>
</form>
</td>
</tr>
<if condition="$vboptions[threadtagging]">
<tr>
<td class="vbmenu_option"><a href="tags.php$session[sessionurl_q]" rel="nofollow">$vbphrase[tag_search]</a></td>
</tr>
</if>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
$template_hook[navbar_search_menu]
</table>
</div>
<!-- / header quick search form -->
</if>


<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr><!-- Unanswered Posts --> <tr><td class="vbmenu_option"><a href="search.php?do=process&replyless=1&replylimit =0&exclude=30">Unanswered Posts</a></td></tr> <!-- /Unanswered Posts --></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=n o,menubar=no,toolbar=no,scrollbars=yes,resizable=y es,width=250,height=300'); return false;">$vbphrase[open_contacts]</a></td></tr>
$template_hook[navbar_quick_links_menu_pos1]
<tr><td class="thead">$vbphrase[networking]</td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=buddylist"><if condition="$show['friends_and_contacts']">$vbphrase[contacts_and_friends]<else />$vbphrase[contacts]</if></a></td></tr>
<if condition="$show['quick_links_groups']">
<tr><td class="vbmenu_option"><a href="group.php$session[sessionurl_q]">$vbphrase[social_groups]</a></td></tr>
</if>
<if condition="$show['quick_links_albums']">
<tr><td class="vbmenu_option"><a href="album.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[pictures_and_albums]</a></td></tr>
</if>
$template_hook[navbar_quick_links_menu_pos2]
<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_your_details]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
$template_hook[navbar_quick_links_menu_pos3]

<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[your_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
$template_hook[navbar_quick_links_menu_pos3]

</table>
</div>
<!-- / user cp tools menu -->
<if condition="$notifications_total">
<!-- notifications menu -->
<div class="vbmenu_popup" id="notifications_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead" colspan="2">$vbphrase[your_notifications]</td></tr>
$notifications_menubits
</table>
</div>
<!-- / notifications menu -->
</if>
</if>
<!-- / NAVBAR POPUP MENUS -->

<!-- PAGENAV POPUP -->

<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>

<!-- / PAGENAV POPUP -->
</if>
$ad_location[ad_navbar_below]

HabboLan 10-20-2009 02:30 AM

I was wondering if there is any way to have a site owner and an admin to have the admin toolbar ? I have a site owner as an id of #10 and admin as #6 , i can get one number, didnt know if there was a way to have two different id number to have it. I tried with 6,10 but it didn't like it, error.
I'm using 3.8.4 version. If not that' s ok. Not really that important.
Other than that , great mod , thanks. Marked installed.

Trescom 10-23-2009 06:22 PM

1 Attachment(s)
Hey nNJ, great work! I really love it!
Why didn't i think about it earlier ^^

I've translated everything into polish language.
Attachement's below.

Hope to see new release soon! :)

nNJ 11-12-2009 02:31 AM

Hey guys.

Sorry about the HUUGE delay for V3. Honestly, I forgot about this mod. I'll pick it up tomorrow, look forward to v3 soon!

P.S. - Id love to hear your input on this!

nNJ 11-12-2009 02:35 AM

Update: I finished V3 tonight; added permission checking.
(An Admin/Mod will only see links to tools that he/she has permission to use).

It was actually a lot easier to do than expected.

I was thinking about a V4.. but what else could I add?.. This mod seems pretty complete. Any and all suggestions are welcome!

Brandon Sheley 11-12-2009 03:45 AM

Quote:

Originally Posted by KevinL (Post 1781700)
This is a cool idea once the permissions thing gets worked out :)

agreed :up:

elwachiman 11-12-2009 02:54 PM

I'll try this mod is excellent q and then give my opinion thanks

dandanch 11-12-2009 05:41 PM

The only problem is what you wanted us to replace is now gone, you asked us to delete that code in the Upgrade?
or maybe i'm just not understanding what your asking us to do.

Quote:

<if condition="in_array($bbuserinfo[userid], array(5,7))">

WebkinzCoast 11-14-2009 10:18 PM

I'm going to install this right now, hoping it all works out great :D

WebkinzCoast 11-14-2009 11:04 PM

Not working for me? I made the necessary changes and nothing news in the Navbar?

delfost 12-01-2009 10:11 PM

Quote:

Originally Posted by WebkinzCoast (Post 1914349)
Not working for me? I made the necessary changes and nothing news in the Navbar?


what version of vbulletin do you use?

bc im using vbulletin 3.8.4 patch level 1 and don't work "only display in the menu "Admin Panel Home" and nothing more (ps: im admin)

giotis9 01-22-2010 05:10 PM

Quote:

Originally Posted by delfost (Post 1923719)
bc im using vbulletin 3.8.4 patch level 1 and don't work "only display in the menu "Admin Panel Home" and nothing more (ps: im admin)

I have solved that problem. Just delete

<if condition="$show['canbanusers']"> and </if> from the beginning and the end of each option. ;)

mgurain 02-02-2010 05:54 PM

We are looking to convert this useful mod to a simple xml product.

Thelonius Beck 02-11-2010 11:09 PM

Love this idea! Don't know why I've never thought to do it myself. Thanks.

================================================== =======

Quote:

Originally Posted by mrtroybaker (Post 1785509)
Great Mod and Support. Thank you nNJ for your help. Sorry to be so impatient. LOL Just got to excited I guess. Thank again

Quote:

Originally Posted by jfrenaye (Post 1872983)
I installed this on a brand new forum this afternoon and it worked like a charm. However another one I work on (3.82) does not seem to have the first code that I search for.

Here is my code in the NAVBAR. Any help is much appreciated. Great Hack!

You folks are using custom skins that have the navigation buttons outside the navbar template it appears. Perhaps they have been moved to your header template?

Just make the same edit (the first one in the instructions) to which ever template they are in.

Thelonius Beck 02-11-2010 11:11 PM

Quote:

Originally Posted by giotis9 (Post 1963607)
I have solved that problem. Just delete

<if condition="$show['canbanusers']"> and </if> from the beginning and the end of each option. ;)

Me too. Being the only admin, and having all of my Mods as full Super Moderators eliminates the need for conditionals anyway.

edward hamilton 02-24-2010 01:35 PM

Thanks for the great Mod. I recently made some changes to my forum and lost some Mod links but this is even better than what I had hacked together.

I did have to remove the if conditional statements as mentioned in the last posts.


All times are GMT. The time now is 01:53 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.01499 seconds
  • Memory Usage 1,886KB
  • 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_php_printable
  • (9)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
  • (26)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