MyBB Community Forums

Full Version: Closed thread icon not showing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!

I'm using the latest version of MyBB with Dark1.8 custom theme.

Since i have updated to the latest version,when i close a thread,i am not seeing the closed thread icon but the some another icon,like the following screenshot.

[attachment=40648]

All those threads are closed but the icon is not displayed.

After the update,i had to follow this tutorial to make "locked thread" text visibile next to the locked icon.

https://community.mybb.com/thread-218506.html

So,as you can see, the text is now there but when i close the thread,icon isn't displayed correctly.

Please help me.

The next thing,i would like to ask if there is an option to upload custom icon to use as closed thread icon?

In the past,i used a custom icon as "new posts" ,as you can see in the screenshot,i tried the same way to change the locked thread option but it didn't work.

Here is my thread_css template:


.thread_status {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url(images/folders_sprite.png);
	background-repeat: no-repeat;
}

.thread_status.dot_folder {
	background-position: 0 0;
}

.thread_status.dot_hotfolder {
	background-position: 0 -20px;
}

.thread_status.dot_hotlockfolder {
	background-position: 0 -40px;
}

.thread_status.dot_lockfolder {
	background-position: 0 -60px;
}

.thread_status.dot_newfolder {
background-image: url(images/new.png);
}

.thread_status.dot_newhotfolder {
	background-position: 0 -100px;
}

.thread_status.dot_newhotlockfolder {
	background-position: 0 -120px;
}

.thread_status.dot_newlockfolder {
	background-position: 0 -140px;
}

.thread_status.folder {
	background-position: 0 -160px;
}

.thread_status.hotfolder {
	background-position: 0 -180px;
}

.thread_status.hotlockfolder {
	background-position: 0 -200px;
}

.thread_status.lockfolder {
	background-position: 0 -220px;
}

.thread_status.movefolder {
	background-position: 0 -240px;
}

.thread_status.newfolder {
	background-image: url(images/new.png);
}

.thread_status.newhotfolder {
	background-position: 0 -280px;
}

.thread_status.newhotlockfolder {
	background-position: 0 -300px;
}

.thread_status.newlockfolder {
	background-position: 0 -320px;
}



Thankyou
Plese help..i am not able to solve this alone.
You've actually included the problem in your post. In your thread_css, change any mention of lock to close.
Hi!

I tried as you suggested with the following in my thread_status.css template but it still doesn't work.


.thread_status {
display: inline-block;
width: 16px;
height: 16px;
background-image: url(images/folders_sprite.png);
background-repeat: no-repeat;
}

.thread_status.dot_folder {
background-position: 0 0;
}

.thread_status.dot_hotfolder {
background-position: 0 -20px;
}

.thread_status.dot_hotclosefolder {
background-position: 0 -40px;
}

.thread_status.dot_closefolder {
background-position: 0 -60px;
}

.thread_status.dot_newfolder {
background-image: url(images/new.png);
}

.thread_status.dot_newhotfolder {
background-position: 0 -100px;
}

.thread_status.dot_newhotclosefolder {
background-position: 0 -120px;
}

.thread_status.dot_newclosefolder {
background-position: 0 -140px;
}

.thread_status.folder {
background-position: 0 -160px;
}

.thread_status.hotfolder {
background-position: 0 -180px;
}

.thread_status.hotclosefolder {
background-position: 0 -200px;
}

.thread_status.closefolder {
background-position: 0 -220px;
}

.thread_status.movefolder {
background-position: 0 -240px;
}

.thread_status.newfolder {
background-image: url(images/new.png);
}

.thread_status.newhotfolder {
background-position: 0 -280px;
}

.thread_status.newhotclosefolder {
background-position: 0 -300px;
}

.thread_status.newclosefolder {
background-position: 0 -320px;
}



When i pass with the mouse cursor over the icon,it says:

Contains posts by you. No new posts. Closed thread.

The icon is still same as before.

Thanks for your help.

Edit: I rechecked my forum and the close icon is working again with the above modified template.May be it took more time than expected to update the icons,even after hard refreshing and reloading cache many times.

Thanks for your help.

Regards.

The problem came back ,please check the screenshot.

[attachment=40665]


Now i'm able to see the icon where the thread is closed but not on the bottom of the page.

Please help me.


Regards.
Problem solved after replacing the following code in the forumdisplay_threadlist.

From

<dd><span class="thread_status lockfolder" title="{$lang->locked_thread}">&nbsp;</span> {$lang->locked_thread}</dd>


To



<dd><span class="thread_status closefolder" title="{$lang->closed_thread}">&nbsp;</span> {$lang->closed_thread}</dd>



In this thread it was suggested only to replace only the
{$lang->locked_thread}

to

{$lang->closed_thread}


It didn't work for me.You need to replace the whole code i.e. every lock to close and every locked to closed.

Regards.
(2018-08-05, 04:12 PM)kbilly Wrote: [ -> ]Problem solved after replacing the following code in the forumdisplay_threadlist.

From

<dd><span class="thread_status lockfolder" title="{$lang->locked_thread}">&nbsp;</span> {$lang->locked_thread}</dd>


To



<dd><span class="thread_status closefolder" title="{$lang->closed_thread}">&nbsp;</span> {$lang->closed_thread}</dd>



In this thread it was suggested only to replace only the
{$lang->locked_thread}

to

{$lang->closed_thread}


It didn't work for me.You need to replace the whole code i.e. every lock to close and every locked to closed.

Regards.

Please, use a better-colored font. 

I can barely read the light blue colored font because of not enough contrast against the white background.