humhub-contrib / linklist

Link List Space / User Module
5 stars 20 forks source link

Allow limited access for non-authenticated users (guests) #8

Open joseihf opened 9 years ago

joseihf commented 9 years ago

When I set Humhub open access for guests the linklist is not displayed in the spaces. Is there any way to set up this option?

samclement114 commented 8 years ago

For Humhub 0.11.2, comment these lines

protected/modules_core/dashboard/DashboardStreamAction.php

/_$this->criteria->condition .= ' AND content.visibility=' . Content::VISIBILITYPUBLIC;/ Line 54

protected/modules_core/wall/ContentContainerStreamAction.php

/_if (!$this->contentContainer->canAccessPrivateContent($this->user)) { $this->criteria->condition .= " AND content.visibility=" . Content::VISIBILITYPUBLIC; }/ Line 49

For the moment I check it! Perhaps it's the solution.