coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: rhydewithdis on December 14, 2005, 01:02:32 PM

Title: Why can't visitors post comments?
Post by: rhydewithdis on December 14, 2005, 01:02:32 PM
This has been frustrating me for three days now and I've gone over all my settings and still can't figure out how to allow 'anonymous' users to post comments to my galleries. 

1) All my albums are set to "Yes" for: "Visitors can post comments" in the album properties.
2) "Allow unlogged users (guest or anonymous) access" is set to "Yes" in Config
3) I read the online manual and under Group Settings here: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#group_cp (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#group_cp) it says:
QuoteUse the anonymous group to define what non-registered users can and can't do. Quota and "Personal gallery" are meaningless for anonymous users.
4) When I look at my groups, I don't see any "Anonymous" group.
5) I created an "Anonymous" group and still had no luck.

FWIW, a registered user that is logged in can leave comments with no problems. 

Here is my gallery: http://www.vivrant.com/gallery/ (http://www.vivrant.com/gallery/)
user/pass: test/test

Any help would be appreciated.
Title: Re: Why can't visitors post comments?
Post by: Abbas Ali on December 14, 2005, 01:43:32 PM
Quote from: rhydewithdis on December 14, 2005, 01:02:32 PM
4) When I look at my groups, I don't see any "Anonymous" group.

Strange, you should see the Anonymous group. One can't delete anonymous group. Are you sure you are watching the group settings on "groupmgr.php" script?
Title: Re: Why can't visitors post comments?
Post by: Joachim Müller on December 14, 2005, 02:39:13 PM
please post a screenshot of the group manager
Title: Re: Why can't visitors post comments?
Post by: rhydewithdis on December 14, 2005, 09:27:18 PM
Here is a screenshot.  No Anonymous group there!  I don't believe that I ever deleted it, but I guess anything is possible.  What do you think?

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.vivrant.com%2Ffiles%2Fpics%2Fcpg%2Fgrpmgr.jpg&hash=8427e874cafdfff8e3415987f2a2cc8d3fc3f3fa)
Title: Re: Why can't visitors post comments?
Post by: imrich on December 14, 2005, 10:17:27 PM
I hope it's ok for me to answer.

As far as I know "Guests" = "anonymous".  I think if you click that red 'x" next to Guests, it will rename 'Guests" to "Anonymous".

Either way, change that "Guests" comments permission to "Yes", right now you have it set to "No" and I believe that is why they can't posts comments.
Title: Re: Why can't visitors post comments?
Post by: rhydewithdis on December 14, 2005, 10:55:57 PM
Well wouldn't you know! I guess I should've known better.  Consider this problem solved, but perhaps the documentation should be updated to show that Guests = Anonymous.  In the documentation, the group is labeled as Anonymous which is what I spent my time looking for. 

Thanks!
Title: Re: Why can't visitors post comments?
Post by: artistsinhawaii on December 14, 2005, 11:56:18 PM
Quote from: imrich on December 14, 2005, 10:17:27 PM
I hope it's ok for me to answer.

As far as I know "Guests" = "anonymous".  I think if you click that red 'x" next to Guests, it will rename 'Guests" to "Anonymous".

Either way, change that "Guests" comments permission to "Yes", right now you have it set to "No" and I believe that is why they can't posts comments.

Of course it's okay! In fact, suggestions from all users are more than welcome.  Even suggestions that don't work sometimes help to point us all in the right direction.

Good job.

Dennis
Title: Re: Why can't visitors post comments?
Post by: docgonzo on January 18, 2006, 11:55:44 PM
About that red x next to 'Anonymous',
I think I read it somewhere yesterday, that it keeps changing back to Anonymous if you set it to Guest manually in the Groups config...
If i remember correctly, a change in bridge/coppermine.inc.php is necessary,

Quote from: ecto on December 21, 2005, 05:32:19 PM
DISCLAIMER: I advise you NOT to do this if you are bridging Coppermine with another app, as I am not sure whether or not this change will affect anything in the bridging. I believe though that this is merely a small typo, as from what I've seen in the code, coppermine.inc.php only gets used if bridging is not enabled. It would be good if a dev could confirm this.

Find line 408 in bridge/coppermine.inc.php:
    $udb_groups = array(1 =>'Administrators', 2=> 'Registered', 3=>'Guests', 4=> 'Banned');
Change 'Guests' to 'Anonymous'.

Original thread --> http://forum.coppermine-gallery.net/index.php?topic=25294.0