Jump to the post that solved this thread.
Solved: 2 Years, 10 Months, 1 Week ago Closed thread icon not showing
#1
Solved: 2 Years, 10 Months, 1 Week ago
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.

   

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
Reply
#2
Solved: 2 Years, 10 Months, 1 Week ago
Plese help..i am not able to solve this alone.
Reply
#3
Solved: 2 Years, 10 Months, 1 Week ago
You've actually included the problem in your post. In your thread_css, change any mention of lock to close.
Plugin Count: I lost count.
Public Plugins are available here.
Official GitHub.
Please do not PM me for support unless asked to.
Reply
#4
Solved: 2 Years, 10 Months, 1 Week ago
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.

   


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.
Reply
#5
Solved: 2 Years, 10 Months, 1 Week ago
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.
Reply
#6
Solved: 2 Years, 10 Months, 1 Week ago
(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.
I'm Serpius and You're Not    ¯\_(ツ)_/¯
Deaf Golf
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)