Roles required for Anonymous Comments

Author Message

Ian Cumming

Sunday 18 July 2004 7:40:51 am

Hi,

I've searched the forum for every post regarding this issue, but I can't seem to get enough info to solve the problem..

I can't enable comments on articles for anonymous users in 3.4. I first tried the following roles for Anonymous:

content create Class( Comment )
content read Class( Comment )
content edit Class( Comment )

However, if I add:

content * *

for Anonymous I am able to create them?

I am really stuck please help :(

meinhard benn

Sunday 29 August 2004 3:27:46 pm

hi there,

this seems to be a bug in the template files in 3.4 (and 3.4.1 as well). however, if you change "can_create" into "create" in the right .tpl file in your ez design directory, you can post comments.

for me it worked like this (i wanted to have anonymous weblog comments):
1. edit <ez_dir>/design/<name_of_your_ez_site>/override/templates/full/weblog.tpl
2. look for "can_create" at the bottom of the file, replace with "create"
3. clear template caches in the cache admin
4. make sure the anonymous role has sufficient rights to post comments

hope this get you on the right track..

meinhard.

http://goozee.benn.org/ - Google Co-op for eZ sites

Randeep Walia

Wednesday 08 September 2004 11:37:24 am

I don't know how you figured that out- but YOU THE MAN! It works.

__________________________________
Randeep Walia is http://www.rundeep.net powered by EZ Publish

Frederik Holljen

Wednesday 08 September 2004 11:29:37 pm

This bug is fixed for the upcomming 3.4.2

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.