Advertisement:

Navigation

SMF Mod Site

Mod Name:
Prevent Adding Signature Images And Links
Created By:
KiLLuMiNaTi-7-
Type:
Spam Prevention
First Created:
June 03, 2008, 02:01:48 PM
Last Modified:
December 20, 2011, 10:45:55 AM
Latest Version:
2.0
Compatible With:
2.0.1
Total Downloads:
3064

Download this mod

Prevent_Adding_Signature_Images_Links_v2.0.tar.gz (2kB) [667]
archive_v1.x.x_obsolete.zip (17kB) [182]
Manual Install Instructions for SMF


Below are some preview images of what the mod looks like when being used

Description:

Prevent Adding Signature Images And Links


Features
  • Four options in the admin panel under: Admin -> Features and Options -> Signatures.
    • Allow links in signatures
    • Post count under which users links are removed.
      (0 to block links for everyone, admins are exempt)
    • Allow images in signatures
    • Post count under which users images are removed
      (0 to block images for everyone, admins are exempt)
  • Admins are excluded so they can add images/links to their own or ANY users profile area.
  • You can apply the rules for all signatures on the forum by going to Admin -> Features and Options -> Signatures. Make sure you save the settings before you apply to all existing signatures.

Installation
This mod edits the Profile.template.php file. So make sure to tick your custom themes when you install the package in the SMF package manager under "Install in Other Themes" (only themes with the Profile.template.php file will show up so you may not need to do this).

IMPORTANT! - After you have installed the mod it should redirect you to: Admin -> Features and Options -> Signatures. You should then edit the new "Post count under which users links are removed." & "Post count under which users images are removed" Settings to your liking. Otherwise by default when the mod is installed no one will be able to use links/images in their signatures.

Upgrade
To upgrade from earlier versions. Uninstall the old version first then install the new one.

Credit
Original mod by Karl Benson
URL regex by http://daringfireball.net/2010/07/improved_regex_for_matching_urls (public domain)

ChangeLog

1.0 - 23rd August 2007
o Initial release
1.1 - 25th October 2007
o Improved matching
o Fixed autoconverted links without http:// not being removed
1.2 - 22nd November 2007
o Added Greek/Greek-utf8 (Thanks to MinasC)
1.3 - 3rd June 2008
o Mod taken over by UTM-MaKaVeLi
o Added support for 1.1.5
o Added screenshots
2.0 - 16th December 2011
o Rewrote mod for SMF 2.0 (finally!)
o Uses improved regex.
o Ability to remove links/images from existing signatures.