Topic: Allow bbcode/html code in topic subjects

Is there a way that admins/mods can cadd html/bb code in topic's subject?.For example instead of a simple:
Subject

the admin/mod could do this
subject
or this:
subject
or this:
subject
or even this
subject

by bbcode or by html code

But only the admins/mods,

2

Re: Allow bbcode/html code in topic subjects

it is not a standard feature and I an not sure if there is a mod on Punres otherwise you will have to code it

Re: Allow bbcode/html code in topic subjects

I know there isn't a mod on punres sad ,I have posted there also and I hope I find someone to help me smile .

Re: Allow bbcode/html code in topic subjects

That would require some hacking on the code. Not so much though.
First you would need to preparse the bbcode when you insert the post.
You can do that usinf the preparse_bbcode() funcion on you post.php. Check out the best spot to insert that function call, probably line 170 on post.php looks like a nice spot for it, before the topic being inserted
Check it out
http://phpxref.com/xref/punbb/nav.html.gz?index.html.gz

then you have to parse the topic on viewforum.php with parse_message().

This is the basics, you might also want to check if the user is a mod.

Re: Allow bbcode/html code in topic subjects

Can you explain step-by-step?(not very good at php)