![]() |
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.
|
Bump.
|
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. :) |
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! |
In addition to my above post, how can I change the message displayed?
|
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). :) |
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?
|
Quote:
|
Quote:
|
Quote:
|
Thanks Mark!
|
Mark this would be helpful to keep the bots from looking at user profiles. Since at my forum they seem to be looking up banned user profiles.
Instead of having to put in each user name, is there a way to do an "all" command instead of individual names? |
Quote:
For groups? |
1 Attachment(s)
Okay, version 1.2 (which I have attached), allows you to select entire usergroups whose profiles will be hidden (from the groups you select from which to hide them), and allows you to select usergroups who will see a new link on the profile pages of users (not part of a hidden groups already) that will allow you to hide/unhide their profiles.
There is an external script you need to upload this time (it handles the hiding/unhiding from the clickable link). If a user whose profile is being viewed is NOT a member of a usergroup that is hidden, and the browsing user is a member of a usergroup allowed to hide/unhide profiles, then if the profile being viewed is not hidden the following link will appear: https://vborg.vbsupport.ru/attachmen...1&d=1452066148 And if that user's profile is already part of the hidden list (by username), this link will appear: https://vborg.vbsupport.ru/attachmen...1&d=1452066148 Here are the settings for this updated version: https://vborg.vbsupport.ru/attachmen...1&d=1452066148 Enjoy! :) |
Muchos gracias Senor Mark. :D
--------------- Added [DATE]1452100467[/DATE] at [TIME]1452100467[/TIME] --------------- Fatal error: require_once(): Failed opening required '/home/science/public_html/*.com./includes/adminfunctions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/science/public_html/*.com/hideprofile.php on line 4 |
Quote:
FIND: PHP Code:
PHP Code:
|
1 Attachment(s)
Quote:
|
Quote:
The original worked on my local dev site, but not on my online dev site. Go figure. :) |
One thing, because of an additional usergroup I have on my account, it hide the profile from me. Anyway there is a way to make a list of exempt people that can see the profile always?
|
Quote:
|
Quote:
|
Quote:
gotta love Windows for these types of things, lol |
1 Attachment(s)
Okay, I made a few bug fixes and added a setting to allow for a list of users who can always see all profiles, and we have version 1.3, which I have attached.
|
Will this work on vb3.8?
|
Quote:
|
All times are GMT. The time now is 07:38 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|