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)

NickHark 02-01-2010 11:42 AM

How to prevent unreg'd seeing members list in Quick Links?
 
I want unregistered users to be able to see a forum and view threads in it (Announcements) but no other forums.

I thought the best way to do this was to give unregistered users "read/view others" permissions in Usergroups; and then prevent them in all the other forums in Forum permissions.

It looks OK except when an unregistered user clicks on Quick Links tab you can access the registered users list with all their data.

How can I prevent this?

Thanks, Nick

Lynne 02-01-2010 01:47 PM

Go to the Usergroup Manager and set Can View Member Info to No for the usergroup and then they will not be able to see the Members List.

NickHark 02-04-2010 03:25 PM

Quote:

Originally Posted by Lynne (Post 1972186)
Go to the Usergroup Manager and set Can View Member Info to No for the usergroup and then they will not be able to see the Members List.

Nope. I enabled "can see own and others'" in the Usergroup Manager, only. All the other "Can View" permissions are no. I have set all the other forums for unregistered to "no" everything.

Still the "Quick Links" shows Forum Leaders with all their data. But can see the particlar forum as desired.

Lynne 02-04-2010 08:00 PM

There is nothing about Can See Own and Others under the Who's Online permissions in the Usergroup Manager (where you go to set who can see the Members List/information). And Members List and Forum Leaders are two different things - which are you talking about? What I posted will make it so the users may not view the Members List. If you don't want them to view the Forum Leaders page, I think you'll have to write a plugin to stop them.

NickHark 02-04-2010 10:45 PM

Quote:

Originally Posted by Lynne (Post 1974917)
There is nothing about Can See Own and Others under the Who's Online permissions in the Usergroup Manager (where you go to set who can see the Members List/information). And Members List and Forum Leaders are two different things - which are you talking about? What I posted will make it so the users may not view the Members List. If you don't want them to view the Forum Leaders page, I think you'll have to write a plugin to stop them.

Sorry, my fault. :o

I was talking about forum leaders which, on my system shows personal data so I can't allow that.

Thanks,

Nick

Charlie98902 02-04-2010 11:40 PM

Have you tried to wrap that template code with a vb:if conditional? This may work but I am not sure. Lynne is that possible?

NickHark 02-05-2010 12:01 AM

I got a hack here (ms_leaders_ugp_40) and it fixes the problem perfectly.

Thanks for your help.

Nick

Lynne 02-05-2010 12:03 AM

I'm sure you can put if statements around stuff in the template to not show info to certain usergroups (or, perhaps better in this case, only show info to some usergroups).

HTML Code:

<vb:if condition="is_member_of($bbuserinfo, x, y, z)">
stuff to show
</vb:if>


Charlie98902 02-05-2010 01:16 AM

Thanks Lynne I didn't know for sure but you confirmed it should be possible. Hope this helps the poster.

NickHark 02-05-2010 02:32 PM

Quote:

Originally Posted by Charlie98902 (Post 1975114)
Thanks Lynne I didn't know for sure but you confirmed it should be possible. Hope this helps the poster.

As a practical matter I don't like changing code because if I need to upgrade I am chasing around to bring my forum back.

I like a hack because it's either installed or not.

Is this wrong?

Nick


All times are GMT. The time now is 05:30 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.01655 seconds
  • Memory Usage 1,736KB
  • 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_html_printable
  • (3)bbcode_quote_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
  • (10)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