Skip to content

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.

Notifications You must be signed in to change notification settings

Phorum/Module-signature_restrictions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Module  : @TITLE@
Version : @VERSION@
Author  : @AUTHOR@

@DESCRIPTION@

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, possibly until
   the user has been signed up long enough.


Install:
--------

- Unpack the archive;

- Move the directory "@MODULE_ID@" to the directory "mods"
  within your Phorum installation;

- Login as administrator in Phorum's administrative interface and
  go to the "Modules" section;

- Enable the module "@TITLE@".

- Edit the settings for the module to setup the restrictions that
  you want to use for your Phorum installation.


Customization:
--------------

You can translate the error messages that this module produces by writing a
language file "mods/@MODULE_ID@/lang/<yourlang>.php".
In this filename <yourlang> has to be the same name as the main language
file that you use (i.e. "include/lang/<yourlang>.php"). If you write a
translation for this module, then please post it in the module's thread
at phorum.org, so I can include it in the distribution.

If you want to inform your users about signature restrictions before they
submit the signature editing form, then you can edit the cc_usersettings.tpl
template file to include the information. This file contains multiple
control panels. The one that you have to edit, starts with the template code
{IF PROFILE->SIGSETTINGS}

About

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.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages