News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Anti Spam

Started by Croco, February 21, 2008, 12:02:06 AM

Previous topic - Next topic

Poreman

#40
Any chance this will be converted to work on 2.0 beta 4?  Would be nice.
Thanks
Poreman
I, even I, am the LORD; and beside me there is no saviour.
Isaiah 43:11

TrustingJesus

ccraciun

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.

ccraciun

I forgot to mention that this is happening only when modifying the post using the button shown in the attachment.

labradors

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']))

Antechinus

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. ;)

Ranter

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.


remi_naija

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?

Ranter

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 (?):

remi_naija

Thanks, man. You just saved me from The Confederation of Pro Spammers.

collins465

#49
hi everyone i am using smf 1.1.10 @ babylon theme, please how can i manually install it .
thanks

Urbanite

Anyone tried this on SMF2.xx ?
Just when you finally get it idiot proof ...along comes a bigger idiot!


GadgetNutt

Will this version work with SMF 1.1.10?

Thanks
As always,
Thank You to this forum and its support people.

Mark

TurtleKicker

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.

Croco

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 :)
I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

mel2275

Is this mod valid for 1.1.11 version ?
Thank you

shin111

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

Antechinus

It should work on Babylon as it doesn't edit any theme files.

shin111

Thank you for letting me know! I am willing to test it out now at least!  :D

shin111

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).

Advertisement: