Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 02-22-2006, 11:30 AM
bogene2020 bogene2020 is offline
 
Join Date: Apr 2002
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default private -thread/post count

Hi ,
Is there a hack to make my thread and post count private ? Like this
http://www.webforumz.com/subscriber-only-forums/
You will notice that the thread and the post count are not visible . Thanks
Reply With Quote
  #2  
Old 02-22-2006, 08:46 PM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try editing your postbit and wrap the post count field with a conditional
Reply With Quote
  #3  
Old 02-22-2006, 09:13 PM
bogene2020 bogene2020 is offline
 
Join Date: Apr 2002
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess I would edit the forumhome_forumbit_level2_post
What do I edit . I have included my forumhome_forumbit_level2_post

PHP Code:
 <tr align="center">
<
td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
<
td class="alt1Active" align="$stylevar[left]id="f$forum[forumid]">
<
div>
<
a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
<if 
condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
</
div>
<if 
condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if 
condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
<if 
condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</
td>
<
td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
<
td class="alt1">$forum[threadcount]</td>
<
td class="alt2">$forum[replycount]</td>
<if 
condition="$vboptions['showmoderatorcolumn']">
<
td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>
</
tr>
$childforumbits 
Reply With Quote
  #4  
Old 02-24-2006, 03:34 AM
bogene2020 bogene2020 is offline
 
Join Date: Apr 2002
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have been working on this with Jake on Vb.com but it wont work can anybody help .. I am using tthe statemet below but it is not working

PHP Code:
<td class="alt1"><if condition="is_member_of($bbuserinfo, 1,2,3,4 )">Private<else />$forum[threadcount]</if></td
PHP Code:
        <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
        <
td class="alt1"><if condition="is_member_of($bbuserinfo, 1,2,3,4 )">Private<else />$forum[threadcount]</if></td>
        <
td class="alt2">$forum[replycount]</td>
<if 
condition="$vboptions['showmoderatorcolumn']">
        <
td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td
Can anybody help me with this . Please

Ok .. I figured it out
I needed to edit the

forumhome_forumbit_level1_post
forumhome_forumbit_level2_post

Thanks
Reply With Quote
Reply

Thread Tools
Display Modes

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 04:48 PM.


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.03798 seconds
  • Memory Usage 2,212KB
  • Queries Executed 13 (?)
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
  • (3)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete