Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Helllo,
Userpoints is a great module.
We have been using a similar module in Joomla known as alpha userpoints.
It allows us to have choise for moderation of each point action.
We used to set auto approve point for Userlogin, Invite, Vote
and we used to set moderate points for posting content, or specific node requires moderation etc.
Can this feature be added in Userpoints??
Regards
Comments
Comment #1
hamzahali CreditAttribution: hamzahali commentedCan we use point moderation for certain node types and points auto approve for certain node types.
We used to set auto approve point for Userlogin, Invite, Vote
and we used to set moderate points for posting content, or specific node requires moderation etc.
Comment #2
hamzahali CreditAttribution: hamzahali commentedFixed this.
Change the userpoints_nc.module to below
Comment #3
hamzahali CreditAttribution: hamzahali commentedComment #4
kbahey CreditAttribution: kbahey commentedPlease DO NOT paste lengthy code in the body of the issue.
Attach it as a .txt file is you want to.
The best way is still patch formats, this will get things reviewed faster.
Comment #5
hamzahali CreditAttribution: hamzahali commentedShifted to Userpoints Nodes and comments. Patch Ready
See http://drupal.org/node/760054
Comment #6
kbahey CreditAttribution: kbahey commentedIn the future, do not open an new issue. You can change the "Project" field to the new project to move the issue to another project.
Also the patch is not correct.
It deletes the entire file then adds it.
This is because of the UNIX vs. Windows line endings (LF vs. CR/LF).
Please correct this and submit an updated patch here.
Comment #7
hamzahali CreditAttribution: hamzahali commentedAws Khalid,
How do I correct that?
I am making patches using linux server.
First I am making changes required and saving it a xyz_new.module and then using the diff function to make a patch. Any problem in this method. Sorry for trouble. Regards Hamzah