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 06-26-2013 10:00 PM

Split replies/views like vb3
 
1 Attachment(s)
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.

Amaury 06-27-2013 05:03 AM

Thanks for this and the other one! :)

If you don't mind my asking, why did the Threads and Posts modification take more template edits?

peugeot405 06-27-2013 01:26 PM

There's more templates because threads and post are shown both on forumhome (index) and forumdisplay (category.).

Replies and views is only shown on forumdisplay (forum/subforum)

Amaury 06-27-2013 01:40 PM

Any way to keep the alternate background along the whole Replies and Views columns like it was with the default Replies / Views instead of just on sticky threads?

I removed the threadbit alt code in additional.css that had the background as transparent, but doing that only filled part of the row for each thread with the alternate background.

peugeot405 06-27-2013 01:46 PM

sure, no problem

open additional.css

find following:
code:

Code:

.threadbit .alt {
    background:none;
}

replace with:
code:

Code:

.threadbit .alt {
    background: url("images/gradients/grey-up.png") repeat-x scroll left bottom #F2F6F8;
}


Amaury 06-27-2013 02:18 PM

Quote:

Originally Posted by peugeot405 (Post 2430797)
sure, no problem

open additional.css

find following:
code:

Code:

.threadbit .alt {
    background:none;
}

replace with:
code:

Code:

.threadbit .alt {
    background: url("images/gradients/grey-up.png") repeat-x scroll left bottom #F2F6F8;
}


That's not exactly what I meant, as it only fills part of the area. It's probably something in the threadbit changes done. However, our other staff doesn't really like this, so I'm removing it since we do votes on modifications.

Nothing personal against you. This is still a great thing overall, but it's just not for us. :)

peugeot405 06-27-2013 02:30 PM

Quote:

Originally Posted by Amaury25 (Post 2430800)
That's not exactly what I meant, as it only fills part of the area. It's probably something in the threadbit changes done. However, our other staff doesn't really like this, so I'm removing it since we do votes on modifications.

Nothing personal against you. This is still a great thing overall, but it's just not for us. :)

no problem.

Code:

if you change your mind, here's the code:

.threadbit .nonsticky, .threadbit .discussionrow {
    background: url("images/gradients/grey-up.png") repeat-x scroll left bottom #F2F6F8;
}


Amaury 06-27-2013 06:47 PM

Quote:

Originally Posted by peugeot405 (Post 2430801)
no problem.

Code:

if you change your mind, here's the code:

.threadbit .nonsticky, .threadbit .discussionrow {
    background: url("images/gradients/grey-up.png") repeat-x scroll left bottom #F2F6F8;
}


Thank you. :)

Think you could provide some screenshots of that for the reference?

peugeot405 06-27-2013 08:37 PM

1 Attachment(s)
If I understood correctly you want the gray section you see in the pic threadbit1 but then over the full lenght like in pic threadbit2

Attachment 145617

Attachment 145618

note: I used a different color to show what section is meant.

with the original color it wold like the pic threadbit3.

Attachment 145619

The code is following:

Code:

.threadbit .alt {
    background: none;
}
.threadbit .nonsticky, .threadbit .discussionrow {
    background: url("images/gradients/grey-up.png") repeat-x scroll left bottom #F2F6F8;
}


Amaury 06-27-2013 09:00 PM

Thanks for the reply.

This is how it looks by default: http://i.imgur.com/IeXkm3b.png

With your changes, the style variable threadbit_alt_background only affected the Replies and Views columns containing sticky threads: http://i.imgur.com/HjQ4WE7.png

The text being gone and borders not being there are not part of it, obviously. That's just the best I could do with Paint to show you since I already reverted the changes. :)


All times are GMT. The time now is 09:29 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.01067 seconds
  • Memory Usage 1,743KB
  • 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
  • (7)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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