View Full Version : admin profile
Cust0ms
10-18-2008, 07:38 PM
hello
I want to disable my profile (admin profile) for all my users.
disable = users can not view admin profile
Can anyone help me?
pspmaster93
10-18-2008, 09:13 PM
hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmm
id say you would need to use a modification to do that
Lynne
10-18-2008, 10:00 PM
A quick way would be to just put a condition around the content in the MEMBERINFO template that you don't want others to see (probably from right under the navbar to right above the footer).
<if condition="$userinfo['userid'] != x">
all the content in MEMBERINFO not to show if you are looking at the profile for userid x
</if>
Cust0ms
10-19-2008, 07:16 AM
When I did it I get such error (when I visit any profile):
Parse error: syntax error, unexpected '[' in /home/domains/domain.nl/public_html/member.php(506) : eval()'d code on line 48
Dismounted
10-19-2008, 07:41 AM
<if condition="$userinfo['userid'] != x">
all the content in MEMBERINFO not to show if you are looking at the profile for userid x
</if>
Lynne
10-19-2008, 02:55 PM
Stupid dollar sign.....
(I edited my original post so no one else tries to use my wrong code.)
Cust0ms
10-20-2008, 05:08 AM
OK, it works, thanks.
And one more question...how to add some info (when user visit my profile they can see only this info).
Dismounted
10-20-2008, 10:37 AM
<if condition="$userinfo['userid'] != x">
all the content in MEMBERINFO not to show if you are looking at the profile for userid x
<else />
HAHA, you can't see my profile :-).
</if>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.