Your ultimate PunBB resource!
You are not logged in.
Please help me because i can find wher i can change the size of emots when i write a new post its looks like that
Screen:
http://img502.imageshack.us/img502/3885/erroror4sr.jpg
And the new emots are to small :- p
Offline
now i can't find wher is this size
Last edited by ZaiT (2006-06-22 12:03:52)
Offline
in parser.php, in the function do_smilies($text)
#---------[FIND (line: 361) ]---------------------------------------------
#
$text = preg_replace("#(?<=.\W|\W.|^\W)".preg_quote($smiley_text[$i], '#')."(?=.\W|\W.|\W$)#m", '$1<img src="img/smilies/'.$smiley_img[$i].'" width="15" height="15" alt="'.substr($smiley_img[$i], 0, strrpos($smiley_img[$i], '.')).'" />$2', $text);
#
#---------[ REMOVE ]-------------------------------------------------
#
width="15" height="15"Offline
in my parser i have only this
$text = preg_replace("#(?<=.\W|\W.|^\W)".preg_quote($smiley_text[$i], '#')."(?=.\W|\W.|\W$)#m", '$1<img src="img/smilies/'.$smiley_img[$i].'" alt="'.substr($smiley_img[$i], 0, strrpos($smiley_img[$i], '.')).'" />$2', $text);But still i see a small smillies when i write the post i see a normal size smillies
Last edited by ZaiT (2006-06-22 14:48:54)
Offline
Easy Custom Smilies
Offline
It looks like you have installed Easy BBCode. Which would mean you would have to change this file 'mod_easy_bbcode.php'... it will be in your htdocs directory.
echo "\t\t\t\t\t\t\t".'<a href="javascript:insert_text(\''.$smiley_text[$i].'\', \'\');"><img src="img/smilies/'.$smiley_img[$i].'" width="15" height="15" alt="'.$smiley_text[$i].'" /></a>'."\n";
Also... you might want to change another file...
help.php in your htdocs directory. Only a minor thing... but if someone clicks on BBCode. Then the big smilies will be squashed here as well.
Online