Firefox PHP

Module: Signature Restrictions

Posted by Maurice Makaay 
All files from this thread

File Name File Size   Posted by Date 11.8 KB open | download Maurice Makaay 09/01/2016 Read message
Module: Signature Restrictions
September 10, 2007 07:25PM
This module implements configurable features for enforcing signature restrictions. The module will check the signature when it is stored in the control center by the user and show an error to the user if the new signature does not meet the restrictions.

Available restrictions are:

- The maximum number of characters;
- The maximum number of lines;
- The maximum number of characters for a single line;
- An option to disable the use of images;
- An option to disable any kind of markup.


2016-09-01 v1.0.4 Oliver Riesen-Mallmann <>

    - Made XHTML 1.0 Transitional compliant.

2015-09-16 v1.0.3 Oliver Riesen <>

    - Fixed undefined index: max_lines_length.

2010-06-19 v1.0.2

    - Merged patches by Adam Sheik for implementing a feature to
      disallow markup in signatures until the user has been signed
      up a given number of days.

    - Added new German language files by Oliver Riesen.

2007-10-23 v1.0.1

    - Added Turkish language file.
      Thanks to Serdar of

2007-09-10 v1.0.0

    - Initial revision

Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce

Edited 5 time(s). Last edit at 09/01/2016 09:24AM by Oliver Riesen-Mallmann.
open | download - (11.8 KB)
Re: Module: Signature Restrictions
January 26, 2008 03:13PM
Another winner, or in other words, I don't have to hack this feature either. Thanks again, I owe you guys!

It's not a TV show, it's an obession: []
Re: Module: Signature Restrictions
January 26, 2008 04:19PM
Hehe, I see that you like our module collection ;-)
There will be more of them. There are still some 5.1 modules to convert/recode and I have some ideas on the stack for additional modules. So stay tuned!

Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Signature Restrictions
January 26, 2008 06:19PM
So stay tuned!

Keep em coming :)

Bert Garcia - When all you have is a keyboard

Edited 1 time(s). Last edit at 01/26/2008 06:19PM by hcgtv.
Re: Module: Signature Restrictions
April 18, 2008 12:23PM
I haven't downloaded or installed this yet, so perhaps it has teh feature I'm about to mention: I'm looking for a module just like this (thanks!), but would it be possible to restrict the size (physical dimensions) of a picture in the signature, and the number of pictures allowed?
Re: Module: Signature Restrictions
April 20, 2008 10:35PM
No, you cannot restrict that through this module. You can restrict the user of images in full. For limiting the size of images, you can use the "Embed Images" module, but if you want different size restrictions for your signature and your message bodies, then that one will not be useful.

Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Signature Restrictions
June 05, 2008 08:56AM
Hi Maurice,

1. Your Signature Restriction Module is not compatible with your Embed Images Module. The check against images ("img"-tag) doesn't work because Embed Images uses something like "[embed_image 7c7646ac6e6f5b072986b633f593da5c]" in the formated signature.

2. I like to explain to my users any limitations for form fields. So if the Signature Restriction Module is active it would be nice to have a text like "(restrictions: max. %length% characters in total; %lines% lines; %line_length% characters per line; images denied; markup denied)" in a template var to add it in cc_usersettings.tpl.

3. I attach german language files for your next version.


(Files removed. Oliver)

Using Phorum since 7/2000: (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.

Edited 1 time(s). Last edit at 01/04/2011 06:19AM by Oliver Riesen.
Re: Module: Signature Restrictions
May 14, 2009 03:59PM

Edited 2 time(s). Last edit at 06/24/2018 05:47PM by Voltius.
Re: Module: Signature Restrictions
November 16, 2009 08:59AM
An option to disable smileys in signatures would be nice. (though it could be argued that functionality should go into the smileys-mod itself.)
Re: Module: Signature Restrictions
January 27, 2010 09:31AM
hi maurice,

i want to set up images restrictions using your module, but if i set up my signature using [.img.] [./img] tags it still working although i checked the deny images checkbox.

I'm using version 5.2.13

thanks for help.
Sorry, only registered users may post in this forum.

Click here to login