MyBB Community Forums
Forum name Problem with images - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Forum name Problem with images (/thread-174064.html)



Forum name Problem with images - Exede - 2015-08-06

Hi all,

im a COMPLETE noob at mybb i just installed it yesterday. Im an artist not a programmer ^^

So my problem is that i use an image instead of text in my forum tiltes, it works well here

http://tf-united.com/forum/

but looks wrong here becouse of the writing in front of the picture

http://tf-united.com/forum/forumdisplay.php?fid=1

I have absolutly no idea how to fix this and how to get rid of the "Forums in '" beside this it would be uber to have the picture in the bread thingy as text, is this possible?

Sorry im a real noob


RE: Forum name Problem with images - eNvy - 2015-08-06

Where you put the image? I need to know where is the code of your current image on the category


RE: Forum name Problem with images - Exede - 2015-08-06

i added this in edit forum ->title <img src="/forum/images/mypicture" alt="" />


RE: Forum name Problem with images - eNvy - 2015-08-06

ok in the same tag, inside, put this:

style="vertical-align: middle;"

Also, you need to shorten the image, because is too long.

----------

To remove the words "Forums in"

ACP > Templates & Styles > Templates > Your theme templates > Forum Display Templates > open forumdisplay_subforums template

Inside, search this:

<td class="thead" colspan="5" align="center"><strong>{$lang->sub_forums_in}</strong></td>

Remove this:

<strong>{$lang->sub_forums_in}</strong>

Save the changes and see if that is what you're looking for.


RE: Forum name Problem with images - Exede - 2015-08-07

Hmmm i did what you suggested but the code just wrote the stuff behind the picture hmmm and to remove the other bit of code killed the hole stuff into the bar, ive made a screenshot to show you. Thx for you patiance and time

ignore the typo lol


RE: Forum name Problem with images - mmadhankumar - 2015-08-07

to remove the "Forums in" thing goto ACP >> Configuration >> languages >> English >> Edit Variables >> forumdisplay.php >> sub_forums_in >> change it as {1}

also remove those "style="vertical-align: middle;"" thing from the templates which you added in the img tag... it may not be needed..

and open ACP >> Themes >> Your theme >> global.css and add

span.active img, a.navbit img {
    height: 30px;
    vertical-align: middle;
}
save everything and Hard refresh (Ctrl+F5) the page to see the changes...


RE: Forum name Problem with images - Exede - 2015-08-07

Wheeeee this worked PRETTY nice! Is there a way to have the breadcrump (is this correct?) where it says United Forum -> Image // without the image at all?

The rest worked like a charm

One more thing the image in the breadcrump is jumping again when i click on *my forum*


RE: Forum name Problem with images - mmadhankumar - 2015-08-08

(2015-08-07, 11:31 AM)Exede Wrote: One more thing the image in the breadcrump is jumping again when i click on *my forum*

there was a small correction in the css code i provided.. please check above post and change accordingly.. basically change "span.navbit img" to "a.navbit img"...


RE: Forum name Problem with images - Exede - 2015-08-08

Thank you, this solved my problem!