Log in

View Full Version : help regarding creating a bbcode for c++


Salman Qamar
10-07-2011, 05:13 PM
i was thinking to add a programming section in my forum. But the problem is that color scheme of bbcode php is good but not exactly required for c++. so i want to make a little changes in it. If somebody tell me that from where (in which file) i will find the bbcode of php so that i can change it according to c++.
Thanks in advance.

kh99
10-08-2011, 10:03 AM
The php bbcode is handled in includes/class_bbcode.php, in function handle_bbcode_php(). But the real work is done by calling a php function highlight_string() http://us2.php.net/manual/en/function.highlight-string.php so you won't be able to change that.