The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Profile viewable to member only
Hi,
I've been looking around for a mod that will do this without any luck. All I need it to do is allow either only the member to be able to view their own profile and no one else. Or as above and with usergroup set permissions that can view profiles. |
#2
|
|||
|
|||
in usergroup pick the one you want to edit scroll down to General Permissions/Can View Member Info = No
|
#3
|
|||
|
|||
This seems to also block the member of who's profile it is, from being able to view their own profile.
|
#5
|
||||
|
||||
In the member_info blocks wrap the whole thing in this
HTML Code:
<vb:if condition="$userinfo['userid'] == $bbuserinfo['userid']">ALL THE PROFILE CODE</vb:if> |
Благодарность от: | ||
ForceHSS |
#6
|
|||
|
|||
Quote:
|
#7
|
|||
|
|||
Code:
<vb:if condition="$userinfo['userid'] == $bbuserinfo['userid'] && is_member_of($bbuserinfo, X, X, X)"> ALL THE PROFILE CODE </vb:if> |
#8
|
||||
|
||||
Lol beat me to it!
|
#9
|
|||
|
|||
Wait, that's wrong, lol.
HTML Code:
<vb:if condition="$userinfo['userid'] == $bbuserinfo['userid'] OR is_member_of($bbuserinfo, X, X, X)"> ALL THE PROFILE CODE </vb:if> |
#10
|
|||
|
|||
So is that for groups or x = each member id
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|