The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Deleting columns 'Topics' and 'Messages' for phpbb3

View previous topic View next topic Go down

Deleting columns 'Topics' and 'Messages' for phpbb3

Post by JAN2XONLINE on February 24th 2013, 10:38 am

Is it possible to delete those two columns (topics and messages) on phpbb3?

http://help.forumotion.com/t81777-deleting-columns-topics-and-messages
avatar
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Re: Deleting columns 'Topics' and 'Messages' for phpbb3

Post by levy on February 24th 2013, 10:45 am

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()}});
avatar
levy
Hyperactive

Male Posts : 2585
Reputation : 346
Language : Romanian, English
Location : criticize artwork, not people!

http://help.forumotion.com/

Back to top Go down

Re: Deleting columns 'Topics' and 'Messages' for phpbb3

Post by JAN2XONLINE on February 24th 2013, 11:06 am

Works! But how do I move it a little more to the right side?

avatar
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Re: Deleting columns 'Topics' and 'Messages' for phpbb3

Post by levy on February 24th 2013, 11:10 am

CSS

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 :

avatar
levy
Hyperactive

Male Posts : 2585
Reputation : 346
Language : Romanian, English
Location : criticize artwork, not people!

http://help.forumotion.com/

Back to top Go down

Re: Deleting columns 'Topics' and 'Messages' for phpbb3

Post by JAN2XONLINE on February 24th 2013, 11:17 am

Thanks! All good now. Very Happy Solved!
avatar
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Re: Deleting columns 'Topics' and 'Messages' for phpbb3

Post by levy on February 24th 2013, 11:22 am

Anytime.
avatar
levy
Hyperactive

Male Posts : 2585
Reputation : 346
Language : Romanian, English
Location : criticize artwork, not people!

http://help.forumotion.com/

Back to top Go down

Re: Deleting columns 'Topics' and 'Messages' for phpbb3

Post by JAN2XONLINE on February 24th 2013, 11:23 am

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?
avatar
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum