[Rejected] [MyBB 1.8.16] List of bugs I found for custom themes (And tutorial to fix them)
#1
1. Wrong language code

Bug: "Closed Thread" text is missing next to the icon.
Bug Screenshot:  http://prntscr.com/k3h4iz
Fix Screenshot:  http://prntscr.com/k3h5q2
Fix tutorial:  Go to ACP > Templates & Style > Templates > *Your Theme* Templates > Forum Display Templates > forumdisplay_threadlist

Now find this code 
<dd><span class="thread_status lockfolder" title="{$lang->locked_thread}">&nbsp;</span> {$lang->locked_thread}</dd>
and replace it with this code
<dd><span class="thread_status lockfolder" title="{$lang->locked_thread}">&nbsp;</span> {$lang->closed_thread}</dd>

Explanation: This is happening becouse in forumdisplay_threadlist is written {$lang->locked_thread} and in your language file you don't have locked_thread but closed_thread as you can see on this picture -> http://prntscr.com/k3hef3
How we fixed it: We just replaced second {$lang->locked_thread} code with {$lang->closed_thread} code
TIP: If you can't find this code by pasting it into search bar (CTRL + F) try to search for {$lang->locked_thread} only by pasting it into search bar.

2. Missing forum icons

Bug: Closed forum icons doesn't display
Bug Screenshot: https://prnt.sc/k3h8du
Fix Screenshot: http://prntscr.com/k3hago
Fix tutorial:  Go to ACP > Templates & Style > Themes > *Your Theme* > thread_status.css and click on Edit Stylesheet: Advanced Mode

Now, in the bottom of your .css file add this code


.thread_status.dot_closefolder {
    position:relative;
}

.thread_status.dot_closefolder:before {
	color: #adadad;
	position: absolute;
	background-position: 0 -220px;
	content: "\f023";
	text-shadow: 1px 1px 0px #111;
	font-family: FontAwesome;
	font-size: 16px;
}


Explanation: This is happening becouse when you load page, dot_closefolder class is called, as you can see on this picture -> http://prntscr.com/k3hg4w but, since in your thread_status.css insted of dot_closefolder you have dot_lockfolder as you can see on picture -> http://prntscr.com/k3hhkm icons are not displaying.
What we did here: We are simply copied dot_lockfolder template and pasted at the bottom of our .css file. 
Then we just renamed it into dot_closefolder
iAndrew & NickGHQ - Respect!!
Reply


Messages In This Thread
[MyBB 1.8.16] List of bugs I found for custom themes (And tutorial to fix them) - by GasmoN - 2018-07-06, 10:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)