![]() |
admin profile
hello
I want to disable my profile (admin profile) for all my users. disable = users can not view admin profile Can anyone help me? |
hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmm
id say you would need to use a modification to do that |
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).
HTML Code:
<if condition="$userinfo['userid'] != x"> |
When I did it I get such error (when I visit any profile):
Code:
Parse error: syntax error, unexpected '[' in /home/domains/domain.nl/public_html/member.php(506) : eval()'d code on line 48 |
Code:
<if condition="$userinfo['userid'] != x"> |
Stupid dollar sign.....
(I edited my original post so no one else tries to use my wrong code.) |
OK, it works, thanks.
And one more question...how to add some info (when user visit my profile they can see only this info). |
Code:
<if condition="$userinfo['userid'] != x"> |
All times are GMT. The time now is 11:41 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|