SEO-Board: Free, Fast and Search Engine Optimization Friendly Forum Script
»User: »Password:   Remember Me? 
SEO-Board Forum Software Community / General / Support / How to use HTML codes?
Posted:  18 Apr 2007 20:29
Can I add some flash or youtube videos with html parameters to the forum?
Posted:  18 Apr 2007 20:47
By default, no. There's an option in seo-board_options.php that can allow posting of html in certain forums, but allowing users to post html is not too good (security reasons, design reasons).
Posted:  18 Apr 2007 21:02
Ok thanks but I have to put some trailers on my webpage so how to I change a certain forum options.php lines to only use by admin?
Posted:  19 Apr 2007 09:09
Look in vtopic.php for the 2nd instance of this code:
Code:

      if (!in_array($f, $allowhtmlforums))
        $message = format_html($message);

Replace it with this code:
Code:

      if ($author_id != 1)
        $message = format_html($message);
This is the quickest fix to show html tags only posted by the admin. The fix however will not work for topic preview (like when you post the video and select preview topic/reply, it won't be shown). For this you'll need a few more modifications.
Posted:  19 Apr 2007 11:51
Thank you very much again for your awesome work and best support...
Posted:  03 Jun 2011 22:10
will this work if the admin edits another authors post?
Posted:  03 Jun 2011 23:01
Quote:
will this work if the admin edits another authors post?
No. It won't.