Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Split replies/views like vb3 Details »»
Split replies/views like vb3
Version: 1.3, by peugeot405 peugeot405 is offline
Developer Last Online: May 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.2.x Rating:
Released: 06-26-2013 Last Update: 08-09-2013 Installs: 15
Template Edits
 
No support by the author.

This mod splits replies/views on threadbit like on a vb3 forum.

changelog:

v1.0
initial release

v1.1
updated the css code

v1.2
updated the css code

v1.3
updated the css code

Two files are included in the zip-file:
  • split_replies_views_like_vb3_v_1_3.txt for new install
  • split_replies_views_like_vb3_ updatev1_2_to_v1_3.txt to update from v1.2 to v1.3

Added a fix for new post search in what's new, caussed by the changes from split replies/views like vb3.

Download Now

File Type: zip split_replies_views_like_vb3_v_1_3.zip (2.6 KB, 130 views)
File Type: txt Fix_for_new_post_search_in_what's_new.txt (1.8 KB, 67 views)

Screenshots

File Type: jpg threadbit-before.jpg (36.9 KB, 0 views)
File Type: jpg threadbit-after.jpg (20.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
Amaury, davidg, fai99al99

Comments
  #72  
Old 08-05-2013, 03:00 PM
peugeot405's Avatar
peugeot405 peugeot405 is offline
 
Join Date: Feb 2010
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stevieb View Post
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.
Reply With Quote
  #73  
Old 08-05-2013, 03:01 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by peugeot405 View Post
that's for threadbit, not for forum home.
how do I add just the new bit of the search view that you did please
Reply With Quote
  #74  
Old 08-05-2013, 03:04 PM
peugeot405's Avatar
peugeot405 peugeot405 is offline
 
Join Date: Feb 2010
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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%;
}
Reply With Quote
  #75  
Old 08-05-2013, 03:17 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by peugeot405 View Post
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....
Reply With Quote
  #76  
Old 08-05-2013, 03:22 PM
peugeot405's Avatar
peugeot405 peugeot405 is offline
 
Join Date: Feb 2010
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

change following:

Code:
.threadinfo.thread {
    width: 50%;
}
with:

Code:
.threadinfo.thread {
    width: 40%;
}
Reply With Quote
  #77  
Old 08-05-2013, 03:23 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

see above #74 lol

But well done, fixed
Reply With Quote
  #78  
Old 08-05-2013, 03:25 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any chance we can remove the shading from the forum field / tick box in the search todays post..?
Reply With Quote
  #79  
Old 08-05-2013, 03:31 PM
peugeot405's Avatar
peugeot405 peugeot405 is offline
 
Join Date: Feb 2010
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stevieb View Post
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;
}
Reply With Quote
Благодарность от:
stevieb
  #80  
Old 08-05-2013, 03:57 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by peugeot405 View 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;
}
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.....
Reply With Quote
  #81  
Old 08-05-2013, 05:19 PM
peugeot405's Avatar
peugeot405 peugeot405 is offline
 
Join Date: Feb 2010
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

  • 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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:14 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.14101 seconds
  • Memory Usage 2,361KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (11)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete