vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Restrict Viewing of Show Groups (https://vborg.vbsupport.ru/showthread.php?t=181477)

Dagothar 06-04-2008 09:38 AM

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

Marco van Herwaarden 06-04-2008 09:55 AM

What is roster.php?

Princeton 06-04-2008 11:08 AM

roster.php is not a default vbulletin file

you can edit your file to check for viewers permissions ...

Dagothar 06-04-2008 04:28 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1540491)
What is roster.php?

Quote:

Originally Posted by Princeton (Post 1540551)
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
https://vborg.vbsupport.ru/ Birthdays Viewable (Sets whether or not the birthdays of users in this group are displayed on the calendar and forum home pages) Yes No
https://vborg.vbsupport.ru/ Viewable on the Memberlist (Sets whether or not users in this group will appear on the member list) Yes No
https://vborg.vbsupport.ru/ 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
https://vborg.vbsupport.ru/ 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
https://vborg.vbsupport.ru/
***********************************************
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


All times are GMT. The time now is 01:07 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.01801 seconds
  • Memory Usage 1,722KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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