Project

General

Profile

Actions

Bug #3359

closed

Substitution "user" and "user_id" variables don't work

Bug #3359: Substitution "user" and "user_id" variables don't work

Added by krileon about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
16 March 2012
Due date:
% Done:

100%

Estimated time:

Description

When adding "user" or "user_id" to a substitution it will no longer work. Examples as follows.

Working:
[cb:userfield field="formatname" reason="list" /]

Not Working:
[cb:userfield user="42" field="formatname" reason="list" /]
[cb:userfield user_id="42" field="formatname" reason="list" /]

https://www.joomlapolis.com/forum/153-professional-member-support/194424-auto-article-creation-upon-plan-subscription?limit=6&start=6#194538

Updated by krileon about 14 years ago Actions #1

  • Status changed from Assigned to Closed
  • Target version deleted (CB 1.8.1)
  • % Done changed from 0 to 100

Looks like it's not an issue after all. The order of variables are just EXTREMELY specific. The user variable needs to come directly after the field before other field variables.

Working:
[cb:userfield field="formatname" user="42" reason="list" /]
[cb:userfield field="formatname" user="42" reason="list" /]

Actions

Also available in: PDF Atom