PDA

View Full Version : How to make memberlist viewable by logged in members only?


Big_J
02-26-2009, 12:26 AM
I want to make the member list on my forum viewable by only the logged in members. Is this possbile?

Thanks

Lynne
02-26-2009, 02:29 AM
You can probably just create a plugin at the memberlist_start hook location with something like:

if (!isset($vbulletin->userinfo['userid']) OR $vbulletin->userinfo['userid'] == 0)
{
print_no_permission();
}That's not tested, but I think it should work.

eJM
07-02-2011, 08:52 AM
Sorry for bumping an old thread, but I found it valuable, so maybe others will too. It's still current for 3.8.x. Now only members can view the member list on my forum. I needed something that restricted access to the member list, but not member profiles - my member profiles are rich with relevant keywords and content and are a valuable feature for my members and visitors.

Thanks, Lynne, very much.

Jim

BirdOPrey5
07-02-2011, 08:18 PM
You could also go to Usergrouop Manager -> Unregistered / Not Logged In -> Edit the group-

Find Can View Member Info and set to "No."

That will prevent guests from viewing member profiles and the member list.

eJM
07-02-2011, 09:18 PM
You could also go to Usergrouop Manager -> Unregistered / Not Logged In -> Edit the group-

Find Can View Member Info and set to "No."

That will prevent guests from viewing member profiles and the member list.
But that's not what I wanted. As I said...

I needed something that restricted access to the member list, but not member profiles...

BirdOPrey5
07-02-2011, 10:14 PM
I was reading the first post- didn't realize it was so old. :o.