MyBB Community Forums

Full Version: Moved thread icon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey there

i wanna know how to add an icon of my made, to a moved thread or splitted thread, just like the one for locked or popular one.

i just need to know what to change and add

not a help making the img


Regards
In forumdisplay.php, find:
		if($moved[0] == "moved") {
			$prefix = $lang->moved_prefix;
			$thread['tid'] = $moved[1];
			$thread['replies'] = "-";
			$thread['views'] = "-";
			$folder .= "lock";
			$gotounread = "";
		}
Replace the 'lock' in
			$folder .= "lock";
with 'move'.

Then your images would be:
dot_hotmovefolder.gif
dot_movefolder.gif
hotmovefolder.gif
movefolder.gif
wont this replace the locked icon by the blocked ones?
Replace 'lock' with 'move' and it should use the move icons.

I'm not very sure I haven't tested the code.
hey thx for ur replySmile

but lool dennistt u know there is no moved icons so i have to make them, and name them.

i dont know how by changing lock to move, mybb will understand that it should use

dot_hotmovefolder.gif
dot_movefolder.gif
hotmovefolder.gif
movefolder.gif

instead!

and by the way , what would happen to the lock icons and options will it be gone ?
thx again alot Smile
chaw
Quote:not a help making the img

I assumed you do not need help making the images.

        if($moved[0] == "moved") {
            $prefix = $lang->moved_prefix;
            $thread['tid'] = $moved[1];
            $thread['replies'] = "-";
            $thread['views'] = "-";
            $folder .= "lock";
            $gotounread = "";
        }
Currently moved threads use the 'locked' icon, and if you don't want that icon, then change it?
ok hey ! Smile

ummm i need to lock threads, i dont want to loose that option , but i would like to ADD to my icons the moved one , and use it !!

but i really didn't get what u have meant by saying Currently moved threads use the 'locked' icon, umm Confused for the best of my knowledge, when u move a thread from a category to another, i will disapear from the 1st and appear in the sec as normal thread with no custom icon, it use the thread icon
where i'm misunderstanding Confused

many thx
anything regarding my last reply ???SmileBig Grin:$