This discussion is related to the
Emotify :) addon.
So as the title says I can create a post and put emoticons in which I can see in the preview. However when the post is submitted all I get is the actual text, like :) :(
I have edited the js file to add my own emoticons but only edited the emoticons lineup nothing else.
So why in preview but not displaying in the post?
1 • •
Comments
Can anyone help here?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Hi!
Installed Vanilla 2.0.18.4 recently (upgraded from Vanilla1) and I seem to have exactly the same problem. Emoticons work in preview but not in the post.
I've edited the plugin code in order to get smileys show when somebody inserts for example
:smile:Help would be appreciated!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •How can anyone help if you don't show the modifications to the code :).
Use the buttonbar plugin and see if the emoticons work?
if they do, then it may be an interaction with the plugin (if not buttonbar) you use to post messages.
If they don't work, it may be an interaction with the format in which they are stored in the database.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Sorry! :D
Example of modification in .js
":bigsmile:": ["bigsmile"],Example of modification in .css
.Emoticonbigsmile { background-image: url('images/bigsmile.gif'); }And they do show in preview, so I hope/assume this can't be totally wrong?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •unanswered - cleditor or buttonbar????
impossible to tell without a frame of reference of the code changes.
one random line could be placed anywhere in the code, and we can't guess where it is, actually we could guess, but the odds are the guess would be wrong.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Here are all the plugins used:
$Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed'; $Configuration['EnabledPlugins']['MFCDiscussionPagination'] = TRUE; $Configuration['EnabledPlugins']['AllViewed'] = TRUE; $Configuration['EnabledPlugins']['Quotes'] = TRUE; $Configuration['EnabledPlugins']['LikeThis'] = TRUE; $Configuration['EnabledPlugins']['Categories2Menu'] = TRUE; $Configuration['EnabledPlugins']['WhosOnline'] = TRUE; $Configuration['EnabledPlugins']['Signatures'] = TRUE; $Configuration['EnabledPlugins']['ShowDiscussionAuthor'] = TRUE; $Configuration['EnabledPlugins']['ButtonBar'] = TRUE; $Configuration['EnabledPlugins']['ApprovalEmailNotification'] = TRUE; $Configuration['EnabledPlugins']['TouchIcon'] = TRUE; $Configuration['EnabledPlugins']['LastEdited'] = TRUE; $Configuration['EnabledPlugins']['VanillaStats'] = TRUE; $Configuration['EnabledPlugins']['AuthorTimeView'] = TRUE; $Configuration['EnabledPlugins']['SplitMergeFE'] = TRUE; $Configuration['EnabledPlugins']['Emoticons'] = TRUE; $Configuration['EnabledPlugins']['Emotify'] = TRUE;There are both Emotify and Emoticons, since Emoticons -plugin seems to solve the problem with old, earlier smileys not showing in posts. My board is far from fresh installation, it used to run on Invision Board before Vanilla 1 and 2.
Turning Emoticons-plugin off does not help with this problem so I guess there's no conflict between them two.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Sheila look in the database table of 'comments' and 'discussions', what is the value for the field 'Format'
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •Html in both
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Post a link to your site with an example emoticon that didn't work. I don't think its the database, I modified the field from markdown to html to text and it didn't matter the js is overriding anything there.
what does the field in the body of the comment in the comment table look like does it have any escaped characters or does it show exactly what you entered.
I see you have AuthorTimeView plugin enabled - Ha, one person using it :).
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •My site needs to have everybody to register. Should I make you test user -account? Would that be too much trouble for you?
I tried to browse some recent comments via database, there's just so much data that didn't find the latest one's yet.
AuthorTimeView plugin is great! :)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •for the time being just create a test discussion add an emoticon that doesn't work and then add a comment with an emoticon that doesn't work and give a link to that discussion.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Ok, I'm gonna make one public category. Will post link soon.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •the only suggestion I can give you.
zip up your current emotify plugin directory. erase it and download the the vanilla version of emotify with the js in it.
....., ":wub:": ["wub"]
modify the .css
e.g.
modify the class.emotify.php
':wub' => 'wub',factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •Great, will do that!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Let us know if that works. Don't know where your emotify js code came from - maybe a previous version from vanilla one.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •I got the plugin version within Vanilla2 installation, I assume.
Just to clarify, what used to be
":wub:": ["wub"], should be':wub' => 'wub'? And I edit in emotify.js since can't find any class.emotify.php within the plugin folder?- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •my mistake emotify is already packaged in 2.18.04 - that is the version you want to use. It will have class.emotify.php. extract it again from the main vanilla, as you may have overwritten it when you downloaded emotify 1.0.
/vanilla/plugins/Emotify/class.emotify.php
should show emotify version in dashboard as 'Version' => '2.0.1',
No need to modify the new js at all (a matter of fact, it is safer if you don't touch it. I added numerous emoticons that appeared in the dropdown box and appeared in the preview as well as the post.
this was in your old js (transfer these to the emotify .css and class.emotify.php using the same technique in the emotify.css and class.emotify.php
and make the changes to the new .css and class.emotify.php - in the same manner as the other arrays show in those two files.
I'm not sure why the emotify add-on is not updated or removed on the add-ons downloads (even though it is included in the distribution), makes things confusing.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •Now I have the right version. My Emotify seemed to be old version, I guess I've messed up somewhere along the way when uploading and installing plugins. Lame mistake.
It's past midnight here, so it might be better for me to test it tomorrow in order not to mess up more. Gonna let you know, how it worked.
Your support's been just super! Thank you so much :)
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •mutta ei aurinko vielä paistaa siellä.
Ei se mitään. Minun suomenkielen taitoni on huono. Täytyy harjoitella enemmän suomenkieltä ... Yksi, kaksi, kolme :)
napsauta "kuin"-painiketta
Mitä poro on päivälliseksi tänään
:wink
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
2 • Off Topic Insightful 2Awesome LOL •Got the plugin working! Thank you so much once again. Wouldn't been able to figure it out by my self. One minor change thou, just in case anybody else has a need to show emoticons this way.
':wub' => 'wub',still has to have double dots on both sides like':wub:' => 'wub',otherwise it will print an image and two dots beside the actual image on one side.Hahaha! One has to sleep thou, even when the sun doesn't go down much. And yes, those nightless nights are amazing.
You're quite good with your suomi. ;)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Sheila said:
et tu - with English.
Yes - I've become a polyglot - but take away those internet language translators and I lose that ability :)
I'm not sure why various people post unintelligible messages on this discussion board when they could probably do a bit better with an internet translation or they could post in both their native language and attempt in English.
Glad it solved your problem.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
2 • Off Topic Insightful 2Awesome LOL •So am I! And to be honest, I don't remember last time I got an answer and a solution to a problem on an issue with Open Source software this fast, so kudos to you!
- Spam
- Abuse
- Troll
2 • Off Topic Insightful 2Awesome LOL •two other things you might want to do.
you have two plugins for the author - you might disable one of them
you have two plugins for the emoticons - emotify and emoticons. you could easily port the emoticon symbols over to the emotify plugin in the same manner you just added your custom ones and then disable the emoticons.
I can only think it would be a tad bit cleaner and faster without the duplications.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •Good point! Thanks for the reminder, disactivated the other one since having both was just a quick temporary fix.
With the author plugins, I somewhat thought that they are not absolute dublicate. But if that's the case, which one do you recommend?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •well, what does lastauthor provide - ?
what does AuthorTimeView plugin provide?
You would have to compare
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Based on a quick test,_ I think_ both do some what same, plus your plugin does more, cause there is also the view count. I have the view count disabled, so I didn't realize the difference.
I guess I need to continue having view count disabled unfortunately, since the board and it's database have been converted/moved/etc. so many times.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Double post.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •