The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Deleting columns 'Topics' and 'Messages' for phpbb3

2 posters

Go down

Deleting columns 'Topics' and 'Messages' for phpbb3 Empty Deleting columns 'Topics' and 'Messages' for phpbb3

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

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

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

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

http://animeph.4umer.com/

Back to top Go down

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

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

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

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

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

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

Deleting columns 'Topics' and 'Messages' for phpbb3 Moveew10
JAN2XONLINE
JAN2XONLINE
Forumember

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

http://animeph.4umer.com/

Back to top Go down

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

Post by levy 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 :

Deleting columns 'Topics' and 'Messages' for phpbb3 JerMJMu
levy
levy
Hyperactive

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

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

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

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

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

http://animeph.4umer.com/

Back to top Go down

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

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

Anytime.
levy
levy
Hyperactive

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

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

Post by JAN2XONLINE 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?
JAN2XONLINE
JAN2XONLINE
Forumember

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

http://animeph.4umer.com/

Back to top Go down

Back to top

- Similar topics

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