This mod has now been released and moved to the final mods board:
http://www.boardmod.org/yabb/YaBB.pl?board=newsy22;action=display;num=1196974355...Ever wanted to add a new set of graphic buttons to your YaBB but gave up because it was to much trouble making more than 60 different graphics?
With this mod you'll get the job done by making only 2 - yes TWO - small graphics!!! One left part 20x10 px and one right part 260x20 px in .png or .gif format. Give them the same name except for the last part which must be '_left' and '_right'. Place them directly in the 'yabbfiles/Buttons' folder and - Voila - they will appear in the Style Sheed wysiwyg editor for you to add to your templates.
Format for new button:
UnikeName_left.png (10x20 px)
UnikeName_right.png (260x20 px)
Also added a new extra "Menu.def" to load all 3 menu modes from only one file. The format for adding new buttons to the new "Menu.def" file compared to "old style" is:
emplate-or-mod
For the "Home" button it looks like this:
New Menu.def style:
home,home|img_txt|103|img_txt|103|imgmenu|tmp
Old Menu0.def:
'home' => "<img src=\"$imagesdir/home.$imgext\" alt=\"$img_txt{'103'}\" border=\"0\" /> <span class=\"imgmenu\">$img_txt{'103'}</span>",
Old Menu1.def:
'home' => "<span class=\"imgmenu\">$img_txt{'103'}</span>",
Old Menu2.def:
'home' => "<img src=\"$html_root/Buttons/$button_language/home.$imgext\" alt=\"$img_txt{'103'}\" border=\"0\" />",
Included in the zip package are new 'default.css' and 'yabb21.css' - if you dont want to overwrite your existing .css files you can copy the styles from the 'css_adds.txt' file (also included in the zip) and paste them into your .css file(s).
If the template in use does not have the css-button styles in it the board will automatically load the old menu definitions.
Edited: Bug making the preview button take any text attribute selected for any other element - new beta 0.3 zip attached.