vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Anti-Spam Options - Spambot Stopper - Prevent Spambots from Registering (https://vborg.vbsupport.ru/showthread.php?t=294633)

Bluemax712 04-10-2013 12:14 AM

Quote:

Originally Posted by kh99 (Post 2415401)
Edit again: I believe the problem is in the spam-o-matic product, and that is should not apply the rules if the post 'is_automated' is set at all. As it is, it only skips the rules if 'is_auotmated' is set to 'rss', but I see places in the vbulletin code that just set it to true. This probably doesn't cause a problem normally because it's rare for one of those situations to occur when the current user has fewer than 6 posts (or isn't an admin or mod). I've sent a PM to the spam-o-matic author, so hopefully we'll get it worked out one way or another.

Anyway, if you want to try a temporary fix, you could try going to Plugins & Products > Plugin Manager, and find the section "Product: Spambot Stopper", and edit the "Post to Thread" plugin. Find this line:
Code:

      $dm->set_info('is_automated', 'sbs');

and change 'sbs' to 'rss'.

So I made the temporary fix changing above from 'sbs' to 'rss'
then Re-enabled posting notices to the thread..

Now have to wait for a new RSS post
will update as soon as one arrives
-Unfortunately this may not happen for at least another day or so.


Thanks for looking into this!

kh99 04-10-2013 12:52 AM

Oh, I thought you said it was working. But I'm not sure I understand - it shouldn't have any affect on any RSS feeds, if that's what you mean.

Bluemax712 04-10-2013 01:01 AM

Quote:

Originally Posted by kh99 (Post 2415436)
Oh, I thought you said it was working. But I'm not sure I understand - it shouldn't have any affect on any RSS feeds, if that's what you mean.

Yea sorry about that ,my initial reaction of success of temp fix - which I deleted - was concerning only having new Rejection posts added to a thread - but this always worked.

The problem of having RSS posts flagged for Moderation is still waiting to see if it has been fixed. Won't know until the RSS finds another post to add

Does this make sense?

On second thought- I'm getting my forum problems mixed up - I think you did fix it with the temp change.
Sorry about the confusion. lol

kh99 04-10-2013 01:17 AM

It's OK, and you can test whatever you want of course. But I would have been really surprised if this mod was causing problems with an RSS feed. :)

Bluemax712 04-10-2013 01:20 AM

Quote:

Originally Posted by kh99 (Post 2415440)
It's OK, and you can test whatever you want of course. But I would have been really surprised if this mod was causing problems with an RSS feed. :)

Thanks can you re-explain how the fix worked though - in really basic terms :)

kh99 04-10-2013 01:39 AM

Quote:

Originally Posted by apsrfvb4 (Post 2415441)
Thanks can you re-explain how the fix worked though - in really basic terms :)

Yeah, I realize what I posted didn't make a lot of sense except to someone familiar with the vbulletin code. I really posted that because I was going to point the spam-o-matic author there, then I ended up repeating it in a PM.

Anyway, when looking at some code to make sure I was explaining it right, I now think it might not be a good idea to make that change. It looks like if you do that, the vbulletin code tries to update the current user's info to reflect that notification, which it shouldn't be doing.

So I won't bother explaining it (I'm not sure I can do a good job anyway), but I also think it might be a good idea to change that line back to 'sbs' and wait until I hear from the spam-o-matic author.

Bluemax712 04-10-2013 01:50 AM

Quote:

Originally Posted by kh99 (Post 2415443)
Yeah, I realize what I posted didn't make a lot of sense except to someone familiar with the vbulletin code. I really posted that because I was going to point the spam-o-matic author there, then I ended up repeating it in a PM.

Anyway, when looking at some code to make sure I was explaining it right, I now think it might not be a good idea to make that change. It looks like if you do that, the vbulletin code tries to update the current user's info to reflect that notification, which it shouldn't be doing.

So I won't bother explaining it (I'm not sure I can do a good job anyway), but I also think it might be a good idea to change that line back to 'sbs' and wait until I hear from the spam-o-matic author.

ok will change it back to " sbs" - whatever that means - which is what I was hoping you would explain :)

I did notice another problem though not sure if related
I received emails of both "Registration Rejected" and "Registration Successfull"
but the thread only show the "Rejected" ones - not the "Successful" ones

PS: I have had the built-in Vbulletin email notify of "Successful Registrations" disabled
since it duplicates the Emails from your Mod

kh99 04-10-2013 02:02 AM

Quote:

Originally Posted by apsrfvb4 (Post 2415446)
ok will change it back to " sbs" - whatever that means - which is what I was hoping you would explain :)

Well, 'sbs' is just a string that I made up that stands for Spambot Stopper. It's hard to explain (at least for me, without going on for paragraphs), but the only way for spam-o-matic to not moderate those posts would be to set that value to 'rss', because it checks for that value. But the vbulletin code also checks for the value 'rss' because it has a special way of handling posts that come from the rss feed poster. But I don't think we want the notifications to be handled that same way (edit: or maybe we do - I'll have to study it more when I get a chance). So we're stuck unless there's a change to the spam-o-matic mod (I hope that makes some sense).


Quote:

I did notice another problem though not sure if related
I received emails of both "Registration Rejected" and "Registration Successfull"
but the thread only show the "Rejected" ones - not the "Successful" ones

PS: I have had the built-in Vbulletin email notify of "Successful Registrations" disabled
since it duplicates the Emails from your Mod

Sorry to say, it's been so long now that I don't remember, but I think we decided that the posts don't use the time limits the way the emails do, so I think right now you only ever get posts for failures. That fix is going to have to wait for the next update.

Bluemax712 04-10-2013 02:10 AM

Quote:

Originally Posted by kh99 (Post 2415447)
Well, 'sbs' is just a string that I made up that stands for Spambot Stopper. It's hard to explain (at least for me, without going on for paragraphs), but the only way for spam-o-matic to not moderate those posts would be to set that value to 'rss', because it checks for that value. But the vbulletin code also checks for the value 'rss' because it has a special way of handling posts that come from the rss feed poster. But I don't think we want the notifications to be handled that same way (edit: or maybe we do - I'll have to study it more when I get a chance). So we're stuck unless there's a change to the spam-o-matic mod (I hope that makes some sense).





Sorry to say, it's been so long now that I don't remember, but I think we decided that the posts don't use the time limits the way the emails do, so I think right now you only ever get posts for failures. That fix is going to have to wait for the next update.

ok- set it all back to email notify only vs. thread notices until further updates

Thanks

PS...have 987 Rejection notices since installed @month ago
and no new real users affected :)

Bluemax712 05-20-2013 10:03 PM

One bad thing about having the notices sent via email vs. a thread

This Mod stopped so many over the weekend that my server was listed by google
as a suspected bulk-email-spammer so I've had to disable them

I hope this is part of the upcoming Spam-O-Matic bugfix update
so I can get back to posting the notices in a thread.


All times are GMT. The time now is 07:41 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.01821 seconds
  • Memory Usage 1,757KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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