Privacy for Friends Page from AntonLV

Hello everybody.

This is a support forum for our Privacy for Friends Page modification.

If you have some questions or suggestions regarding it feel free to post them here or contact us directly.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 2 Apr 2012

This works great!

But I want to sort the privacy categories alphabetically.

Where is the SQL to read the categories located? I want to add " ORDER BY `Category` " so they are alphabetical.

Thanks!

http://www.mytikibar.com
Quote · 2 Apr 2012

For your "Privacy" product. What program do you recommend I use for MAC (preferably FREE) to be able to go into the code to do this? (I have CyberDuck)

Easy $4,000.00 a week with a FREE 24 Carat Gold Savings Account; http://ezstepstowealth.com/mrworldf
Quote · 2 Apr 2012

I just found Aptana 3 for mac.  From the few minutes I played with it, it works fairly well.

 

I am thinking of replacing bluefish on my ubuntu machine with aptana as well

http://www.mytikibar.com
Quote · 3 Apr 2012

 Hello

This works great!

But I want to sort the privacy categories alphabetically.

Where is the SQL to read the categories located? I want to add " ORDER BY `Category` " so they are alphabetical.

Thanks!

The mod uses the default Dolphin's Privacy Group Chooser. If you want to change it you need to take a look at inc/classes/BxDolPrivacy.php file -> getGroupChooser method and inc/classes/BxDolPrivacyQuery.php file -> getGroupsBy method. 

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 3 Apr 2012

 Hello

For your "Privacy" product. What program do you recommend I use for MAC (preferably FREE) to be able to go into the code to do this? (I have CyberDuck)

I'm sorry, but  I'm working under Windows. However you may use any text editor to modify PHP files. It may be the simplest one like Notepad under Windows.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 3 Apr 2012

For those that want to sort their privacy groups alphabetical, here's the code

In the file inc/classes/BxDolPrivacy.php around line 112 you'll fin

 

          $aValues[] = array('key' => $aGroup['id'], 'value' => ((int)$aGroup['owner_id'] == 0 ? _t('_ps_group_' . $aGroup['id'] . '_title') : $aGroup['title']));
        }
        $aValues = array_merge($aValues, $aDynamicGroups);
 
ADD THIS      (comments optional)
###
#SteveSoft
#04-03-2012
#        
       
        foreach ($aValues as $sKey => $sRow)
        {
            $sCategory[$sKey] = $sRow['value'];
        }
        array_multisort($sCategory, SORT_ASC, $aValues);

and your privacy categories will be sorted alphabetically!  :)

http://www.mytikibar.com
Quote · 3 Apr 2012

Hello everybody.

I've found a bug in the mod and updated it. You just need to reinstall the mod. 

The instructions from Manual.txt file which were changed are: 1.a, 1.b. and 1.c. 

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 4 Apr 2012

Hi Anton,

 

Thanks for this free mod. I am having an issue with it though, I must have done something wrong here!

I followed the instructions, probably did something wrong though. When I go to the profile page it doesn't show the additional drop down menu, instead it says the profile was successfully saved (system message) on top of the box and then it fades out. Please see image attached. 

If you don't mind, can you please let me know what I did wrong here.

 

Thank you

MeMe

edit profile privacy.jpg · 21.2K · 484 views
Quote · 28 Apr 2012

I just got an email database error. Should i post it here?

Quote · 28 Apr 2012

 Hello

Hi Anton,

 

Thanks for this free mod. I am having an issue with it though, I must have done something wrong here!

I followed the instructions, probably did something wrong though. When I go to the profile page it doesn't show the additional drop down menu, instead it says the profile was successfully saved (system message) on top of the box and then it fades out. Please see image attached. 

If you don't mind, can you please let me know what I did wrong here.

 

Thank you

MeMe

Looks like the PHP files were modified incorrectly. If you provide me with FTP and Dolphin admin panel access info I would be able to check it. You may send the access info via BoonEx internal mailbox. 

I just got an email database error. Should i post it here?

 It would be better to send the error message with all server related logs via internal mailbox.

 

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 30 Apr 2012

Thanks Anton,

 

Doing it now.

 

M

Quote · 30 Apr 2012

 Hello

Thanks Anton,

 

Doing it now.

 

M

You are welcome. :) The problem was resolved and I sent you an answer with details via internal mailbox. 

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 1 May 2012

Thank you so much.

 

Its nice to work with good, reliable, professional people.

 

M

Quote · 1 May 2012

Hi Anton,

In 7.0.9, in pedit.php,

there are some changes:

        $aProfileInfo = getProfileInfo($this->iProfileID);
        $this->aFormPrivacy['inputs']['allow_view_to']['value'] = $aProfileInfo['allow_view_to'];

Will this affect your privacy for friends mod?

In the instructions it says:

    b. Find the following line

        $this->aFormPrivacy['inputs']['allow_view_to']['value'] = (string)$this -> aProfiles[0]['allow_view_to'];

    and replace it with the code below

        //--- AQB Soft: Friends page privacy ---//
        $this->aFormPrivacy['inputs']['allow_view_profile_to']['value'] = (string)$this -> aProfiles[0]['allow_view_to'];
        $this->aFormPrivacy['inputs']['allow_view_friends_to']['value'] = (string)$this -> aProfiles[0]['allow_view_friends_to'];
        //--- AQB Soft: Friends page privacy ---//

Quote · 13 Jun 2012

 Hello

Hi Anton,

In 7.0.9, in pedit.php,

there are some changes:

        $aProfileInfo = getProfileInfo($this->iProfileID);
        $this->aFormPrivacy['inputs']['allow_view_to']['value'] = $aProfileInfo['allow_view_to'];

Will this affect your privacy for friends mod?

In the instructions it says:

    b. Find the following line

        $this->aFormPrivacy['inputs']['allow_view_to']['value'] = (string)$this -> aProfiles[0]['allow_view_to'];

    and replace it with the code below

        //--- AQB Soft: Friends page privacy ---//
        $this->aFormPrivacy['inputs']['allow_view_profile_to']['value'] = (string)$this -> aProfiles[0]['allow_view_to'];
        $this->aFormPrivacy['inputs']['allow_view_friends_to']['value'] = (string)$this -> aProfiles[0]['allow_view_friends_to'];
        //--- AQB Soft: Friends page privacy ---//

Thank you to let me know. I've updated the installation instructions and tested the mod on Dolphin 7.0.9.

The updated instructions are 1.b and 1.c

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 13 Jun 2012

Thanks!!

Quote · 13 Jun 2012

 Hello

Thanks!!

 You are welcome. :) If you need more help with any of our mods feel free to contact us.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 14 Jun 2012

Parse error: syntax error, unexpected ')' in /home/XXXXX/public_html/pedit.php on line 190

 

this is the error i recieved when i went to the profile page and clicked edit, in the actions box

... how do i correct this?

Quote · 29 Oct 2012

 Hello

Parse error: syntax error, unexpected ')' in /home/XXXXX/public_html/pedit.php on line 190

 

this is the error i recieved when i went to the profile page and clicked edit, in the actions box

... how do i correct this?

Looks like some manual changes were done incorrectly. May be the code was inserted in wrong place. Try to recheck the installation instructions step by step. If you have no luck I can check it for you. You may send you FTP and Dolphin admin panel access info via PM.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 30 Oct 2012

I assumed this is still needed for Dolphin 7.1.  There is a slight change in pedit.php for the last step if you want to take a look.

Geeks, making the world a better place
Quote · 29 Nov 2012

 Hello

I assumed this is still needed for Dolphin 7.1.  There is a slight change in pedit.php for the last step if you want to take a look.

Thanks to let me know. I'll update the mod shortly.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 30 Nov 2012

Hello everybody.
The mod was updated. It's available for Dolphin 7.1 now.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 4 Dec 2012

Getting 500 Error after install using Dolphin pro 7.3

Quote · 16 May 2017

Hello 

Getting 500 Error after install using Dolphin pro 7.3

I followed the instructions from 'for Dolphin 7.1.x' folder and everything is working fine on my Dolphin 7.3. Looks like you had some mistake modifying the files. If you have access to server's error log files then you may find more info about the error there. It can help you to fix the problem. Also you may try to redo the installation instructions from installation manual.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 16 May 2017

Finally got it work. Ty

Quote · 19 May 2017

Hello 

Finally got it work. Ty

You are welcome! 

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 19 May 2017
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.