Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-30-2012, 06:07 PM
BoxerPrimer BoxerPrimer is offline
 
Join Date: Nov 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 11-30-2012, 06:11 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look over the settings for that group and you will find it
Reply With Quote
  #3  
Old 11-30-2012, 06:24 PM
BoxerPrimer BoxerPrimer is offline
 
Join Date: Nov 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 11-30-2012, 09:37 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 12-01-2012, 08:24 AM
BoxerPrimer BoxerPrimer is offline
 
Join Date: Nov 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ForceHss Thank you. I'm a code noob. Would appreciate if you could tell me what to code in.
Reply With Quote
  #6  
Old 12-01-2012, 02:58 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

post your request here
Reply With Quote
  #7  
Old 12-02-2012, 08:57 AM
BoxerPrimer BoxerPrimer is offline
 
Join Date: Nov 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 12-16-2012, 10:52 AM
BoxerPrimer BoxerPrimer is offline
 
Join Date: Nov 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 %.
Reply With Quote
  #9  
Old 12-16-2012, 12:36 PM
mokujin's Avatar
mokujin mokujin is offline
 
Join Date: Oct 2005
Location: Czech
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BoxerPrimer View Post
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:38 AM.


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.03961 seconds
  • Memory Usage 2,237KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete