Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: Xpresskonami on June 28, 2019, 03:20:05 AM

Title: How Can I Edit & Remove This Icon In SMF script
Post by: Xpresskonami on June 28, 2019, 03:20:05 AM
Please I discovered any time I shared post to social media, my OG-image always show this icon, the icon is located under "Start New Topic" Page. Please how can I removed it. Under which template and how can I identified the code.

Below picture is the pointed arrow of the icon
Title: Re: How Can I Edit & Remove This Icon In SMF script
Post by: Aleksi "Lex" Kilpinen on June 28, 2019, 04:10:51 AM
There are better ways to do that. What you are attempting to do, would not solve the problem.
See discussion over at Where to set the image/icon/graphic which is used as a preview on Social Media (https://www.simplemachines.org/community/index.php?topic=568494.0)
Title: Re: How Can I Edit & Remove This Icon In SMF script
Post by: Xpresskonami on June 28, 2019, 07:04:59 AM
Quote from: Aleksi "Lex" Kilpinen on June 28, 2019, 04:10:51 AM
There are better ways to do that. What you are attempting to do, would not solve the problem.
See discussion over at Where to set the image/icon/graphic which is used as a preview on Social Media (https://www.simplemachines.org/community/index.php?topic=568494.0)

Thanks for the reply. I visit the URL page, I have follows all this steps earlier but still don't work perfectly. So I decide to remove all icons in the template and see if it will work aw well. Tell me where I can locate the icon if you know please...
Title: Re: How Can I Edit & Remove This Icon In SMF script
Post by: Aleksi "Lex" Kilpinen on June 28, 2019, 07:43:04 AM
If you remove that icon, it will only be replaced by another icon/avatar/thumbnail, which you would have to remove again, and would again be replaced by another icon/avatar/thumbnail and so on, so on...
You can not solve this by removing icons. Believe me.

Title: Re: How Can I Edit & Remove This Icon In SMF script
Post by: Xpresskonami on June 28, 2019, 08:05:48 PM
Quote from: Aleksi "Lex" Kilpinen on June 28, 2019, 07:43:04 AM
If you remove that icon, it will only be replaced by another icon/avatar/thumbnail, which you would have to remove again, and would again be replaced by another icon/avatar/thumbnail and so on, so on...
You can not solve this by removing icons. Believe me.

Anything is possible. Just want to give a trial, I know what am saying. Just indicate which template I can get it.

Title: Re: How Can I Edit & Remove This Icon In SMF script
Post by: Kindred on June 28, 2019, 11:18:43 PM
No. You really don't know what you're saying.
Do it the right way,  not the half baked way you are suggesting
Title: Re: How Can I Edit & Remove This Icon In SMF script
Post by: Aleksi "Lex" Kilpinen on June 29, 2019, 02:26:27 AM
Quote from: Xpresskonami on June 28, 2019, 08:05:48 PM
Anything is possible.
I honestly like to think so too, but in this case while it is possible to strip display.template of all icons, you will probably next be asking how do I disable all smilies....
Title: Re: How Can I Edit & Remove This Icon In SMF script
Post by: Kindred on June 30, 2019, 07:27:19 PM
... and then,  all other images used by the theme