i was working on 2 directions
-modify the jcomment phocagallery plugin to take into consideration the access level
-modify the phocagallery image module (which take into consideration the access level yet)to show image classified by Jcomment date
i think i have found solution in the Jcomment plugin.
In the file components/com_jcomments/plugins/com_phocagallery_images.plugin.php :
line 20
replace
Code: Select all
$query = 'SELECT a.id, a.title '
Code: Select all
$query = 'SELECT a.id, a.title, c.access '
replace
Code: Select all
info->access = 0;
Code: Select all
info->access = $row->access;
But previous comments stay with the access level in 0 (public access), it must be modify by another way. It isn't a problem in my case.
This solution seems to work. I suppose this modification must be done in the phocagallery category Jcomment plugin to (i dont use comment of a category only on image)
Juansolos