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:
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...
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');
}
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...
Comment