MyBB Community Forums

Full Version: Add forums icon?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi I would like to know how to add the little image that usually appears near the text on a new tab.
If you have no idea what im talking about, let me show you.
[spoiler][Image: mybbexplanation_zps6d7989ea.png][/spoiler]

My forums just looks like this :
[spoiler][Image: mybbexplanation2_zps5b0fde6b.png][/spoiler]

How do I add the icon?
In index_boarstats (index templates) search:
{$lang->boardstats}
and before add:
<img src="url..." />
(2014-06-28, 08:05 PM)Snake_ Wrote: [ -> ]In index_boarstats (index templates) search:
{$lang->boardstats}
and before add:
<img src="url..." />
Didn't work.
I believe you are talking about the favicon which appears on the tab in browsers... if thats what you want then, upload a favicon.ico (image file) file to the root of your website and hard-refresh the page a couple of times.
I'm sorry, I read wrong. Smile
Add in headerinclude:
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> 

And upload to root directory MyBB favicon.ico.
Its still not working, I did what both of you said.
I renamed my .png file to .ico then uploaded it to the MyBB directory,
I would like to note one thing, when I log into the ftp for my web hosting it comes to a directory in which you cannot upload files, making you move to the next directory named "public_html"
Would I have to change the directory in the PHP code you gave to me?
essentially you don't need any codes... it's just an additional step to make the favicon load without any hard refresh or cache issues..

all you need is to upload the file to your forum root directory.... so, the image should be accessible directly from www.your-forum.com/favicon.ico.... does the image show up???
(2014-06-29, 05:17 PM)mmadhankumar Wrote: [ -> ]essentially you don't need any codes... it's just an additional step to make the favicon load without any hard refresh or cache issues..

all you need is to upload the file to your forum root directory.... so, the image should be accessible directly from www.your-forum.com/favicon.ico.... does the image show up???

Yes siree it does.
if the image shows up from the direct link, then a couple of hard refresh or adding that code given by Snake, should bring it up on your forum too.. if still not showing, try clearing the browser cache
Still not working, did a couple of hard refreshes on the page, and deleted all the cache, and im still not seeing an icon

(Using Firefox, btw)


EDIT: Entered the webpage on Google Chrome, the favicon.ico is working.
Something must be wrong with Firefox, I will get that fixed, thanks guys.
Pages: 1 2