PDA

View Full Version : Profile Enhancements - Profile Privacy


Krofh
10 Oct 2006, 05:25
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 (http://www.vbulletin.org/forum/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 Oct 2006, 06:58
that's a nice idea. Good job mate ;)

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

iLLoGIc
10 Oct 2006, 13:12
sick idea... installed!!

Snake
10 Oct 2006, 17:53
Lovely. Thanks! :D

basilrath
10 Oct 2006, 23:27
na too much power to user

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

InTeNsE-HuMoR
11 Oct 2006, 01:03
I'm having the same problem as person above ^

Barakat
11 Oct 2006, 03:25
http://www.vbulletin.org/forum/showthread.php?t=121125

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

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

Same thing...

Krofh
11 Oct 2006, 05:32
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
11 Oct 2006, 06:53
Reminds of myspace :)
It would go well with it

Kuimera
11 Oct 2006, 08:46
tks for the update.

NeitherSparky
12 Oct 2006, 01:03
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
17 Oct 2006, 06:17
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
18 Oct 2006, 08:08
Nice one. This will really come in handy.

Thanks.

Greek Wizard
19 Oct 2006, 11:50
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
20 Oct 2006, 18:08
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
20 Oct 2006, 18:36
I installed this last night. Works like a gem, a real nice addition. Thanks for your work.

Greek Wizard
21 Oct 2006, 06:51
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
21 Oct 2006, 13:16
Nice hack, installed. :)

webgeek247
27 Oct 2006, 21:59
^ Agreed! :)

ABeautifulBrown
28 Oct 2006, 15:44
awesome :)

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

Krofh
07 Nov 2006, 05:12
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
26 Dec 2006, 12:55
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
26 Dec 2006, 17:14
Installed and Running 100%. Good Work

adonfun
27 Dec 2006, 11:26
Looks like a hack that my members will like.

Is this 3.6.4 compatible?

daystorm
28 Dec 2006, 01:17
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
05 Jan 2007, 20:29
What do you mean by "uninstalled the hack"? If you removed the product through the Product Manager, it would not be still occurring.

cfspinner
06 Jan 2007, 12:33
Nice...installed and works great!

Mudvayne
18 Jan 2007, 14:02
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
28 Mar 2007, 15:19
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
28 Mar 2007, 18:01
Would be nice if you could default it to

Private (registered members can view)

MsRachel
22 Apr 2007, 21:54
question, i dont see settings in my acp, can you make this for certain usergroups?

Majest
05 May 2007, 07:33
Installed

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

yesfans
06 May 2007, 13:45
Good plug in. INSTALLED!

princeedward
19 Aug 2007, 09:03
thanks for this...great mod... ;)

y2krazy
26 Aug 2007, 09:15
Installed and working on 3.6.8!

Wheezy
13 Sep 2007, 21:27
This is so great! Thanks for sharing :)

Jerlene
14 Sep 2007, 08:30
Loving this MOD. Installing now.:)

JadedSouls
20 Sep 2007, 01:16
I know alot of my users will like this one :)

AngelBlue
21 Sep 2007, 23:17
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
16 Mar 2008, 19:23
Has anyone tried this on VB 3.7.x yet? :confused:

txsbmw
16 Mar 2008, 21:13
I had it istalled already before 3.7 and running beta 6 now and it is still working.

pipedreams
16 Mar 2008, 21:48
I had it istalled already before 3.7 and running beta 6 now and it is still working.

Good to hear! :)

sandri
30 Mar 2008, 16:09
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
30 Apr 2008, 04:03
Anyone tried this on vb3.7 gold?

g0dfather1984
30 May 2008, 02:07
Thank you!

Roxie
31 May 2008, 01:26
Works on the latest.

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

ShiZoPhreN
18 Jun 2008, 19:45
Works for me @ vB 3.7.1 PL2

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

*Clicks installed*

cloyal
17 Jul 2008, 18:40
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
21 Jul 2008, 18:28
Awesome job, respect!

*translated into Russian, installed*

DPtheGod
31 Jul 2008, 03:12
This add-on would do wonders for my forum!

Thank you very much!

abrecher
28 Aug 2008, 07:58
Move this mod to 3.7, it works great with latest version.

Tyran1
16 Jan 2009, 15:53
works with 3.8.0 thanks

Tyran1
12 Oct 2010, 10:34
Can the options "my self" ???

Work with vB 3.8.6 PL1