vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   [Solved] Member Info - Visitors (https://vborg.vbsupport.ru/showthread.php?t=324919)

Stratis 04-14-2017 02:25 PM

[Solved] Member Info - Visitors
 
When I enable to for "visitors" "General Permissions -> Can View Member Info
I want visitors not be able to see:
1) Visitor Messages
2) Friends

Is there a way for this situation?

Thanks

Stratis 04-18-2017 02:22 PM

Any suggestion? please.

EGNDRAGON 04-19-2017 01:01 AM

Can u edit the usergroup


See pic below

http://imgur.com/a/93iqP

Stratis 04-19-2017 04:40 AM

Yes, when "Can view member info" is to "Yes"
They see also as I describe above:
1) Visitor Messages
2) Friends

Those I do not want visitors to see.
Thanks for the answer.

EGNDRAGON 04-19-2017 05:28 AM

Quote:

Originally Posted by Stratis (Post 2585597)
Yes, when "Can view member info" is to "Yes"
They see also as I describe above:
1) Visitor Messages
2) Friends


Those I do not want visitors to see.
Thanks for the answer.

Look at pics below..


https://gyazo.com/3abf1b6a7393cd885a8cfa967554e552

https://gyazo.com/50a1afd6f3bbc7a65e816f208f881a68

Stratis 04-19-2017 05:38 AM

As you see in your images there is no options not to show these:
1) Unregister can see Visitors Messages.
2) Unregister can see Friends from members.
Unregister can not, edit, post, delete... but can view visitor messages from members and there friends if they have.

Thanks for discuss.

CAG CheechDogg 04-23-2017 01:56 AM

Find the following template:

memberinfo_block_visitormessaging

at the very top add:

Code:

<vb:if condition="$show['member']">
Show this to members only

very bottom add this:
Code:

</vb:if>
That will show it to members only ...

If you want to show it to only specific usergroups do it this way:

at very top add:

Code:

<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">
very bottom add this:
Code:

</vb:if>
If you only want to show it to one usergroup just use remove all the others ....


Here are more template conditionals to help you out more :'

https://vborg.vbsupport.ru/showthread.php?t=231525


Do the same for the following templates for the friends:

memberinfo_block_friends_mini

memberinfo_block_friends

Stratis 04-24-2017 12:14 PM

Thank you very very much, all ok with your instructions where to search.


All times are GMT. The time now is 07:04 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.01121 seconds
  • Memory Usage 1,725KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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