Project

General

Profile

Actions

Bug #2729

closed

Userdata substitutions no longer accept parameters reason and default

Added by krileon over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
22 August 2011
Due date:
% Done:

100%

Estimated time:
2:00 h

Description

When using a userdata substitution it no longer accepts parameters like reason, etc.. Examples as follow.

[avatar]
[cb:userdata field="avatar" reason="profile" /]
[cb:userdata field="avatar" reason="list" /]

They all output exactly the same. Not all parameters should be supported as the output attempted should always be PHP, but "reason" should still be useable to allow for example getting the thumbnail URL vs getting the fullsize URL of avatar. Subsequently [avatar] through API returns a full URL instead of just the filename now.

https://www.joomlapolis.com/forum/154-advanced-members-support/160468-2713-add-custom-cb-field-to-profile-page-title?limit=6&start=12


Files

2729.patch (1.06 KB) 2729.patch krileon, 22 August 2011 21:56
Actions #1

Updated by krileon over 12 years ago

  • File 2729.patch 2729.patch added
  • Status changed from New to Resolved
  • Assignee set to beat
  • % Done changed from 0 to 100

Added support for "Reason" and "Default" parameters to userdata substitution usage.

Actions #2

Updated by nant over 12 years ago

  • Target version set to CB 1.7.1
Actions #3

Updated by beat over 12 years ago

  • Subject changed from Userdata substitutions no longer accept parameters to Userdata substitutions no longer accept parameters reason and default
  • Status changed from Resolved to Closed
  • Estimated time set to 2:00 h

Fixed in r1573.

Thanks Kyle.

Actions

Also available in: Atom PDF