Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

word censor plugin

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
gjeffrey
Smarty n00b


Joined: 09 Jun 2003
Posts: 3

PostPosted: Thu Sep 09, 2004 4:23 pm    Post subject: word censor plugin Reply with quote

i've done quite a bit of searching and i can't find a modifier to censor a list of words from a string. it seems straightforward enough, but before i go to the trouble of writing one, is anyone aware of a solution out there already?
Back to top
View user's profile Send private message AIM Address
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Thu Sep 09, 2004 4:31 pm    Post subject: Reply with quote

I don't recall any modifiers to do that, although debatable if this should be the responsibility of the application logic and not the template. In other words, you are not just altering the presentation of the content, but altering the content itself.
Back to top
View user's profile Send private message Visit poster's website
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Thu Sep 09, 2004 4:54 pm    Post subject: Reply with quote

joscha wrote one once: http://marc.theaimsgroup.com/?l=smarty-general&m=104993981408999&w=2

have a look if it suites you.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Plugins All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP