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)

ngaiox 01-07-2007 05:41 PM

Quote:

Originally Posted by SirAdrian (Post 1124121)
Happens. ;)

Before:
https://vborg.vbsupport.ru/external/2007/01/18.gif

After:

:rambo:

OMGWTF?

Adrian Schneider 01-07-2007 10:10 PM

Quote:

Originally Posted by RobinPriestley (Post 1150603)
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

I doubt it is related... paste that line of class_core.php though if you want me to look at it.

Quote:

Originally Posted by hennanra (Post 1152101)
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

Yeah both the title and username's are something I could extend this to quite easily. But, unfortunately, I am extremely stacked with work at the moment... when i get around to releasing an update I will be sure to include those.

RobinPriestley 01-09-2007 09:39 AM

Hello, the class core bit is here, line 3023 is in bold:

Any help you can give would be ace.

Cheers,

Robin

function vb_error_handler($errno, $errstr, $errfile, $errline)
{
switch ($errno)
{
case E_WARNING:
case E_USER_WARNING:
/* Don't log warnings due to to the false bug reports about valid warnings that we suppress, but still appear in the log
require_once(DIR . '/includes/functions_log_error.php');
$message = "Warning: $errstr in $errfile on line $errline";
log_vbulletin_error($message, 'php');
*/

if (!error_reporting() OR !ini_get('display_errors'))
{
return;
}
$errfile = str_replace(DIR, '', $errfile);
echo "<br /><strong>Warning</strong>: $errstr in <strong>$errfile</strong> on line <strong>$errline</strong><br />";
break;

case E_USER_ERROR:
require_once(DIR . '/includes/functions_log_error.php');
$message = "Fatal error: $errstr in $errfile on line $errline";
log_vbulletin_error($message, 'php');

if (error_reporting() OR ini_get('display_errors'))
{
$errfile = str_replace(DIR, '', $errfile);
echo "<br /><strong>Fatal error:</strong> $errstr in <strong>$errfile</strong> on line <strong>$errline</strong><br />";
}
exit;
break;
}
}

Adrian Schneider 01-11-2007 08:26 PM

That doesn't help at all. :(

Are you sure this hack is the culprit? Because I highly doubt it is. Try disabling it and if you are still having problems PM me.

What is the error message you are seeing?

King Justice 01-13-2007 10:21 PM

Thank you! A+ on this! This hack is superb!! Thank you so much!!

briansol 01-18-2007 05:32 PM

1 Attachment(s)
anyone else having member counts coming up weird?

ie, this thread was sent to the mod queue.
I approved his posts. post count was 0.
he replied, and now his post count is 1, yet there's clearly 2 posts here.

is this a bug of this plugin, or the vB mod queue system?

Chadi 01-22-2007 06:46 PM

Any possibility to have this set for private messages as well? This is very critical and I'm sure many will benefit. I know I will.

For example: if the same pm is sent (duplicate) more than once, custom filter will assume it spam and immediately put that member in moderation (for posts, pm's, etc) and send mods/admins a notification.

Adrian Schneider 01-22-2007 06:47 PM

brian: unmoderated posts don't increase the post count.

chadi: there is another hack here that does this, I forget the name though.

Chadi 01-22-2007 06:49 PM

Please try your best to remember :)

I've been looking for a while and could not find anyway.

mccollin 01-23-2007 04:54 PM

I'm getting these cookie errors as well on 3.5


All times are GMT. The time now is 02:29 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.01242 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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