MyBB Community Forums

Full Version: Change the on/off/offlock images
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I change the on/off/offlock images?
I have change the files in the legend but I don't know how to change these images in the forums.
Are you changing the extension or just the content?
Both. I tried this guide:http://community.mybboard.net/thread-59496.html
But I don't have this lines in the general.js:
Find:
    $('mark_read_'+fid).src = $('mark_read_'+fid).src.replace("on.gif", "off.gif");
Replace:
    $('mark_read_'+fid).src = $('mark_read_'+fid).src.replace("on.png", "off.png");

Find:
        if(element.src.match("off.gif") || element.src.match("offlock.gif") || (element.title && element.title == lang.no_new_posts)) return;
Replace:
        if(element.src.match("off.png") || element.src.match("offlock.png") || (element.title && element.title == lang.no_new_posts)) return;
Reupload a new copy, it is in there.
I did it, but I don;t have the lines above to change it..
I just looked in my copy, they're there. What text editor are you using??
Notepad++.
I have edited the files now and uploaded but the icons do not change in the forums...