vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Option to hide user profile (https://vborg.vbsupport.ru/showthread.php?t=321192)

Elixar 12-26-2015 02:25 AM

Option to hide user profile
 
I'm looking for a mod that allows the option to hide a user profile from being displayed to certain usergroups.

Elixar 12-29-2015 05:21 PM

Bump.

MarkFL 12-30-2015 12:59 PM

1 Attachment(s)
I put together a simple add-on that does what you requested. :)

Download and install the attached .XML file, then set its settings by enabling it, defining the usergroups from which to hide profiles, and the list of usernames of those users whose profiles you wish to hide from the selected usergroups:

https://vborg.vbsupport.ru/attachmen...1&d=1451487369

When someone belonging to a restricted usergroups attempts to view the profile of a hidden user, they see the following alert:

https://vborg.vbsupport.ru/attachmen...1&d=1451487369

When they click the "Ok" button, they are returned to the page from which they started.

Please let me know of any changes you would like. :)

Elixar 12-31-2015 10:20 PM

Would it be possible to have it appear also on the drop down that you get when clicking on a username, as well as showing up on a profile? :)

Thank you so much Mark, Happy New Year!

Elixar 01-03-2016 04:26 PM

In addition to my above post, how can I change the message displayed?

MarkFL 01-03-2016 06:56 PM

1 Attachment(s)
I am attaching version 1.1 of this product. You will find a new product setting that will allow you to set whatever message you wish to be displayed in the browser alert.

You will also find that users whose profiles are restricted will no longer display the "View Profile" link from the dropdown menu (memberaction_dropdown). :)

Elixar 01-03-2016 11:48 PM

Looks great, just looking for one more thing. Is it possible to hide a profile from the actual profile, as well as the member drop down?

MarkFL 01-04-2016 12:37 AM

Quote:

Originally Posted by Elixar (Post 2561905)
Looks great, just looking for one more thing. Is it possible to hide a profile from the actual profile, as well as the member drop down?

What do you mean by "hide a profile from the actual profile?"

Elixar 01-04-2016 12:54 AM

Quote:

Originally Posted by MarkFL (Post 2561909)
What do you mean by "hide a profile from the actual profile?"

Sorry should have been clearer, I mean having the ability to hide a profile option from the user profile.

MarkFL 01-04-2016 12:58 AM

Quote:

Originally Posted by Elixar (Post 2561911)
Sorry should have been clearer, I mean having the ability to hide a profile option from the user profile.

Okay, now I understand. I will look into that soon. :)


All times are GMT. The time now is 02:29 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.02025 seconds
  • Memory Usage 1,726KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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