Hi all,

I was wondering if there was any way to add a point scheme to User Titles that would allow me to set the user title based on the user's Karma Points? The karma points value is stored in $user and $account, so it should be easy enough to pull, I'm just not 100% sure how to implement the hook override.

The intent of this is to give a title based on the quality of the content posted by the users, as opposed to the quantity.

Thanks!

CommentFileSizeAuthor
#3 user_titles-356988-3.patch1.4 KBrooby

Comments

rooby’s picture

Should be possible. I'll have a look when I get a spare minute.

rooby’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev
Category: support » feature
rooby’s picture

Status: Active » Needs review
StatusFileSize
new1.4 KB

Here is a patch that adds support for user karma.

You have to apply the patch in #453190: Role based titles first.
This is because that patch moves the integration with userpoints, user_karma etc. out to separate submodules, which is better.
So with this patch you also have to enable the user titles user karma module.

agileware’s picture

Committed and in 6.x-1.0-beta3

agileware’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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