i want to create a view where only an authenticated user can post. i can do that, but the problem is that an anonymous user can not see the articles posted.
drupal 5 lets you make new content types. make one for whatever it is that you want. then go in access controls and give permission to authenticated users to make that type, and then make sure anonymous users have permission to access content. the end.
Probably you are doing something wrong, because this is one of the most basic methods.
Well... what content type are you trying to show to anonymous users? is this a custom type? i can probably give you step by step instructions if you explain further what you really want to achieve.
John
--------------------------------- http://www.drupalnorge.no
hvor oversettere, utviklere, leverandører, og brukere av Drupal i Norge samles.
Here is the problem: if an authenticated user is a member of a group, then his posts will not be seen (unless you are a member of the group). If the user does not belong to any group, then everyone can see his posts. If you are an admin, you have a option of choosing 'public' when you post. But for a regular user, there is no such an option.
I was wondering what is going on. Could it be some group configuration issues?
I just did exactly what you describe to enable "Audience checkboxes". However, when I click on create -> node (page in t his case), the Audience box lists only the OG Groups. There is no checkbox for Public/Private or anything, and posts are viewable to all. What do I need to do?
I haven't really experimented with the OG module, so I cannot give a 100% answer. I just quickly installed the module on my sandbox site just to check about your initial question.
Anyway, the second instruction above says tick on "Visibility chosen by author/editor using a checkbox on the posting form. Checkbox defaults to Public." So basing from that, all nodes are public as default UNLESS the user creating/editing a node ticks one of the listed groups. So, I assume that if the user chooses a group as an audience then it will only be visible to that group. If there's no choice then the node is public.
I suggest you try creating a node then tick on a group... check if it is still visible to all or only to that group.
I suggest you try creating a node then DONT tick on any group, check if it is visible to all.
...Just for you to compare the behaviour of actions taken.
John
--------------------------------- http://www.drupalnorge.no/support
din side hos Drupal Norge med hjelp og støtte til Drupal, på norsk.
Comments
i want to create a view
i want to create a view where only an authenticated user can post. i can do that, but the problem is that an anonymous user can not see the articles posted.
i want an authenticated user
i want an authenticated user to post articles that everyone can see, how to do it?
i dont want blogs, i want to
i dont want blogs, i want to create another content type to do it. how to do it?
Take a look at CCK.
Take a look at CCK.
--
John Forsythe
Blamcast - Custom theme design and more...
thanks, i will.
thanks, i will.
i used views module. but it
i used views module. but it did not give 'public' option as in admin when an authenticated user was posting.
Access Content Permissions
Go to Administer > Access Control and make sure permissions for the 'node module' is granted for anonymous users to 'access content'.
[Edit: I may have misunderstood what you are wanting, please clarify if you still don't have the answer you seek.]
i want authenticated users
i want authenticated users (not anonymous users) to be able to post articles (say, job posts, but not in blogs) for everyone to see.
drupal 5 lets you make new
drupal 5 lets you make new content types. make one for whatever it is that you want. then go in access controls and give permission to authenticated users to make that type, and then make sure anonymous users have permission to access content. the end.
great!
:-) i just can't leave this thread alone...it's just plain amusing :-))
great advice nickmaynard! the best!!!!
John
---------------------------------
http://www.drupalnorge.no
hvor oversettere, utviklere, leverandører, og brukere av Drupal i Norge samles.
i tried it, but anonymous
i tried it, but anonymous users were not able to see any post written by authenticated users.
probably
Probably you are doing something wrong, because this is one of the most basic methods.
Well... what content type are you trying to show to anonymous users? is this a custom type? i can probably give you step by step instructions if you explain further what you really want to achieve.
John
---------------------------------
http://www.drupalnorge.no
hvor oversettere, utviklere, leverandører, og brukere av Drupal i Norge samles.
Yeah
I was assuming the first part and so only stated the second part.
That's exactly how I did it for my site - although I'm using 4.7 (for now) and created content types by copying page and story modules as needed.
Here is the problem: if an
Here is the problem: if an authenticated user is a member of a group, then his posts will not be seen (unless you are a member of the group). If the user does not belong to any group, then everyone can see his posts. If you are an admin, you have a option of choosing 'public' when you post. But for a regular user, there is no such an option.
I was wondering what is going on. Could it be some group configuration issues?
Are you using some type of
Are you using some type of 'groups' module?
organic groups
You have the og module installed then.
Go to Administer › Organic groups › Organic groups configuration
Configure "Node authoring form".
I reckon, basing from your post and comments here, your config will possibly be:
John
---------------------------------
http://www.drupalnorge.no ›› hvor oversettere, utviklere, leverandører, og brukere av Drupal i Norge samles.
hey, this was exactly what
hey, this was exactly what it was, thanks a lot! the site now works the way it has never worked before.
I just did exactly that...
I just did exactly what you describe to enable "Audience checkboxes". However, when I click on create -> node (page in t his case), the Audience box lists only the OG Groups. There is no checkbox for Public/Private or anything, and posts are viewable to all. What do I need to do?
3 steps
Did you do all the 3 steps stated above?
I haven't really experimented with the OG module, so I cannot give a 100% answer. I just quickly installed the module on my sandbox site just to check about your initial question.
Anyway, the second instruction above says tick on "Visibility chosen by author/editor using a checkbox on the posting form. Checkbox defaults to Public." So basing from that, all nodes are public as default UNLESS the user creating/editing a node ticks one of the listed groups. So, I assume that if the user chooses a group as an audience then it will only be visible to that group. If there's no choice then the node is public.
I suggest you try creating a node then tick on a group... check if it is still visible to all or only to that group.
I suggest you try creating a node then DONT tick on any group, check if it is visible to all.
...Just for you to compare the behaviour of actions taken.
John
---------------------------------
http://www.drupalnorge.no/support
din side hos Drupal Norge med hjelp og støtte til Drupal, på norsk.