Topic: Administrator / Moderator posts as HTML 1.0

##
##
##        Mod title:  Administrator / Moderator posts as HTML
##
##      Mod version:  1.0
##   Works on PunBB:  1.2, 1.2.6 (And up?)
##     Release date:  2005-09-25
##           Author:  Dwaggy
##
##      Description:  This mod parses admin & mod posts as html
##
##   Affected files:  /include/parser.php
##
##       Affects DB:  No
##
##            Notes:  Linebreaks and paragraphs are still handled by the parser.
##                      
##              This mod is offered as-is. Use at your own risk.
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##

Download here

Re: Administrator / Moderator posts as HTML 1.0

So, this allows me, as an admin at my forums, to post HTML?

Looking for a certain modification for your forum? Please take a look here before posting.

Re: Administrator / Moderator posts as HTML 1.0

Yes, yes it does.

Re: Administrator / Moderator posts as HTML 1.0

Cool! I'll have to add it to my to-mod list.

Looking for a certain modification for your forum? Please take a look here before posting.

Re: Administrator / Moderator posts as HTML 1.0

When people quote an admin/mod, it looks pretty nasty.

Re: Administrator / Moderator posts as HTML 1.0

Perhaps running strip_tags before htmlspecialchars on normal user posts would fix that? Hmm

Re: Administrator / Moderator posts as HTML 1.0

Dwaggy wrote:

Perhaps running strip_tags before htmlspecialchars on normal user posts would fix that? Hmm

If you do do that, you should probably convert applicable tags to BBCode first.

Looking for a certain modification for your forum? Please take a look here before posting.

Re: Administrator / Moderator posts as HTML 1.0

Dwaggy wrote:

Perhaps running strip_tags before htmlspecialchars on normal user posts would fix that? Hmm

how do i do that.

Re: Administrator / Moderator posts as HTML 1.0

does it really work

Re: Administrator / Moderator posts as HTML 1.0

yes.

as a suggestion why don't we chage it to, you must add a [html] [/Html] inorder to write in html. I know many other forum software do that

Go Canada! - No matter what, except when Stephen Harper is Prime Minster!
NHL is back, GO TORONTO MAPLE LEAFS! even if they lose...
[Firefox Rules!] - [Amazing Race] - [My Site!]

Re: Administrator / Moderator posts as HTML 1.0

Speechless wrote:

yes.

as a suggestion why don't we chage it to, you must add a [html] [/Html] inorder to write in html. I know many other forum software do that

I agree. That would be nice.

Looking for a certain modification for your forum? Please take a look here before posting.

12

Re: Administrator / Moderator posts as HTML 1.0

I think that would be fantastic. And what's more, to allow only admins and mods to use the [html][/html] function would be very cool, or an option for permission even better.

13

Re: Administrator / Moderator posts as HTML 1.0

is there a way to make the html show up on my punbb news page. when i go to my news page it just shows back up as html tags