Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 05-15-2016, 02:10 PM
Schneeflocke Schneeflocke is offline
 
Join Date: Apr 2016
Location: Germany - Berlin
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sure:

http://wortkompass.de/
Reply With Quote
  #12  
Old 05-15-2016, 02:28 PM
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Jul 2013
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see some forums without post count. See attached screenshot.

What's not working?
Attached Images
File Type: jpg Capture.jpg (54.3 KB, 0 views)
Reply With Quote
Благодарность от:
Schneeflocke
  #13  
Old 05-15-2016, 03:27 PM
Schneeflocke Schneeflocke is offline
 
Join Date: Apr 2016
Location: Germany - Berlin
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



Sorry!! Many, many thanks for your continous effort and support. @ noypiscripter!!

Is there a possibility to disable the "number of post" counter of the users for selected forums?
Reply With Quote
  #14  
Old 05-16-2016, 04:54 AM
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Jul 2013
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes. For example, the post counts in the forum channels Ank?ndigungen (forum id 136) and Vorstellung (forum id 186) can be hidden like this:

Code:
.b-module[data-node-id="136"] .posts-count,
.b-module[data-node-id="186"] .posts-count {
	display: none;
}
Reply With Quote
  #15  
Old 05-16-2016, 08:16 AM
Schneeflocke Schneeflocke is offline
 
Join Date: Apr 2016
Location: Germany - Berlin
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried it.

Code:
.b-module[data-node-id="136"] .posts-count,
.b-module[data-node-id="186"] .posts-count,
.b-module[data-node-id="119"] .posts-count,
.b-module[data-node-id="120"] .posts-count,
.b-module[data-node-id="121"] .posts-count,
.b-module[data-node-id="124"] .posts-count,
.b-module[data-node-id="125"] .posts-count,
.b-module[data-node-id="138"] .posts-count,
.b-module[data-node-id="187"] .posts-count{
	display: none;
}
I insert the code in the css editor for the correct style.
But:

[IMG]

It counts.

Mistake?
Reply With Quote
  #16  
Old 05-16-2016, 01:52 PM
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Jul 2013
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh I thought you wanted to hide the post count in the topic list page like this one http://wortkompass.de/forum/aktuelle...C3%BCndigungen
Reply With Quote
  #17  
Old 05-16-2016, 02:37 PM
Schneeflocke Schneeflocke is offline
 
Join Date: Apr 2016
Location: Germany - Berlin
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, thats okay.

I also like to hide these postcount:


Is there a possibility to do that?
Reply With Quote
  #18  
Old 05-16-2016, 05:16 PM
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Jul 2013
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes. You add this:

Code:
// hide post counts in all the threads for Ank?ndigungen forum
.page249 .b-userinfo__additional-info-block .b-userinfo_aadditional-info:nth-child(2) {
    display: none;
}
Each page in the forum has a unique page id in the <body> class. In the case of Ank?ndigungen forum page, it has page249 in the body class. You can find it by inspecting the page (right click > Inspect) and looking for the <body> tag.

Btw, my initial suggestion of hiding the post count in the forum list is not good. Here's the better one. Replace the original CSS with this one.

Code:
#forum136 .posts-count,
#forum186 .posts-count,
#forum119 .posts-count,
#forum120 .posts-count,
#forum121 .posts-count,
#forum124 .posts-count,
#forum125 .posts-count,
#forum138 .posts-count,
#forum187 .posts-count {
    position: relative;
}
#forum136 .posts-count:before,
#forum186 .posts-count:before,
#forum119 .posts-count:before,
#forum120 .posts-count:before,
#forum121 .posts-count:before,
#forum124 .posts-count:before,
#forum125 .posts-count:before,
#forum138 .posts-count:before,
#forum187 .posts-count:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: {vb:stylevar content_background};
}
Reply With Quote
  #19  
Old 05-17-2016, 06:16 AM
Schneeflocke Schneeflocke is offline
 
Join Date: Apr 2016
Location: Germany - Berlin
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey,

I inserd your code in the additional template for the correct style.

Code:
// hide post counts in all the threads for Ank?ndigungen forum
.page249 .b-userinfo_additional-info-block .b-userinfo_additional-info:nth-child(2) {
    display: none;
}
But something is wrong. Because nothing seemed to have changed (post in the thread Ank?ndigungen).

It counts - post count:43 and the next 44.
But my intention is, that these counter counts only entries of the "important" channels. The counter should remain unchanged when somebody posts an entry in the channels which are set to be not counted.
Reply With Quote
  #20  
Old 05-17-2016, 05:36 PM
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Jul 2013
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Remove this comment in the CSS:

Code:
// hide post counts in all the threads for Ank?ndigungen forum
or change it to:

Code:
/* hide post counts in all the threads for Ank?ndigungen forum */
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 11:30 PM.


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.06682 seconds
  • Memory Usage 2,280KB
  • Queries Executed 12 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (7)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • 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_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete