donmik
Forum Replies Created
-
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Shortcode instead of fieldI don’t understand. Can you explain a bit more or give me an example maybe?
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Show field data elsewhere?What the method is returning ? Are you seing any error? What returns bp_displayed_user_id()? If you don’t give more details about what you have, I can’t help…
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Show field data elsewhere?Like ghascabra said, bp_displayed_user_id() is the method you need.
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Show field data elsewhere?Hi,
echo xprofile_get_field_data($field_id, $user_id);Try this. Replace $field_id with the id of your field and $user_id with the id of your user.
I don’t think this is related to my plugin but if you want to be sure. You can deactivate my plugin and try if you still have this issue.
Hi,
I’m adding this to the list of features to be added some day. Thanks!
I believe the data will be preserved BUT when you will recreate the fields there will be given a new ID in the database so you won’t see the data associated.
So I don’t think this is going to work.
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Can't get Email Field IDxprofile_get_field_data is returning the value of the field to be displayed. So if you have autolink feature enabled, it will return a link with the buddypress search link. If you have autolink feature disabled it will return a link with a mailto.
If you want the email in plain text you can strip tags or use this method instead:
$user_email = BP_XProfile_ProfileData::get_value_byid($field_id, $user_data->id);If you put the code in functions.php, you must see the checkbox in all places where user_nicename is displayed. For example in members header when viewing a user profile. Check the html code of user nicename and see if the span is added at the end.
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Date Selector to Custom Field (DOB)If you are using a custom theme, maybe this theme is missing a hook to display my fields. Read the FAQ for more info.
I don’t knwo what suggestion I can give you…
You have to implement functions inside your functions.php to use a wordpress ajax. You can use a normal text field to fill with your data.
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Add image as profile photofunctions.php of your theme.
Should work with 2.4.8 I hope.
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Image & file is not workingRead the FAQ.
Why my fields are not showing?
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Date Selector to Custom Field (DOB)Can you activate WP_DEBUG in your wp-config.php? There is probably a php error here.