Announcement

Collapse
No announcement yet.

navigation manager show permission

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • soniceffect
    replied
    See my first post. Can create a simple plugin for this and use your own show variable

    Leave a comment:


  • Trevor Hannant
    replied
    Originally posted by Faol View Post
    Can I get a little more clarification on this, with my own scenario?

    I want to put links on the "Tab" header. How do I do that? I tried doing as listed above for access to the AdminCP and ModCP. Those small links all the way at the bottom of the board are BS.

    I also want to put the "Subscriptions" link in a prominent place on the tab header. Burying it in the Settings menu is also unacceptable.

    How can I put these in the header area, where they can be readily accessed?

    Thanks.
    https://www.vbulletin.com/forum/cont...w-to-Add-a-Tab

    Originally posted by TwistedChaos95 View Post
    For my navigation manager I made a custom "profile options" menu. I was wondering if, with this permission thing, I could take it one step further and make it so users, mods, supermods and admins can see this link, but not unregistered/not logged in, banned, and any other sort of people without accounts can't see it.
    This requires a plugin at this time.

    Leave a comment:


  • TwistedChaos95
    replied
    For my navigation manager I made a custom "profile options" menu. I was wondering if, with this permission thing, I could take it one step further and make it so users, mods, supermods and admins can see this link, but not unregistered/not logged in, banned, and any other sort of people without accounts can't see it.

    Leave a comment:


  • Faol
    replied
    Can I get a little more clarification on this, with my own scenario?

    I want to put links on the "Tab" header. How do I do that? I tried doing as listed above for access to the AdminCP and ModCP. Those small links all the way at the bottom of the board are BS.

    I also want to put the "Subscriptions" link in a prominent place on the tab header. Burying it in the Settings menu is also unacceptable.

    How can I put these in the header area, where they can be readily accessed?

    Thanks.

    Leave a comment:


  • subzerohimself
    replied
    Navigation Manager

    hi i just read your post here can i ask the same things but can this be done for Usergroups as well or not ! as so that the Usergroups i make eg DB-Clan Member can only see the tab as i have tried to put this
    DB-Clan Member in the Show Permission Name but get this Error: The specified 'show' variable is invalid.
    i know it works on member

    thank you

    Leave a comment:


  • Ace
    replied
    No, you just enter exactly what I put. You want the people who can see ModCP and AdminCP link to see it, so that's what you would put.

    Leave a comment:


  • pelican
    replied
    Originally posted by Ace View Post
    Or just put the following into the Show Permissions box for the tab:

    Code:
    moderators.admincplink
    when entering just the name of a usergroup at "Show Permission Name" field, the navigation link will only show to that usergroup.
    it is the part when i need to show to few usergroup that i am not sure what to enter.

    The admincp help is stating that

    Multiple variables can be specified by joining them with a dot. All of them must then be true for the element to display.
    does it mean i need to enter "administrator.moderators.supermoderators" into the "Show Permission Name" field ?

    Leave a comment:


  • Ace
    replied
    Yep, the values for that box come from the $show array. Anything in that can be used.

    Leave a comment:


  • soniceffect
    replied
    Originally posted by Ace View Post
    Or just put the following into the Show Permissions box for the tab:

    Code:
    moderators.admincplink

    LMFAO oh aye LOL ......... See this is what you get for drinking during the day LOL

    Leave a comment:


  • Ace
    replied
    Or just put the following into the Show Permissions box for the tab:

    Code:
    moderators.admincplink

    Leave a comment:


  • soniceffect
    replied
    I believe you would need a plugin which creates a show variable for those groups.

    - - - Updated - - -

    Could create one at location global_state_check with
    [php]
    I believe you would need a plugin which creates a show variable for those groups.

    Try creating a plugin at location global_state_check with the following
    PHP Code:
    if($vbulletin->userinfo['usergroupid'] == OR $vbulletin->userinfo['usergroupid'] == OR $vbulletin->userinfo['usergroupid'] == 7)
    {
    $show['somenamehere'] = true;
    }else{
    $show['somenamehere'] = false;

    Can add usergroups as appropriate and change the show name from somenamehere to whatever you want. somenamehere would then be what you would use in the tab.

    This is off top of head and not tested btw

    Leave a comment:


  • pelican
    started a topic [Forum] navigation manager show permission

    navigation manager show permission

    i've created a link at navigation manager that i only wanted 3 usergroups (admin, mod, supermod) to be able to see the link in the navigation bar.

    At "Show Permission Name" field, what should i enter?

    The following is the help message from admincp but i dont understand how to "joining them with a dot" for multiple usergroup permission.
    I cant find any info at vbulletin manual.

    Show Permission
    This determines which variable(s) in the vBulletin $show array will be used to decide if the element should be displayed. For instance 'member' means it will only display if $show['member'] is true. Multiple variables can be specified by joining them with a dot. All of them must then be true for the element to display.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X