Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: If a number have same number get_avatar

@tipsy

Participant

@danbp

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 ?

I need every player to enter their play-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.

Have to read this ten more times, I’m to new to this, I’ll be back 🙂

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

In the excel file I get points from other players, with results. This is were I need to connect number with number.

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.

Have to google on this subject.

Skip to toolbar