PDA

View Full Version : How to stop display of Users Awaiting Moderation in Whose Online on Forum Home? Help!


BoxerPrimer
11-30-2012, 06:07 PM
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 (https://vborg.vbsupport.ru/forumdisplay.php?f=30)

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
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: <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:
<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