Miranda NG Official Community Forum
Forum for English speaking Miranda NG users => Support/Help => Topic started by: Brad303 on 09 07 2016, 18:41:35
-
Brand new Miranda-ng user here. I was a long-time user of Trillian, but lack of Skype and OTR drove me elsewhere. I tried pidgin for a few months, but it doesn't seem to work well on Windows and couldn't stay connected.
So, I'm trying Miranda-ng. So far so good.
How do I get Facebook stickers/emoticons to show up? I've seen what appears to be conflicting information on the forum (IEview, smileypack), but those posts are a bit long in the tooth.
-
There are 3 ways how to show stickers:
1) Via SmileyAdd's "Custom smileys" - you need to enable it in FB account options, but it won't work very good.
* it works only for single conversations
* it works only for incomming messages
* it works only occasionally - somehow it just won't show anything, I'm not sure why.
* it works only on newly received messages, it usually won't show historical stickers for history messages (after Miranda restart)
It's because how it is implemented in SmileyAdd. Could be improved in future, but we need someone to do it (in SmileyAdd).
2) Via IEView
* you need to use (or create) ieview template that has javascript code for transforming urls to images (thumbnails)
* as I'm showing also image URL in sticker message, you don't need some special template to work with stickers, as it usually transform all URLs to image thumbnails
* this won't work in group chats, because ieview is not supported there
3) Via custom smileypack
* you need to prepare own smileypack
* you define [[sticker:123456789]] as smiley string (with different numeric ids) and attach wanted image (manually download it)
* you will see only stickers defined in your smileypack (but as classic smileys = will work all the time)
* you can also send stickers (by sending the above mentioned string as whole message - without other text)
EDIT: I also just wrote it to wiki - http://wiki.miranda-ng.org/index.php?title=Plugin:Facebook/en#How_to_show_stickers.3F
-
May be I'm stupid but I'm not able to see the "like FB stickers"
I followed what u sayed but I'm still receiving this message instead of any emojii
https://scontent.xx.fbcdn.net/v/t39.1997-6/p50x50/851557_369239266556155_759568595_n.png?_nc_ad=z-m&oh=07e06eb6cfb1ace6358bb393de6b7198&oe=58990951
[[sticker:369239263222822]]
How can I fix? Tnx
-
fikus, make sure you have enabled "Use custom smileys" in SmileyAdd options.
Other than that I can't help. Somehow it doesn't work for unknown reason.
-
Mhhh this is mine config...
-
fikus, right, you have unchecked "disable custom smileys", that should be correct then.
-
and is with this config that is not working ...
there is no way to say to miranda to convert this
"https://scontent.xx.fbcdn.net/v/t39.1997-6/p50x50/851557_369239266556155_759568595_n.png?_nc_ad=z-m&oh=07e06eb6cfb1ace6358bb393de6b7198&oe=58990951
[[sticker:369239263222822]]"
to a smile? normally is the only one ppl are used often.
tnx
ah I'm using Tabsrmm.
-
fikus, you can download the image and edit your smileypack and add it there as the [[sticker:369239263222822]] then you would be able to see it and also send it by selecting it from smileys (if your sent message is exactly only this without any other text, then it is sent as sticker).
-
I realise this is somewhat akin to necromancy but...
I managed to perform the above instructions for a smiley, and now instead of getting [[sticker:xxxxxx]] i get the sticker (though sadly rather tiny). However I still get the huge URL in the front. Is there any way of (a) making the sticker a bit larger and (b) removing the url?
-
(b) Maybe regular expressions could help with the URL part
Considering that syntax is
Smiley = "resourcefile", recourceindex, R"smiley regular expression", "insert text", "tooltip text"
If the URL is always in one line and the number in the next one then for [[sticker:369239263222822]] you could try sth like
https:\/\/scontent\S*\n\[\[sticker:369239263222822\]\]
as a regular expression. So partially you will end up with
Smiley = "resourcefile", recourceindex, R"https:\/\/scontent\S*\n\[\[sticker:369239263222822\]\]", "[[sticker:369239263222822]]", "tooltip text"
Just replace the numbers of stickers.
I'm not using it so it could not work. It's just a quick try. Try it, test it. Regular expression could be not as precise as it should be yet so it would need adjustments.
(a) Are "maximum/minimum smiley height" options in "Options>Smileys>Display" changing anything? I think that "Scale smiley to text height" could interfere too
-
Ah, ok, thanks. The regex idea works. By the way, I think there's a bug in the regex parser as it fails to load the file when supplied with this:
scontent-[^]]*\[\[bang\]\]
It says it has logged the error, but not anywhere I can find :-(
I turned of the scaling and now I get a full sized sticker. Fortunately the other emoticons seem about the right size, which had worried me earlier. Well, a bit larger but close enough.
Now all that remains is those very odd ones that don't display due to the change in creators update (at least I think it's due to that).
-
Do you mean this error message? (the only one I could find in sourcecode)
There were problems loading smiley pack (it should be corrected).
See network log for details.
If you have Console plugin then it could be displayed in its window.
-
that's the message, yes. i'll try getting the console plugin then
Somewhat later:
[21:43:20 2194] [SmileyAdd] Regular expression "https:\/\/scontent-[^[]+\[\[sticker:582402791770700\]\]" in smiley pack "blah\Pack.asl" malformed.
Though the same regex in an online tester matches correctly
-
Maybe you have to escape the inner [
like:
[^\[]
SmileyAd uses non-standard, non-maintained regex. And code for pattern is not even the latest available version so sth might not work