News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Custom BBC buttons

Started by jaccione, February 23, 2009, 09:01:45 AM

Previous topic - Next topic

jaccione

I have found the array in sources/subs.php that lists the bbc buttons and i am trying to add my own. I have about 10 custom bbc buttons in 1.1.8 but am not having any sucess in getting those buttons in to my new 2.0 RC1 install.
I tried replicating the other array items but no success

array(
  'tag' => 'alpha',
  'before' => 'font=Times New Roman][size=11pt]π[/size][/font]',
  'after' => ' ',
  ),

I have the image alpha.gif loaded into images/bbc  but am at a loss how to make it display.
any help greatly appreciated
www.math.net.au for all your math homework needs

karlbenson

Sources/Subs-Editor.php

The buttons were moved from Post.template.php so that it meant bbc mods didn't need template edits.

jaccione

thanks for that, been at it for a while trying to figure out where it was hiding... thought i had struck gold in the subs.php file when i saw the array.

I can see how well this new setup is going to work, especially for installing mods etc, but right now it is very steep learning curve, figuring out where everything has moved to

thanks again, that did the trick and i have my custom bbc back where they should be
www.math.net.au for all your math homework needs

Advertisement: