Log in

View Full Version : Hide user from "What's going on"


TwinsForMe
03-21-2006, 02:46 PM
How do I hide a user from showing up in the "what's going on" box even from admin/superadmin?

EasyTarget
03-21-2006, 03:09 PM
I remember seeing a mod for this.. it required you to edit the code though I believe, and it may have only been for admins.. maybe possible to edit it to hide a normal user.

I can't seem to find it, but maybe something in here will work:
https://vborg.vbsupport.ru/showthread.php?t=100470

here's a 3.0 hack that maybe you can mess with and see if you can get something useful:
https://vborg.vbsupport.ru/showthread.php?t=92374

TwinsForMe
04-21-2006, 12:44 AM
Is there anyone that know how to do this, please? The links are too vague for my skill level.

Gio~Logist
04-21-2006, 01:11 AM
Is there anyone that know how to do this, please? The links are too vague for my skill level.

I think Chris attached an xml in that thread that you can use.

Mastar
04-22-2006, 01:29 AM
You can use <if condition="$bbuserinfo['usergroupid'] == '6'"> </if>

Or <if condition="$bbuserinfo['userid']== '1'"> </if>

TwinsForMe
04-24-2006, 09:14 PM
Where would ^^^ go? What template? Forumhome? Or, would it go into a php file?

Mastar
04-24-2006, 10:33 PM
Where would ^^^ go? What template? Forumhome? Or, would it go into a php file?


Place:

<if condition="$bbuserinfo['usergroupid'] == '6'">
OR
<if condition="$bbuserinfo['userid']== '1'">

Right After:
<!-- what's going on box -->


And Place:

</if>

Before:

<!-- end what's going on box -->

TwinsForMe
04-25-2006, 06:55 PM
That seems to hide the whole box *unless* you are the admin. I was wanting it the other way around; not have the admin show up at all.

Thanks for your time and patience with this.

Mastar
04-25-2006, 08:58 PM
That seems to hide the whole box *unless* you are the admin. I was wanting it the other way around; not have the admin show up at all.

Thanks for your time and patience with this.


Oh sorry I misunderstood your request...

Try here: https://vborg.vbsupport.ru/showthread.php?t=92374