Hi, you need to edit the file smilies.inc.php, which is in the include folder.
Find this code,
function get_smilies_table1()
{
global $lang_smilies_inc_php;
return array(
and add your own smilies to the array. There is no need to comment out the existing one you are deleting, unless they have the same name as one of your smilies.
example;
array(':pony:', 'pony.gif', $lang_smilies_inc_php['pony']),
Now find the 2nd array, starting with this code;
function get_smilies_table2()
{
global $lang_smilies_inc_php;
return array(
First comment out the smilies you don't want any more, witha double slash // at the start of the line.
Now add your own, example;
//array(':kiss:', 'kiss.gif', $lang_smilies_inc_php['kiss']),
array(':pony:', 'pony.gif', $lang_smilies_inc_php['pony']),
If you are keeping it at the same number of smilies, that's it.
But if you are increasing the number of smilies, there is one more change.
Find this code;
foreach($smilies as $smiley) {
$caption = $smiley[2] . " " . $smiley[0];
$html .= ' <td width="5%"><a href="javascript:emoticon_' . $form . '(\'' . $smiley[0] . '\')"><img src="images/smiles/' . $smiley[1] . '" alt="' . $caption . '" width="15" height="15" border="0" title="' . $caption . '"></a></td>' . "\n";
}
and change the <td width="5%"> to <td>.
Thats it, you can get about 30 smilies on the line without it getting too crowded.
I havn't been able to get a 2nd line of smilies, which is what I wanted.