Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 06-04-2008, 10:38 AM
Dagothar's Avatar
Dagothar Dagothar is offline
 
Join Date: Apr 2008
Location: VA & Italy
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Restrict Viewing of Show Groups

Greetings!

1. I would like to restrict viewing (access) of Show Groups [.../forum/roster.php] to certain usergroups; especially blocking it from view by Unregistered / Not Logged In

2. I can restrict access/viewing the MemberList [.../forum/memberlist.php] with
AdminCP: Usergroup: [usergroupname]: General Permissions: Can View Member Info: No

3. But anyone can go to my site url, type /forum/roster.php and see any group and forumname for any Usergroup where
AdminCP: Usergroup: [usergroupname]: Usergroup Options: Viewable on Show Groups: Yes
(They can't burrow further into the users' profile info with Can View Member Info set to no, at least.)

4. Of course, I can reset that to No, but then my forum members can't see a nice list of forum leaders, the way the Show Groups was apparently intended.

5. Help!

(BTW, I did search for this, but couldn't find where it's been addressed before. Thanks in advance!)
Reply With Quote
  #2  
Old 06-04-2008, 10:55 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is roster.php?
Reply With Quote
  #3  
Old 06-04-2008, 12:08 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

roster.php is not a default vbulletin file

you can edit your file to check for viewers permissions ...
Reply With Quote
  #4  
Old 06-04-2008, 05:28 PM
Dagothar's Avatar
Dagothar Dagothar is offline
 
Join Date: Apr 2008
Location: VA & Italy
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marco van Herwaarden View Post
What is roster.php?
Quote:
Originally Posted by Princeton View Post
roster.php is not a default vbulletin file

you can edit your file to check for viewers permissions ...
Hmm. Here is the part of my AdminCP: Usergroup Manager : usergroup 1 screen:
************************************************** **********
Usergroup Options Viewable on Show Groups (Sets whether or not to show members of this group on the 'View Forum Leaders' page) Yes No
Birthdays Viewable (Sets whether or not the birthdays of users in this group are displayed on the calendar and forum home pages) Yes No
Viewable on the Memberlist (Sets whether or not users in this group will appear on the member list) Yes No
Allow Users to have Member Groups (Sets whether or not permissions from the user's member (secondary) user group memberships are inherited or not) Yes No
This Usergroup is not a 'Banned' Group (Setting this to no will cause the group to be treated as a banned group, this will prevent the sending of email notifications, show a banned error message on the permission error pages and other unspecified behaviors.) Yes No

***********************************************
Interesting. It appears I have a roster.php that produces identical output to showgroups.php, which is what is used when I click the View Forum Leaders link above in my AdminCP.

I'll delete/disable roster.php. There is a link on my navbar labeled Roster, that calls that php file.

But, I see I have an identical problem with showgroups.php: I would like to restrict viewing (access) of Show Groups [.../forum/showgroups.php] to certain usergroups; especially blocking it from view by Unregistered / Not Logged In without preventing my authorized users from seeing it.

I have a steep learning curve. :P
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 01: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.10609 seconds
  • Memory Usage 2,188KB
  • 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_quote
  • (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