Closed (fixed)
Project:
Userpoints Node Action
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Reporter:
Created:
25 Jun 2011 at 18:53 UTC
Updated:
27 Jun 2012 at 01:05 UTC
Jump to comment: Most recent
Comments
Comment #1
BillyMG commentedI'll have to think about that one. It's a bit of an odd choice, but it would probably fit in.
Comment #2
BillyMG commentedI've added the functionality to the DEV branches for a create option.
Comment #3
esculcar commentedThanks you very much I will test it...
Comment #4
Anonymous (not verified) commentedIt seems to work and I like the way the rules are managed all in one place. Your solution is much more user-friendly than that of "User points Nodes and Comments" module, because they scatter the configuration all over the content types. And they don't verify the user has enough userpoints by the way.
Would it be possible to deny access to node creation forms also before the form gets filled in? Otherwise users get annoyed.
Comment #5
BillyMG commentedHmmm, that would require some additional effort. Seems a bit different since the rest of the methods need the form to be submitted first. I'm not sure, but hook_form_alter might be the solution. Let me think on it for a bit.
Comment #6
Anonymous (not verified) commentedYes, perhaps hook_form_alter and setting all fields to '#access' = false to disable the form. Then adding a new markup-field displaying the appropriate message.
hook_node_access is interesting too, but only if it's possible to display a message after denying access.
I'm currently too busy for supporting development of this module, but will consider participating later. Please keep doing your great job for another while.
Comment #7
BillyMG commentedI'm going to mark this one as fixed since the original request is complete. If you wouldn't mind creating a new bug for your functionality request, I can address it separately.
Comment #9
peterx commentedFollow on from request in #4: http://drupal.org/node/1661692