View Single Post
  #32  
Old 02-06-2008, 07:54 PM
derrymaine Offline
pp regular
 
Join Date: Aug 2007
Location: Cergy (near Paris-France)
Posts: 29
Quote:
Originally Posted by austriaka View Post
that is odd.
Try this:
copy/cut this part of smilie Addon:
PHP Code:
$img_1 "<img src=\"./smilies/";
$img_2 ".gif\" alt=\"\" style=\"border: 0;\" />";

$tpl ereg_replace(":D""".$img_1."icon_biggrin".$img_2.""$tpl);
$tpl ereg_replace(":)""".$img_1."icon_smile".$img_2.""$tpl);
$tpl ereg_replace(":-)""".$img_1."icon_smile".$img_2.""$tpl);
$tpl ereg_replace(":o""".$img_1."icon_eek".$img_2.""$tpl);
$tpl ereg_replace(":O""".$img_1."icon_eek".$img_2.""$tpl);
$tpl ereg_replace(":-\(""".$img_1."icon_evil".$img_2.""$tpl);
$tpl ereg_replace(":\(""".$img_1."icon_evil".$img_2.""$tpl);
$tpl ereg_replace(":p""".$img_1."icon_razz".$img_2.""$tpl);
$tpl ereg_replace(":P""".$img_1."icon_razz".$img_2.""$tpl);
$tpl ereg_replace(":x""".$img_1."icon_twisted".$img_2.""$tpl);
$tpl ereg_replace(":X""".$img_1."icon_twisted".$img_2.""$tpl);
$tpl ereg_replace(";)""".$img_1."icon_deep_clin".$img_2.""$tpl);
$tpl ereg_replace(";-)""".$img_1."icon_deep_clin".$img_2.""$tpl);
$tpl ereg_replace("8)""".$img_1."icon_cool".$img_2.""$tpl);
$tpl ereg_replace("8-)""".$img_1."icon_cool".$img_2.""$tpl); 
and insert it at the end of commentication.php (right before the ?> at the end)

I do this way : i can see smilies on comments but then, impossible to put a smilie in a new message (stranges signs and links don't work...)
You can see it on the photoblog.
I think i'm gonna to give up.
Thanks anyway for your help.
Michel
Reply With Quote