Page Index Toggle Pages: [1] 2 
Topic Tools
Hot Topic (More than 10 Replies) Signature Spam ? (Read 5,186 times)
Corey Chapman
YaBB Administrator
*****
Offline



Posts: 10,015
Location: Rock Hill, South Carolina

None
Re: Signature Spam ?
Reply #17 - Mar 29th, 2010 at 1:07am
Post Tools
Great job, guys.
  

Back to top
IP Logged
 
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: Signature Spam ?
Reply #16 - Mar 8th, 2010 at 4:34pm
Post Tools
Done.

New
Setup.pl
Admin\Admin.pl
Admin\NewSettings.pl
Admin\Settings_Antispam.pl
Languages\English\Admin.lng
Languages\English\Error.lng
Sources\Profile.pl

in CVS.

I add to Setup.pl too. And A Label Tag to Setting. Wink
  

PM me for YaBB Installation Service
Back to top
WWWGTalkFacebook  
IP Logged
 
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: Signature Spam ?
Reply #15 - Mar 8th, 2010 at 5:36am
Post Tools
@ Carsten

Option 2 make more sense to me. I will change later today after my work.
  

PM me for YaBB Installation Service
Back to top
WWWGTalkFacebook  
IP Logged
 
Captain John
Ex Member


Re: Signature Spam ?
Reply #14 - Mar 8th, 2010 at 5:17am
Post Tools
Option 2 ..... Great, still allows restricting both together or allow one, not the other !

Quote:
Edited:
Btw. is this correct english? "'This avoids spambots from..."


mmm makes sense and sounds good.
« Last Edit: Mar 8th, 2010 at 5:21am by »  
Back to top
 
IP Logged
 
Carsten
Ex Member


Re: Signature Spam ?
Reply #13 - Mar 7th, 2010 at 10:59pm
Post Tools
Ok - makes some kind of sense for a support forum.

Then you could one of two things.

1. Implement Derek Barnstorm's "X Posts Before Signature" mod to disable signature completely: http://www.boardmod.org/yabb2/YaBB.pl?num=1264895306

2. Dublicate the functionality of the "Post" antispam setting:

In Settings_Antispam.pl find
Code
Select All
		{
			description => qq~$admin_txt{'minlinkpost'}<br /><span class="small">$admin_txt{'minlinkpost_exp'}</span>~,
			input_html => qq~<input type="text" name="minlinkpost" size="5" value="$minlinkpost" />~,
			name => 'minlinkpost',
			validate => 'number',
		}, 


and add after
Code
Select All
		{
			description => qq~$admin_txt{'minlinksig'}<br /><span class="small">$admin_txt{'minlinksig_exp'}</span>~,
			input_html => qq~<input type="text" name="minlinksig" size="5" value="$minlinksig" />~,
			name => 'minlinksig',
			validate => 'number',
		}, 




In NewSettings.pl find
Code
Select All
\$minlinkpost = $minlinkpost;				# Minimum amount of posts a member needs to post links and images 


and add after
Code
Select All
\$minlinksig = $minlinksig;				# Minimum amount of posts a member needs to create links and images in signature 




In Profile.pl find
Code
Select All
	&FromChars($member{'usertext'}); 


and add before
Code
Select All
	if (!$minlinksig){ $minlinksig = 0 ;}
	if (${$uid.$user}{'postcount'} < $minlinksig && !$iamadmin && !$iamgmod) {
		if ($member{'signature'} =~ m~http:\/\/~ || $member{'signature'} =~ m~https:\/\/~ || $member{'signature'} =~ m~ftp:\/\/~ || $member{'signature'} =~ m~www.~ || $member{'signature'} =~ m~ftp.~ =~ m~\[url~ || $member{'signature'} =~ m~\[link~ || $member{'signature'} =~ m~\[img~ || $member{'signature'} =~ m~\[ftp~) {
			&fatal_error("no_siglinks_allowed");
		}
	} 




In Error.lng find
Code
Select All
'no_links_allowed'		=> "Sorry, you are not allowed to post messages containing active links to websites or images before you have posted $minlinkpost normal messages.", 


and add after
Code
Select All
'no_siglinks_allowed'		=> "Sorry, you are not allowed to create a signature containing active links to websites or images before you have posted $minlinksig normal messages.", 




and finally in Admin.lng find
Code
Select All
'minlinkpost_exp' => 'This avoids spambots from doing spamposts directly after registering', 


and add after
Code
Select All
'minlinksig' => 'Number of posts a member must have before links and images can be created in signature',
'minlinksig_exp' => 'This avoids spambots from creating spam-signatures directly after registering', 




Although Derek's mod is very nice i'd prefer method 2 to keep things consistent and in one place.

Edited:
Btw. is this correct english? "'This avoids spambots from..."
« Last Edit: Mar 7th, 2010 at 11:49pm by »  

sigspam.png ( 14 KB | 81 Downloads )
sigspam.png
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,785
Location: Land of the Blazing Sun!

YaBB 2.6.0
Re: Signature Spam ?
Reply #12 - Mar 7th, 2010 at 9:54pm
Post Tools
I see no effective way to provide support for newbies absent them being able to post links, so I agree with Captain John

The support team does a good job of routine spam-busting with basic tools (often as simple as modifying the post - breaking up the link) or using move/split.
 
BUT there is no simple way to prevent or remedy signature-spamming other than access to their profile (I am uncomfotable with that) or banning.  Every time they post that sig gets attached, and the post must be removed as you can't access the sig line in modify mode. its always pulled from the profile.

Our latest heavenly visitor, the Archangel Michael, managed TWO links in his first venture in signature line self-promotion here.

Smiley
« Last Edit: Mar 7th, 2010 at 9:55pm by JonB »  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Carsten
Ex Member


Re: Signature Spam ?
Reply #11 - Mar 7th, 2010 at 6:44pm
Post Tools
Thought this should be for spam prevention. You want to prevent spam by allowing links in posts but not in signatures? Happy spamming  Smiley
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Signature Spam ?
Reply #10 - Mar 7th, 2010 at 4:09pm
Post Tools
Quote:
to:
Quote:
'minlinkpost' => 'Number of posts a member must have before links and images can be posted or included in signature',


  mmm does this now require "x" amount (the same amount, entered once, effects both) of posts to allow either links in posts AND signature ?

   Here on the YaBB Support bd., we would like the ability, to allow posting site url's in the first post of users with a problem.
   But there is no need of allowing signature links to a newbie, without being above a posting level.
« Last Edit: Mar 7th, 2010 at 4:12pm by »  
Back to top
 
IP Logged
 
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: Signature Spam ?
Reply #9 - Mar 7th, 2010 at 10:15am
Post Tools
Done.

New
Languages/English/Admin.lng
in CVS.
  

PM me for YaBB Installation Service
Back to top
WWWGTalkFacebook  
IP Logged
 
Carsten
Ex Member


Re: Signature Spam ?
Reply #8 - Mar 7th, 2010 at 10:09am
Post Tools
In Admin.lng you could change:
Quote:
'minlinkpost' => 'Number of posts a member must have before links and images can be posted',

to:
Quote:
'minlinkpost' => 'Number of posts a member must have before links and images can be posted or included in signature',
  
Back to top
 
IP Logged
 
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: Signature Spam ?
Reply #7 - Mar 7th, 2010 at 10:04am
Post Tools
thnx.

New
Languages/English/Error.lng
Sources/Profile.pl

in CVS.
  

PM me for YaBB Installation Service
Back to top
WWWGTalkFacebook  
IP Logged
 
Carsten
Ex Member


Re: Signature Spam ?
Reply #6 - Mar 7th, 2010 at 9:55am
Post Tools
@ Jet Li - I would just add to the existing text - something like this:
Quote:
'no_links_allowed'            => "Sorry, you are not allowed to create a signature or post messages containing active links to websites or images before you have posted $minlinkpost normal messages.",
« Last Edit: Mar 7th, 2010 at 9:55am by »  
Back to top
 
IP Logged
 
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: Signature Spam ?
Reply #5 - Mar 7th, 2010 at 9:35am
Post Tools
@ Carsten

Currently I fix this issue. Maybe we add new text string for it? Now we have this:

Quote:
'no_links_allowed'            => "Sorry, you are not allowed to post messages containing active links to websites or images before you have posted $minlinkpost normal messages.",


Make this new string more sense?

Quote:
'sig_no_links_allowed'            => "Sorry, you are not allowed to add active links to websites or images in signatures before you have posted 5 normal messages.",


Maybe you have better english text for it.  Smiley
  

PM me for YaBB Installation Service
Back to top
WWWGTalkFacebook  
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,785
Location: Land of the Blazing Sun!

YaBB 2.6.0
Re: Signature Spam ?
Reply #4 - Mar 6th, 2010 at 1:43pm
Post Tools
Hi guys

I wnet to look for this at its original starting point, and found it appears to be in progress now -- good.

I have the same opinion as the Captain,  a set number of posts -- probably the same as the PM OK number.

Now I will go fix a few that slipped through last night.  Wink

Smiley

Edited:
Except I can't -- you have to modify their profile as that is where the sig is pulled from, you have to splt/move/delete the post, another reason this is a good idea
« Last Edit: Mar 6th, 2010 at 2:11pm by JonB »  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Captain John
Ex Member


Re: Signature Spam ?
Reply #3 - Mar 6th, 2010 at 1:52am
Post Tools
Like both ideas, but actually as membergroup, Newbie can last for a long time (as on this forum) and seems Carstens' code accomplishes it

  Carsten ... don't know how you got "%A0" (without the quotes) on the end of that url, but you did.
« Last Edit: Mar 6th, 2010 at 1:53am by »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Topic Tools
 
  « Board Index ‹ Board  ^Top