Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: If a number have same number get_avatar

@danbp

Participant

I don’t know that plugin, sorry.

xprofile_get_field_data(2) where 2 = field id, this is not the entered value. For what do you need each member to give a number ?

The field has an ID and a value. What you need is the value, not the ID as all user use the same field ID to enter a number.

This means if field ID 2 contains 35 or other value, do something and if empty do nothing or else.

xprofile_get_field_data fetch a value, let’s say 35 (as example)

Your document has a var $entry[35] with 35 in array.

User Igor registered on the site with a user ID of 2156. Completed his profile and entered number 35. Igor’s avatar is generated by Gravatar.

What i don’t understand for the moment is the relation between the document and Igor !

The usage example given by the author let me doubt that you can bind a user in a excel tab with a BP user avatar, at least because the doc is not stored in the DB, but only screen readable.

Skip to toolbar