Hey everybody,
I just installed Drupal today and everything worked fine. The behavior I'm seeing is as follows:
1)If I log in as administrator and post a story, it automatically goes to the front page.
2)If I log in as a "regular" user, the story doesn't appear on the front page until
a)the administrator "approves" the story
b)the administrator "published to main page" the story

I'm sure there's a way of configuring the permissions for authenticated users stories to automatically go to the front page, but have not been able to sus it out.

My "authenticated user" has the following permissions:
*post comments
*post comments without approval
*post content
*access comments
*access content

Thanks! (and may i say this software was much easier to install than I had been expecting: cool stuff!)

Comments

moshe weitzman’s picture

if you don't need the queue module at all, then deactivate and you should get the desired behavior.

drupal cvs has some more fine tuned settings for the queue module, in case you do need it for other node types

jimbo-1’s picture

The queue module WAS deactivated. To make sure, I activated it(at the checkbox on administrator->site configuration->modules) , submitted a story as an authorized user, then deactivated it, then submitted another story as the same authorized user.

Neither story appears. When I look (as administrator) at the stories (administrator->content management->edit node) both stories have a Moderation Status of "pending approval" and Promote to Front page set to "disabled". Enabling/disabling the queue module seemed to make no difference.

Any other suggestions?
Regards,
-jimbo

jimbo-1’s picture

Opensourcecms.com has a drupal installation people can use to help decide which cms system is best for them. They wipe the database every hour. A perfect place to test whether the behaviour being discussed in this thread is the result of my own crappy system, or the actual behaviour of the software.

I went there, changed the permissions so that authenticated users can access comments, access stories, post comments, post comments without approval. Then I made a new authenticated user, and posted a story. I'm seeing the exact same behaviour I was seeing on my own system. Authenticated user's stories are NOT going to the front page. Only the admins are.

The only modules that are enabled are taxonomy,story, page,node, help,comment, and block. The queue module is NOT enabled.

Does anyone have any other ideas? This seems like the slam-dunk default behaviour you'd want to implement an online community (metafilter etc).

Regards,
-j

jimbo-1’s picture

to get it to behave the way I want. Hopefully there will be no unforseen side effects...this was the modification that I made:

function story_save($op, $node) {

if ($op == "approve") {
return array("status" => 1, "promote" => 1);
}

if ($op == "create") {
//if (user_access("administer nodes")) {
return array("body" => filter($node->body), "teaser" => filter($node->teaser),"status"=>1,"promote"=>1);
//}
//else {
//return array("body" => filter($node->body), "moderate" => 1, "teaser" => filter($node->teaser));
//}
}

If anyone knows a better way to do this I'm still curious.

ax’s picture

jimbo-1’s picture

So this is a feature of the latest build that didn't make it into the 4.1 release, correct?
If I install the latest build (which you guys call drupalCVS), is there any module I need to turn on to get this functionality (besides the defaults like story, comment, block, etc)?
What's your take on stability of the nightly build?
Regards,
-j