Firefox PHP

Module: Signature Restrictions

Posted by Maurice Makaay 
All files from this thread

File Name File Size   Posted by Date  
signature_restrictions-1.0.4.zip 11.8 KB open | download Maurice Makaay 09/01/2016 Read message
Module: Signature Restrictions
September 11, 2007 01:25AM
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.

Changelog:
----------

2016-09-01 v1.0.4 Oliver Riesen-Mallmann <oliver@riesen.org>

    - Made XHTML 1.0 Transitional compliant.

2015-09-16 v1.0.3 Oliver Riesen <oliver@riesen.org>

    - 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 paticik.com.

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 03:24PM by Oliver Riesen-Mallmann.
Attachments:
open | download - signature_restrictions-1.0.4.zip (11.8 KB)
Re: Module: Signature Restrictions
January 26, 2008 09: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: [chat.bbchatter.com]
Re: Module: Signature Restrictions
January 26, 2008 10: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 27, 2008 12:19AM
Quote
mmakaay
So stay tuned!

Keep em coming :)

--
Bert Garcia - When all you have is a keyboard



Edited 1 time(s). Last edit at 01/27/2008 12:19AM by hcgtv.
Re: Module: Signature Restrictions
April 18, 2008 06: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 21, 2008 04:35AM
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 02:56PM
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.

Regards
Oliver

(Files removed. Oliver)


Using Phorum since 7/2000: forum.langzeittest.de (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 12:19PM by Oliver Riesen.
Re: Module: Signature Restrictions
May 14, 2009 09:59PM
Feature Suggestion:
Make it so that only certain user groups can have signatures.

Purpose:
Forums for Businesses many times have members that advertise their sites in their sigs (like I do). Instead of putting Google Adsense into the forums (and pissing everyone off) just make it so that only certain members (in a user group) can have signatures.

(When members send paypal money you add them to the usergroup and they're allowed to have sigs) The board makes money + no crappy scam-like google adsense ads.

TASCK.com - easiest todo list ever - try it!



Edited 1 time(s). Last edit at 05/14/2009 10:00PM by Voltius.
Re: Module: Signature Restrictions
November 16, 2009 02:59PM
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 03:31PM
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