Page 1 of 1

Emoticons not displaying in older posts

Posted: Sun Apr 26, 2015 3:30 pm
by polaj
Script URL: http://tinyurl.com/ow7kjkk
Version of script: 1.7
Hosting company: Siteground
URL of phpinfo.php: http://tinyurl.com/mavcmwd
URL of session_test.php: http://tinyurl.com/mrg8zro
What terms did you try when SEARCHING for a solution: smiley, emoticon

Write your message below:

Hello, I am noticing that new guestbook posts containing emoticons are displaying the emoticons correctly. However, older posts just show the code representing the emoticon instead of the emoticon itself. I think this is due to the fact that I may have have emoticons disabled at some point in my configuration file. However, users apparently were able to click on emoticon icons anyway and insert them into their guestbook entries. So now I have a few entries in my guestbook that are showing the code rather than the actual emoticon. I'm wondering if there is a way to go back and fix this.

Re: Emoticons not displaying in older posts

Posted: Sun Apr 26, 2015 5:54 pm
by Henrie
Hello polaj,

The only way to fix this, is to open the gbook entries file and find the emoticons and fix the code for each emoticon separately so they are displayed correctly.

Greetings,
Henrie

Re: Emoticons not displaying in older posts

Posted: Sun Apr 26, 2015 6:08 pm
by polaj
The code in the entries file appears to be correct, though.

Re: Emoticons not displaying in older posts

Posted: Sun Apr 26, 2015 6:22 pm
by Henrie
I found for example the following :!cry: in the post of Added: September 20, 2013

This is not the correct code, this code is only displayed when you sign the guestbook. When posting the message, the code :!cry: is converted to <img src="./templates/default/images/emoticons/crying.gif" border="0" alt=":!cry:" title=":!cry:"/> and stored inside your gbook entries file.

In the file emoticons.php which can be found in the templates\default\ folder you can find which code converts to what image.

Greetings,
Henrie