In-bulletin - user field display

1 view
Skip to first unread message

Phil -- wbtc.fr --

unread,
Oct 15, 2010, 12:16:06 PM10/15/10
to in-por...@googlegroups.com
Hello,

in in-bulletin/elements/posts.elm, in post_element definition, we have a field to display user country:
<inp2:PosterField name="Country"/>
and this field is filled when user fills his country in user's preference (and not in In-Bulletin preference).

Is there a way to display custom user's field here too? I tried all common tags and fields, but no luck I didn't found how to do...

thanks for your help!
Phil.

Alexander Obuhovich

unread,
Oct 15, 2010, 12:49:48 PM10/15/10
to in-por...@googlegroups.com
So user have 2 country fields:
  • one in it's profile
  • one in in-bulletin profile
Is that so?

That's strange, how did you get that custom field usually (with other country)?

Phil -- wbtc.fr --

unread,
Oct 15, 2010, 12:51:52 PM10/15/10
to in-por...@googlegroups.com
thank for your reply Alex, it works using one of these 2 tags:

<inp2:u.profile_Field field="cust_xxx"/>
or
<inp2:u_CustomField name="xxx"/>

I don't know what's the difference, any usage's tip?

thanks

2010/10/15 Alexander Obuhovich <aik....@gmail.com>

Phil -- wbtc.fr --

unread,
Oct 15, 2010, 12:57:43 PM10/15/10
to in-por...@googlegroups.com
sorry, it works in user profile to display the current logged in user's fields, but not in post_element to display poster's infos.

2010/10/15 Phil -- wbtc.fr -- <ph...@wbtc.fr>

Alexander Obuhovich

unread,
Oct 15, 2010, 12:58:20 PM10/15/10
to in-por...@googlegroups.com
Sadly, but tag PosterField only allows to selected real fields (not custom fields) from user record. That's a bug actually.

Phil -- wbtc.fr --

unread,
Oct 15, 2010, 1:02:27 PM10/15/10
to in-por...@googlegroups.com
is it the same if I try to display in-bulletin custom fields?

2010/10/15 Alexander Obuhovich <aik....@gmail.com>

Alexander Obuhovich

unread,
Oct 15, 2010, 1:19:19 PM10/15/10
to in-por...@googlegroups.com
PosterField tag is used to display post author's field. It can't display anything else. Best way to know for sure is to try. I never used topic custom fields, but they should work.

Alexander Obuhovich

unread,
Oct 25, 2010, 4:43:02 PM10/25/10
to in-por...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages