I use token [user:post-count] with the Rules module, and my rule must change users` role when user_starts post count is equal to the certain value. For user1 everything works fine, but in the other case - "numeric comparison evaluated to false". I`ve checked it out everywhere I could - it`s true! I`ve written Rules module issue, and got their answer: "suppose your used token works only for user1". How can it be?

Comments

greggles’s picture

Project: Token » Rules
Version: 6.x-1.12 » 6.x-1.x-dev
Component: Module Integrations » Miscellaneous

Not sure. None of this description points to a clear token bug, so I'm re-assigning to rules. Sorry if this feels like a run-around, but without a totally clear "steps to reproduce" I don't have the time to install all the modules and guess at what is happening in Rules (which I don't use).

fago’s picture

What's the original issue for that one?

fago’s picture

Have you tried displaying the token value to see if it's right?

fago’s picture

Have you tried displaying the token value to see if it's right?

Eliza’s picture

My original issue: http://drupal.org/node/492828. I`ve tried to display token value, using rule without any condition and it works for user1 and doesn`t work for another (just shows nothing). I don`t know how to check token value without using Rules module. Have any ideas?

imp7’s picture

Was just trying to do a similar thing :) the condition was only working for administrators, so make sure the view statistics in user_stats module permission is set.

Eliza’s picture

O, thank you! It was very stupid of me! Now it works!

Eliza’s picture

Status: Active » Fixed
imp7’s picture

Ahh good, don't worry though you'll hopefully learn to love the comprehensive drupal permission system. It adds things in with every module you play with, I have made the mistake of overlooking this kind of thing more than once myself :)

Status: Fixed » Closed (fixed)

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