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 |
September 10, 2007 07:25PM |
Admin Registered: 19 years ago Posts: 8,532 |
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.
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.
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



Edited 5 time(s). Last edit at 09/01/2016 09:24AM by Oliver Riesen-Mallmann.
January 26, 2008 03:13PM |
Registered: 16 years ago Posts: 63 |
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]
It's not a TV show, it's an obession: [chat.bbchatter.com]
January 26, 2008 04:19PM |
Admin Registered: 19 years ago Posts: 8,532 |
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
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



January 26, 2008 06:19PM |
Registered: 15 years ago Posts: 122 |
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/26/2008 06:19PM by hcgtv.
Re: Module: Signature Restrictions April 18, 2008 12:23PM |
Registered: 15 years ago Posts: 1 |
April 20, 2008 10:35PM |
Admin Registered: 19 years ago Posts: 8,532 |
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
Maurice Makaay
Phorum Development Team



June 05, 2008 08:56AM |
Admin Registered: 17 years ago Posts: 744 |
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 06:19AM by Oliver Riesen.
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 06:19AM by Oliver Riesen.
Re: Module: Signature Restrictions May 14, 2009 03:59PM |
Registered: 14 years ago Posts: 106 |
Re: Module: Signature Restrictions November 16, 2009 08:59AM |
Registered: 14 years ago Posts: 1 |
Re: Module: Signature Restrictions January 27, 2010 09:31AM |
Registered: 19 years ago Posts: 61 |
Sorry, only registered users may post in this forum.