Allowing anonymous Users to write on coments / forums.

Author Message

L K

Saturday 11 December 2004 8:02:48 am

Hello
I'm trying to figure out how to allow anonymous users to post comments on articles and to contribute on the site with out the need to log in. I can see the comments buttons when I log in as the administrator but when I log in as a 'normal user', it still says you are not allowed to make comments and also says you need to log in to contribute to forums..please help. I know it's something to do with roles in the admin area but I haven't done it before. Can somebody please guide me on this..thanks.

Balazs Halasy

Sunday 12 December 2004 12:44:01 am

Hi,

Try this:

Edit the anonymous role and add the following policies:

1)
Step1: Module=content (grant access to one function)
Step2: Function=create (grant limited access)
Step3: Class=Comment, Section=Standard, ParentClass=Article

2)
Step1: Module=content (grant access to one function)
Step2: Function=edit (grant limited access)
Step3: Class=Comment, Section=Standard, ParentClass=Article

Remember to save the role and verify that the policies you added are correct. That's it, I haven't tested this, but I think it should pretty much solve your problem.

Balazs

Ekkehard Dörre

Sunday 12 December 2004 2:36:30 am

Hi,

you can look here:
http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_guestbook/making_the_button_work

but there is a problem:
http://ez.no/community/bug_reports/how_to_allow_simple_posting_for_anonymous_users_no_login_requirements

Anonymous Users are one user with User ID: 10 so [content edit self] means editing all ever made comments or forum posts by any anonymous user.

The only way is Volkers hack, but not testet is 3.4 or 3.5

Greetings ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

L K

Friday 17 December 2004 2:58:54 am

Hello
I tried all that is been said in the articles above but nothing seems to work.
All I want is to enable anonymous users to make comments, post in forums and make comments on articles with out the need to login.

L K

Sunday 23 January 2005 3:20:37 am

This is how I have set my Roles and Policies for allowing anonymous user to make comments on articles and to post in forums but It's not working according to what I want.

I want to enable anonymous users to post and make coments on forums and on articles. Can some please help me? I'm using 3.4.1 version.

Thanks.
------------------------------------------------------------------------------
user login *
content read Class( Folder , Link , File , Comment , Article , Product , Review , Forum , Forum topic , Forum reply )
content read Class( User group ) , Section( Standard section )
content read Class( Forum ) , Section( Standard section )
content create Class( Forum ) , Section( Standard section ) , ParentClass( Forum )
content create Class( Comment ) , Section( Standard section ) , ParentClass( Article )
content edit Class( Forum ) , Section( Standard section ) , Owner( Self )

L K

Monday 31 January 2005 10:25:12 am

Hello
Does anyone know why my guest users can not post after registration. If someone has done it before, I will appreciate if you can just post the code so that I can see how you set the Roles and Polices.

I can post and make comments when I'm logged in as the admin for my site but when I create another user account, It says "you are not allowed to make comments" instead of having the comments button at the buttom of each article or in the forums that come with ezpublish as fault message board. Plz help.
Thanking you in advance.

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

eZ debug

Timing: Jan 18 2025 02:21:58
Script start
Timing: Jan 18 2025 02:21:58
Module start 'layout'
Timing: Jan 18 2025 02:21:58
Module start 'content'
Timing: Jan 18 2025 02:21:59
Module end 'content'
Timing: Jan 18 2025 02:21:59
Script end

Main resources:

Total runtime0.6830 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 589.2266153.4844
Module start 'layout' 0.00570.0030 742.710939.4375
Module start 'content' 0.00870.6731 782.1484624.5078
Module end 'content' 0.68170.0012 1,406.656316.1250
Script end 0.6829  1,422.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4917160.0002
Check MTime0.00150.2167160.0001
Mysql Total
Database connection0.00100.140010.0010
Mysqli_queries0.623591.2954680.0092
Looping result0.00060.0851660.0000
Template Total0.650195.220.3250
Template load0.00220.320320.0011
Template processing0.647994.862820.3239
Template load and register function0.00020.026410.0002
states
state_id_array0.00130.183310.0013
state_identifier_array0.00080.121220.0004
Override
Cache load0.00190.2802510.0000
Sytem overhead
Fetch class attribute can translate value0.00050.072230.0002
Fetch class attribute name0.00110.156580.0001
XML
Image XML parsing0.00120.178730.0004
class_abstraction
Instantiating content class attribute0.00000.001580.0000
General
dbfile0.00190.2717220.0001
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 31
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs