Quote from: Entity on March 19, 2002, 05:46:08 PMI would like to add more smiles to the list so that my visitors can see more then just the 16. Where do I look to find that?
<edit file>
Sources/Post.php
</edit file>
<search for>
<a href="javascript:cry()"><img src="$imagesdir/cry.gif" align=bottom alt="$txt[530]" border="0"></a>
</search for>
<add after>
<a href="javascript:xyz()"><img src="$imagesdir/xyz.gif" align=bottom alt="$txt[xyz]" border="0"></a>
</add after>
You can add as many smileys as you want, but you should insert a <br> after the first 3 or 4 new smileys to force a line break, so it doesn't mess up your table.
<edit file>
english.lng
</edit file>
<search for>
$txt[749] = "The 'number of posts' box can only contain digits.";
</search for>
<add after>
$txt[xyz] = "whatever tooltip you want to be shown, when cursor is over your smiley";
</add after>
<edit file>
ubbc.js
</edit file>
<search for>
function cry() {
AddTxt=" :'(";
AddText(AddTxt);
}
</search for>
<add after>
function xyz() {
AddTxt=" abc"; // insert the smiley code instead of " abc". i.e. " :-)"
AddText(AddTxt);
}
</add after>
Replace every "xyz" with your smiley's name.
Finally you have to upload your smiley image to your images dir (most probably "YaBBImages").
Follow these steps for every smiley you want to add.
[Edit]: Forgot ... Inspiration (and more) from
mediman:
http://www.yabb.info/community/index.php?board=145;action=display;threadid=4752