MyBB Community Forums

Full Version: Search, Member List, Calendar, All Icons Missing From Forum Home Page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Here's the forum page.

http://www.mostwondrous.com/forum/index.php

Been working on it all morning and do not know what happened to cause the icons to disappear. Any help greatly appreciated.

EDIT: Looks like the footer has been messed up as well.

SOLVED: I never found out why the header and footer were messed up but when I created a new theme based upon the MYBB Master Style all of my new gifs and color changes were implemented again and the display returned to normal.

Hope this helps someone else even though I have no idea what caused the original problem.

Here's what the bad header/footers looked like before creating a new theme.

[Image: Forum_Glitch_7.png]

[Image: Forum_Glitch_8.png]
You must have removed the image code from the template because I'm not seeing it in the HTML:

[Image: lWmah.png]
Thanks for the reply. I'll trust that the image code has been removed as you suggest but how would I have done that? Wouldn't I have had to remove it intentionally? And how would I put it back?

Of course my confusion is based on doing nothing in regards to the image code your referring to. Is there a way to disable that by just normal editing through the gui?
(2011-09-18, 05:58 PM)LHawes Wrote: [ -> ]Thanks for the reply. I'll trust that the image code has been removed as you suggest but how would I have done that? Wouldn't I have had to remove it intentionally? And how would I put it back?

Of course my confusion is based on doing nothing in regards to the image code your referring to. Is there a way to disable that by just normal editing through the gui?
You would have had to remove the <img /> tags in the header template. Here's the code from the default theme:

				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
				</ul>
Thanks again Steve for your reply but my confusion remains as I did no such thing, I wouldn't even know how to do such a thing. I'm a newbie with MYBB but know a little css and didn't go anywhere near the header template as I don't even know how to get to it.

So let's say you worked hours and hours on a template as I have done and then when loading the home page you find the icons missing, as we can see here, what would you do to repair it?

How do I get to the header template to review its content?

Again thanks very much for the rely.
I'd just edit them back in. In your ACP go to Templates & Style -> Templates (sidebar) -> Choose the theme's templates -> Expand "Header Templates" -> Choose "header". You can edit back in the images as seen in my post above.
Steve,

Thanks Steve. Here's my current header template file with nothing that resembles the code you posted. Perhaps that confirms that the image codes are missing? And where would the code go within the header template? And how did the code get removed? Weird.

Oh yeah and the footing is messed up as well and I for sure didn't edit that template file either.

[Image: Forum_Glitch_5.png]

<div id="container">
<a name="top" id="top"></a>
<div id="header">
<div id="logo">
<div class="wrapper">
<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
</div>
</div>
<div id="panel">
<div class="upper"><!-- This div(class="upper") is closed in the header_welcomeblock_member and header_welcomeblock_guest templates -->
<div class="wrapper">
<ul class="menu top_links">
<li><a href="{$mybb->settings['bburl']}/search.php" class="search">{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php" class="memberlist">{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php" class="calendar">{$lang->toplinks_calendar}</a></li>
</ul>
{$welcomeblock}
</div>
</div>
<div id="content">
<div class="wrapper">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
<navigation>
<br />
See the ul list near the end? That's the menu code, and the list items are indeed missing the image code. Here's what the template should be:

<div id="container">
    <a name="top" id="top"></a>
    <div id="header">
        <div id="logo">
            <div class="wrapper">
                <a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
            </div>
        </div>
        <div id="panel">
            <div class="upper">
                <div class="wrapper">
                    <ul class="menu top_links">
                        <li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
                        <li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
                        <li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
                    </ul>
                    {$welcomeblock}
                </div>
            </div>
            <div id="content">
            <div class="wrapper">
            {$pm_notice}
            {$bannedwarning}
            {$bbclosedwarning}
            {$unreadreports}
            {$pending_joinrequests}
            <navigation>
            <br />
            

You should also resize the image in your post.
Thanks Steve,

I've done the editing as you suggested and the icons have returned - but - they are in the wrong location and the rest of the header hasn't been affected - still looks bad.

Footer still messed up.

Pretty much losing it here with all the changes that have occurred with no input on my part and wondering if MYBB is for me. So far not a good experience with even the MYBB default theme that quit working within an hour and had to load a new theme to get it working - at all. Now this? Have spent many hours wasted and now, what? Not sure where to go from here.

Here's the link again.

http://www.mostwondrous.com/forum/index.php
(2011-09-18, 07:40 PM)LHawes Wrote: [ -> ]Thanks Steve,

I've done the editing as you suggested and the icons have returned - but - they are in the wrong location and the rest of the header hasn't been affected - still looks bad.

Footer still messed up.

Pretty much losing it here with all the changes that have occurred with no input on my part and wondering if MYBB is for me. So far not a good experience with even the MYBB default theme that quit working within an hour and had to load a new theme to get it working - at all. Now this? Have spent many hours wasted and now, what? Not sure where to go from here.

Here's the link again.

http://www.mostwondrous.com/forum/index.php
Your forum looks fine to me. What is wrong?

It could just be luck of the draw that you got a bad install or messed up somehow. I'd recommend reinstalling a fresh copy of MyBB. That should fix your problems.
Pages: 1 2