MyBB Community Forums

Full Version: amend on.gif, off.gif and offlock.gif
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to amend on, off and offlock.gif and change the format to png as I have a dark background and the current ones have white edges.

where can I change the names of the images displayed? is there a section in the theme and template admin? or do I have to manually change the html? of so what html files should I amend
Open up your 'forumbit_depth2_cat' and 'forumbit_depth2_forum' templates and find:
{$theme['imgdir']}/{$lightbulb['folder']}.gif
And replace it with:
{$theme['imgdir']}/{$lightbulb['folder']}.png

Then open your 'index' template and find these:
{$theme['imgdir']}/on.gif
{$theme['imgdir']}/off.gif
{$theme['imgdir']}/offlock.gif
And just change '.gif' to '.png'

If you have any questions feel free to ask (I'm not good at explaining things sometimes Toungue)
You also need to edit ./jscripts/general.js to make them click on the forum display.

Edit: Wrong J/S file.
editor.js? Isnt that just the editor when you are posting a new topic or reply?
Oops, that should be general.js
Hi Guys

thanx for that info, I've amended the forum_bit and index templates.

is it possiable to edit the .js file(s) from the admin section or do I need to do this 'off-lline'?

I've had a look at the.js files and I can't see on.gif, off.gif or offlock.gif? have I missed something (again) Big Grin
There's no way to edit these files form the ACP.

You should find them if you search for just '.gif'...
Thank you I will try this nowSmile