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
  #52  
Old 08-05-2013, 11:20 AM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by peugeot405 View Post
Code:
.threadbit .threadstats {
    height: 29px;
    padding: 1.2% 0 0;
    text-align: center;
    width: 7%;
}
is missing in additional.css
You did it - take a look

Well done, thank you
Reply With Quote
  #53  
Old 08-05-2013, 11:22 AM
peugeot405's Avatar
peugeot405 peugeot405 is offline
 
Join Date: Feb 2010
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i noticed it, i was on your site

no problem, glad it got solved.
Reply With Quote
  #54  
Old 08-05-2013, 11:24 AM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Next question, how do I do this on the main forum homepage

Also, on the code we just edited, when you search new posts/todays posts the forum name at the end overlaps the tick box - is it possible to drop the text a few pixels to avoid that happening?

In firebug it suggests if I edit .threadbit .threadimod input and give it a top:-10px; it lifts the tick box a bit....

Is that best way to fix it do you think?
Reply With Quote
  #55  
Old 08-05-2013, 11:26 AM
peugeot405's Avatar
peugeot405 peugeot405 is offline
 
Join Date: Feb 2010
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stevieb View Post
Next question, how do I do this on the main forum homepage
with this one:


Split posts/treads like vb3
Reply With Quote
  #56  
Old 08-05-2013, 11:28 AM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by peugeot405 View Post
will I have the same or likely issues though haha
Reply With Quote
  #57  
Old 08-05-2013, 11:29 AM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stevieb View Post
Also, on the code we just edited, when you search new posts/todays posts the forum name at the end overlaps the tick box - is it possible to drop the text a few pixels to avoid that happening?

In firebug it suggests if I edit .threadbit .threadimod input and give it a top:-10px; it lifts the tick box a bit....

Is that best way to fix it do you think?
I edited this post and added the following.....

Thanks
Reply With Quote
  #58  
Old 08-05-2013, 11:46 AM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stevieb View Post
Also, on the code we just edited, when you search new posts/todays posts the forum name at the end overlaps the tick box - is it possible to drop the text a few pixels to avoid that happening?

In firebug it suggests if I edit .threadbit .threadimod input and give it a top:-10px; it lifts the tick box a bit....

Is that best way to fix it do you think?
I just added this to the bottom of the additionalcss code you provided:

Code:
.threadbit .threadimod input {
 top: -10px;
}
Tick boxes are now perfectly aligned
Reply With Quote
  #59  
Old 08-05-2013, 11:46 AM
peugeot405's Avatar
peugeot405 peugeot405 is offline
 
Join Date: Feb 2010
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stevieb View Post
Next question, how do I do this on the main forum homepage

Also, on the code we just edited, when you search new posts/todays posts the forum name at the end overlaps the tick box - is it possible to drop the text a few pixels to avoid that happening?

In firebug it suggests if I edit .threadbit .threadimod input and give it a top:-10px; it lifts the tick box a bit....

Is that best way to fix it do you think?

You can do it that way, but it put's the box almost on the top.

Another way is:

find:

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

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

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

Code:
.threadlisthead span.threadlastpost {
    padding-left: 0;
    text-align: left;
    width: 30%;
}
That way the tick nox stays centered.
Reply With Quote
  #60  
Old 08-05-2013, 11:50 AM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by peugeot405 View Post
You can do it that way, but it put's the box almost on the top.

Another way is:

find:

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

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

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

Code:
.threadlisthead span.threadlastpost {
    padding-left: 0;
    text-align: left;
    width: 30%;
}
That way the tick nox stays centered.
Thanks

Ok tried it but as we have some long forum names it'll never work 100% so I altered the table sizes thanks to the code above but then also added this at the base to give us that leeway on longer thread names:

Code:
.threadbit .threadimod input {
 top: -10px;
}
Reply With Quote
  #61  
Old 08-05-2013, 01:33 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi again

Just noticed when someone is not using a large screen (or mobile) things go slightly off

For example on the main index page (of our site) if you minimise the page to 50% or so you'll see this effect:

Attachment 145950

As you can see, the posted date goes below the linespace - it seems to do it when the title is too big and pushes onto two lines?

Likewise, on the todays posts/new posts search page the following error occurs:

Attachment 145951

As you can see the views/replies get pushed down when too big numbers...


Any idea? Sorry to be a pain
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:59 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.04836 seconds
  • Memory Usage 2,356KB
  • 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
  • (7)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
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)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