View Full Version : not really a hack... just some modfication request needed
d3nnis
09-26-2003, 03:21 AM
i want to restrict my memberlist only to admin and moderators only...
they still can click the profile to see the members individually.
main purpose is to disallow everyone from seeing the whole list of members from 1 to xxxx :rolleyes:
Zachery
09-26-2003, 09:47 AM
remove the link ?
it might even be an option in vb2
if not remove the link that should kill 99% of the ppl using the search
d3nnis
09-27-2003, 05:44 AM
remove the link ?
it might even be an option in vb2
if not remove the link that should kill 99% of the ppl using the search
there's a function to disable viewing but it will stop members from viewing profile as well..
i want members to view profile but memberlist restricted to admin and moderators only.
if i remove the link... anyone used vbulletin before will know which page to find... and if i disable viewing, it will prevent members from viewing profile... so back to square one.
Zachery
09-27-2003, 05:45 AM
there's a function to disable viewing but it will stop members from viewing profile as well..
i want members to view profile but memberlist restricted to admin and moderators only.
if i remove the link... anyone used vbulletin before will know which page to find... and if i disable viewing, it will prevent members from viewing profile... so back to square one.
remove the link, most users arnt smart enuf to type out the link :P
Sylvus
09-27-2003, 12:40 PM
Even with the link removed from the forum home page, anyone can still view the memberlist from their own profile via the buddy list.
Syl...
assassingod
09-27-2003, 12:48 PM
It's been a while since i've hacked vB2, but try this, open memberlist.php and find:
if (!$permissions[canview] or !$permissions[canviewmembers]) {
show_nopermission();
}
Below add:
if($bbuserinfo['usergroupid'] == 6) {
Find:
} #end if ($action=="search")
below add:
}
else
{
show_nopermission();
}
Untested, but should work
d3nnis
09-29-2003, 01:10 AM
It's been a while since i've hacked vB2, but try this, open memberlist.php and find:
if (!$permissions[canview] or !$permissions[canviewmembers]) {
show_nopermission();
}
Below add:
if($bbuserinfo['usergroupid'] == 6) {
Find:
} #end if ($action=="search")
below add:
}
else
{
show_nopermission();
}
Untested, but should work
cool! Thanks, will try it tonite... :D
d3nnis
09-29-2003, 02:45 PM
thanks assassingod , it works! :)
assassingod
09-29-2003, 03:51 PM
thanks assassingod , it works! :)
No problem
d3nnis
10-31-2003, 06:06 PM
No problem
hiyas, me back, can you teach me how to do for vb 3 beta 7?
illPhever
11-02-2004, 10:20 AM
It's been a while since i've hacked vB2, but try this, open memberlist.php and find:
if (!$permissions[canview] or !$permissions[canviewmembers]) {
show_nopermission();
}
Below add:
if($bbuserinfo['usergroupid'] == 6) {
Find:
} #end if ($action=="search")
below add:
}
else
{
show_nopermission();
}
Untested, but should work
i've been trying to do this very thing in vbulletin 3.0.0. would anybody now how this code would have to be modified to get it to work in vb3?
peterska2
11-02-2004, 10:27 AM
In the usergroup settings there is an option for 'can view member list' change that no 'no' for everyone that you don't want to see it.
There are no code changes required as it is a standard feature.
illPhever
11-02-2004, 10:39 AM
yeah, well that setting controls whether the usergroup can view User Profiles and the Memberlist. i would like to allow people see the View User Profiles page but only have access to view and search the Memberlist if they are a member of a couple of specific usergroups.
btw, in vb3, that setting you mention is called 'Can View Member Info'. sorry i'm asking a vb3 question in the wrong forum, but i thought i would continue the thread instead of starting a new one. :nervous:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.