Announcement

Collapse
No announcement yet.

removing menu item "members list"?

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

  • removing menu item "members list"?

    I would like to remove the menu item "Members List" from all the pages. How is this done?

  • #2
    You can remove from Navbar template or you can make it so that only admins see that link http://www.vbulletin.com/forum/showthread.php?t=136910

    Comment


    • #3
      Remove this code from your navbar template:
      Code:
      <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
      or surround it with template conditionals:

      Code:
      <if condition="is_member_of($bbuserinfo, 6)"><td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></if>
      (for admins only)
      Best Regards
      Colin Frei

      Please don't contact me per PM.

      Comment


      • #4
        Thank you!!!!!

        Comment


        • #5
          You know that you can hide it from certain usergroups, right? Or do you want NOBODY to be able to see it?

          Comment


          • #6
            Feldon,
            I dont want certain usergroups to see the membelist and calendar .
            Dont I need and "else Somewhere in the statement ? I only want Admins and Mods to see those links . Thanks

            Comment


            • #7
              Code:
              <if condition="is_member_of($bbuserinfo, 6, 7)"><td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></if>

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              X