PDA

View Full Version : Change CODE to Another Custom BBCode


ravenfaust
12-27-2009, 03:57 PM
I have recently added a BBcode Download, im wondering how to change [code] to [down] so any post with code tags will auto change to down . $code is all i can find in the templates im guessing its a php edit?

Thanks!

HMBeaty
12-27-2009, 04:18 PM
Yes, you would have to edit the bbcode.php file (if I remember correctly)

ravenfaust
12-27-2009, 05:43 PM
What would i edit to, do you happen to know?
//[CODE]
$tag_list['no_option']['code'] = array(
'callback' => 'handle_bbcode_code',
'strip_empty' => true,
'disable_smilies' => true,
'disable_wordwrap' => true,
'strip_space_after' => 2
is what i have

exel
12-27-2009, 07:25 PM
hmm.. may b not this.. :o

ravenfaust
12-29-2009, 05:49 PM
Any clues on what i would edit? I want to remove code and replace it with a different string.