Furry stuff, oekaki stuff, and other stuff.
You are not logged in.
Hello,
On my oekaki board http://copkid.co.funpic.org/Intermediat … /index.php
I have found that when we use the custom heart smiley I created, it turns to "<3" I also found ":>" in some of the comments, but I don't know what smiley it used to represent. I have the new beta version 1.4.2....is this from the update, or an error in my part? (:
??
Thank you,
Copkid
Offline
If you added the custom smilies to the hacks file (which is where you're supposed to add them), it should encode the greater than and less than symbols correctly. For example, this is one line from the hacks file:
'>:D' => 'evil_smile.gif',
If you added your custom smilies to the niftytoo.php file, then they won't be encoded/decoded correctly.
Offline
Yes they are in the hacks file correctly (:
I went back into older pictures, and they still have the problem of smilies turning into weird...things lol ( I apologize for my above statement about it working before the update)
Here's a copy of the smilies in the hack..
{ define ('USE_SMILE_HACK', 1); // (0-1) 1=Use these smilies if (USE_SMILE_HACK == 1) { $smilies_temp = array ( ':)' => 'smile.gif', ':|' => 'neutral.gif', ':(' => 'sad.gif', ':D' => 'big_smile.gif', '>:)' => 'smirk.gif', '>:D' => 'evil_smile.gif', ':sneaky:' => 'sneaky.gif', ':o' => 'yikes.gif', ';)' => 'wink.gif', ':P' => 'tongue.gif', ':lol:' => 'lol.gif', ':mad:' => 'mad.gif', ':rolleyes:' => 'rolleyes.gif', ':cool:' => 'cool.gif', ':duh:' => 'duh.gif', ':blush:' => 'blush.gif', ':cry:' => 'cry.gif', ':boohoo:' => 'boohoo.gif', ':crazy:' => 'crazy.gif', ':what:' => 'what.gif', ':gamer:' => 'gamer.gif', 'poop' => 'poop.gif', '</3' => 'brokenheart.gif', '<3' => 'heart.gif', ':barf:' => 'barf.gif' // No comma on last entry ); $smilies_group = array(); foreach ($smilies_temp as $s_in => $s_out) { $smilies_group[htmlspecialchars ($s_in)] = $s_out; } unset ($smilies_temp); } }
Maybe its my funpic server? It likes to say "There are no nodes to fulfill your request" at times, could be affecting possibly??
Last edited by copkid (05-03-2009 10:00:35)
Offline
Some of the newer comments on the oekaki are using the heart smiley correctly, while older ones aren't. I think there might have been a previous problem with the hacks file and the comments went into the database already HTML encoded, but now it's working right.
I tried adding your smilies into my hacks file, and they worked with no problem. Try editing one of those messed up comments and change the "<3" to "<3". If it's fixed after the edit, then I think there might have been a mistake in the hacks file when those comments were posted. If the edit doesn't fix the comment, then there might be something weird going on with FunPic, which doesn't surprise me.
The "no node" problem means the FunPic server is overloaded. This is a problem with their shared servers and will affect several dozen sites at a time, and is not a problem specific to your site. FunPic has gone downhill in quality over the last few years.
Offline