vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   How to prevent unreg'd seeing members list in Quick Links? (https://vborg.vbsupport.ru/showthread.php?t=234700)

Lynne 02-05-2010 05:39 PM

It's not wrong to prefer a modification, however it isn't always possible. And sometimes it is much simpler to just modify the template.

Charlie98902 02-05-2010 08:42 PM

I can certainly understand that nick but as Lynne stated makes since. I merely suggested if it was possible as you were asking if it can be done and didn't state a modification so I thought it was a open field. You may want to ask for this as a request in that section here on the forum and see if someone would whip it up. But with what Lynne posted is the easiest and fastest. You could bookmark this thread so if you ever need it or make a word doc for future needs too.

rtpswebsite 02-21-2010 08:55 AM

Lynne,

I wonder if you can help?

You solution removes the link to the members list, but still does not stop people from accessing it..

All people need to know is the name of the page. i.e showgroups.php
If they know that, and append it to the url, they can access the list of members regardless of if they are registered/unregistered, allowed or not allowed to view it.

I found this out because a user did a search on Google and accessed the members list right off the bat. Now my users are moaning about privacy :(

Any ideas how to plug this hole?

Cheers

Chris

Lynne 02-21-2010 07:55 PM

Then just create a plugin at the top of that page to not allow unregistered users to see it. Something like (you'll have to look at the page to find a hook_location):
PHP Code:

    if (!$vbulletin->userinfo['userid'])
    {
        
print_no_permission();
    } 



All times are GMT. The time now is 05:03 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.01065 seconds
  • Memory Usage 1,715KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete