vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Displaying unread post for a private section (https://vborg.vbsupport.ru/showthread.php?t=194577)

mark350 10-26-2008 12:46 AM

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.

Lynne 10-26-2008 03:20 AM

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.

mark350 10-26-2008 12:58 PM

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?

Lynne 10-26-2008 02:18 PM

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.

mark350 10-26-2008 03:48 PM

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.

Lynne 10-26-2008 05:51 PM

Why not just set everything to no in Forum Manager > Ministers Lounge > unregistered users and that way they don't even see the forum.

mark350 10-26-2008 11:47 PM

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.

Lynne 10-26-2008 11:53 PM

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?)


All times are GMT. The time now is 02:12 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.01676 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete