display avatar in mod_cbpblatest v1.2

12 years 7 months ago #162686 by tto

As I understand I can display the avatar by adding avatar_url in :
{p[cb:userfield field="formatname" reason="list" /]} added a new <a href="{e[url]}">wall entry</a> to {r[cb:userfield field="formatname" reason="list" /]} - {e[date]}

Can you please advice with the right code to add, I couldn't manage :blush:



The following user(s) said Thank You: shawnclapp

Please Log in to join the conversation.

12 years 5 months ago - 12 years 5 months ago #167129 by pepperstreet
Replied by pepperstreet on topic Re: display avatar in mod_cbpblatest v1.2
Just got the answer in advanced forum. The PB 1.2 module description text in backend is wrong, i.e. not up-to-date.


Excerpt from krileon's answer:

The following no longer work, but were not removed in the XML (bug).
avatar_url, name_url, profile_url

It supports substitutions completely so you could display whatever you want. The below displays the thumbnail avatar.

Avatar Thumbnail
[cb:userfield field="avatar" reason="list" /]

{p[cb:userfield field="avatar" reason="list" /]}
{r[cb:userfield field="avatar" reason="list" /]}

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.155 seconds

Facebook Twitter LinkedIn