Support Forum
The answer to the actual question is yes - allowing the use of smileys is a permission you can turn off.
There are problems with this sort of thing. Image 'src' urls are added into the post content for many reasons which I wont go into now but... which smileys are causing you any problems? Ones in old posts? Or ones in new posts? WordPress smileys? Simple:Press Smileys? Your own custom smileys? And if it is just a matter of a change to the url of old, existing smileys then that can be done with a simple filter.
So perhaps you could give me more details of what you see as the problem...
By the way - the url for a smiley is constructed from core WordPress functions that should return the 'scheme' of http or https. If this is not happening on newly posted smileys then something is missing within WordPress regarding your environment.
YELLOW
SWORDFISH
|
Thanks for your detailed reply 🙂 always the best.
For example,
https://www.seoultouchup.com/f.....in-wonjin/
This was posted AFTER we implemented HTTPS. -> so the Green bar looks cool. This smiley uses the correct url, which starts with https.
On the other hand,
https://www.seoultouchup.com/f.....-vs-regen/
This one is a popular thread but it was posted BEFORE we implemented HTTPS -> so the GREEN bar shows a warning on top. This smiley uses the OLD url, which starts with http.
For now, it seems the only way to correct this problem is manually fix all the url of the smiley, post by post, which we will never do. 🙂
------
Did I make it clear enough ? 🙂
Er... can you explain what you mean by the 'green bar'? What is that please? All the smileys in the posts seem to be displaying just fine without any error being shown...?
Also - as I did say ion my first post - these could be corrected at display time with a simple filter.
YELLOW
SWORDFISH
|
Thanks for the reply
By greenbar, I meant this - smileys that were posted after https implementation
https://www.evernote.com/shard.....9345e95ac7
--------smileys that were posted BEFORE https implementation
https://www.evernote.com/shard.....fe4965daac
--------------
Sorry the question sounds very technical. hope there is a quick fix to correct the http ahrefs to https ahrefs.
Thank you for taking the time for my question.
Thanks for your patience. - Sorry, this is maybe a bit tedious for you, but my original question was, "can we disable Smileys?" and if yes, how? 🙂 because I think the urls of the Smileys that had been posted can't be changed to new urls.
Let me ask this way.
Is there a way to change all the urls of the Smileys in our previous postings? from http to https?
I believe, the urls don't automatically change from http to https after our https implementation. It works well for NEW postings but our old postings still point at http. Thus, we want to disable Smiley function.
I hope I made my question clear this time 🙁
well actually I believe I have also replied twice that this could be fixed with a filter. Simply filter the post content prior to display to change any instance of http in smiley urls to https.
All I actually asked was what was the significance of the green colour in the address bar? I was expecting some sort of error message but i the green colour all that happens and what does it mean.
YELLOW
SWORDFISH
|
Try adding this to the spFunctions.php file in the SP theme you are using. it is in the /templates folder.
add_filter('sph_display_post_content_filter', 'swap_http', 100); function swap_http($content) { return str_replace('http://www.seoultouchup.com', 'https://www.seoultouchup.com', $content); }
This has to be exactly as above. Do NOT use a word processor. Use a simple text editor or use the theme editor in the forum admin themes section.
And you never did answer my question about the significance of the 'green'...
YELLOW
SWORDFISH
|