vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to stop display of Users Awaiting Moderation in Whose Online on Forum Home? Help! (https://vborg.vbsupport.ru/showthread.php?t=292244)

BoxerPrimer 11-30-2012 06:07 PM

How to stop display of Users Awaiting Moderation in Whose Online on Forum Home? Help!
 
Hi, I've been going a little bonkers trying to figure this one out. Since last month about 200 + spammers are registering on my forum everyday, I took care of that by requiring admin approval of all new accounts however the unapproved spammer nicks still show up on the whose online on my forumhome page. They use advertising nicks. I would really appreciate if someone could please tell me how to disable users awaiting moderation from showing up on my forum home's whose online ?

I've read quite a few threads and the closest I could come up with was this one below which turns all whose online names off (members and users awaiting moderation) which is useless as I Vbulletin 4 already gives me that option. I'm on 4.1.10.

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

Thanks.

ForceHSS 11-30-2012 06:11 PM

Look over the settings for that group and you will find it

BoxerPrimer 11-30-2012 06:24 PM

Went though all of them, couldn't find anything which allows me to stop them showing up in whose online.

Also tried using this code in plugins in forumhome>loggedin>userquery (4 being my usergroup id for users awaiting moderation)

$hook_query_where .=" AND user.usergroupid != 4";

It stops their names from displaying but also sets the guest count to 0.

All I need to know is how to retain the guest count while keeping their users awaiting moderation names off.

Thanks.

ForceHSS 11-30-2012 09:37 PM

admincp/Usergroups edit the one you want scroll down to Usergroup Options
Viewable on the Memberlist = No
the online part I dont see a way to stop that unless you code it in

BoxerPrimer 12-01-2012 08:24 AM

@ForceHss Thank you. I'm a code noob. Would appreciate if you could tell me what to code in.

ForceHSS 12-01-2012 02:58 PM

post your request here

BoxerPrimer 12-02-2012 08:57 AM

Thank you but I don't think this is something I need to pay for to get done as it should be basic Vbulletin functionality.

BoxerPrimer 12-16-2012 10:52 AM

Leaving a post here to help others facing the same problem. Try installing Fasim Anti Spam from the mods section. It prevents spammers from registering and this problem has gone away 90 %.

mokujin 12-16-2012 12:36 PM

Quote:

Originally Posted by BoxerPrimer (Post 2387583)
Thank you but I don't think this is something I need to pay for to get done as it should be basic Vbulletin functionality.

I aggree with you, users should help each others.

Please try this, I think it should work.
Edit your template FORUMHOME
Find:
HTML Code:

<li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}{vb:raw loggedin.comma}</li>
Replace with:
HTML Code:

<li<vb:if condition="$loggedin['usergroupid'] == 4"> style="display: none;"</vb:if>>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}{vb:raw loggedin.comma}</li>
Let me know


All times are GMT. The time now is 06:13 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.01075 seconds
  • Memory Usage 1,732KB
  • 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
  • (2)bbcode_html_printable
  • (1)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