MyBB Community Forums

Full Version: Images missing after update
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Alright, ignore my previous thread. That problem still persists, but if I can fix this issue, I won't really care about the other one.

Anyway, I used to run 1.6.12, and recently upgraded to 1.8.5. After the upgrade finished, I noticed an issue with some of the images on the forum.

The first issue is the read/unread icons next to each forum. They're missing. I can't find any reference to images in the code either. The images themselves do exist on the server, since they do show up in the thread list when you go into any of the forums.

The second issue is, again, to do with images. Within a thread, the buttons underneath each post are only in text form. They still work, but the images are missing.

Causes and solutions?

EDIT: Extra info:

Regarding the image buttons under the posts, I've tried searching for the relevant CSS in global.css and showthread.css. I cannot find postbit_pm, postbit_website, or any of the other postbit_ classes in either.

HTML regarding the table cell for the read/unread posts issue on the index page is shown below:

<td class="trow1" width="1" align="center">

    <span id="mark_read_2" class="forum_status forum_off ajax_mark_read" title="Forum Contains No New Posts"></span>

</td>

None of the span's classes or id exist in global.css, css3.css, or thread_status.css. The legend has the same issue in that the one on the index page (but not the thread view of any forum) is missing images. Code below:

<dt>

    <span class="forum_status forum_on" title="Forum Contains New Posts"></span>

</dt>
Make sure the images directory is right by going to:

Admin CP --> Templates & Style --> Theme --> * Your Theme * --> and keep going down until you see "Image Directory" and set it to "images/Your Theme Image Directory"
Already is. This did not change with the update.
which theme you are using ? can we have your forum url ..
upgrading guidance Wrote:Visit your Admin Control Panel, then go to Templates & Style > Templates > Find Updated Templates.
This will show you a list of all the templates that have changed during the upgrade.

You can either revert these templates to their default - meaning all the changes you've made to it will be removed - or you can see a Diff Report which will show you exactly what's changed. If you have a custom theme installed, it is probably best that you look at the Diff Report and apply the changes you need.

or it would be better to install & use a theme fully compatible with MyBB 1.8.x
http://community.mybb.com/mods.php?actio...ory=themes
The theme was originally designed for 1.6 (a modified version of the Apart1 theme). I've been trying to get a new 1.8 compatible theme installed and modified to suit the colour scheme I've been using, but this has been a time consuming endeavour. If I can just get the images fixed, everything would work just fine.

I should just be able to copy the basic code required for this and insert it into the appropriate areas for the templates and theme CSS, no?
What is your forum url? It could be as simple as the images are referring to gifs instead of png.
Fixed the index page. Update must have change the template code or something. See below in the forumbit_depth2_forum template:

<td class="{$bgcolor}" align="center" valign="middle" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.png" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<!--
<td class="{$bgcolor}" align="center" width="1"><span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"></span></td>
-->

Commented-out section was the code that was giving issues. Downloaded a random theme and took the code from its templates. Back to normal.

Will continue doing this method for the rest of the issues. Sorry for no forum URL. It's currently down, so no point.