vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - Prevent Spam Posts (https://vborg.vbsupport.ru/showthread.php?t=131568)

RockMTP 12-05-2006 02:53 PM

Thanks for this - Installed!

lindmar 12-05-2006 04:36 PM

I dont really understand how to set this?
I've imported it into the products and thats all good?
Now what?

Adrian Schneider 12-05-2006 04:41 PM

Quote:

Originally Posted by tobybird (Post 1132274)
Beautiful! And much needed as we seem to be under attack. Why in the world these guys think hitting a site full of women is a good thing is just beyond me. https://vborg.vbsupport.ru/external/2006/12/13.gif

Thanks for the brilliant hack! Installed :)

Glad you like it. :)
Quote:

Originally Posted by RockMTP (Post 1132470)
Thanks for this - Installed!

No problem - but evidently not. ;)
Quote:

Originally Posted by lindmar (Post 1132535)
I dont really understand how to set this?
I've imported it into the products and thats all good?
Now what?

Import Product XML, then go to your AdminCP > vBulletin Options > Prevent Spam (near bottom), then configure it to your heart's desire. It should work out of the box though (just not as well as it could with more keywords defined).

JamesUK 12-05-2006 09:32 PM

just installed it and it all seems very straightforward :)

If this works like it looks like it will, you are my hero

david_deng 12-06-2006 03:34 AM

Sorry for the stupid question.

I just upgraded to vbulletin 3.6.4. I simply couldn't find where to setup keywords for spam filter after spending 1 hour going through all vBulletin Options.

I do believe the VBulletin's interface needs to be improved!

Thanks in advance!

Adrian Schneider 12-06-2006 03:59 AM

It has its own setting group, and it should be near the bottom.

JamesUK 12-06-2006 07:25 AM

just a quick question on the post count part of the restriction, I see that if someone posts and their post is sat in the moderation pile, their post count is 0. If I set this mod to work with people with 2 posts and less, does that mean they must have a post count of 3 or that they have to have made 3 posts?

ie, do all posts count or just ones moderators have 'approved'

goteamsgo 12-06-2006 01:51 PM

Sounds great.

Any comments on server impact? Would server impact be less if you added an option to only apply this to certain usergroups (like a group for members with < X posts)?

Does the poster get any message when we auto moderate their post or do they just go back to another screen and they have no idea what happened? I don't mind spammers not getting any message but a legitamate new user that gets a false postitive should get something like "Your post has triggered our automatic review process. A moderator will review you post and approve it if it meets our forum rules."

Adrian Schneider 12-06-2006 05:53 PM

Quote:

Originally Posted by JamesUK (Post 1133037)
just a quick question on the post count part of the restriction, I see that if someone posts and their post is sat in the moderation pile, their post count is 0. If I set this mod to work with people with 2 posts and less, does that mean they must have a post count of 3 or that they have to have made 3 posts?

ie, do all posts count or just ones moderators have 'approved'

It uses the posts counter, which is only updated by approved posts (AFAIK).
Quote:

Originally Posted by goteamsgo (Post 1133197)
Sounds great.

Any comments on server impact? Would server impact be less if you added an option to only apply this to certain usergroups (like a group for members with < X posts)?

Does the poster get any message when we auto moderate their post or do they just go back to another screen and they have no idea what happened? I don't mind spammers not getting any message but a legitamate new user that gets a false postitive should get something like "Your post has triggered our automatic review process. A moderator will review you post and approve it if it meets our forum rules."

There should be nearly 0 server impact. It will search the entry (while in memory) for all of your keywords very quickly, and if any are found the post will be marked as requiring moderation, which triggers the standard 'your post will not be visible' message.

brandon515 12-06-2006 06:27 PM

Installed, works great for moderating posts with [URL] & [IMG]

Is there any way to automaticly notify mods that there are posts/threads awaiting moderation?

Thanks,
Brandon

goteamsgo 12-07-2006 06:52 PM

Quote:

Originally Posted by SirAdrian (Post 1133343)
It uses the posts counter, which is only updated by approved posts (AFAIK).There should be nearly 0 server impact. It will search the entry (while in memory) for all of your keywords very quickly, and if any are found the post will be marked as requiring moderation, which triggers the standard 'your post will not be visible' message.

Thanks, can anyone tell me where to adjust the redirect delay on the message they'll get:
Quote:

Thank you for posting! Your post will not be visible until a moderator has approved it for posting. You will now be taken back to the forum. If you opted to post a poll, you will now be allowed to do so.
Mine redirected after only a second and a poster would not have had time to read it.

Adrian Schneider 12-07-2006 07:13 PM

Quote:

Originally Posted by brandon515 (Post 1133369)
Is there any way to automaticly notify mods that there are posts/threads awaiting moderation?

Thanks,
Brandon

That's a job for another hack.
Quote:

Originally Posted by goteamsgo (Post 1134034)
Thanks, can anyone tell me where to adjust the redirect delay on the message they'll get:
<snip>
Mine redirected after only a second and a poster would not have had time to read it.

Again, that's a standard vBulletin thing and you should take it up with them.

AntonyF 12-11-2006 09:26 AM

Hi there. Excellent hack, just what we wanted. However I installed it and ran into a problem. Everyone on the board couldn't post attachments; it said they were over quota even though we don't set quota. Very odd. I turned this mod off, then they could attach again. Any ideas? We're on 3.6.4, I know this mod is for 3.6.3 and perhaps that's the problem? Thanks.

encryption 12-12-2006 05:22 PM

I installed this and ran into the following error

Warning: strpos(): Empty delimiter. in /global.php(356) : eval()'d code on line 9

any ideas ?

btw I am running vb vBulletin 3.6.4 and used the product-siradrianpreventspam.xml

s25 12-13-2006 02:30 PM

I had that try re-uploading global.php I dont know how I fixed mine! But it worked after I uploaded files again so i am guessing it was that :)

Mayers 12-14-2006 04:53 AM

Hack installed :).

I thought i'd share the list of keywords that hit my forums a lot.

Code:

ipod buy [url free sex pharmaceutical ringtones wii [email nintendo playstation Bullet-Proof Cialis Ciallis Credit/Debit_card_update
OEM_Software
Pharmacy
Popular_soft_-_very_low_price
Rolex Softtabs SouthTrust Valid_Marketing
Viaagra Viagra Viccodin Xannax antidotes
l8OO_0rder_N0W pharmaceutical_ vaigra free download dvd video myspace games cash software xbox xbox360 360 PS2 x_box PSone PS3 play station Apple ipod USD $


s25 12-14-2006 07:55 PM

Personaly i just bann http:// and the url commands, I dont see any reason why someone with less that ten posts should be posting links and if he has a legit reason I will allow em through :cool:

briansol 12-15-2006 02:44 AM

great mod, thanks. been getting hit like crazy lately...

ScubaAddict 12-15-2006 02:40 PM

Great mod! I just switched from a different mod to this one, and I got a couple of questions/enhancements?:

1. a quick edit to a post will allow the restricted post. For example, I make a post, come back and edit it and put in the link (spam part) using the quick reply - it is allowed.
2. quick reply doesn't show the user the 'moderation' message - so it just looks like their post doesn't show up.

Is there any way to get the 'this post has been flagged...' message to stick around for a long time, like 10 seconds? But still leave the regular redirect at the same time (2 or 3 seconds)?

basskiller 12-16-2006 11:26 AM

this is a really sweet hack Thanks

Talisman 12-16-2006 04:10 PM

Thanks, SirAdrian. I didn't know they could bypass the security provisions we already have by default in vB. Installed this right away.. before we have similar problems.

Hope this hack gets added in as a baseline feature on later versions of vB.

Thanks, again.

:bunny:

Adrian Schneider 12-16-2006 04:39 PM

No problem.

I will try to expand this to work on edited posts as well (hopefully for tomorrow).

nanaimobar 12-16-2006 11:51 PM

Thanks SirAdrian. Installed.

Spikeman 12-17-2006 01:39 AM

Thanks Aj

/me installs on 3.6.4

VK3MTR 12-17-2006 02:08 AM

Hi Sir Adrian
Please advise if this hack will work with 3.6.4?
Thank you
Regards
Steve

Adrian Schneider 12-17-2006 02:24 AM

Yeah it will.

VK3MTR 12-17-2006 02:52 AM

Thank you Adrian for you very quick reply. Now I just need to work out how to install the mod:)
Regards
Steve

VK3MTR 12-17-2006 05:12 AM

Hi Adrian
Well I just installed your program and it loaded beautifully into 3.6.4. Very easy and yeah very very cool!:D
Thank you for your excellent work.
Steve

encryption 12-17-2006 05:30 PM

Quote:

Originally Posted by s25 (Post 1137802)
I had that try re-uploading global.php I dont know how I fixed mine! But it worked after I uploaded files again so i am guessing it was that :)

from the vb installationg package I presume?

linesider 12-18-2006 01:50 AM

Thanks - added this hack, now to get rid of those annoying typeinternational.com spammers - 2 thumbs up

tobybird 12-18-2006 11:59 AM

Just noticed a couple things this morning...

1. For some odd reason a message popped into the moderation queue because it contained a thread smilie/post icon.

2. All members with 10 or fewer posts as determined with this hack are seeing a Warning: strpos() [function.strpos]: Empty delimiter. in /global.php(360) : eval()'d code on line 166 message as they are redirected.

eta: Just as an fyi... I did disable all other hacks I have running to be certain the message was being caused by this mod and it seems to be.

AntonyF 12-21-2006 09:22 AM

Quote:

Originally Posted by AntonyF (Post 1136228)
Hi there. Excellent hack, just what we wanted. However I installed it and ran into a problem. Everyone on the board couldn't post attachments; it said they were over quota even though we don't set quota. Very odd. I turned this mod off, then they could attach again. Any ideas? We're on 3.6.4, I know this mod is for 3.6.3 and perhaps that's the problem? Thanks.

Don't worry about this now. I went for an alternative, and that works sweet.

Maerten 12-22-2006 05:58 AM

Hi, I'm not a specialist in vBulletin but with this plugin members cannot see there own post that's being moderated and they will try to post the message again. This is a time consuming work for the moderators. I'm not sure if there's an other solution for this but I changed the plugin so that showthread displays a member own posts even if there posts are being moderated. Other members down't see there posts.
Is there an other (standard) solution for this? Is anyone interested in my solution?

Adrian Schneider 12-23-2006 08:31 AM

Quote:

Originally Posted by tobybird (Post 1140935)
Just noticed a couple things this morning...

1. For some odd reason a message popped into the moderation queue because it contained a thread smilie/post icon.

2. All members with 10 or fewer posts as determined with this hack are seeing a Warning: strpos() [function.strpos]: Empty delimiter. in /global.php(360) : eval()'d code on line 166 message as they are redirected.

eta: Just as an fyi... I did disable all other hacks I have running to be certain the message was being caused by this mod and it seems to be.

Hi,

1) should depend on your filtering... AFAIK I haven't had any problems with smilies yet.

2) If you want me to help debug that I'll need AdminCP access (w/ plugin permission) to your board. PM if interested.

Quote:

Originally Posted by Maerten (Post 1143297)
Hi, I'm not a specialist in vBulletin but with this plugin members cannot see there own post that's being moderated and they will try to post the message again. This is a time consuming work for the moderators. I'm not sure if there's an other solution for this but I changed the plugin so that showthread displays a member own posts even if there posts are being moderated. Other members down't see there posts.
Is there an other (standard) solution for this? Is anyone interested in my solution?

This is a standard vBulletin feature, so I would suggest any alternatives to them - all my code does is trigger what already exists.


BTW, I took a quick stab at the edit moderation... the feature doesn't even exist in vBulletin so it would be a pain. How many of you actually have spammers get around the initial post/thread creation and are editing posts? Nobody has done it on my board yet so it's not an immediate concern for me.

DementedMindz 12-23-2006 10:16 AM

Quote:

Originally Posted by SirAdrian (Post 1143896)

1) should depend on your filtering... AFAIK I haven't had any problems with smilies yet.


I had it a few times with smileys but i rather a smiley set it off then see spam on my site.

Adrian Schneider 12-28-2006 09:05 PM

I did some testing with the empty delimiter problem, and it seems that it is caused when the search string (needle) is empty. So this would happen if your keyword list isn't separated properly.

ex: using 2 spaces instead of 1

Anyway, if you are having this problem check your keyword listing, and if you can't find anything obvious post it here for me to look at.

sportsoutlaw 12-29-2006 02:41 AM

Quote:

Originally Posted by tobybird (Post 1140935)
2. All members with 10 or fewer posts as determined with this hack are seeing a Warning: strpos() [function.strpos]: Empty delimiter. in /global.php(360) : eval()'d code on line 166 message as they are redirected.

I ran into this on a new forum a little while ago. In addition to this, you will get a note saying "an error has occured" on quick replies using ajax.

After reading this thread, I verified that it was in fact due to having two spaces between one of the words in my filter. Removed the extra space and the problem was gone.

I don't know if this can be done or not, but is there a way to make it where a word is added "per line" instead of the "one space" between them? Really easy to get two spaces in between these words, and unless you are testing with a user account that has less than the number of posts required, you may never know it. I wasn't seeing this issue from my admin account.

Adrian Schneider 12-29-2006 08:38 PM

Edit the plugin that uses the explode function, and change the first parameter to "\n" instead of ' '.

RobinPriestley 01-04-2007 01:49 PM

Thanks for this, I installed it and it works great.

The only problem is, I registered a test user to try it with, and it caught my spam. However now if I try and post with that user I get this message:

Unable to add cookies, header already sent.
File: /homepages/25/d169220611/htdocs/forum/includes/class_core.php
Line: 3023

any clues what it means.

Cheers,

Robin

hennanra 01-06-2007 06:30 PM

Quote:

Originally Posted by SirAdrian (Post 1132250)
Scanning the title is possible, so I'll add that to the next version. Banning or auto-deleting the post isn't really what this is about, and will be problematic when you get false positives (though that depends on your keywords).

I would really really appreciate this mod for the title too. My main concern is it is only a matter of time until spammers realise that they can put URL or spam words in title, they only want somewhere to stick this and any box where they can enter information serves this purpose. Arguably even the user name e.g.:

User: www.visitmysite.com
Title: Legitimate text
Post: Legitimate Text

Effectively, for this mod to be spam proof, I feel all 3 components would need to be protected. One other thing that would be amazing (sry - I am really not requesting, just suggesting of something that will improve) is if you can moderate users based on names as an extension of this.

I have many users setting up accounts with swear words and the like as usernames and this appears in the "most recent joiners" list at the bottom and looks very bad - I am sure you can use your imagination to think of the types of names that appear there :-).

The biggest part of this is perception, this is the best hack out there by far and I have installed, I feel a few more mods will prevent even a whiff of spam getting through and hopefully consign spammers to getting a real job!.

NB, I also experienced the delimiter and unable to add cookies errors when we did a clean install of vBulletin. We had to install this several times, can't remember how my developer got working in the end.

Kind Regards (and thanks for the best mod on this forum),
Raheel


All times are GMT. The time now is 01:33 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.01709 seconds
  • Memory Usage 1,842KB
  • 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
  • (1)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete