Not Solved Wrong icon shown in footer
#1
Not Solved
As I see it for the first time I wonder if it's a new item.... The icon for Forum closed is the same as the one for Forum with new post

see     .



The right icon is shown in the forums

see    

Inspection in the browser lead to a bug in the html where it calls the css class.

The class in css is .forum_offclose

   

while in the html the stylecall is set as forum_offlock

   
======
Anton015

Reply
#2
Not Solved
I performed a search in the distribution code for 1.8.27 and 1.8.29 and found references to offclose were identical.
I found no "offlock". What version are you running?

grep -r "offclose"

Upload/jscripts/general.js: if(element.hasClass('forum_off') || element.hasClass('forum_offclose') || element.hasClass('forum_offlink') || element.hasClass('subforum_minioff') || element.hasClass('subforum_minioffclose') || element.hasClass('subforum_miniofflink') || (element.attr("title") && element.attr("title") == lang.no_new_posts)) return;
Upload/install/resources/mybb_theme.xml:.forum_offclose {
Upload/install/resources/mybb_theme.xml:.subforum_minioffclose {
Upload/install/resources/mybb_theme.xml: <dt><span class="forum_status forum_offclose" title="{$lang->forum_closed}"></span></dt>
Upload/inc/functions_forumlist.php: // This forum is closed, so override the folder icon with the "offclose" icon.
Upload/inc/functions_forumlist.php: $folder = "offclose";
Reply
#3
Not Solved
Last update >> 1.18.29
======
Anton015

Reply
#4
Not Solved
Check index template in Index Page Templates.
Reply
#5
Not Solved
Thx, this was the cause!

Was    


Solution
   
======
Anton015

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)