Page 1 of 1

Which photo has comments

Posted: 21 Sep 2016, 22:09
by dmermigas
Hi forum members,
I am using phoca gallery 4.3.1 and I have enabled jcomments for images. Is it possible to know which photo has associated comments without having to enter the detail view of it? Could a different image for inserting comment e.g. A blue one, to be displayed for images that have comments whereas the standard comment icon (white) for those who haven't?
Thank you in advace,
Dimitris

Re: Which photo has comments

Posted: 22 Sep 2016, 11:35
by Jan
Hi, you should see the information about comments in JComments administration :idea:

Jan

Re: Which photo has comments

Posted: 30 Sep 2016, 09:06
by dmermigas
Thank you for your response Jan but I can't find something relevant there. Moreover, I want the number of comments to be displayed below each image which is on phoca gallery. Is it also possible to display the number of hits on each image as well? Can you please help me?

Re: Which photo has comments

Posted: 02 Oct 2016, 19:20
by Jan
Hi, you can see hits in statistics when you enable statistcs tab. To display it on other place, this needs to be customized - the "hits" variable is set in Phoca Gallery, so there is stored the information about the hits.

To see the number of comments made by JComments, there needs to be written some part of the code, which directly asks the JComments component in database :idea:

Jan

Re: Which photo has comments

Posted: 03 Oct 2016, 19:34
by dmermigas
Thank you Jan for your advice. However, I was trying to find some property like hot or most viewed on top of each photo. E.g. 10hits, 28commemts so as the user to know in advance the activity regarding the photo. I enabled most commented and last comments of jcomments to somehow inform the user.
As I see it, it would really be an nice feature to have in the future.
D.

Re: Which photo has comments

Posted: 03 Oct 2016, 20:53
by Jan
Ok, I have added it to feature request list.

Jan

Re: Which photo has comments

Posted: 04 Oct 2016, 08:06
by dmermigas
You are Great!!!