Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: forummaker on April 18, 2009, 11:26:47 AM

Title: Image in front of Board Title
Post by: forummaker on April 18, 2009, 11:26:47 AM
Here's something I figured out, just messing around. Thought I'd pass it on if no one knew it.
Add an image to your board title. The image size I use is 32X32. But as you can see below you can adjust it.
From the "Modify Boards" section.
Add this to the "Full Name": <img src="/files/icons/wlm.png" width="32" height="32"> Welcome Center
Modify your image location accordingly.
That's it.
Title: Re: Image in front of Board Title
Post by: Bulakbol on April 21, 2009, 02:10:33 AM
Link to your forum? I want to see it myself.
Title: Re: Image in front of Board Title
Post by: forummaker on April 21, 2009, 06:46:20 PM
Sent pm of link.
I like your mod for "Images on Board". I'll have to look into trying it out. Thanks.
Title: Re: Image in front of Board Title
Post by: Bulakbol on April 23, 2009, 01:33:20 AM
If you are not lying, I will pull out my "ImagesOnBoard" mod from the mod site because no one will need it if people can do what you said. Are you sure you are talking about SMF?
Title: Re: Image in front of Board Title
Post by: SoLoGHoST on April 23, 2009, 02:44:52 AM
I'm afraid I just tested it and it does work Bulakbol...

Put in the following code for the Board Name:
<div align="left" style="position: relative; width: 100%; align: left; text-align: left;"><img src="/soloforum/forum_images/cat.png" border="0">General Discussion</div>

You can see it here ==>  TEST SITE (http://acs.graphicsmayhem.com/soloforum/index.php)
Title: Re: Image in front of Board Title
Post by: rossycool on April 23, 2009, 02:46:45 AM
i am new here can you give mme some help so i can get some stuff to
Title: Re: Image in front of Board Title
Post by: SoLoGHoST on April 23, 2009, 02:56:41 AM
What kind of help??
Title: Re: Image in front of Board Title
Post by: Bulakbol on April 23, 2009, 03:06:31 AM
Thanks SoLoGHoST. I will post in the comment/support of the ImagesOnBoard (http://www.simplemachines.org/community/index.php?topic=246022.500) then and point them to this topic if they want to do theirselves than using my mod.
Title: Re: Image in front of Board Title
Post by: SoLoGHoST on April 23, 2009, 03:07:56 AM
Although there is a problem with this, the Jump To: menu below has the entire html code in it as the board name...lol.  So I'm sure this would be a quick and easy fix...
Title: Re: Image in front of Board Title
Post by: Bulakbol on April 23, 2009, 03:10:41 AM
Are you sure that's the only place?  :P
Title: Re: Image in front of Board Title
Post by: SoLoGHoST on April 23, 2009, 03:18:57 AM
Well, the only other thing I could think of is the Searching of boards, and checked this and it looks fine in there.  Even the Board Jump Menu looks good in there as well.  So I suppose this is the only place right off the bat.  However, if a user has a MOD installed that lists board names, or gives you the option to choose from 1 of your boards for something, then this problem could pop up again unless it is calling the board name as output for html instead of output as text.
Title: Re: Image in front of Board Title
Post by: Bulakbol on April 23, 2009, 03:26:35 AM
Well, I guess my mod is better then.  :P
Title: Re: Image in front of Board Title
Post by: SoLoGHoST on April 23, 2009, 03:41:24 AM
Looks that way :)
Title: Re: Image in front of Board Title
Post by: onepiece on April 23, 2009, 05:26:27 AM
Yeah. Board name has a very broad use and it really is not a good idea to add HTML to it.
Title: Re: Image in front of Board Title
Post by: forummaker on April 23, 2009, 05:58:06 AM
Quote from: SoLoGHoST on April 23, 2009, 03:07:56 AM
Although there is a problem with this, the Jump To: menu below has the entire html code in it as the board name...lol.  So I'm sure this would be a quick and easy fix...
Sorry, I wouldn't know that because I removed the "Jump to" links from my forum. Other than that.... I haven't noticed any problems.
Title: Re: Image in front of Board Title
Post by: Bulakbol on April 25, 2009, 11:33:24 PM
So my  mod will stay then, for others.  :)