vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Additional Navbar (https://vborg.vbsupport.ru/showthread.php?t=65198)

venomx 09-07-2004 10:11 PM

Yes thats a site of mine but not the one I am currently working on. The one thats got the forum isnt open yet I am just installing all the hacks I want then Ill open it.
I moved the ushop back to the regular navbar and it works.

The Realist 09-15-2004 08:33 PM

This I have had installed for a while but I have added an additional dropdown. This new dropdown is viewable and usable by all none members which I dont want.

How can I hide this new dropdown menu from none members?

Thanks.

rex_b 09-15-2004 09:01 PM

Quote:

Originally Posted by The Realist
This I have had installed for a while but I have added an additional dropdown. This new dropdown is viewable and usable by all none members which I dont want.

How can I hide this new dropdown menu from none members?

Thanks.


Set a conditional for the people you do want to see it-


Code:

<if condition="$bbuserinfo[usergroupid]== '2' ></if>

The Realist 09-15-2004 09:15 PM

With respect, Im a follower not a leader :)

So I presume this code would go infront of what ever line in the menu I dont want the choosen usergroup to see or use.

IE:

FROM:

<!-- Setup for drop down menu #2 in navbar -->
<td id="dropdown2" class="vbmenu_control"><a href="#dropdown2">GSM Calculators</a> <script type="text/javascript"> vbmenu_register("dropdown2"); </script></td>
<!-- / Setup for down menu #2 in navbar-->


TO:

<!-- Setup for drop down menu #2 in navbar -->
<if condition="$bbuserinfo[usergroupid]== '2' ><td id="dropdown2" class="vbmenu_control"><a href="#dropdown2">GSM Calculators</a> <script type="text/javascript"> vbmenu_register("dropdown2"); </script></td></if>
<!-- / Setup for down menu #2 in navbar-->


Thanks.

Quote:

Originally Posted by rex_b
Set a conditional for the people you do want to see it-


Code:

<if condition="$bbuserinfo[usergroupid]== '2' ></if>


mholtum 11-22-2004 01:54 AM

I have been looking looking for and working on this exact thing! Thank you so much.. One thing, and I am sorry if this was addressed and I missed it.

I am running vb 3.0.3 with vBadvanced CMPS v1.0.0, the second navbar works fine but won't display on my portal. Is there something I missed??

attroll 11-22-2004 02:04 AM

I don't know what portal you are using. I am using CMPS.

To get this additional navbar working on the CMPS frontpage I had to go into my includes/vba_cmps_include_bottom.php and do the following:

Find:
PHP Code:

global $vboptions$vba_options$vbphrase$stylevar$bbuserinfo$show$pmbox

Replace with:
PHP Code:

global $vboptions$vba_options$vbphrase$stylevar$bbuserinfo$show$pmbox$navbar2

Or you could have just added $navbar2 in it somewhere.

mholtum 11-22-2004 03:38 AM

I am using CMPS as well. I think that is the same one.. I got it here http://www.vbadvanced.com

mholtum 11-22-2004 03:41 AM

where is that file located? Is it an actual .php file or a template?

mholtum 11-22-2004 03:41 AM

found it, works great! Thank you

Jaxx 11-28-2004 07:26 AM

Just installed this but having an issue.

http://www.ahazi.org

if you go into the gallery, you will notice that my drop downs vanish. Not sure as to what is wrong here.

Basically, anything that is posted as:

Code:

<td id="journalnavbar" class="vbmenu_control"><a href="#journalnavbar">Journal</a> <script type="text/javascript"> vbmenu_register("journalnavbar"); </script></td>
or
<td id="usercptools" class="vbmenu_control"><a href="#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>

Does not work from with in the gallery itself.

Any help?


All times are GMT. The time now is 04:58 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.01281 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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