Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-01-2010, 11:42 AM
NickHark NickHark is offline
 
Join Date: Jan 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 02-01-2010, 01:47 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 02-04-2010, 03:25 PM
NickHark NickHark is offline
 
Join Date: Jan 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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.
Reply With Quote
  #4  
Old 02-04-2010, 08:00 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 02-04-2010, 10:45 PM
NickHark NickHark is offline
 
Join Date: Jan 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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.

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

Thanks,

Nick
Reply With Quote
  #6  
Old 02-04-2010, 11:40 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #7  
Old 02-05-2010, 12:01 AM
NickHark NickHark is offline
 
Join Date: Jan 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thanks for your help.

Nick
Reply With Quote
  #8  
Old 02-05-2010, 12:03 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #9  
Old 02-05-2010, 01:16 AM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Lynne I didn't know for sure but you confirmed it should be possible. Hope this helps the poster.
Reply With Quote
  #10  
Old 02-05-2010, 02:32 PM
NickHark NickHark is offline
 
Join Date: Jan 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Charlie98902 View Post
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
Reply With Quote
Reply


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 10:39 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.05453 seconds
  • Memory Usage 2,255KB
  • 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
  • (1)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete