vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Menu Control (https://vborg.vbsupport.ru/showthread.php?t=104725)

mr_wizard 08-17-2006 05:19 AM

Very cool. Excellent job very easy to install

Mysticales 08-18-2006 03:22 AM

Had a thought, If you use this method from the template edit. (Speaking in 3.5x edits.)
2. Go to 'Style Manager' and in the 'Navbar' template:
Find:
<!-- / nav buttons bar -->
Then if you use THIS instead of whats there now...
Add Below:
Code:

<if condition="is_member_of($bbuserinfo, X)">
<else />
$menucontrol
</if>

Replace "X" with your usergroup ID you want to show it, that may work too, Thoughts? I mean it should be good for users who want just 1 usergroup like a "Premium" paid susbscription or a special usergroup to gain access to it. Which on THAT navbar, maybe use it for your special groups content. In theory it should work, Im gonna try later.

Neo_obs 08-18-2006 04:22 AM

almost positive its a different phrase for membergroups. Might want to look it up before you test it.

for moderators its !can(moderate) I blieve

Mysticales 08-18-2006 04:31 AM

Quote:

Originally Posted by Neo_obs
almost positive its a different phrase for membergroups. Might want to look it up before you test it.

for moderators its !can(moderate) I blieve

UGH, I forgot something important... darn it! The code I gave would mean its checking to see if a user is in group "x" meaning unless you use a "Primary" usergroup system to have users be assigned to either regular usergroup or premium. It wont work. Cause you see, if you make "X" be your regular usergroup, it would mean anyone who is not in that group, would see the 2nd nav bar.

However.. if your like my setup right now... Secondary usergroups would fail on this code... since Registered AND Premium would be flagged... making them fall into the wrong group.

But for those using primary system only.. guess this would work.

As for the can moderate thing. That would mean the variable is only aimed toward a user with a moderate ability, has nothing to do what usergroup they are in.

Neo_obs 08-18-2006 04:50 AM

true I knew that I was thinking on the lines of if you wanted a special navbar for your moderators and staff.

Marky 08-18-2006 10:50 AM

Quote:

Originally Posted by Mysticales
Any news?

Only thing I would love is usergroup settings, to choose which usergroups could see the 2nd nav bar. Thanks. If you have that, I will use on our large community. =)

It's in the pipeline ;)

Quote:

Originally Posted by blind-eddie
Support given on vBDiscussion.com

Trust me, Go there for quick response on inquires.

Thanks blind-eddie, much apprectiated ;)

----

Since I now have to work further on Saturday (at work) than expected, I'll have to try and finish the next version on Sunday. You might get an update then.

Don't forget to nominate Menu Control for an award ;) ;)

bashy 08-19-2006 09:13 AM

Wonder if you can help please?

I have had this installed for quite sometime now and the top line is not there its below, If that makes any sense...

Please see image the solid top red line is where the line should be
the dotted bottom line is where the line is and the moment...

I think you will see what i mean, if not take a look at my site...

any advice on this please?

Puntoboy 08-19-2006 11:04 AM

i don't need 9 links at the moment, how can i remove the unwated links?

Puntoboy 08-19-2006 11:16 AM

also,

i want to add the bar above the banner at the top of my forum, but it appears below?

how can i move it?

http://www.puntosports.co.uk/forums/index.php?

Puntoboy 08-19-2006 11:34 AM

why is it the menu doesn't display on this page?

http://www.puntosports.co.uk/forums/....php?do=getnew


All times are GMT. The time now is 10: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.01429 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
  • (1)bbcode_code_printable
  • (3)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