News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

Delete Spam Posts

Started by Kays, December 04, 2007, 11:39:17 PM

Previous topic - Next topic

Kays

Link to mod

This mod will allow a moderator or admin to delete a spam post and dock the member's post count by one.
It also logs the deleted message in the Moderator's logs. As well it also logs any message which has been modified by a mod or admin. It is selectable in the Admin CP under the Posts and Topics option.
The display message can be edited there also.



V1.0
Initial release.
- Spam Post replaced by pre-set message and the member's post count is reduced by one.
- The deleted post is recorded in Moderator's log. (SMF1.1 only)
- Modified posts are also now copied to the Moderator's log. (SMF 1.1 only)

V1.1
- Added the original subject of the post to the Moderator's log.
- Cleaned up the display in the moderator's log.

V1.2
- Added the option to award the member bad karma as well.
- Added the option to place a copy of the deleted post in the recycle board.
- Fixed a bug in the Moderator's logs which caused removed posts and topics to show in a box as well
- If the message in a modified post was not changed, the message body will now not be displayed in the Moderator's log.
- Changed the code in Display.template.php so that the Delete Spam Post link won't show if the poster is a moderator or admin. (Thanks to JohnyB for the suggestion)
- Added an install script to enable the mod in $modsettings when it is installed.
- Added an un-install script which can be run separately if you wish to remove any database enties added by the mod
- Added Portuguese translation. Thanks to ne.miguelito

V1.3
- Updated for 2.0 RC2
- Due to changes in how the moderator log is created, a copy of the original post is no longer displayed.

V1.4
- Updated for 2.0 RC3

V1.5
- Corrected several bugs with the SMF 2.0 version. Thanks go to Bugo for the corrections.

V1.6
- Updated for 2.0 RC5 +.
- Added the option to remove the database entries on uninstall.
- Added Russian translation. Thanks to Bugo

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

capabmx

Very great addition, and congrats on making it, and also thank you! I'm installing this one immediately, IMHO it will be a great deterrent to get people to stop spamming.
Always looking to take on a web design/ programming job :], PM me if interested.

Teunel

Thanks for making it, really appriciating it! ;)

goldenboy48

I get this :(

Fatal error: Cannot redeclare preparsecode() (previously declared in /home/ecricnet/public_html/forums/Sources/Subs-Post.php:158) in /home/ecricnet/public_html/forums/Sources/Subs-Post.php on line 286

ne.miguelito

#4
when I click in Delete Spam Post appears this:

Fatal error: Cannot redeclare preparsecode() (previously declared in /home/nemigue/public_html/Sources/Subs-Post.php:158) in /home/nemigue/public_html/Sources/Subs-Post.php on line 286

somebody can help...

ne.miguelito



Bulakbol

Not sure but maybe you installed the mod twice.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines


Bulakbol

Attach your Sources/Subs-post.php so others can look at it and find what is wrong.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines


goldenboy48

Please please help....This is a great Mod. HELPPPPPP!!!

Kays

Sorry for the delay.

I can't see what could be causing that problem. This mod doesn't alter that file.

Line 289 is suppose to be the un_preparsecode() function not parsercode() as the error indicates.

Which other mods do you have installed or did you install at the same time as this one?.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

ne.miguelito


Kays

Thanks ne.miguelito, I've just updated it. As well I've added some more features. See the first post.

You will need to uninstall an older version in order to update.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods


Kays


If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

ne.miguelito

That this error:

Fatal error: Call to undefined function addslahes() in /home/nemigue/public_html/Sources/Post.php on line 2429

ne.miguelito


Kays

Sorry, spelling error on my part. Please redownload it. I have corrected it.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Advertisement: