-
Hello Scholar !
Sorry, but there is no ready method to show only the public posts from the author. It will require to write a new one.
-
-
If you're OK tomodify this code then you may add the following line:
$this->aCurrent['restriction'] ['public'] => array('value' => BX_DOL_PG_ALL, 'field' => 'allow_view_to', 'operator' => '=');
after this one:
if(!empty($aParams['per_page'])) $this->aCurrent['paginate']['perPage']
-
If you're OK tomodify this code then you may add the following line:
$this->aCurrent['restriction'] ['public'] => array('value' => BX_DOL_PG_ALL, 'field' => 'allow_view_to', 'operator' => '=');
after this one:
if(!empty($aParams['per_page'])) $this->aCurrent['paginate']['perPage']
that worked great, but I had to put it in the else statement to allow owners to view their non-public posts.