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 - Double navigation buttons bar (https://vborg.vbsupport.ru/showthread.php?t=130958)

karlm 07-06-2007 12:34 AM

nice :)

MiahBeSmokin420 07-06-2007 01:57 AM

Quote:

Originally Posted by karlm (Post 1283982)
nice :)

thanks thanks been designing website for about 5 years now

i also sell web hosting if you intrested so i mean there is a link on that site if you intrested


EDIT: And Sorry i Didnt Relize I Had The 3 Nav Bar Links Hidden To Guests

So Here I Included A Screen Shot So You Gues Dont Have To Register To See It

But Ya Here Ya Go:

KevinLiles 07-07-2007 07:07 PM

Thanks doc!

aakhan136 07-14-2007 06:20 PM

Thanks

anuanu 07-18-2007 01:16 PM

Working great after alittle re-arranging! One note though:

Only usergroup 6 can see this (admins):

Code:

<if condition="$bbuserinfo[usergroupid] == 6">
        <td class="vbmenu_control"><a href="$admincpdir/index.php$session[sessionurl_q]">AdminCP</a></td>

But if your a guest your not assigned a usergroup there for you can still see it. I tested this on my forums and guests are still able to see the AdminCP link. Just a FYI for you.

popowich 07-21-2007 04:09 PM

I believe the correct way or at least another way to do this is to surround the code with:

PHP Code:

<if condition="is_member_of($bbuserinfo, 6)">
</if> 

-Raymond

dricho 07-26-2007 04:35 AM

Thank you so much - easy and quick!
Much appreciated.

rnmcd 08-04-2007 09:49 PM

anyone try this with 3.6.8?

Fungsten 08-04-2007 10:13 PM

Quote:

Originally Posted by rnmcd (Post 1309922)
anyone try this with 3.6.8?

I just did it and it worked.

djdonx 08-29-2007 03:14 PM

I just saw this on another forum, perfect.

Exactly what I wanted

*Installs*

dsmoke 08-29-2007 07:34 PM

QUICK question

i tried editing one of the links in this to point to my photo gallery

but when i did it doesnt show up on the bar at all.. all i did was replce the link url and the text

a standard a href=url>and name here</a

type setup should work

left off certain stuff for obvious reasons

kholland 08-30-2007 11:45 PM

I find that this mod doesn't allow my forum to shrink/collapse with a smaller browser (880 x 600 for example).

Does anyone have an idea how to implement this so my forum will still collapse and fit in a smaller screen resolution?

Thanks!

BellyBelly 09-03-2007 01:19 AM

Awesome mod, thanks!

masterweb 09-03-2007 07:36 PM

Thanks mate... this was helpfully to me!

ali7118 09-04-2007 01:50 PM

Thanks a lot. . . .

DJRavine 09-11-2007 07:45 PM

very nice indeed.. thanx alot mate.. ;)

Doctor Death 09-22-2007 02:30 PM

This really worked out well for me, appreciate the mod. Definitely installed.

Can someone specify the syntax under a menu item to have it have a drop down?

Dream 09-23-2007 12:34 AM

200 installs ^^

I think you need to find this

<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>

and replicate it.

m2006 09-25-2007 07:51 AM

Good Works Thanks you very much

Tygerwoody 11-04-2007 02:37 PM

for some reason I can not replace the color of the navbar with an image background. Anyone have any idea why?

Tygerwoody 11-04-2007 02:40 PM

nm figured it out. Thanks :)

Keesa 12-08-2007 04:39 AM

The reason I do not like this one, is because there are instructions in another place on how to add drop-down menus (http://www.vbulletin.com/forum/showthread.php?t=224641) and the first think you have to find is the pop-ups condition and your code does not have that, so there is no way to add drop-down menus to the second navbar.

Classico 01-01-2008 03:33 PM

Nice Mod. woks fine in 3.6.8.

thanks!!

softvnzla 01-03-2008 06:58 PM

thanks installed

Fungsten 01-07-2008 04:34 PM

Works on 3.7 B3.

REVHEAD 01-20-2008 02:34 AM

Works a treat thanks

After installing Gallery, Downloads, TV&Radio Addons I had problems with my skin and buttons ,this has solved that, many thanks.

REVHEAD 01-28-2008 02:40 AM

Does any one have a line for register? the line I put in kept register there even though I was logged in.

I need to have register ,becaus of my default theme pple are complaining they cant find the register button.

Thanks in advance

mystic10 02-26-2008 05:44 PM

<if condition="$bbuserinfo[usergroupid] == 6">
<td class="vbmenu_control"><a href="$admincpdir/index.php$session[sessionurl_q]">AdminCP</a></td>

i tried to add super admin to this by adding comma... 5,6 but it wont work..than i tried 5;6 that didnt work either...than i tried 5:6 didnt work..than i tried 5 6 that didnt work either...i have run out of options..so can u please help and let me know what i am doing wrong

glennybee 02-29-2008 06:24 PM

Just finished playing with this myself.

I've added a drop down menu on the 2nd navbar for easy navigation to sub forums. Looks good even if I do say so myself lol.

@mystic10

To add links that are only visible to certain usergroups, you can do the following...

Code:

<if condition="is_member_of($bbuserinfo, 5, 6, 7, 9, 10)">
                <tr><td class="thead"><a href="forumdisplay.php?f=1$session[sessionurl_q]">Section 1</a></td></tr>
                <tr><td class="vbmenu_option"><a href="forumdisplay.php?f=2$session[sessionurl]">Section 2</a></td></tr>
                <tr><td class="vbmenu_option"><a href="forumdisplay.php?f=3$session[sessionurl]">Section 3</a></td></tr>
                </if>

...where 5, 6, 7, 9, 10 are the usergroup ids.

Working demo at http://www.digital-kaos.co.uk/

@REVHEADS

Here is the code for the register link...

Code:

        <if condition="$show['registerbutton']">
                <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
        </if>

Insert it after...

Code:

<!-- nav buttons bar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
        <if condition="$show['member']">
                <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
        </if>

Hope this helps.

-Glen

Sworm 03-01-2008 10:12 PM

is impossible for a inexpert with me understood how to install this mod..... :(
What is the path of the "navbar" ?
Can u help me?

Kangaroo666 03-13-2008 03:41 AM

Thanks, installed and working great.

ArnyVee 03-29-2008 12:44 PM

I need some help with changing the colors of the actual letters in the navbar.

I've got both navbars going and I'm adjusting them as I go, but just wondering how I can change the 'donate' one from that bright green to a little more toned down color. Plus, every so often I'd like to 'feature' a navbar path/link by changing it's colors.

habilonline 03-30-2008 12:30 AM

Installed and working great.

Thanks!

blind-eddie 03-30-2008 05:19 PM

Quote:

Originally Posted by ArnyVee (Post 1477586)
I need some help with changing the colors of the actual letters in the navbar.

I've got both navbars going and I'm adjusting them as I go, but just wondering how I can change the 'donate' one from that bright green to a little more toned down color. Plus, every so often I'd like to 'feature' a navbar path/link by changing it's colors.


Examples:
<font color=red> This is red colored text </font>

<font color=red size=5> This font size is 5 </font>


If links in navbar are vbphrase's, go to admincp/languages & phrases/ search in phrases...look for phrase in question.
Edit with following,
Example:
http://outerzone.us/phrase.bmp




Below is an image of my edited Quick Links with above font example.
http://outerzone.us/links.GIF

dcw 04-02-2008 07:00 AM

Thanks "Installed" this is what I was looking for

viper007 04-14-2008 08:16 AM

in our skin navbar templet there is no <!-- breadcrumb, login, pm info --> this line

viper007 04-14-2008 08:21 AM

Quote:

<br />

<if condition="is_array($navbits)">
<div class="smallfont">
<a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a>
$navbits[breadcrumb]&raquo;
$navbits[lastelement]
</div>
<br />
</if>

<if condition="$show['forumdesc']">
<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>
<br />
</if>


<br />
<if condition="$show['forumdesc']">
<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>
<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]" />
<div><input type="text" class="bginput" 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>
<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></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_buddy_list]</a></td></tr>
$template_hook[navbar_quick_links_menu_pos1]

<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_profile]</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_pos2]

<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[my_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>
<!-- / 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>
this is my nav bar template
where dd i the extra templlate option

Mrdby 05-03-2008 11:37 AM

this is confusing. How do I just add a simple link to the arcade?

beckyvan 05-07-2008 12:23 AM

Great hack, but how do I link another website. Say, I want to link vbulletin.org. Where do I post the URL?

binal0072003 06-05-2008 06:51 PM

i am new for coding so can anyone tell me where to put this code


All times are GMT. The time now is 01:37 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.01455 seconds
  • Memory Usage 1,849KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)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
  • (40)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