Hi Folks,

Please, How do I use the userpoints_role_exempt Component, in order to exclude Admins?

Thanks in advance!

Comments

fred0’s picture

It would appear that this module functions just fine under Drupal 6. I haven't tested extensively, but it did exclude roles. The only changes that needed to be made were to the .info file to make it show as compatible for Drupal 6.
Having never used the 5.x branch, I am not sure what the proper behavior is, but it would appear that my default admin user (uid 1), by being a part of the role I am excluding, also get excluded.

kbahey’s picture

Status: Active » Fixed

Based on the feedback above, I ported the module to 6.x, and it will be included in the 6.x-1.x-dev tarball in about 8 hours from now.

edalcin’s picture

Hi Folks! Thanks for the reply and update. I've installed the last version but it is saying that is incompatible with Drupal 6.8 and it keep disable at the module config.

Any thoughts?

Thanks!

fred0’s picture

Yes. Line 5 of the .info file currently reads:
dependencies = userpoints
when it should actually be:
dependencies[] = userpoints

kbahey’s picture

Fixed and should be available in about 10 hours from now in the -dev tar ball.

edalcin’s picture

Perfect! Great! Thank you very much indeed! Have a wonderful 2009!

edalcin’s picture

Just to inform that in this new release the userpoints_role_exempt stops working, giving points to Admin, despite the box is checked. :(

fred0’s picture

As noted in the userpoints 1.0 release notes, hook_userpoints has been changed. I expect most of the contrib modules are going to need an update to work properly. I might look into it in the next day or two.

fred0’s picture

edalcin’s picture

Thanks Fred but I'm not this technical to understand exactly what I have to do to fix it.

I understand that we have a new module called "User points Nodes and Comments". Should I install it? Should I Uninstall the old one? Should I install the pointed patch?

Thanks for any help.

fred0’s picture

The patches I submitted fix this (userpoints_contrib) to work with the new 6.x-1.0 release of Userpoints. Khalid is rolling them into the next dev release so, you could just wait for that. Or patch the current release with my patches if you're impatient.
The new module moves the points settings for node & comment creation out of the core Userpoints and into it's own so that the core is just an API. You should install it if you're using Userpoints 6.x-1.0 and need to award points for node and comment creation. Otherwise, no.

edalcin’s picture

Thanks Fred. I just give up for while, and uninstalled the module. I'm very patient, and will wait for a good and stable release. Thank you for all you attention, and for your effort in this fantastic module!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.