Posted by dolilmao on February 11, 2013 at 4:57pm
I am trying to develop a module on how not to allow access to node creating status until the user has been a member for a week or has published at least one comment to any previously published node
Comments
I would consider using the
I would consider using the following approach. It requires
a) Adding a role for users who can post
b) Rules module
Posting of content then is tied to the new role and the role is not granted to new users.
Add a rule for when a user posts a comment, add the new role to the user if they do not already have it.
Add a scheduled rule finds users without the role and who have been a member for more than a week. Grant the users the new role.
for the record...
Rules module: http://drupal.org/project/rules
Read: http://drupal.org/node/298476
Tiny Book Of Rules: http://skillcompass.org/resource/tiny-book-rules
Quevin, LLC - www.Quevin.com - @Quevin
Passionate about planning, designing, and developing exceptional sites.