Hey Kyle,
OK, I tried this out in a cb content module. Using your strings and and also trying user names after studying your subs tutorial for a bit. Here's the exact content:
Code:
[cb:userdata user="#displayed" field="user_id" /] [cb:userdata user="#me" /]
<p>You are [cb:userdata field="username" /] and you are viewing [cb:userdata field="username" user="#displayed" /]'s profile.</p>
Resulting in:
So something's up with fetching the user ID? Is the user ID contained in a "field" in the cb sense? I got the same thing when I tried it in a delimiter field, btw.
So I tried those user name substitutions in the auto action.
If:
[cb_profileprivacy] - Equal To - Profile Offline
And:
[cb:userdata field="username" /] - Not Equal To - [cb:userdata field="username" user="#displayed" /]
Then:
Redirect
This works, but the same as things did when I tried your ID substitutions before. Blocks access to the profile for everyone including the profile's owner. (I'm keeping this! It's a way cool user punishment!) But besides that, it seems this needs one more bit of logic or something. Should work though. When viewing your own profile, those values are equal, so....
....scratching my head...