How to stop guest see friends?

I soon get crazy because I cannot find out how I can stop this behaviour via the privacy features in dolphin, i tried so much.

How to stop a guest to list any friends of a member? for example by entering this url:

 

http://www.your-dolphin-site.com/viewFriends.php?iUser=2

 

Maybe its late and my eyes are already tired, but i i can't stop them from viewing this. Has anybody some tips?

Thanks in advance

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 30 Mar 2012

Edit viewFriends.php

Look for this code.

    if (!$iProfileId)
    {
        $_page['header'] = _t('_View friends');
        $_page['header_text'] = _t('_View friends');
        $_page['name_index'] = 0;
        $_page_cont[0]['page_main_code'] = MsgBox( _t('_Profile NA') );
        PageCode();
        exit;
    }


Insert this under it.

    if (!(int)$_COOKIE['memberID'])
    {
        $_page['header'] = _t('_View friends');
        $_page['header_text'] = _t('_View friends');
        $_page['name_index'] = 0;
        $_page_cont[0]['page_main_code'] = MsgBox( _t('_View Friends Not Allowed') );
        PageCode();
        exit;
    }

Then create a new Language key for the above code.

Key name - _View Friends Not Allowed

English Text - Sorry. Guests are not allowed to view friends. Please log in to view this members friends.

You can set that english text to what every you want it to say.


https://www.deanbassett.com
Quote · 31 Mar 2012

Boah many thanks, i thought its possible to do it via the user interface :)

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 31 Mar 2012

Installed, tested  and works!  Thank you to  for reporting this issue and to   for fixing it so quickly. Cool

http://pkforum.dolphinhelp.com
Quote · 31 Mar 2012

On my site, a guest an view a profile. 

They only see the description block, public photo block, and a login.

 

I do this because if I share a profile on facebook and they click the link, I don't want them to get an access denied, I'd rather they get a teaser.

How you do this is in Admin Panel->Builders->Pages Block->Profile

Then in each block I don;t want guests to see, I uncheck the guest checkbox.

My Login box has the guest checked and the member unchecked.

Check it out!  http://www.mytikibar.com/Supergoddess

 

http://www.mytikibar.com
Quote · 31 Mar 2012

And your/their friends

http://mytikibar.servebeer.com/viewFriends.php?iUser=4

 

They only see the description block, public photo block, and a login.

 

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 31 Mar 2012
 
 
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.