The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
hello
I want to disable my profile (admin profile) for all my users. disable = users can not view admin profile Can anyone help me? |
#2
|
|||
|
|||
![]()
hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmm
id say you would need to use a modification to do that |
#3
|
||||
|
||||
![]()
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"> all the content in MEMBERINFO not to show if you are looking at the profile for userid x </if> |
#4
|
|||
|
|||
![]()
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 |
#5
|
||||
|
||||
![]() Code:
<if condition="$userinfo['userid'] != x"> all the content in MEMBERINFO not to show if you are looking at the profile for userid x </if> |
#6
|
||||
|
||||
![]()
Stupid dollar sign.....
(I edited my original post so no one else tries to use my wrong code.) |
#7
|
|||
|
|||
![]()
OK, it works, thanks.
And one more question...how to add some info (when user visit my profile they can see only this info). |
#8
|
||||
|
||||
![]() Code:
<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> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|