Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 Dec 2015, 03:25
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
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.
Reply With Quote
  #2  
Old 29 Dec 2015, 18:21
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Bump.
Reply With Quote
  #3  
Old 30 Dec 2015, 13:59
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
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:



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



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.
Attached Images
File Type: png markfl_hideprofiles_acp.png (37.4 KB, 87 views)
File Type: png markfl_hideprofiles_alert.png (4.8 KB, 82 views)
Attached Files
File Type: xml product-markflhideprofiles.xml (4.8 KB, 7 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #4  
Old 31 Dec 2015, 23:20
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
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!
Reply With Quote
  #5  
Old 03 Jan 2016, 17:26
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
In addition to my above post, how can I change the message displayed?
Reply With Quote
  #6  
Old 03 Jan 2016, 19:56
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
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).
Attached Files
File Type: xml product-markflhideprofiles.xml (9.1 KB, 3 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #7  
Old 04 Jan 2016, 00:48
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
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?
Reply With Quote
  #8  
Old 04 Jan 2016, 01:37
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Elixar View Post
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?"
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #9  
Old 04 Jan 2016, 01:54
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Originally Posted by MarkFL View Post
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.
Reply With Quote
  #10  
Old 04 Jan 2016, 01:58
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Elixar View Post
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.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #11  
Old 04 Jan 2016, 02:36
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Thanks Mark!
Reply With Quote
  #12  
Old 04 Jan 2016, 07:55
setishock setishock is offline
 
Join Date: Feb 2008
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?
Reply With Quote
  #13  
Old 05 Jan 2016, 13:00
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Originally Posted by setishock View Post
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?

For groups?
Reply With Quote
  #14  
Old 06 Jan 2016, 06:45
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
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:



And if that user's profile is already part of the hidden list (by username), this link will appear:



Here are the settings for this updated version:



Enjoy!
Attached Images
File Type: png hideprofile_link.png (3.0 KB, 44 views)
File Type: png hideprofile_link2.png (3.1 KB, 43 views)
File Type: jpg hideprofile_acp.jpg (89.5 KB, 46 views)
Attached Files
File Type: zip MarkFL - Hide Profiles v1.2.zip (3.8 KB, 11 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #15  
Old 06 Jan 2016, 16:02
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Muchos gracias Senor Mark.

--------------- Added 06 Jan 2016 at 16:14 ---------------

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

Last edited by Elixar; 06 Jan 2016 at 16:12.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show Thread Enhancements MARCO1 BBCODE Hide Tags [ hide] [/ hide] MARCO1 vBulletin 4.x Add-ons 372 01 Feb 2018 12:21
BB Code Enhancements MARCO1 BBCODE Hide Tags [ hide] [/ hide] - Updated For VB 4.1.0 my123world Modification Graveyard 5 06 Dec 2010 20:30



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 01:58.

Layout Options | Width: Wide Color: