Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: BP 2.8.0 Update Broke Profiles

@leewells

Participant

This is what I have (I shorted the above code as an example of how to hook into bp_ready)

	function executeSteamID()
		{
		$steam64id 		= xprofile_get_field_data('Steam64 ID', get_current_user_id());
		$steamUser 		= xprofile_get_field_data('Steam User', get_current_user_id());
		$steamCache 	= xprofile_get_field_data('Steam Cache', get_current_user_id());

		// we now do stuff with the above data.. then echo it
		}

How would I hook into bp_ready in that situation?

** Yes I’m shamelessly using a hidden xprofile field to store cache data 😛

Skip to toolbar