![]() |
Hide the admin "current activity" in profile?
I want to hide the current activity of the admin (me) in my profile. It shows in two places: Just under the "last activity" at the top and in the statistics tab.
on the vb forums they suggested using the invisible mode, but I don't want to go invisible and make myself look like I'm offline. Thanks. |
The only way I can think of is using an <if condition=""><else /></if>
Something like if is admin don't show the last activity else show it Not sure what you would put in the condition parameter |
Quote:
|
Are you trying to hide *your* activity or every admin's (ie. user in usergroupid 6) activity from other users?
If yours, you can try: HTML Code:
<if condition="$bbuserinfo['userid'] == '2'"> HTML Code:
<if condition="$bbuserinfo['usergroupid'] == '6'"> |
Quote:
What do I put between those <if tags in the MEMBERINFO template? I got a little confused |
what part of template does this go to hide admin 2 thanks
|
Ok, I get it. I had a brain fart or something. This works BUT, it doesn't allow members to see what other members are doing. I want everyone to see everyone's current activity as normal except not be able to see the admins current activity.
|
Go find the code that shows the activity, then use what Lynne gave you:
PHP Code:
|
Quote:
|
Ah, I see. Try changing it to:
HTML Code:
<if condition="$prepared['userid'] != '2'"> |
All times are GMT. The time now is 08:31 PM. |
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:
|