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.
This patch makes it possible to use Plus1 also on user profile pages. In the admin side you can choose the user roles/types that will have their profiles voted on.
In addition I have "switched on" the setting that disables users to vote on their own content.
Being a bit of a newbie myself -> the patch needs review.
Comment | File | Size | Author |
---|---|---|---|
plus1_user.patch | 9.94 KB | crisiskai |
Comments
Comment #1
NancyDruIf you use the Content Profile module, the voting should be easy as choosing that content type.
Comment #2
NancyDruThe idea is interesting. I do see some coding standards errors in your code (at the very least concatenation). I have applied for co-maintainership of this module and already have some higher priority fixes ready to be committed. Your code collides with some them, so I'd like to see a reworked patch after a -dev version gets created.
Comment #3
mattcasey CreditAttribution: mattcasey commented+1 for this option, just to avoid having to get another module and configure a whole extra layer of node types. For now, I'll use the Content Profile solution