Deleting columns 'Topics' and 'Messages' for phpbb3
2 posters
Page 1 of 1
Deleting columns 'Topics' and 'Messages' for phpbb3
Is it possible to delete those two columns (topics and messages) on phpbb3?
https://help.forumotion.com/t81777-deleting-columns-topics-and-messages
https://help.forumotion.com/t81777-deleting-columns-topics-and-messages
Re: Deleting columns 'Topics' and 'Messages' for phpbb3
Yes it is
- Code:
$(function(){$('dd.lastpost span strong').prev('br').css('display','none');$('dd.lastpost span strong').css('margin-right','5px')});$(function(){if($('.forabg ul.forums')[0]){$('.hierarchy').next().remove();x=$('.forabg ul.forums dl.icon').get();for(i=0;i<x.length;i++){var topics=x[i].childNodes[1].childNodes[0].nodeValue;var posts=x[i].childNodes[2].childNodes[0].nodeValue;$(x[i]).find('.hierarchy').after('<div class="topicsposts" style="margin-bottom:3px;font-size:1.1em;"><b>'+topics+'</b> Subiecte, <b>'+posts+'</b> Mesaje</div>')}$('.forabg').addClass('index-box');$('.forabg dd.topics').remove();$('.forabg dd.posts').remove()}});
Re: Deleting columns 'Topics' and 'Messages' for phpbb3
CSS
and javascript
Replace the old javascript with that and result :

- Code:
ul.topiclist dd.dterm, ul.topiclist dt {
display: block;
float: left;
font-size: 1.1em;
padding-left: 5px;
padding-right: 5px;
width: 75%;
}
and javascript
- Code:
$(function(){$('dd.lastpost span strong').prev('br').css('display','none');$('dd.lastpost span strong').css('margin-right','5px')});$(function(){if($('.forabg ul.forums')[0]){$('.hierarchy').next().remove();x=$('.forabg ul.forums dl.icon').get();for(i=0;i<x.length;i++){var topics=x[i].childNodes[1].childNodes[0].nodeValue;var posts=x[i].childNodes[2].childNodes[0].nodeValue;$(x[i]).find('.hierarchy').after('<div class="topicsposts" style="margin-bottom:3px;font-size:1.1em;position: relative;top: -16px;left: 500px;"><b>'+topics+'</b> Subiecte, <b>'+posts+'</b> Mesaje</div>')}$('.forabg').addClass('index-box');$('.forabg dd.topics').remove();$('.forabg dd.posts').remove()}});
Replace the old javascript with that and result :

Re: Deleting columns 'Topics' and 'Messages' for phpbb3
Wait wait, another question. How about leave the "Topics and Messages" under the forum title but move the last post column to the right side?

» deleting-columns-topics-and-messages
» Hiding Topics and Messages Column in PHPBB3 / Template
» Deleting columns "Topics" and "messages"
» How to alter width of TOPICS and POSTS columns?
» Split : Deleting columns "Topics" and "Messages"
» Hiding Topics and Messages Column in PHPBB3 / Template
» Deleting columns "Topics" and "messages"
» How to alter width of TOPICS and POSTS columns?
» Split : Deleting columns "Topics" and "Messages"
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum