Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Croco on February 21, 2008, 12:02:06 AM

Title: Anti Spam
Post by: Croco on February 21, 2008, 12:02:06 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1095)

Add permissions to group so you can allow them to add links in their posts (images or regular links)
Title: Re: Anti Spam
Post by: ℓσяєиz on February 21, 2008, 04:21:54 AM
Thanks Mod

Turkish translation

Errors.turkish.php

// Begin AntiSpam Mod
$txt['error_guest_spam'] = 'Üzgünüz, Ziyaretcilere mesajında linkler izin verilmiyor.  Lütfen üye olunuz.';
$txt['error_member_spam'] = 'Üzgünüz.Linkler ekleme yetkiniz yok';
// End AntiSpam Mod


ManagePermissions.turkish.php


// Begin AntiSpam Mod
$txt['permissionname_add_links'] = 'Mesajlara link ekliyebilir';
$txt['permissionhelp_add_links'] = 'Bu izin kullanıcılara mesajlarında link ekleme yetkisi verir.';
// End AntiSpam Mod
Title: Re: Anti Spam
Post by: Croco on February 21, 2008, 04:47:56 AM
thanks i will update it soon
Title: Re: Anti Spam
Post by: -!¦[·ÃNÐ¥·]¦!- on February 22, 2008, 02:12:55 PM
Thank you!

Spanish translation

Errors.spanish.php

// Begin AntiSpam Mod
$txt['error_guest_spam'] = 'Lo sentimos, a los invitados no se les permite publicar enlaces. Si el vínculo es de importancia para su publicación, por favor regístrate primero.';
$txt['error_member_spam'] = 'Lo sentimos, no tienes permiso para publicar los enlaces.';
// End AntiSpam Mod


ManagePermissions.spanish.php


// Begin AntiSpam Mod
$txt['permissionname_add_links'] = 'Añadir enlaces a los posts';
$txt['permissionhelp_add_links'] = 'Esta autorización permite a los usuarios añadir enlaces a su post.';
// End AntiSpam Mod
Title: Re: Anti Spam
Post by: vagrant on February 26, 2008, 12:50:18 PM
great and useful mod, thanks for your work

vagrant.
Title: Re: Anti Spam
Post by: twomiracles on February 26, 2008, 02:46:34 PM
I can't see anything to moderate this.  Where should I be able to change these permissions?
Title: Re: Anti Spam
Post by: Croco on February 26, 2008, 03:41:23 PM
Admin -> Permissions -> Modify(for any group) -> Add links to posts
Title: Re: Anti Spam
Post by: twomiracles on February 26, 2008, 05:03:20 PM
It just isn't there :( .
Title: Re: Anti Spam
Post by: Croco on February 26, 2008, 07:31:44 PM
do you other than English as default language ?
Title: Re: Anti Spam
Post by: twomiracles on February 26, 2008, 07:44:25 PM
No, it's English.  I have looked and looked and can't see anything about allowing links.  I am getting an undefined error when members try to use IMG code, but I can't find anywhere I can fix it.
Title: Re: Anti Spam
Post by: Croco on February 27, 2008, 02:20:17 AM
do you use UTF8 encoding ?
Title: Re: Anti Spam
Post by: twomiracles on February 27, 2008, 08:42:05 AM
I don't know...the only thing I've modified are theme files and the index template.  My "english" folder does say english-UTF8, but it isn't anything I did intentionally.
Title: Re: Anti Spam
Post by: Croco on February 27, 2008, 11:46:55 AM
check that language files contain the strings

smfFolder/themes/default/languages/


Errors.english.php
ManagePermissions.english.php

and

Errors.english-utf8.php
ManagePermissions.english-utf8.php

If one set isn't there then there is no problem.

For Errors:

// Begin AntiSpam Mod
$txt['error_guest_spam'] = 'Sorry, guests are not allowed to post links. If this link is of any importance for your posting, please register first.';
$txt['error_member_spam'] = 'Sorry, you are not allowed to post links.';
// End AntiSpam Mod



For ManagePermissions:

// Begin AntiSpam Mod
$txt['permissionname_add_links'] = 'Add links to posts';
$txt['permissionhelp_add_links'] = 'This permission allows users to add links to their post.';
// End AntiSpam Mod
Title: Re: Anti Spam
Post by: twomiracles on February 28, 2008, 12:08:52 PM
Thank you, that worked!
Title: Re: Anti Spam
Post by: metzbgsu on March 07, 2008, 10:53:18 AM
I'm getting this error after installing this mod...any idea?

8: Use of undefined constant add_links - assumed 'add_links'
File: /home/kkpsibk/public_html/forums/Sources/Post.php
Line: 1256
Title: Re: Anti Spam
Post by: Croco on March 07, 2008, 06:19:34 PM
try to replace this


if(!allowedTo(add_links))


with this

if(!allowedTo('add_links'))


Title: Re: Anti Spam
Post by: metzbgsu on March 07, 2008, 11:25:09 PM
That fixed it...thanks!! :)
Title: Re: Anti Spam
Post by: Croco on March 08, 2008, 10:19:22 AM
no problem

it was fixed in the package thank you for reporting.
Title: Re: Anti Spam
Post by: Jiveturkey on March 19, 2008, 05:41:11 PM
I just got this error when I tried to upload the package.

The package you tried to upload either is not a valid package or has become corrupted.
Title: Re: Anti Spam
Post by: Slug1 on March 19, 2008, 11:08:09 PM
I just tried to load it and got the same error:
The package you tried to upload either is not a valid package or has become corrupted.
Title: Re: Anti Spam
Post by: Croco on March 20, 2008, 11:07:14 AM
sorry about that it should work now...
Title: Re: Anti Spam
Post by: biftek on April 16, 2008, 10:08:23 AM
is there anyway to adapt this to just a simple method of saying less then 10 posts no links rather then dealing with mucking around with the membergroups
Title: Re: Anti Spam
Post by: Croco on April 16, 2008, 12:27:57 PM
there are options to add permissions and remove them in 2 clicks only from selected membergroups it should be easy there isn't much work to do
Title: Re: Anti Spam
Post by: biftek on April 16, 2008, 10:44:56 PM
ah got it all sorted out
had to set it up so that members got defaulted to the antispam group at rego   which required the adding of Default_Membergroup_on_Registration mod
after that it was just a matter of setting up the groups
took a little bit of playing around with
Title: Re: Anti Spam
Post by: Croco on April 17, 2008, 12:09:04 AM
good to hear that
Title: Re: Anti Spam
Post by: Apllicmz on April 17, 2008, 12:30:49 AM
thank you
iam translate portuguese

Errors.portuguese.php

$txt['error_guest_spam'] = 'Infelizmente, os visitantes não estão autorizados a postar links. Se esse link é de alguma importância para o poste, por favor registre primeiro.';
$txt['error_member_spam'] = 'Desculpe, você não tem permissão para postar links.';



ManagePermissions.portuguese.php
$txt['permissionname_add_links'] = 'Adicionar links para postes';
$txt['permissionhelp_add_links'] = 'Esta autorização permite aos utilizadores adicionar links para seu poste.';

nice work
Title: Re: Anti Spam
Post by: Croco on April 17, 2008, 03:38:15 AM
thank you

i will add them to the package on next update (will work with smf2.0)
Title: Re: Anti Spam
Post by: acadiaforum.net on June 12, 2008, 03:13:19 PM
Will this work with v 1.1.5 if I modify the packageinfo file? Any incompatibilities?
Title: Re: Anti Spam
Post by: bjraines on June 20, 2008, 11:33:22 PM
Quote from: acadiaforum.net on June 12, 2008, 03:13:19 PM
Will this work with v 1.1.5 if I modify the packageinfo file? Any incompatibilities?

yes i would like to know this also, i absolutely think this is a must for a forum

please let me know
Title: Re: Anti Spam
Post by: Croco on June 22, 2008, 03:48:11 PM
yea it should work with no problem however i will run some test to make sure it works 100%
Title: Re: Anti Spam
Post by: Johno69 on July 16, 2008, 07:38:28 PM
Quote from: Slug1 on March 19, 2008, 11:08:09 PM
I just tried to load it and got the same error:
The package you tried to upload either is not a valid package or has become corrupted.

I had this too, but it was a breeze to install manually. Thanks for the great mod. We seem to have a few members simply join to post their affiliate links.

Not any more :)
Title: Re: Anti Spam
Post by: Achillea on July 16, 2008, 08:52:28 PM
How does one install it manually?  (By 'one' I mean someone such as myself, who has limited coding skills)?

When I uploaded the mod as written, it appeared on the browse list, but didn't have an install option.  So I uncompressed it, edited the install/uninstall lines to read 1.1.5 instead of 1.1.4, and recompressed it.  Went back to Package Manager and to try to install it, but still no install option.  Downloaded the edited .zip file to my computer, deleted the online version, and tried re-uploading.  Got the 'not a valid package or has become corrupted' error message.

Please help, because this looks perfect for my spam-fighting needs.
Title: Re: Anti Spam
Post by: Johno69 on July 16, 2008, 10:10:20 PM
Just use the package parser.. for the manual install instructions.

I had to set it to 1.1.4 to see the info, but it worked easy, there isnt many edits.
Title: Re: Anti Spam
Post by: Achillea on July 16, 2008, 10:34:11 PM
Will it be possible to uninstall it afterwards with Package Manager if it doesn't work out?  Or would I have to do a manual uninstall going through and deleting everything?
Title: Re: Anti Spam
Post by: Johno69 on July 16, 2008, 10:51:03 PM
I'm assuming you will have to manually uninstall.

Simply create a list (on paper?) of the files it edits.. back these up. If something goes wrong, simply upload the backups.
Title: Re: Anti Spam
Post by: Achillea on July 17, 2008, 07:55:42 PM
Another question --

Can anyone using this mod tell me if it can be configured to run locally (just on certain boards) rather than globally? 
Title: Re: Anti Spam
Post by: dkinser on August 06, 2008, 04:44:30 PM
Any info on how to apply this mod to 1.1.5?

Thanks as we are having guests post links and this would help stop that.
Title: Re: Anti Spam
Post by: fiver on September 08, 2008, 09:58:20 AM
Hi, thanks for the great mod.

It doesn't detect links like these:
name.blogspot.com
name.wordpress.com
bbc.co.uk

Hope these can be detected in the next version of the mod?
Title: Re: Anti Spam
Post by: Johno69 on September 26, 2008, 12:27:26 AM
they don't show up as links anyway.
Title: Re: Anti Spam
Post by: Ravac on September 26, 2008, 02:27:37 AM
Serbian translation

Errors.serbian-utf8.php
// Begin AntiSpam Mod
$txt['error_guest_spam'] = 'Izvinite, gostima nije dozvoljeno da postavljaju linkove. ako je ovaj link važan , molimo vas,prvo se registrujte.';
$txt['error_member_spam'] = 'Izvinite, nije vam dozvoljeno da postavljate linkove.';
// End AntiSpam Mod


ManagePermissions.serbian-utf8.php
// Begin AntiSpam Mod
$txt['permissionname_add_links'] = 'Dodaj linkove u post';
$txt['permissionhelp_add_links'] = 'Ova dozvola, dozvoljava korisnicima da dodaju linkove u post.';
// End AntiSpam Mod
Title: Re: Anti Spam
Post by: Poreman on November 20, 2008, 01:22:11 PM
Any chance this will be converted to work on 2.0 beta 4?  Would be nice.
Thanks
Poreman
Title: Re: Anti Spam
Post by: ccraciun on January 27, 2009, 01:09:52 PM
This mod is great, but unfortunately it has a bug:
If you edit a post (as a member without the right to add links), and add a link, you've just successfully made a post with a link, even if you didn't had the right for that.

I've tested this using SMF 1.1.7 - manual install; it didn't worked automatically.
Title: Re: Anti Spam
Post by: ccraciun on January 27, 2009, 01:17:29 PM
I forgot to mention that this is happening only when modifying the post using the button shown in the attachment.
Title: Re: Anti Spam
Post by: labradors on February 03, 2009, 10:46:14 PM
Today, the following error appeared in my error log:

Quote8: Undefined index: message
File: /vservers/onceuponapla/htdocs/forum/Sources/Post.php
Line: 2391

I'm not sure if the user was trying to post a message or edit one, she had already posted, but line 2391 is right in the middle of function "antiSpam2."  Here's the line:

        if(preg_match('@(http://|https://|\[iurl=|\[url=|\[url\]|\[iurl\]|www\.|\[/url\]|\[/iurl\]|\[img\]|\[/img\])+@i',$_POST['message']))
Title: Re: Anti Spam
Post by: Antechinus on June 02, 2009, 07:03:08 AM
Just tried it on 1.1.9 with several other mods. Works perfectly if you change the version number from 1.1.4 to 1.1.9 in package-info.xml.

The bug with quick editing posts is really easy to deal with: don't allow the membergroup to edit their posts. ;)
Title: Re: Anti Spam
Post by: Ranter on June 16, 2009, 04:32:53 PM
Quote from: Slug1 on March 19, 2008, 11:08:09 PM
I just tried to load it and got the same error:
The package you tried to upload either is not a valid package or has become corrupted.

+1

I edited package-info.xml on my local computer, changing 1.1.4 to 1.1.9, then I created a new Zip file containing package-info.xml and antiSpam_1_1.mod.  When I attempt to upload this revised zip file I get
The package you tried to upload either is not a valid package or has become corrupted.

I even tried brutally using SFTP to pace the folder containing the 2 files and then the zip containing the folder containing the files in my ~/Packages folder but Package Manager insists on not believing that it is there.

Title: Re: Anti Spam
Post by: remi_naija on June 17, 2009, 08:17:03 AM
Quote from: Croco on February 26, 2008, 03:41:23 PM
Admin -> Permissions -> Modify(for any group) -> Add links to posts

I have followed this instruction. But it seem there is a mix up somewhere.

I have Post based Groups in my forum and I cannot  find them there. The groups are:

Newbie
Jr. Member
Full Member
Sr. Member
Hero Member

What I see at that destination you gave are my Member Groups
Guests
Regular Members
Administrator   
Global Moderator
Moderator

All my post based groups are in the Regular Member group, so any setting I do for regular Members will affect all my Post Based Member Groups. How Can I prevent only Newbie from making posts that contain link?
Title: Re: Anti Spam
Post by: Ranter on June 17, 2009, 09:19:19 AM
Quote from: remi_naija on June 17, 2009, 08:17:03 AM
Quote from: Croco on February 26, 2008, 03:41:23 PM
Admin -> Permissions -> Modify(for any group) -> Add links to posts

I have followed this instruction. But it seem there is a mix up somewhere.

I have Post based Groups in my forum and I cannot  find them there. The groups are:

Newbie
Jr. Member
Full Member
Sr. Member
Hero Member

What I see at that destination you gave are my Member Groups
Guests
Regular Members
Administrator   
Global Moderator
Moderator

Go to Admin > Permissions > Settings and select Enable permissions for post count based groups (?):
Title: Re: Anti Spam
Post by: remi_naija on June 17, 2009, 09:50:13 AM
Thanks, man. You just saved me from The Confederation of Pro Spammers.
Title: Re: Anti Spam
Post by: collins465 on July 18, 2009, 06:35:52 AM
hi everyone i am using smf 1.1.10 @ babylon theme, please how can i manually install it .
thanks
Title: Re: Anti Spam
Post by: Urbanite on August 27, 2009, 12:19:59 PM
Anyone tried this on SMF2.xx ?
Title: Re: Anti Spam
Post by: ardhie on August 28, 2009, 04:56:50 AM
thanks a lot
Title: Re: Anti Spam
Post by: GadgetNutt on September 06, 2009, 10:56:10 PM
Will this version work with SMF 1.1.10?

Thanks
Title: Re: Anti Spam
Post by: TurtleKicker on November 12, 2009, 02:44:23 PM
Quote from: Urbanite on August 27, 2009, 12:19:59 PM
Anyone tried this on SMF2.xx ?
Ditto. I have this working on 1.1.10 and depend on it. Would like to move to SMF2 but need the same functionality.
Title: Re: Anti Spam
Post by: Croco on November 20, 2009, 01:14:31 PM
I am sorry I wasn't able to support it for a long time.

I will update it for both 1 and 2 soon

Stay toned :)
Title: Re: Anti Spam
Post by: mel2275 on February 14, 2010, 08:30:01 PM
Is this mod valid for 1.1.11 version ?
Thank you
Title: Re: Anti Spam
Post by: shin111 on April 27, 2010, 03:16:08 PM
Has anyone got this working with 1.1.11 and the Babylon theme?

I'd like to know! I truly need this or something that does exactly this for the board!  :D
Title: Re: Anti Spam
Post by: Antechinus on April 27, 2010, 03:32:17 PM
It should work on Babylon as it doesn't edit any theme files.
Title: Re: Anti Spam
Post by: shin111 on April 27, 2010, 03:49:46 PM
Thank you for letting me know! I am willing to test it out now at least!  :D
Title: Re: Anti Spam
Post by: shin111 on April 29, 2010, 04:27:49 PM
Testing it out and it appears to work great!

I manually installed it!

The only problem is since I am using the babylon instead of the standard template, when a person tries to post and is denied because of a link/image the error message is blank.

All a poster gets is: "The following error or errors occurred while posting this message: " with nothing after it.

Does anyone here know how to add it to the Babylon template error messages?

I'm busy trying to figure this out, and how to remove the 'link' and 'image' buttons for those without permissions (which is just the regular members so it can't be too hard to jury rig at least).
Title: Re: Anti Spam
Post by: Paul_Pauline on October 10, 2010, 04:44:43 AM
Just a quick heads up for anyone wanting to install this on 1.1.11 !

Install the Version Emulate mod first, here >>>  http://custom.simplemachines.org/mods/index.php?mod=2113

Set it to 1.1.4, and it will install without any problem   O:)
Title: Re: Anti Spam
Post by: Mayhem30 on December 22, 2010, 02:52:40 AM
I have converted the mod over to the new format - you can install it on SMF 1.1.12 without using any emulate mod.

I've attached it to this post.

Please Note :

This is was a straight package conversion to the new XML format. I have not made any modifications to the code itself.

Use at your own risk, I offer no support - so please don't PM me.

------------

Now with that all said, I have this mod currently installed on my 1.1.12 forum and it works great.

After you install the mod, you will need to go to Admin > Permissions and select which groups are allowed to post links.

If a group is not allowed to post links, they will get this message when the click on the "Post" button :

The following error or errors occurred while posting this message:

Sorry, you are not allowed to post links.

Followed by the standard post box (so they can edit the text.)

Enjoy.
Title: Re: Anti Spam
Post by: Phat^Trance on December 25, 2010, 06:08:00 AM
Quote from: Mayhem30 on December 22, 2010, 02:52:40 AM
I have converted the mod over to the new format - you can install it on SMF 1.1.12 without using any emulate mod.

I've attached it to this post.

Please Note :

This is was a straight package conversion to the new XML format. I have not made any modifications to the code itself.

Use at your own risk, I offer no support - so please don't PM me.

------------

Now with that all said, I have this mod currently installed on my 1.1.12 forum and it works great.

After you install the mod, you will need to go to Admin > Permissions and select which groups are allowed to post links.

If a group is not allowed to post links, they will get this message when the click on the "Post" button :

The following error or errors occurred while posting this message:

Sorry, you are not allowed to post links.

Followed by the standard post box (so they can edit the text.)

Enjoy.


by using that on the "regular members" all my 300.000 member will not be able to post links and thats not good!  there should be some kind of option to limit the plugin feature to people with less than xxx posts. so that member with 1-5 posts will not be able to post links.
Title: Re: Anti Spam
Post by: Croco on January 01, 2011, 10:01:09 PM
Thanks Mayhem30. I just updated the mod page.

Title: Re: Anti Spam
Post by: Croco on January 01, 2011, 10:03:08 PM
Quote from: Phat^Trance on December 25, 2010, 06:08:00 AM
by using that on the "regular members" all my 300.000 member will not be able to post links and thats not good!  there should be some kind of option to limit the plugin feature to people with less than xxx posts. so that member with 1-5 posts will not be able to post links.

Well you can specify groups that are limited to specific posts count.

So once a user registers he or she will be part of that group and that group will have a the option to prevent them from posting links. You don't have to use the regular group for that.

Cheers,
Title: Re: Anti Spam
Post by: KidCactus on January 05, 2011, 10:39:17 AM
I have installed this mod on 1.1.12, and I've also set the permission on the regular members group, but now my users can't post any links, they just get the "Sorry" message. Any ideas?

Edit: I found what was causing the issue. I had local permissions instead of global set on all boards, that wasn't set to allow links.
Title: Re: Anti Spam
Post by: Phat^Trance on January 20, 2011, 04:51:46 PM
Quote from: Croco on January 01, 2011, 10:03:08 PM
Quote from: Phat^Trance on December 25, 2010, 06:08:00 AM
by using that on the "regular members" all my 300.000 member will not be able to post links and thats not good!  there should be some kind of option to limit the plugin feature to people with less than xxx posts. so that member with 1-5 posts will not be able to post links.

Well you can specify groups that are limited to specific posts count.

So once a user registers he or she will be part of that group and that group will have a the option to prevent them from posting links. You don't have to use the regular group for that.

Cheers,

i still cannot get this plugin to work, isntit possible to add the limit permission to a "Post count based groups" member gropue and not via the "Regular groups" permission?

i have already one group called newbie with 0 posts (default one) - then next step is at 10 posts. but the 0 posters STILL can post links. i cannot find a way in the permission setting to add the link limit permission to this post. check the attachment for more info.

hope to hear from you soon since i relaly need to get this plugin up and running. im getting tons of spam bots adding links to my forum :(
Title: Re: Anti Spam
Post by: Phat^Trance on January 20, 2011, 04:59:38 PM
here are a few screenshots on how my board and member groups looks like. Please check them and read the info on the screenshots.  can you help me? 

thank you
Title: Re: Anti Spam
Post by: Phat^Trance on January 22, 2011, 02:51:54 PM
anyone?
Title: Re: Anti Spam
Post by: Antechinus on January 22, 2011, 06:52:02 PM
Ok check the shots and see if it makes sense.

I'd also recommend running this mod: Anti-Spam Verification Questions for SMF 1.1.7 (http://custom.simplemachines.org/mods/index.php?mod=1516)

The links restriction will slow up human spammers (since they mainly want to post links). The second mod (custom questions) will stop bots from registering. It runs with 1.1.12 even though it says it's for 1.1.7.

These two mods together seem to be an effective combination.

I don't worry about CAPTCHA much these days. It's ineffective IMO.
Title: Re: Anti Spam
Post by: Phat^Trance on January 22, 2011, 07:01:27 PM
thanks

does the X mean that its still using the "old" permission`cause when entering that setting page all options seems to be on "X". even tho i have other settings in the member group
Title: Re: Anti Spam
Post by: Antechinus on January 22, 2011, 07:07:56 PM
The X means Disallow permissions. The A means allow.

By default, SMF installs with Deny permissions disabled. Personally I'm not in favour of this because there are times when you need Deny. The reason it isn't enabled by default is that supposedly it would cause more problems for beginners.

Deny will override any permissions given elsewhere (ie: other group if a member is in more than one group). This means that Deny has to be used carefully if you don't want unintended results.

Disallow only disallows unless otherwise allowed. That makes it safer for people who don't check their permissions thoroughly (and really everyone should anyway).

The general rule of thumb is to use Disallow for most things and only use Deny when you don't have a choice.
Title: Re: Anti Spam
Post by: Phat^Trance on January 22, 2011, 07:17:51 PM
oh ok, so deny will overwrite all other permissions while Disallow (X) use the standard permission that i already have added to the member group?
Title: Re: Anti Spam
Post by: Antechinus on January 22, 2011, 07:29:38 PM
That should work. Best way to test it is to make a test account and try it.
Title: Re: Anti Spam
Post by: Phat^Trance on January 23, 2011, 05:10:35 PM
thanks, i got the plugin up and running now.

Is it possible to change the "Sorry, you are not allowed to post links" message?
Title: Re: Anti Spam
Post by: Antechinus on January 24, 2011, 01:22:02 PM
Yep. That should be in default/languages/Modifications.english.php.
Title: Re: Anti Spam
Post by: Phat^Trance on January 24, 2011, 05:21:42 PM
Quote from: Antechinus on January 24, 2011, 01:22:02 PM
Yep. That should be in default/languages/Modifications.english.php.

i did a search for the text " you are not allowed to post links" in the Modifications.english.php file (Themes/default/languages/) but it couldnt find anything there.
are you sure that the error message is displayed there? i have attached my Modifications.english.php to this thread, feel free to take a look. thx
Title: Re: Anti Spam
Post by: Phat^Trance on January 25, 2011, 12:10:04 PM
anyone?
Title: Re: Anti Spam
Post by: harry12341 on March 28, 2011, 09:23:04 PM
Can anyone help to how I install this please?

thank you
Title: Re: Anti Spam
Post by: labradors on April 03, 2011, 08:24:52 AM
I have used this for quite a while and it's great.  Now I have occasion to recommend it to someone else I know who is running SMF.  It would be perfect for the kind of Spam he's receiving but he is running SMF 2.0 RC4.

Is there any chance this would work or is there a way to make it work for SMF 2.0 RC4?

Thank you.
Title: Re: Anti Spam
Post by: mark7144 on May 20, 2011, 12:20:34 PM
Installed this on 1.1.13 which lead to everyone not being able to post links.

So I go into permissions and then explicitly set all groups to 'Allowed' for posting links and the result? Still everyone cannot post links.

Uninstalled for now as that is obviously an epic fail.
Title: Re: Anti Spam
Post by: Mimmi on October 30, 2011, 07:33:54 PM
Quote from: mark7144 on May 20, 2011, 12:20:34 PM
Installed this on 1.1.13 which lead to everyone not being able to post links.

So I go into permissions and then explicitly set all groups to 'Allowed' for posting links and the result? Still everyone cannot post links.

Uninstalled for now as that is obviously an epic fail.

If you have local permission on boards, you have to go into each board and set the permission there too
Title: Re: Anti Spam
Post by: DeathSign on December 03, 2011, 12:13:58 PM
Hi,

I upgraded this mod for SMF 2.x. It seems to work fine.

I did not really change the mod's code (which could be seriously improved). What I did is to add french language on it (translated by myself), and actually the permission name "add_links" is already taken by SMF Links (http://custom.simplemachines.org/mods/index.php?mod=381) mod so I renamed it to "post_add_links".

I let the author of this mod to do what it needs to be done.

Enjoy!
DeathSign
Title: Re: Anti Spam
Post by: Croco on December 03, 2011, 01:40:49 PM
if you want maybe you could take ownership of this MOD.

My country has been on revolution since March 15th and I really didn't have much time to spares since, then

I really appreciate your help :)

Thanks,
Title: Re: Anti Spam
Post by: DeathSign on December 05, 2011, 02:40:51 PM
Hmm... I did 3 posts  :o That's because of the temporary server issue here, sorry =)

This is a simple mod, I'd say why not ? ^^ But I don't know how you can do this, I've no mod yet ;)

Thank you too ::)
Title: Re: Anti Spam
Post by: Realinfo on April 19, 2012, 12:39:53 PM
Needed for 2.0.2.............
Title: Re: Anti Spam
Post by: GL700Wing on February 06, 2018, 08:25:27 PM
Copied install file for SMF 2.0 from this post (https://www.simplemachines.org/community/index.php?topic=224019.msg3221472#msg3221472) into package and updated package-info.xml to use it and renamed it to version 1.3 - no other changes.

Installed on SMF 2.0.15 and works as advertised - just make sure you update permissions to explicitly 'allow' relevant membergoups to post links as default permission is to 'disallow' posting of links for all existing membergroups (even moderators and global moderators).
Title: Re: Anti Spam
Post by: Gary on February 07, 2018, 09:42:59 AM
Quote from: GL700Wing on February 06, 2018, 08:25:27 PM
Copied install file for SMF 2.0 from this post (https://www.simplemachines.org/community/index.php?topic=224019.msg3221472#msg3221472) into package and updated package-info.xml to use it and renamed it to version 1.3 - no other changes.

Sorry but I had to removed the attachment. The mod does not display a license, so for that we assume the most restricted permissions where redistribution is not allowed without the permission from the author.
Title: Re: Anti Spam
Post by: GL700Wing on February 07, 2018, 10:43:25 AM
Quote from: Gazmanafc on February 07, 2018, 09:42:59 AM
Sorry but I had to removed the attachment. The mod does not display a license, so for that we assume the most restricted permissions where redistribution is not allowed without the permission from the author.
No problems - wasn't sure of the rules/requirements but thought it was okay as the mod owner had suggested someone else could take over ownership of the mod.
Title: Re: Anti Spam
Post by: bukharifaran on February 12, 2018, 06:12:28 PM
I want to restrict members from posting links. I know about Anti Spam Links Mod which I can use to restrict members from posting links, or posting only nofollow links...

But I want one specific member group to allow posting all types of links on my forums. For example, on my education forum, I created a member group "AMPS Student" which means this member group will be assigned to only school students.

This member group is not based on post count. Its private and admin must assign this group to different members.

I have restricted other member groups which are post count based groups from posting links. But I want to allow private member groups to post links even if they have only one post in the group.

Kindly guide me how can I do this.