Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-26-2008, 12:46 AM
mark350 mark350 is offline
 
Join Date: Jan 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Displaying unread post for a private section

How can I modify my forum so posts made in a private section do not show up for regular registered users (when viewing 'unread posts')?

In other words, we have a "ministers" section that only a user group "ministers" are allowed to post in... therefore, when new posts are made in this ministers section, I do not want those appearing as unread posts for regular members who are using the site.

*I do, however, want these posts showing up for 'ministers' who are logged in (since they are allowed to use that section). Any help would be greatly appreciated, thanks.
Reply With Quote
  #2  
Old 10-26-2008, 03:20 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are regular registered users able to read the threads in this private forum? If not, then they should not be showing up anyway when doing a search. Check it out by creating a test registered user.
Reply With Quote
  #3  
Old 10-26-2008, 12:58 PM
mark350 mark350 is offline
 
Join Date: Jan 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Regular users are not allowed to post in this private area... however, they are able to see these new posts when they click the "today's post" link... even people not logged in can see if new posts were made in this private section.

*they are not allowed to access the threads - but they can see if new threads were made. How can I fix this?
Reply With Quote
  #4  
Old 10-26-2008, 02:18 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, you may be able to add a condition to the end of the search tag in the navbar. Find this line:
HTML Code:
<a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a>
Change to (where x is the usergroup id for your regular users and y is the forum to exclude):
HTML Code:
<a href="search.php?$session[sessionurl]do=getdaily<if condition="is_member_of($bbuserinfo, x)">&exclude=y</if>" accesskey="2">$vbphrase[todays_posts]</a>
I have NOT tried this.



NOTE: This line is in three places in the default navbar.
Reply With Quote
  #5  
Old 10-26-2008, 03:48 PM
mark350 mark350 is offline
 
Join Date: Jan 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, ill try that... also, people are able to see threads (from the main forum page) that have been posted in this private area... how can I have it just say "private" - to everyone but "ministers" who are logged in. My main forum page is here: http://www.true2ourselves.com/forum/

*If you scroll down to "ministers lounge" ... this is the private section I am referring too. I really apprecaite your help.
Reply With Quote
  #6  
Old 10-26-2008, 05:51 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why not just set everything to no in Forum Manager > Ministers Lounge > unregistered users and that way they don't even see the forum.
Reply With Quote
  #7  
Old 10-26-2008, 11:47 PM
mark350 mark350 is offline
 
Join Date: Jan 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I would like visitors (who are potential members) to see there is a private ministers lounge... some of these visitors may be ministers and it would be an instintive to join (so they would be able to view the threads in the private lounge)... I just don't want our regular members clicking the "today's post" link and seeing links to the private section (because they can't view that content anyway) - only ministers should see that content when they click the 'today's post' link.

If this is not possible, I will live without it... thanks for your suggestions so far.... very much appreciated.
Reply With Quote
  #8  
Old 10-26-2008, 11:53 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the setting at Forum Manager > Ministers Lounge > Show Private Forum? Try changing that and it may do what you want it to do (Yes - display post counts, I think?)
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:29 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.04229 seconds
  • Memory Usage 2,225KB
  • 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
  • (2)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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