MyBB Community Forums

Full Version: Top Link Row problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have added the rules mod and the problem is, it is not showing the image beside Rule this what I have put....
<li><a href="{$mybb->settings['bburl']}/misc.php?action=rules"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/rules.gif" alt="" />Rules</a></li>

and this is my forum link http://www.gxcom.org/forums/index.php
I get a 404 error when visiting the src of the image: http://www.gxcom.org/forums/images/GECma.../rules.gif

Upload the image there and it will work, or change the url it points to.
Because GECmain shouldn't be in there. Get rid of that, and the image shows up. Why is it part of the path???

http://www.gxcom.org/forums/images/toplinks/rules.gif
So how do I put the code?

It did not work like this either ...

<li><a href="{$mybb->settings['bburl']}/misc.php?action=rules"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/forums/images/toplinks/rules.gif" alt="" />Rules</a></li>
In that instance you need to leave off {$theme['imgdir']} and possibly /forums, if that is part of your forum url.

If GECmain is your theme, then you need to upload that image to the toplinks directory in that folder.
Oh yeah...... Thanks "judel" Big Grin