There is no censorship module currently available. Although I would call it "auto-replace" or something like that. The idea is to allow the user to replace a set of strings to another set of strings. Maybe wee could even merge this module with the smilies module and have just one major string-replacement module...
String Replacement
Regardless, I would like to suggest the options to 'replace the whole word only', 'match case' and 'replace variable:
Match whole word only - If selected, the module would only replace the string as a whole word. If unselected, it would replace the string in any word. For example:
If I want to replace the string 'shag' and the match whole word only is selected, it would replace:
shag
Shag,
Shag?
Shag!!!
If I want to replace the string 'shag' and the match whole word only is UNselected, it would replace:
Shag,
Shagedelic
shagy
Shagger
shaged
Match case - if it unselected, the module will replace the word no matter if it's upercase, lowercase or mixed.
Replace Variable - if selected, the admin could define a variable to replace the string. For example, if I type %username%, it would display the user's nickname. If I type %usr_email% it would display the user email. This would be good to create customized content such as email users, custom new user registration screens and emails, custom system messages and so on. For example I could write an email that have the subject: "Wellcome %username%". This also reminds me that we should have the option to send default email to users when they are registered, locked, deleted, when his/her account is about to expire (if we add the account expiration feature), etc. -- but this is another suggestion :)
Smilies
Simple, just type in a column the string you want to be replaced. In the other column, you type the path to the image to replace the string into:
String Replace with
;) --> images/smilies/wink.gif
:) --> images/smilies/smile.gif
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- frw responded to »Bug in the SMTP mail transfer protocol - Port 25 - Zikula 1.2.9« 22. May
- mdee responded to »Short URL questions« 22. May
- mesteele101 responded to »Problem in Database Connection« 21. May
- Herr.Vorragend responded to »Clip Documentation and Doubt« 19. May
- mazdev responded to »zikula 1.3.3. and IE9« 19. May
- mesteele101 responded to »How to install Zikula for MSSQL ??? - Part II« 19. May
- mesteele101 created topic »File packaging« 16. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
