PDA

View Full Version : Profile Enhancements - Profile Privacy


Krofh
10-09-2006, 10:00 PM
Profile Privacy

Description: This plugin will add a "Profile Privacy" option for users, allowing them to select one of three options. "Public" enables anyone at all to view their profile, "Private" limits their profile to only being viewed by forum members, and "Friends Only" limits their profile to people on their friends list. Note: Admins and Super Moderators can still view anyone's profile with this hack.

Installation:
Import the product XML file
Perform the following template edit in template modifyprofile:
Find:
<if condition="$show['customtitleoption']">
Add above:
<!-- profile privacy options -->
<fieldset class="fieldset">
<legend>$vbphrase[profile_privacy]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>$vbphrase[profile_privacy_message]</td>
</tr>
<tr>
<td>$profile_privacy_radio</td>
</tr>
</table>
</fieldset>
<!-- profile privacy options -->

Contains:
4 Plugins
1 New Template
1 Template Edit
6 Phrases

If you like this hack, please click install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=128709) and, if willing, donate (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=ninthrider@gunschbunsch.com&item_name=vBulletin%20Coding&no_shipping=1&no_note=1&tax=0&currency_code=USD).

Virtuosofriend
10-10-2006, 05:58 AM
that's a nice idea. Good job mate ;)

sensimilla
10-10-2006, 08:36 AM
Nice hack! :) Should be allowed to set this up per usergroups too! :)

iLLoGIc
10-10-2006, 12:12 PM
sick idea... installed!!

Snake
10-10-2006, 04:53 PM
Lovely. Thanks! :D

basilrath
10-10-2006, 10:27 PM
na too much power to user

eNforce
10-10-2006, 11:44 PM
I don't get the options, uploaded the product twice as well as done the template edit twice, still no go.

InTeNsE-HuMoR
10-11-2006, 12:03 AM
I'm having the same problem as person above ^

Barakat
10-11-2006, 02:25 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=121125" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=121125</a>

emm the 3.5.4 is working better .... and there's something missing in this hack option so i installed the other one

Kuimera
10-11-2006, 02:37 AM
I don't get the options, uploaded the product twice as well as done the template edit twice, still no go.

Same thing...

Krofh
10-11-2006, 04:32 AM
Ahh, silly me... found the problem. Go to your Plugin Manager, then under the Profile Privacy plugin change the plugins in "profile_editoptions_start" and "profile_updateoptions" to "profile_editprofile_start" and "profile_updateprofile," respectively. Uploading a new XML here as well.

Shazz
10-11-2006, 05:53 AM
Reminds of myspace :)
It would go well with it

Kuimera
10-11-2006, 07:46 AM
tks for the update.

NeitherSparky
10-12-2006, 12:03 AM
Installed. I recently had some users complain about seeing google spiders visiting their profiles in the Who's Online, so this will make them happy. ;)

cheesegrits
10-17-2006, 05:17 AM
I'd like to request an ACP option to set the default mode. At the moment it defaults to Public, my site needs it to default to Private.

I've edited my copy to change the default, but it would be nice to have this as an ACP option.

-- hugh

Hornstar
10-18-2006, 07:08 AM
Nice one. This will really come in handy.

Thanks.

Greek Wizard
10-19-2006, 10:50 AM
Anyone tell me how I can fix this (after installing this)

Page generated in 0.08295 seconds with 10 queries (1 queries for uncached templates) [Server Loads: 0.08 0.16 : 0.17]
Uncached templates: profile_privacy_radiobit (3)

Only shows up on the edit profile page.

Krofh
10-20-2006, 05:08 PM
Argh, are you telling me I forgot to cache the templates?

If you want to fix that, go to your Plugin Manager and edit the "Profile Privacy - Radio Buttons" plugin... add this line to the very top of the code:

cache_templates(array("profile_privacy_radiobit"), $style['templatelist']);

Or just reinstall the plugin, I'm reuploading a fixed version now.

FleaBag
10-20-2006, 05:36 PM
I installed this last night. Works like a gem, a real nice addition. Thanks for your work.

Greek Wizard
10-21-2006, 05:51 AM
Argh, are you telling me I forgot to cache the templates? Silly Jesse *smacks self*

If you want to fix that, go to your Plugin Manager and edit the "Profile Privacy - Radio Buttons" plugin... add this line to the very top of the code:

cache_templates(array("profile_privacy_radiobit"), $style['templatelist']);

Or just reinstall the plugin, I'm reuploading a fixed version now.

Perfect bud.

Appriciate the quick reply and fix.

big dan
10-21-2006, 12:16 PM
Nice hack, installed. :)

webgeek247
10-27-2006, 08:59 PM
^ Agreed! :)

ABeautifulBrown
10-28-2006, 02:44 PM
awesome :)

daystorm
11-07-2006, 02:51 AM
How can I change this to include usergroups? An example is to not allow single males to view profile...

Krofh
11-07-2006, 04:12 AM
You can entirely rewrite it :) not to be flippant or anything, but that would pretty much require rewriting the entire hack and, at that point, it would lose its point. Then each user would be selecting each usergroup, and then each usergroup would need permissions to see if users can ban that specific usergroup from viewing it... the more I think about it, the more my head hurts :( it's complicated, dang. Something like that sounds like something you'd want custom-written for your site, not something that'd be widely used.

DPSR
12-26-2006, 11:55 AM
Is this possible to make it like user has to choose this option during registration process?

Anyways thanks for a great gack :D

*installed

MrPHD
12-26-2006, 04:14 PM
Installed and Running 100%. Good Work

adonfun
12-27-2006, 10:26 AM
Looks like a hack that my members will like.

Is this 3.6.4 compatible?

daystorm
12-28-2006, 12:17 AM
Help...

I uninstalled the hack and yet people still can not access profiles that were previously set as private. They keep getting this message..

This profile has been set as private. Since you are not on eroticgoddess's buddy list, you may not access it.

Please Help...

Krofh
01-05-2007, 07:29 PM
What do you mean by "uninstalled the hack"? If you removed the product through the Product Manager, it would not be still occurring.

cfspinner
01-06-2007, 11:33 AM
Nice...installed and works great!

Mudvayne
01-18-2007, 01:02 PM
The main problem with this mod is if a user set option as only his buddy can see his/her profile then even admin can't access to his/her profile.. So I would like to request you to add an option to ACP thus we can define few usergroup who can still have access to profile whatever the user choose.

mescalin
03-28-2007, 02:19 PM
Really great product. Thank you for sharing, Krofh..

Im not a coder but i wonder if i can use that great product to restrict access to other custom vbpages. for example i have a gallery and we access to these galleries like xxx.com/gallery.php?do=hall&u=1 can it check if they are buddies also?

thanks for the support ;)

Andyucs
03-28-2007, 05:01 PM
Would be nice if you could default it to

Private (registered members can view)

MsRachel
04-22-2007, 08:54 PM
question, i dont see settings in my acp, can you make this for certain usergroups?

Majest
05-05-2007, 06:33 AM
Installed

LEAD_WEIGHT
05-06-2007, 11:54 AM
This would be great if you made it for admin/mod to hide Banned members profile.

yesfans
05-06-2007, 12:45 PM
Good plug in. INSTALLED!

princeedward
08-19-2007, 08:03 AM
thanks for this...great mod... ;)

y2krazy
08-26-2007, 08:15 AM
Installed and working on 3.6.8!

Wheezy
09-13-2007, 08:27 PM
This is so great! Thanks for sharing :)

Jerlene
09-14-2007, 07:30 AM
Loving this MOD. Installing now.:)

JadedSouls
09-20-2007, 12:16 AM
I know alot of my users will like this one :)

AngelBlue
09-21-2007, 10:17 PM
Problem : Members can't view/post user notes for accounts with this privacy setting enabled.

This is IMHO a bad thing, as those notes aren't part of the profile, but rather, are other forum users' commentary on the person concerned.

To fix this, edit vbphrase "profile_privacy_denied" to the following :

You are not allowed to view {1}'s profile. You may need to be a registered user, or {1} may have set his or her profile to be viewable only by people on his/her buddy list.
<BR>Options:
<UL>
<LI><a href="private.php?do=newpm&u={2}">Send {1} a Private Message</a></LI>
<LI><a href="profile.php?do=addlist&userlist=buddy&u={2}">Add {1} To Your Buddy List</a> (requires you to be logged-in)</LI>
<LI><a href="usernote.php?u={2}">View {1}'s user notes</a> (requires login & permissions)</LI>
<LI><a href="usernote.php?do=newnote&u={2}">Add a user note to {1}</a> (requires login & permissions)</LI>
</UL>

pipedreams
03-16-2008, 06:23 PM
Has anyone tried this on VB 3.7.x yet? :confused:

txsbmw
03-16-2008, 08:13 PM
I had it istalled already before 3.7 and running beta 6 now and it is still working.

pipedreams
03-16-2008, 08:48 PM
I had it istalled already before 3.7 and running beta 6 now and it is still working.

Good to hear! :)

sandri
03-30-2008, 03:09 PM
mmmh,

i have problems with the buddy function.

I test it with a User who has no friends!
Wen i set registered it is ok, guests can`t see the profile
but wen a set "only friend`s" all Guests can see the profile.

can it be?

thx for help

vbulletin 3.68 Patch Level 2

tuwebfacil
04-30-2008, 03:03 AM
Anyone tried this on vb3.7 gold?

g0dfather1984
05-30-2008, 01:07 AM
Thank you!

Roxie
05-31-2008, 12:26 AM
Works on the latest.

Roxie
06-05-2008, 04:20 PM
Actually, it doesn't seem to make things private. Installs fine (with no errors) though.

ShiZoPhreN
06-18-2008, 06:45 PM
Works for me @ vB 3.7.1 PL2

I Love it :) it is nice hack thanks for this ;)

*Clicks installed*

cloyal
07-17-2008, 05:40 PM
I tried setting the default in the xml file from 0 to 1 and 2 but it's not changing. Or is it because I'm admin? I noticed it's not changing on my user profile.

VADOS
07-21-2008, 05:28 PM
Awesome job, respect!

*translated into Russian, installed*

DPtheGod
07-31-2008, 02:12 AM
This add-on would do wonders for my forum!

Thank you very much!

abrecher
08-28-2008, 06:58 AM
Move this mod to 3.7, it works great with latest version.

Tyran1
01-16-2009, 02:53 PM
works with 3.8.0 thanks

Tyran1
10-12-2010, 09:34 AM
Can the options "my self" ???

Work with vB 3.8.6 PL1