vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Hide user from "What's going on" (https://vborg.vbsupport.ru/showthread.php?t=110993)

TwinsForMe 03-21-2006 02:46 PM

Hide user from "What's going on"
 
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-20-2006 11:44 PM

Is there anyone that know how to do this, please? The links are too vague for my skill level.

Gio~Logist 04-21-2006 12:11 AM

Quote:

Originally Posted by TwinsForMe
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 12:29 AM

You can use
Code:

<if condition="$bbuserinfo['usergroupid'] == '6'"> </if>
Or
Code:

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

TwinsForMe 04-24-2006 08:14 PM

Where would ^^^ go? What template? Forumhome? Or, would it go into a php file?

Mastar 04-24-2006 09:33 PM

Quote:

Originally Posted by TwinsForMe
Where would ^^^ go? What template? Forumhome? Or, would it go into a php file?


Place:

Code:

<if condition="$bbuserinfo['usergroupid'] == '6'">
OR
Code:

<if condition="$bbuserinfo['userid']== '1'">
Right After:
Code:

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

And Place:

Code:

</if>
Before:

Code:

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

TwinsForMe 04-25-2006 05: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 07:58 PM

Quote:

Originally Posted by TwinsForMe
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:
Code:

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


All times are GMT. The time now is 07:37 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
  • Page Generation 0.01577 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete