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 Display Enhancements - Split replies/views like vb3 (https://vborg.vbsupport.ru/showthread.php?t=299531)

peugeot405 08-05-2013 03:00 PM

Quote:

Originally Posted by stevieb (Post 2437346)
So I need to do all this then, yea?

Code:

Description:
This mod splits replies/views on threadbit like on a vb3 forum v1.3 Without borders

Update Instructions:

Step 1:
Open template additional.css

Find the following:
Code:

.threadlisthead span.threadlastpost {
    padding-left: 2%;
    text-align: left;
    width: 32%;
}

Replace with:
Code:

.threadlisthead span.threadlastpost {
    padding-left: 0;
    text-align: left;
    width: 33%;
}

Find the following:
Code:

.threadbit .threadlastpost {
    clear: right;
    display: block;
    float: left;
    width: 32%;
}

Replace with:
Code:

.threadbit .threadlastpost {
    clear: right;
    display: block;
    float: left;
    padding: 0.5% 0 0;
    width: 33%;
}

Find the following:
Code:

.threadbit .threadstats {
    height: 21px;
    margin-top: 17px;
    text-align: center;
    width: 7%;
}

Replace With:
code

.threadbit .threadstats {
    height: 29px;
    padding: 1.2% 0 0;
    text-align: center;
    width: 7%;
}
Done!


that's for threadbit, not for forum home.

stevieb 08-05-2013 03:01 PM

Quote:

Originally Posted by peugeot405 (Post 2437350)
that's for threadbit, not for forum home.

how do I add just the new bit of the search view that you did please :)

peugeot405 08-05-2013 03:04 PM

Open template search_threadbit

Find following:

Code:

                <!-- threadstats -->
                <vb:if condition="!$show['notificationtype'] && !$thread['del_username']">
                <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 class="understate" href="misc.php?do=whoposted&amp;t={vb:raw thread.threadid}" onclick="who({vb:raw thread.threadid}); return false;">{vb:raw thread.replycount}</a></li>
                        <li>{vb:rawphrase views}: {vb:raw thread.views}</li>
                </ul>
                </vb:if>

Replace with:

Code:

                <!-- threadstats -->
                <vb:if condition="!$show['notificationtype'] && !$thread['del_username']">
                <dl class="threadstats td alt2" 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>">
                        <td>{vb:rawphrase replies}:</td> <dd><a class="understate" href="misc.php?do=whoposted&amp;t={vb:raw thread.threadid}" onclick="who({vb:raw thread.threadid}); return false;">{vb:raw thread.replycount}</a></dd>
</dl>
<dl class="threadstats td alt2" 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>">
                        <td>{vb:rawphrase views}:</td> <dd>{vb:raw thread.views}</dd>
                </dl>
                </vb:if>

Open template additional.css

Add following:

Code:

.threadstats.td.alt2 {
    height: 38px;
    padding-top: 9px;
}

.threadinfo.thread {
    width: 45%;
}


stevieb 08-05-2013 03:17 PM

1 Attachment(s)
Quote:

Originally Posted by peugeot405 (Post 2437353)
Open template search_threadbit

Find following:

Code:

                <!-- threadstats -->
                <vb:if condition="!$show['notificationtype'] && !$thread['del_username']">
                <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 class="understate" href="misc.php?do=whoposted&amp;t={vb:raw thread.threadid}" onclick="who({vb:raw thread.threadid}); return false;">{vb:raw thread.replycount}</a></li>
                        <li>{vb:rawphrase views}: {vb:raw thread.views}</li>
                </ul>
                </vb:if>

Replace with:

Code:

                <!-- threadstats -->
                <vb:if condition="!$show['notificationtype'] && !$thread['del_username']">
                <dl class="threadstats td alt2" 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>">
                        <td>{vb:rawphrase replies}:</td> <dd><a class="understate" href="misc.php?do=whoposted&amp;t={vb:raw thread.threadid}" onclick="who({vb:raw thread.threadid}); return false;">{vb:raw thread.replycount}</a></dd>
</dl>
<dl class="threadstats td alt2" 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>">
                        <td>{vb:rawphrase views}:</td> <dd>{vb:raw thread.views}</dd>
                </dl>
                </vb:if>

Open template additional.css

Add following:

Code:

.threadstats.td.alt2 {
    height: 38px;
    padding-top: 9px;
}

.threadinfo.thread {
    width: 45%;
}


thanks - there is an issue with stickies though..... the forum name drops to the bottom.... see it :)

Attachment 145956

Also the forum name column is too short - it's squashed....

peugeot405 08-05-2013 03:22 PM

change following:

Code:

.threadinfo.thread {
    width: 50%;
}

with:

Code:

.threadinfo.thread {
    width: 40%;
}


stevieb 08-05-2013 03:23 PM

it never was 50% mate - it was 45%....

see above #74 lol

But well done, fixed :)

stevieb 08-05-2013 03:25 PM

any chance we can remove the shading from the forum field / tick box in the search todays post..?

peugeot405 08-05-2013 03:31 PM

Quote:

Originally Posted by stevieb (Post 2437358)
any chance we can remove the shading from the forum field / tick box in the search todays post..?

can you post a screenshot to see exacly what you want to change, and I look in to it tonight.
never mind, figured it out :)

Code:

.threadbit .threadpostedin {
    background: none repeat scroll 0 0 transparent;
    font-size: 12px;
    height: 29.52px;
    max-width: 19.9%;
    padding: 8.74px 0;
    width: 8888px;
}


stevieb 08-05-2013 03:57 PM

1 Attachment(s)
Quote:

Originally Posted by peugeot405 (Post 2437362)
can you post a screenshot to see exacly what you want to change, and I look in to it tonight.
never mind, figured it out :)

Code:

.threadbit .threadpostedin {
    background: none repeat scroll 0 0 transparent;
    font-size: 12px;
    height: 29.52px;
    max-width: 19.9%;
    padding: 8.74px 0;
    width: 8888px;
}


I was meaning this bit (when you click new posts/todays posts) - note the blue shading:

Attachment 145957

Adding the code above to additionalcss doesn't do anything..... :)

peugeot405 08-05-2013 05:19 PM

  • In stylemanager, select Style Variable Editor from the dropdown menu on the right
  • Scroll down until you see threadbit
  • dubble click on threadbit alt background
  • background color : transparant.
  • background image: remove the link.


All times are GMT. The time now is 02:41 AM.

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.01117 seconds
  • Memory Usage 1,760KB
  • 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
  • (11)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete