ocWhitelist
Normally there is a set of Comcode tags that regular users simply cannot use. However, with the ocWhitelist addon you can define a list of special cases, portions of Comcode that are allowed regardless of the limitation on the tag itself. Put each sequence of Comcode on it's own line, and make sure that each line starts and ends with the open/close for the tag that is being whitelisted on. i.e. each line should look like
Alternatively you can also use regular expressions (explained here: PHP: PCRE - Manual), if you surround with slashes and encode things appropriately.
Code
[tag...]...[/tag]





0 reviews: Unrated (average)
There have been no comments yet