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

nevets’s picture

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.

kevin p davison’s picture