MyBB Community Forums

Full Version: Image "nav_bit.gif" Broken
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

At the moment I'm using zaher's guide for including custom pages in myBB. Currently I'm having no problems, except in trying to make a new page in a new directory.

The problem is that when using the workaround to create a new page inside a newly created directory - that is, using
require require "../global.php";
instead of "./global.php", my nav_bit.gif breaks.

The broken nav_bit:
http://img87.imageshack.us/img87/6691/brokennavbit.png

You can see a fixed, normal version here:
http://img690.imageshack.us/img690/6254/navbitgif.png

I am currently running 1.4.13.

Finally, the page in question is here:
http://strikeraxis.com/database/shredder.php

Any thoughts on how to fix this? Thank you.
It's trying to load http://strikeraxis.com/database/images/nav_bit.gif but the image is at http://strikeraxis.com/images/nav_bit.gif, it's a relative URL:

<img src="images/theme/nav_bit.gif" alt="" />

It's looking from within the database folder. You'll need to put the image in a folder called images in the database folder.
You are a saint, thank you for the exceptionally fast response. All understood, so I suppose this can be locked.
We generally don't lock threads in case anybody else has a similar issue Smile Glad it's sorted.