Announcement

Collapse
No announcement yet.

Is it true that there is still no way to hide the memberlist from various groups?

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

  • Is it true that there is still no way to hide the memberlist from various groups?

    I found this thread from a few years ago, vb 5.2.1:

    https://www.vbulletin.com/forum/foru...29#post4339329


    The following hack prevents unregistered/not-logged in people from accessing the memberlist:

    Put in a PHP module at the top of the page:

    PHP Code:
    /* This stops unregistered/not-logged in users from accessing
    the memberlist, even if there is no link but they know the url */
    if (vB5_User::get('usergroupid') == 1)
    {
        die(
    'No Permission');

    Or has this been fixed in a later version and I just don't know it?

    I mean, even if you hide the Memberlist link so there's no way to click on it, if you know the URL you can view it:

    (example) https://mysite.com/vb/memberlist

    This hack, while it works, is kinda ugly...

  • #2
    It's still the same, there are no permissions on the member list. It's not a bug as such, that's how it was written.
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.6.2 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      Seems like it would be a simple thing to have a Group Permissions setting for that.

      Comment


      • #4
        Click image for larger version  Name:	2018-09-04_10-25-08.png Views:	1 Size:	51.4 KB ID:	4397604


        Actually all modules have permissions today. You can edit the Member List module and edit the permissions to show the content to specific groups. If someone without permission views the page they won't see the content. You can also edit the Navigation by editing it in Site Builder and editing the Permissions for that specific Navigation Link.

        Adding permission for individual pages is still an open feature request.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API - Full / Mobile
        Vote for your favorite feature requests and the bugs you want to see fixed.

        Comment


        • #5
          Excellent! Thank you for that! Did not really think of doing it that way, much better than the php hack above.

          Comment


          • #6
            You could even put a static html module on the page that shows only to the groups without permission so you can display a message. Or use a Notice. You should be able to select multiple groups in the Notices interface now.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API - Full / Mobile
            Vote for your favorite feature requests and the bugs you want to see fixed.

            Comment


            • #7
              Ok, yes, this is beautiful. I have to realign my thinking, give me a few moments.

              Comment

              Related Topics

              Collapse

              Working...
              X