vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Additional navbar with dropdowns (https://vborg.vbsupport.ru/showthread.php?t=166136)

attroll 03-21-2008 04:10 AM

Quote:

Originally Posted by Leo Brazil (Post 1470034)
Atroll,

I've just sent you an e-mail with the VbA module. Take a look on it and try it.

Thank you. I am working up the hack right now getting it ready to post.

attroll 03-21-2008 04:23 AM

For those interested in using this as a side navbar then you can look at the Additional side navbar hack to see if it interest you.

madotds 03-25-2008 02:02 AM

Hi
Thanks for the hack :)

Could someone please help me with this? I am tring to get it so that this navbar only shows to usergroup Id 12 but can't seem to get the right code I have tried things like

<if condition="!$show['userid']=12">

But cant get it to work. Can someone tell me the right way?

Regards
Madotds

Preech 03-25-2008 02:12 AM

I'm not great at the coding and all. But shouldn't it be usergroupid and not userid.

madotds 03-25-2008 02:59 AM

Quote:

Originally Posted by Preech (Post 1473802)
I'm not great at the coding and all. But shouldn't it be usergroupid and not userid.

Yes you are right cheers but still not working using <if condition="!$show['usergroupid']=12">

!!!!! :) thankyou Preech for making me look at my code again. As you can see above for some reason I managed to put a ! before $show and this was messing it up. Now sorted using <if condition="$show['usergroupid']=12">

Regards
Madotds

attroll 03-25-2008 03:33 AM

Madotds

I believe the code you are looking for is this:

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

madotds 03-25-2008 04:13 AM

Quote:

Originally Posted by attroll (Post 1473857)
Madotds

I believe the code you are looking for is this:

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

Thank you :)

powerful_rogue 04-07-2008 11:15 PM

Hi,

Im really hoping someone can help as im really stuck!

The 2nd navbar works fine, until you log out and then is vanishes!

I have no idea whats causing this! It was fine on the forum, arcade and portal when logged in, but its no-where to be seen once you log out.

It worked fine on my test site, so im at a loss as to whats casuing this!

attroll 04-08-2008 03:10 AM

Quote:

Originally Posted by powerful_rogue (Post 1485573)
Hi,

Im really hoping someone can help as im really stuck!

The 2nd navbar works fine, until you log out and then is vanishes!

I have no idea whats causing this! It was fine on the forum, arcade and portal when logged in, but its no-where to be seen once you log out.

It worked fine on my test site, so im at a loss as to whats casuing this!

My guess is that if it worked fine on you test site that it must be a mod or hack you have installed in your live site. The first thing i would do is try disabling all your plugins and see if you still have the problem.

powerful_rogue 04-08-2008 01:13 PM

I worked out what it was.

If you have your forum closed and then log out, navbar2 vanishes.

Looks like its only a bug when you have your forum closed - took me a couple of hours to find it out!


All times are GMT. The time now is 11:08 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.01335 seconds
  • Memory Usage 1,740KB
  • 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_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