minibb®
Fight the automated spam - protect your miniBB-forums,
getting the Captcha addon! Click here to read more.
Captcha Addon for miniBB
Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
How To miniBB Community Forum / How To /

enable posting of html code for admins only

 
sombrero
Guest
#1 | Posted: 17 Sep 2007 14:55
Reply 
from time to time, i'd like to post simple html-tags, like javascripts (or anything else that is not already prepared through bb_codes or bb_plugins) into my forums. and i want them to be processed instead of only displayed as "<tag>code</tag>"...

so i'd like to have a [processedcode]-tag, in which i can post these codes and the code will be processed like normal html. to avoid any security issues that tag should only be available for admins.

thanks again for the quick support. keep up the good work!
Paul
CEO
#2 | Posted: 18 Sep 2007 01:22
Reply 
I suppose in setup_options.php you will just then need to set up

$adminHTML=TRUE;

and that will enable straight posting of any kind of direct HTML for admin and moderators.
 
Your reply
Bold Style  Italic Style  Image Link  URL Link 


» Username  » Password 
You are welcome to post anonymously by entering a nickname with no password (if that nickname has not been taken by another member) or by leaving both fields empty. If you have a forums membership account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, be sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
Online now: Guests - 19
Members - 0
Most users ever online: 191 [24 Dec 2007 14:33]
Guests - 191 / Members - 0

Forums are powered by miniBB®