The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How can I change the BBCODE keyword color?
Hi,
I have in my Forum a dark background, if I put an HTML or PHP code the key word color are not visible as shown in this picture: My question is, is it possible to change the color? Thank you. |
#2
|
|||
|
|||
Create a new plugin using hook bbcode_create and this code:
Code:
ini_set('highlight.keyword', '#ffffff'); of course you can change the #ffffff to whatever you want. Also, if you want to change anything other than the keyword, here's the list of things you can change: http://us2.php.net/manual/en/misc.co...x-highlighting Edit: I should have added, this will only change it for new posts, until the cached posts expire. If you want it to take effect for all posts immediately, you could truncate the 'postparsed' database table. |
Благодарность от: | ||
Lynne |
#3
|
|||
|
|||
Thank you
Quote:
Thank you |
#4
|
|||
|
|||
If you're using phpMyAdmin, it's on the Operations pages, Empty The Table (TRUNCATE). Be careful not to delete it.
Another thing I think would work would be to go to Server Settings and Optimization Options in the admincp settings, and set Cached Posts Lifespan to 0 (after first noticing what it's set to and remembering it), then under the Scheduled Task Manager, run the Hourly Cleanup #2 task. Then set the Cached Posts Lifespan back to it's original value. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|