I'm very sorry to have two issues open at one time but I'm thinking that this one might be a little easier to solve.

I am attempting to use Triggered Rules to 1). Give a user some user points when they use the 'Like' flag on a status and 2). give the author of the status a few points as well.

I have #1 working but I'm having a little trouble with #2. I know that I can use Rules to load a user id and then give that user points on the next action.

What I don't know is what token I should use in Rules to define the id of the author of the status so that I can give out points...

I was looking for a list of FBSS tokens either in the module code or on here but I haven't found anything. Any suggestions?

CommentFileSizeAuthor
#1 fbss_rules_tokens.png28.05 KBicecreamyou

Comments

icecreamyou’s picture

Status: Active » Fixed
StatusFileSize
new28.05 KB

As you can see in the attached image, you should use the tokens for "Replacement patterns for Flagged status," i.e. [account:poster-id].

Actually, I realized after I read your report that there was no token for Poster UID or Owner UID -- mainly because I didn't think there would be a use for them. However I've just committed a change to CVS that introduces these tokens, so you should be able to use them after the dev is rebuilt in about 3 hours.

mrwhizkid’s picture

Hi,

Thanks for the help. Strange because [account:poster-id] is not included in my list of tokens. However, [account:poster] is but when I put that in for user name (name of user to be loaded) it only awards points in the next action (when I set it to award points to the loaded user) to the person who FLAGGED the content. Same thing with [account:owner].

icecreamyou’s picture

That's because, as I said, [account:poster-id] is not currently in the version of the module that you are using. It is now in the most recent dev build. You will be able to see it if you upgrade.

Status: Fixed » Closed (fixed)

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