Support Forums

Full Version: Mybb Icon problem.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
This is where it is looking for the image:

{$theme['imgdir']}

Which is:

Images/YourTheme/
(02-06-2011, 01:38 PM)Fragma Wrote: [ -> ]This is where it is looking for the image:

{$theme['imgdir']}

Which is your current themes image directory.

It doesnt enjoy finding the pictures then.
Ok, if I had in my Theme directory the following files:

On.gif
Off.gif
Lock.gif

Assuming the images actually work, I would need to have my index code as:

Code:
<dl class="forum_legend smalltext">
    <dt><img src="{$theme['imgdir']}/On.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <dd>{$lang->new_posts}</dd>

    <dt><img src="{$theme['imgdir']}/Off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <dd>{$lang->no_new_posts}</dd>

    <dt><img src="{$theme['imgdir']}/Lock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
    <dd>{$lang->forum_locked}</dd>
</dl>
I'll paste that in. See if it works.

Doesn't work. :/
(02-06-2011, 01:51 PM)mywhy10 Wrote: [ -> ]I'll paste that in. See if it works.

Doesn't work. :/

You put them wherever you want, but you have to point to the directory where they are located on your own. Otherwise it wouldn't be possible to have more than one theme if you couldn't point to different theme locations or templates.
(02-06-2011, 02:38 PM)Infinity Wrote: [ -> ]You put them wherever you want, but you have to point to the directory where they are located on your own. Otherwise it wouldn't be possible to have more than one theme if you couldn't point to different theme locations or templates.


Its pointing toward images/codergreen

but its not working.
Ive had a guy on Teamviewer for like 30 minutes, neither of us can figure it out.
You have:

{$theme['imgdir']}/on1.png

This would translate to:

http://modcity-forums.tk/images/codergreen/on1.png

Which if you check, doesn't exist.


EDIT:
Looks like you got it working.



I fixed it man. IT was still pointing to the gif, idk why, but I uploaded a newly made gif that worked.
Pages: 1 2