Click to See Complete Forum and Search --> : [bgcolor] tag addition suggestion
Ultimater
03-10-2005, 03:36 PM
Hey, there's been numerous times that I wanted to hilight
special keywords as I was posting Javascript code.
Can we get a [bgcolor] tag added to the forums?
It shouldn't be any harder than:
<font style="background-color: yellow;">message</font>
rhsunderground
03-10-2005, 04:18 PM
of course, we'd want valid code, but i believe there are only certain BB codes available.
http://www.loveshack.org/forums/misc.php?s=&action=bbcode
Ultimater
03-10-2005, 05:40 PM
What on earth was the note on the bottom of your link?
Please note: The suggestions and advice offered on this web site are opinions only and are not to be used in the place of professional psychological counseling or medical advice. If you or someone close to you is currently in crisis or in an emergency situation, contact your local law enforcement agency or emergency number.
Adding new VB code to forums should be easy as pie.
All you need to do is add another case to the server-side script
and have it be replaced with HTML code to be displayed to the page.
If you entered this text is hilighted green
you only need the serverside-script (in this case PHP) to output the following to the page:
<font style="background-color: green;">this text is hilighted green</font>
Why can't the administrators edit the PHP file?
rhsunderground
03-10-2005, 07:20 PM
i don't know about the admin editing. i just found that link. :p
AdamGundry
03-11-2005, 11:44 AM
Originally posted by Ultimater
Why can't the administrators edit the PHP file?They can, but don't really want to. Jupitermedia (the owners of this forum) run rather a lot of sites like this across the web, and changing the code could cause problems when vBulletin gets upgraded.
Adam
Edit: tidied up post.