vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to hide Member List from Guests (https://vborg.vbsupport.ru/showthread.php?t=235818)

Allen Brown 02-14-2010 09:24 AM

How to hide Member List from Guests
 
I want to be able to hide the Member List from anyone who hasn't registered. I'm using 3.8.1.

Is there a way to do this?

Thanks
Allen

borbole 02-14-2010 02:55 PM

I am not familiar with the vb3 but I will show you how it is done in vb 4 and then you can follow the example with some adjustments in conditionals and template variables.

At the memberlist template I add
HTML Code:

<vb:if condition="!$show['guest']">
just under the
HTML Code:

{vb:raw navbar}
then all the way towards the bottom I close the condition. i.e the following
Code:

<div id="pagination_bottom">
    {vb:raw pagenav}
</div>
</vb:if>

is changed to:

HTML Code:

<div id="pagination_bottom">
    {vb:raw pagenav}
</div>
</vb:if></vb:if>

Have a look at the memberlist template of your forum and follow the example I posted above but don'''t forget to adjust the conditional and the template variables which from what I have seen it is different in both versions.

If you still can''t do it, then post here the memberlist template and I will make the edits for you.

romeo12 02-15-2010 02:32 AM

Go to Admin CP >> Usergroups >>Usergroup Manager >> Edit Unregistered members settings >> General Permission >> Can View Member Info
Turn it to NO.

Allen Brown 02-15-2010 07:10 AM

Many thanks romeo12. That solved it.


All times are GMT. The time now is 01:23 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.01049 seconds
  • Memory Usage 1,716KB
  • 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_code_printable
  • (3)bbcode_html_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