MyBB Community Forums

Full Version: Different expcolimage in different areas.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hey everyone, I have two questions.

1. Where is the file extension for expcolimage stored?
2. How can I give different expcolimages to different areas, e.g. User CP, thead?
Bump ...
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['usercpmisc']}.gif" id="usercpmisc_img" class="expander" alt="[-]" title="[-]" /></div>

Change it too and add the extra number 2 or whatever you call it too the end of the collapse / collapsed image.

<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['usercpmisc']}2.gif" id="usercpmisc_img" class="expander" alt="[-]" title="[-]" /></div>
ahahaha omg i can't believe i didn't think of that

thanks!
the images are appearing, but when they're clicked they don't refresh. i imagine some javascript needs to be changed
I don't think you can have seperate ones per-area. However the JS is located in general.js, if you want to play around with it. I'm sure you could add an extra variable for your various areas/images.
I found where it is in the Javascript, but I have no clue what I'm doing with it ... can anyone help?
Ill have a go at it if you want.
Would still like to do this ... can't make any sense of the javascript files
Me neither, lol. Might I inquire as to why you would require separate images in different places?
Because on the forum listing they use .thead, mine is blue so the image has a blue border. The User CP uses tcat, which is grey, so it needs a grey border.
Pages: 1 2