MyBB Community Forums

Full Version: Changing collapse.gif & collapse_collapsed.gif
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How would I change the collapse.gif & the collapse_collapsed.gif directory.
It's at Example.com/images/collapse.gif and I want to change it to Example.com/images/MyTheme/collapse.gif. Would anyone help me with this? I'd give me great joy. Heart
It should point to your theme's directory by default. I guess you are using some theme with hardcoded path, which is not using the var {$theme['imgdir']}

Generally you can find it under template forumbit_depth1_cat:

<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}"

You may have to change the path to some more places like UCP, Boardstats, Quick Reply etc.
(2013-03-10, 04:52 AM)effone Wrote: [ -> ]It should point to your theme's directory by default. I guess you are using some theme with hardcoded path, which is not using the var {$theme['imgdir']}

Generally you can find it under template forumbit_depth1_cat:

<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}"

You may have to change the path to some more places like UCP, Boardstats, Quick Reply etc.

So how do we change both the collapse and collapse_collapsed? The expcolimage only changes one of them.
The answer was about changing the directory, not filename.

Don't try to change {$expcolimage}, that is dynamic, you have to change in many places including javascript. Still will have a chance to fail.