Module: Signature Restrictions
Posted by Maurice Makaay
June 06, 2010 07:25AM |
Registered: 20 years ago Posts: 687 |
I have modded this module and released a package at [www.celerity.co.uk] (the zip contains everything in the package)
From my README:
Hope this proves helpful to people,
/\dam
--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
Edited 1 time(s). Last edit at 06/06/2010 07:33AM by sheik.
From my README:
Quote
sheik
OVERVIEW
This is a mod to Maurice's Signature Restrictions module, released in the hope that:
a) it will help the Phorum community
and b) that Maurice will incorporate it into his official module
PURPOSE OF MOD:
One of my forums has lots of spammers who register an account, add 2-3 spam links in their sig and manually post inane replies to existing threads, just so their sigs are seen.
The solution to this, as requested by my forum community, is to restrict markup in sigs to new users, which will hopefully discourage spammers.
This module therefore allows markup in sigs to only be used for users who have been registered more than x number of days (admin configurable).
If a spammer did have the patience to register, wait X days and post, they will have to do it all again once their account is deleted.
NOTE TO MAURICE:
I have altered :
- all lang files, added markup_user_registered_days and date_format
- settings.php (one line, commented as /\dam)
- signature_restrictions.php (one single block of code, commented as /\dam)
I have tested the module by manually changing the timestamp of my Phorum user and then outputting debug messages accordingly. I've tested it mainly with values of 1-30 days.
Hope this proves helpful to people,
/\dam
--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz

Edited 1 time(s). Last edit at 06/06/2010 07:33AM by sheik.
June 19, 2010 06:27AM |
Admin Registered: 19 years ago Posts: 8,532 |
I Phorum-ized the patches and included them in the main distro. Check out version 1.0.2 for the updates.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Re: Module: Signature Restrictions July 17, 2010 11:32AM |
Registered: 13 years ago Posts: 2 |
Why not use the code for html target blank nor Signature ? And the BBcode not open link in a new window ! I do not why !
MyPhorum !
MyPhorum !
Re: Module: Signature Restrictions July 17, 2010 11:36AM |
Admin Registered: 20 years ago Posts: 9,240 |
Re: Module: Signature Restrictions July 17, 2010 12:48PM |
Registered: 13 years ago Posts: 2 |
January 04, 2011 06:20AM |
Admin Registered: 17 years ago Posts: 744 |
Hi Maurice,
I published a new version of my German Language Files Package which includes also translations for you module in two character sets iso-8859-1 and utf-8.
Please add the attached language files to the next release of your module and remove maybe existing old style files like german.php oder german-sie.php. Thanks!
Regards
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.
I published a new version of my German Language Files Package which includes also translations for you module in two character sets iso-8859-1 and utf-8.
Please add the attached language files to the next release of your module and remove maybe existing old style files like german.php oder german-sie.php. Thanks!
Regards
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.
January 09, 2011 01:26PM |
Admin Registered: 19 years ago Posts: 8,532 |
I added the new language files in module package 1.0.2.
Note that the language files weren't complete. I added a German translation for the 1.0.2 language string "markup_user_registered_days" to the main UTF-8 and ISO-8859-1 files. I'm not sure if my translation is correct. Also, you probably want to add it to the other varieties of the German language files too.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Note that the language files weren't complete. I added a German translation for the 1.0.2 language string "markup_user_registered_days" to the main UTF-8 and ISO-8859-1 files. I'm not sure if my translation is correct. Also, you probably want to add it to the other varieties of the German language files too.
Maurice Makaay
Phorum Development Team



September 16, 2015 06:59AM |
Admin Registered: 17 years ago Posts: 744 |
2015-09-16 v1.0.3 Oliver Riesen <oliver@riesen.org> - Fixed undefined index: max_lines_length.
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.
September 01, 2016 09:24AM |
Admin Registered: 17 years ago Posts: 744 |
New version:
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.
2016-09-01 v1.0.4 Oliver Riesen-Mallmann <oliver@riesen.org> - Made XHTML 1.0 Transitional compliant.
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.
Sorry, only registered users may post in this forum.