Dragonfly CMS v9 ⇒ CPG-BB (forum) :: Archives ⇒ Restricting certain BBC code tags for admins only? :: Archived ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum Index Modules & Blocks CPG-BB (forum) ⇒ Archives

Archived ⇒ Restricting certain BBC code tags for admins only?


Hey,

On my site, I often edit posts due to content or whatever. And when I do, I do it in the color yellow using [color.=yellow][/.color] as you know.

My question is, is it possible that only the Admin group can use the color yellow (i.e. the code) so that people know an admin made changes X to post Y.

Thanks alot.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Win/2/4.0.27/5.1.2/CMS 9.1.2.1


Yes/no/maybe?

How? ;p

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Win/2/4.0.27/5.1.2/CMS 9.1.2.1


no, since people can modify the [color] tag.

You could add a custom tag in nbbcode.php name [admin] or something and on forum posting strip it out if the person is not an admin.
So, Yes it possible, but not how you want it

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


Hmm okay thanks for the response, I'll try that and get back to you.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Win/2/4.0.27/5.1.2/CMS 9.1.2.1

All times are UTC