vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Home Enhancements - United-Forum - Cleaner thread/post column (https://vborg.vbsupport.ru/showthread.php?t=271784)

Mooff 10-09-2011 10:00 PM

United-Forum - Cleaner thread/post column
 
1 Attachment(s)
Just a small edit to make the FORUMHOME and FORUMDISPLAY a bit easier on the eye and cleaner (in my opinion).

demo on our live board > 2.000.000 posts

What it does:
Removing the colon between number and name and switching the order, changeing
Posts: 22,345
into
22,345 Posts

Idea behind it: In the default styling it's uneasy on the eye because the positioning is restless. The words "Post, Threads, Views and Replies" jump around each line depending on how many are in that particular forum.

Templates you need to edit in the codebox:
Code:

forumhome_forumbit_level2_post
                old
                <ul class="forumstats td">
                        <li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
                        <li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
                </ul>

                new
                <ul class="forumstats td">
                        <li><b>{vb:raw forum.threadcount}</b> {vb:rawphrase threads}</li>
                        <li><b>{vb:raw forum.replycount}</b> {vb:rawphrase posts}</li>
                </ul>
               
threadbit               
                old
                <ul class="threadstats td alt" title="<vb:if condition="$thread['dot_count'] > 0">{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}</vb:if>">
                        <li>{vb:rawphrase replies}: <a href="misc.php?do=whoposted&amp;t={vb:raw thread.threadid}" onclick="who({vb:raw thread.threadid}); return false;" class="understate">{vb:raw thread.replycount}</a></li>
                        <li>{vb:rawphrase views}: {vb:raw thread.views}</li>
                        <li class="hidden">{vb:rawphrase rating}{vb:raw thread.rating} / 5</li>
                </ul>       
               
                new
                <ul class="threadstats td alt" title="<vb:if condition="$thread['dot_count'] > 0">{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}</vb:if>">
                        <li><a href="misc.php?do=whoposted&amp;t={vb:raw thread.threadid}" onclick="who({vb:raw thread.threadid}); return false;" class="understate">{vb:raw thread.replycount}</a> {vb:rawphrase replies}</li>
                        <li>{vb:raw thread.views} {vb:rawphrase views}</li>
                        <li class="hidden">{vb:rawphrase rating}{vb:raw thread.rating} / 5</li>
                </ul>


Enjoy, Mooff.


P.S.: Not supported cause there literaly is nothing to support here.


All times are GMT. The time now is 01:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01486 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete