Recent Public to Recent Member

Hi

I'd like to change Recent Public Photos/Groups to search and display Recent Member information. I can change the name in the Languages admin but how do I change what is actually returned?

Thanks

Cust.

Quote · 31 Jul 2016

This requires changes to core files.

Instead, tell us what you would like Recent Member to return.  What do you mean by recent members.  The member page already returns members by last login which is recent members.

Geeks, making the world a better place
Quote · 31 Jul 2016

"Recent Public Photos" is the standard installed block. I would like to modify it or create a new block that will do exactly the same but return the photos visible to people at "Member" level. I would like to do the same for the installed Group block that returns "Public" level so it returns the groups available to the "Member" level.

 

Does that make any more sense?

 

I have no problem understanding changes to core files. I'm new to the Dolphin system and haven't quite got my head around how it all hangs together.

 

Thank you.

Quote · 31 Jul 2016

Usually privacy is checked when content is displayed, so all content is altually processed, but when it is displayed, each item is checked for privacy. As the result the content which is visible to the current member i returned.

However for not logged-in users (guests) public only content is returned, for Groups/Events/Store modules, - this behaviour is controlled in inc/classes/BxDolTwigSearchResult.php file near ~59 line:

    function setPublicUnitsOnly($isPublic)
    {
        $this->aCurrent['restriction']['public']['value'] = $isPublic ? BX_DOL_PG_ALL : false;
    }
Rules → http://www.boonex.com/terms
Quote · 1 Aug 2016

Thank you AlexT

 

It must be something else then. I have a Group, which is set to be visible to members but it is not showing on another member profile but it shows in the outline.

Quote · 1 Aug 2016
 
 
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.