Which photo has comments

Phoca Gallery - image gallery extension
dmermigas
Phoca Member
Phoca Member
Posts: 10
Joined: 14 Sep 2016, 10:12

Which photo has comments

Post 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

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Which photo has comments

Post by Jan »

Hi, you should see the information about comments in JComments administration :idea:

Jan
If you find Phoca extensions useful, please support the project
dmermigas
Phoca Member
Phoca Member
Posts: 10
Joined: 14 Sep 2016, 10:12

Re: Which photo has comments

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Which photo has comments

Post 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
If you find Phoca extensions useful, please support the project
dmermigas
Phoca Member
Phoca Member
Posts: 10
Joined: 14 Sep 2016, 10:12

Re: Which photo has comments

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Which photo has comments

Post by Jan »

Ok, I have added it to feature request list.

Jan
If you find Phoca extensions useful, please support the project
dmermigas
Phoca Member
Phoca Member
Posts: 10
Joined: 14 Sep 2016, 10:12

Re: Which photo has comments

Post by dmermigas »

You are Great!!!
Post Reply