help me to make a drupal site:

1- peoples (registered or not registered) send articles to site. (hide articles to all)
2- 10 fix people are assessment.when each of this 10 person accept a article to assess other 9 people not premitted to see this article.
3- final assessted articles make 'published to all'

i know how do no.1 with flexinode or cck and make 'unpublished default'
and in no.3 with workflow and action module i can do that.

but in no.2 i can't make this: 10 people be in 1 role: 'assesster', and then each of this 10 have a 'child role' to be diffrent from 9 other when assessting a article: "active assesster.
and its be more difficult to set options when a assesster accept 2 or more article.

please help me!!!

Comments

Chris Lozinski’s picture

Go to menu item:
>administer > access control

Then click 'roles' from the tabs.

Add new role in the form.

Click 'permissions' tab

Tick all boxes for the new role

Then go to:
>administer > users

Then click 'edit' next to each user name and you should see the new role. Click the roles you want for each person.

Hope this helps

Regards

Chisel

moradizx’s picture

thanks, but i want to do this procedure ('set role' or 'create role') automaticly when each assessor user accept article, something like 'tagnode' module that automatic create term for new node using title field.

i want to create a new role when new article submit by using article title, and when article accepts, check is this accept is true and then set that role to the user that accept article (all automatic by site)

for example article nodes have perm:'Article Assesor':
1- user submit article with title: "Drupal APIs" => drupal add a new role "drupal_apis" to site roles.
2- when that article "Drupal APIs" accepts by assessor => drupal check if this article not accepted by any user set "drupal_apis->Article Assesor" for acceptor User.

i know there is not any drupal module with absolutely this purpose and i must write PHP codes to do this, but i want to find some modules and drupal functions to help me write very shorter PHP codes.

Chris Lozinski’s picture

Hi meysam3d

There may be something in the Handbook

Here is the link to PHP Snippets:

http://drupal.org/node/45471

Hope you find what you are looking for

Regards

Chisel

takanomi’s picture

I had a similar problem, found what I needed there, thank you.

Steve
http://www.submityourarticle.com