forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: alm0stperfect on April 28, 2008, 08:09:43 pm

Title: [Solved]: Comments not showing up when displaying image
Post by: alm0stperfect on April 28, 2008, 08:09:43 pm
I've read the documentation and searched the forum, but found no answer. I've checked the 'group' permissions, and comments are enabled for admin and registered users, but comments AND the comment field are not showing up for me when an image is being displayed. Exactly what is wrong here?

http://christopher-gorham.org/gallery/

I would appreciate it if anyone could help me figure this out.

Thanks in advance!
Title: Re: Comments not showing up when displaying image
Post by: Nibbler on April 28, 2008, 08:24:06 pm
Check you enabled comments at the album level.
Title: Re: Comments not showing up when displaying image
Post by: alm0stperfect on April 28, 2008, 09:40:56 pm
By "album level", you mean at the configuration, is it? Well, I did enable comments there. But the comments and comment field still won't show up when an image is being displayed.
Title: Re: Comments not showing up when displaying image
Post by: Joachim Müller on April 29, 2008, 07:03:03 am
Album properties (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#album_prop)!
Title: Re: Comments not showing up when displaying image
Post by: alm0stperfect on April 29, 2008, 09:25:26 am
Yes, that was the problem. I get it now. Thank you for your replies!  :)
Title: Re: Comments not showing up when displaying image
Post by: alm0stperfect on April 29, 2008, 09:46:30 am
Oops. No, I don't think that solved the problem. I tried enabling comments at the album properties, but the problem still persists.

I wonder what the problem is now?
Title: Re: Comments not showing up when displaying image
Post by: Joachim Müller on April 29, 2008, 11:18:39 am
Attach a screenshot of your groups control panel and a screenshot of your album properties screen. Post a deep link to the album in question and a non-admin test user account that is supposed to have comment permissions.
Title: Re: Comments not showing up when displaying image
Post by: alm0stperfect on April 29, 2008, 12:47:51 pm
Group control panel.

Screenshot: Added as attachments to this post [Hein] Group

Album properties.
The 'visitors can post comments' radio button is on.

Screenshot: Added as attachments to this post [Hein] Album 1

But after I click on the update button, it appears that the radio button is neither on or off. Same goes with the "visitors can rate files" radio button.

Screenshot: Added as attachments to this post [Hein] Album 2

I tried to make sure the radio button is on again, then update again. But the button is again neither on or off. I'm thinking maybe the problem is the album properties, but I just couldn't figure it out. All of the albums in the gallery have the same above problem.

Here is the link to the album in question: 

http://christopher-gorham.org/gallery/thumbnails.php?album=224

The non-admin test user account:

Username: test
Password: test1

Thank you.
Title: Re: Comments not showing up when displaying image
Post by: Nibbler on April 29, 2008, 01:18:35 pm
Please allow personal galleries for registered users and enable debug mode with notices.
Title: Re: Comments not showing up when displaying image
Post by: alm0stperfect on April 29, 2008, 01:50:47 pm
Done. I've allowed personal galleries for personal users, and enabled debug mode with notices.
Title: Re: Comments not showing up when displaying image
Post by: Nibbler on April 29, 2008, 02:00:35 pm
Please check your albums table using phpmyadmin. The comments field should defined as enum('YES','NO'). It looks like it has been changed to enum('NO') or similar. Post the structure or screenshots if you are not sure.
Title: Re: Comments not showing up when displaying image
Post by: alm0stperfect on April 29, 2008, 02:39:22 pm
Yes, that was the problem after all. I don't know how it got changed, but it's changed back to enum('YES','NO').
Comments are not showing when displaying images. Thank you so much for the help!  :)
Title: Re: Comments not showing up when displaying image
Post by: alm0stperfect on April 29, 2008, 02:44:18 pm
Oops, typo error. Comments are NOW showing when displaying images. Thank you! :)