Welcome Guest [Log In] [Register]
Welcome to Andzz. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Viewers, Topics, Replies Columns; Official
Topic Started: Mar 31 2013, 07:36 PM (143 Views)
Andzz
Administrator
Code Name: Viewers, Topics, Replies Columns

Description: On the main index page, the boxes for viewers, topics, and replies will be placed in columns next to the forum name and last post information, rather then underneath the last post information.

Preview: http://w11.zetaboards.com/Andzz/index/

Installation: Place Below the Board or Above the Copyright

Code:
 
<script type="text/javascript">
// Viewers, Topics, Replies Columns
// Andzz, http://w11.zetaboards.com/Andzz/index/

$("tr.c_info").each(function(){
$(this).html($(this).html().replace("viewers","").replace("viewer","").replace("Topics:","").replace("Replies:",""));
$(this).prev().children().attr("rowspan",1).parent().children("td.c_forum").after(this.innerHTML);
$(this).remove();
});
$("#trash").children("td.c_info-t").attr("colspan","1").before('<td class="c_info-v">0</td>');
$("table.forums:not(:last):not(#shoutwrap) tbody").each(function(){
$(this).children("tr:first").before("<tr><th> </th><th>Forum</th><th>Viewers</th><th>Topics</th><th>Replies</th><th>Last Post</th></tr>");
});
$("#subforum_set tbody").children("tr:first").before("<tr><th> </th><th>Forum</th><th colspan='2'>Topics</th><th>Replies</th><th>Last Post</th></tr>");

$("table.forums td.c_foot, td.c_subforum").attr("colspan","6");
$("td.c_last").attr("colspan","4");
</script>
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes/Modifications · Next Topic »
Add Reply