Profile Privacy

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 28347
Joined: Sat Aug 16, 2003 7:36 am

Profile Privacy

Post by Extensions Robot »

Modification name: Profile Privacy
Author: daroPL
Modification description: This MOD hides your profile and the profile information for others. We can hide the user's profile, the user's information displayed in the viewtopic on the right hand and block the possibility to search his posts on the forums. For specific users (for example foes), it also removes users from the memberlist that have the privacy option enabled.
Modification version: 1.0.0
Tested on phpBB version: 3.0.5

Download file: profile_privacy_1_0_0.zip
File size: 55.01 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extensions Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Mar 27, 2017 3:09 pm, edited 10 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17283
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Profile Privacy

Post by DavidIQ »

Modification validated/released

Notes:
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
daroPL
Translator
Posts: 515
Joined: Tue Mar 27, 2007 11:58 am
Location: Poznan, Poland
Name: Darek
Contact:

Profile Privacy

Post by daroPL »

This post has been reserved for the MOD author.
User avatar
DoYouSpeakWak
Registered User
Posts: 2310
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Contact:

Re: Profile Privacy

Post by DoYouSpeakWak »

Sounds like a really good idea. congrats with the mod.

Does it come with a ucp module or is a group/user permission?
Whatever you share comes back. Support the phpBB Communities
My Validated and Released Modifications
Offering paid services. 10+ years of experience with phpBB3 and as System Administrator.
User avatar
daroPL
Translator
Posts: 515
Joined: Tue Mar 27, 2007 11:58 am
Location: Poznan, Poland
Name: Darek
Contact:

Re: Profile Privacy

Post by daroPL »

DoYouSpeakWak wrote:Sounds like a really good idea. congrats with the mod.
Thanks.
DoYouSpeakWak wrote:Does it come with a ucp module or is a group/user permission?
Currently it adds only a new item in UCP that contains three radio inputs such as: All, Only friends and All but foes.
The-Lord
Registered User
Posts: 103
Joined: Thu Jan 31, 2008 12:13 pm

Re: Profile Privacy

Post by The-Lord »

Nice Idea. :)
User avatar
DoYouSpeakWak
Registered User
Posts: 2310
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Contact:

Re: Profile Privacy

Post by DoYouSpeakWak »

daroPL wrote:
DoYouSpeakWak wrote:Does it come with a ucp module or is a group/user permission?
Currently it adds only a new item in UCP that contains three radio inputs such as: All, Only friends and All but foes.
Perfect. now we only need a validated approve friends mod. There is little privacy when anybody can add everybody on there friend list.
Whatever you share comes back. Support the phpBB Communities
My Validated and Released Modifications
Offering paid services. 10+ years of experience with phpBB3 and as System Administrator.
User avatar
PowWowPalace
Registered User
Posts: 58
Joined: Thu Jul 09, 2009 3:28 pm
Contact:

Re: Profile Privacy

Post by PowWowPalace »

I installed on my 3.0.5 board today and it works perfectly. Thanks
User avatar
olalavui
Registered User
Posts: 103
Joined: Sat Dec 13, 2008 3:02 am
Location: Vietnam
Name: Bui Thanh Tung
Contact:

Re: Profile Privacy

Post by olalavui »

Nice idea! Thanks
Come back phpBB with phpBBVietnam
Anyasha
Registered User
Posts: 704
Joined: Mon Aug 07, 2006 4:02 am
Name: Anyasha

Re: Profile Privacy

Post by Anyasha »

DoYouSpeakWak wrote:
daroPL wrote:
DoYouSpeakWak wrote:Does it come with a ucp module or is a group/user permission?
Currently it adds only a new item in UCP that contains three radio inputs such as: All, Only friends and All but foes.
Perfect. now we only need a validated approve friends mod. There is little privacy when anybody can add everybody on there friend list.
Not true. If user A adds user B to their friends list, that doesn't mean that user A is automatically on user B's friends list too. If someone makes their profile "friends only", it is viewable only to people who THEY added as friends, NOT people who added them. If I make my profile "friends only" and put everyone on my friends list, that means that they could all see my profile; it doesn't mean that I can see everyone else's.
Kiss me, I'm Polish!
NicksNet
Registered User
Posts: 55
Joined: Sat Apr 04, 2009 1:16 pm

Re: Profile Privacy

Post by NicksNet »

hi, thanks for this mod!

but i have a little problem...


if i open a topic (not logged in) then following errormessage appears:

Code: Select all

[phpBB Debug] PHP Notice: in file /viewtopic.php on line 683: Undefined index: user_privacy_type
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 683: Undefined index: friend
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 683: Undefined index: foe
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4213: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3337)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4215: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3337)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4216: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3337)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4217: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3337)
any help on this?

thanks
Sorry, my English isn't the best...
User avatar
daroPL
Translator
Posts: 515
Joined: Tue Mar 27, 2007 11:58 am
Location: Poznan, Poland
Name: Darek
Contact:

Re: Profile Privacy

Post by daroPL »

Can you put the content of viewtopic.php on pastebin?
NicksNet
Registered User
Posts: 55
Joined: Sat Apr 04, 2009 1:16 pm

Re: Profile Privacy

Post by NicksNet »

sorry, i dont know why but every time i tried to paste following message is showing:

Code: Select all

› The paste cannot be left blank
i have added viewtopic.php as attachement...


Thanks
Attachments
viewtopic.php
(72.93 KiB) Downloaded 49 times
Sorry, my English isn't the best...
User avatar
daroPL
Translator
Posts: 515
Joined: Tue Mar 27, 2007 11:58 am
Location: Poznan, Poland
Name: Darek
Contact:

Re: Profile Privacy

Post by daroPL »

That's a bug in my MOD.

Solution

in viewtopic.php find

Code: Select all

	'S_PRIVACY_OPTION'		=> (check_profile_privacy($topic_data['topic_poster'], $topic_data['user_privacy_type'], $topic_data['friend'], $topic_data['foe'])) ? true : false,
replace with

Code: Select all

	'S_PRIVACY_OPTION'		=> ($user->data['is_registered']) ? check_profile_privacy($topic_data['topic_poster'], $topic_data['user_privacy_type'], $topic_data['friend'], $topic_data['foe']) : false,
find

Code: Select all

		'S_PRIVATE_PROFILE'	=> (check_profile_privacy($poster_id, $row['user_privacy_type'], $row['friend'], $row['foe'])) ? true : false,
replace with

Code: Select all

		'S_PRIVATE_PROFILE'	=> ($user->data['is_registered']) ? (check_profile_privacy($poster_id, $row['user_privacy_type'], $row['friend'], $row['foe'])) : false,
I will release a new version soon.
Thanks
NicksNet
Registered User
Posts: 55
Joined: Sat Apr 04, 2009 1:16 pm

Re: Profile Privacy

Post by NicksNet »

Thank you very much! it works :D

regards
Sorry, my English isn't the best...
Locked

Return to “[3.0.x] MOD Database Releases”