Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 2 Months ago Lock Icon not Appearing
#1
Solved: 2 Months ago
Hello,
So I'm using this theme and it appears that the locked icon is not appearing for threads or forums. Does anyone know how to fix this?
Thank you
Reply
#2
Solved: 2 Months ago
Hi,

answer is here:
https://community.mybb.com/thread-218506.html
Reply
#3
Solved: 2 Months ago
Didn't work.
Reply
#4
Solved: 2 Months ago
reload your page with STRG-F5 or clear browser cache
Reply
#5
Solved: 2 Months ago
Already tried that.
Reply
#6
Solved: 2 Months ago
Try this yet?

In global.css find:

.forum_off, .forum_offlock, .forum_offlink {
color: #666;
}
.forum_offlock i:before {
content: "\f023";
}
.subforum_minioff, .subforum_miniofflock, .subforum_miniofflink {
	color: #666;	
}
.subforum_miniofflock i:before {
content: "\f023";
}


Replace with:
.forum_off, .forum_offclose, .forum_offlink {
color: #666;
}
.forum_offclose i:before {
content: "\f023";
}
.subforum_minioff, .subforum_minioffclose, .subforum_miniofflink {
	color: #666;	
}
.subforum_minioffclose i:before {
content: "\f023";
}

In index find:

<dt><div class="forum_status forum_offlock"><i class="fa fafolder"></i></div></dt>
<dd>{$lang->forum_locked}</dd>

Replace with:

<dt><div class="forum_status forum_offclose"><i class="fa fafolder"></i></div></dt>
<dd>{$lang->forum_closed}</dd>

Replace thread_staus.css with:

.thread_status:before {
    font-family: "FontAwesome";
    font-size: 16px;
}
.thread_status.dot_folder:before {
    color: #a0a0a0;
    content: "\f075"
}
.thread_status.dot_hotfolder:before {
    color: #a0a0a0;
    content: "\f06d"
}
.thread_status.dot_hotclosefolder:before {
    color: #a0a0a0;
    content: "\f06d"
}
.thread_status.dot_closefolder:before {
    color: #a0a0a0;
    content: "\f023"
}
.thread_status.dot_newfolder:before {
    color: #0066a2;
    content: "\f15c"
}
.thread_status.dot_newhotfolder:before {
    color: #0066a2;
    content: "\f06d"
}
.thread_status.dot_newhotclosefolder:before {
    color: #0066a2;
    content: "\f06d"
}
.thread_status.dot_newclosefolder:before {
    color: #0066a2;
    content: "\f023"
}
.thread_status.folder:before {
    color: #a0a0a0;
    content: "\f075"
}
.thread_status.hotfolder:before {
    color: #a0a0a0;
    content: "\f06d"
}
.thread_status.hotclosefolder:before {
    color: #a0a0a0;
    content: "\f06d"
}
.thread_status.closefolder:before {
    color: #a0a0a0;
    content: "\f023"
}
.thread_status.newfolder:before {
    color: #0066a2;
    content: "\f075";
}
.thread_status.newhotfolder:before {
    color: #0066a2;
    content: "\f06d";
}
.thread_status.newhotclosefolder:before {
    color: #0066a2;
    content: "\f06d"
}
.thread_status.newclosefolder:before {
    color: #0066a2;
    content: "\f023"
}


* I did not have time to look further at the theme as my time is limited and I am currently on a mobile device, nor did I focus on any other areas of an 1810 theme to get it updated to 1819 but the previous instructions should get you started/going on solving the question you asked
MyBB Themes Team - Making more professional themes by the hour. (Retired)
My Mods | Offer me a coffee!
Reply
#7
Solved: 2 Months ago
Would this include the lock icon for the forums too or only the threads?
Reply
#8
Solved: 2 Months ago
(09-17-2018, 01:03 AM)Darkblizzard Wrote: Would this include the lock icon for the forums too or only the threads?

Should cover current styling for forum lock/close, sub forum mini lock/close and thread lock/close
MyBB Themes Team - Making more professional themes by the hour. (Retired)
My Mods | Offer me a coffee!
Reply
#9
Solved: 2 Months ago
It worked, thank you!
Reply
#10
Solved: 2 Months ago
(09-17-2018, 03:29 AM)Darkblizzard Wrote: It worked, thank you!

Cool beans. No worries. Glad you got it sorted out. Oh, by the way, fyi..., your theme thread_status is missing the movefolder icon..., that should be added.

Example:



.thread_status {
    display: inline-block;
}

.thread_status.movefolder:before {
    font-family: FontAwesome;
    font-size: 10px;
    color: #FFD700;
    content: "\f111";
    position: absolute;
    z-index: 1;
}

.thread_status.movefolder:after {
    font-family: FontAwesome;
    font-size: 16px;
    color: #fff;
    content: "\f15c";
    position: relative;
    z-index: 0;
    background-color: #333;
    border: #333 1px solid;
}
MyBB Themes Team - Making more professional themes by the hour. (Retired)
My Mods | Offer me a coffee!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)