Title: [Plugin: Shortcode Exec PHP] Problem in buddypress profiel field show!
Last modified: August 19, 2016

---

# [Plugin: Shortcode Exec PHP] Problem in buddypress profiel field show!

 *  [nginx](https://wordpress.org/support/users/nginx/)
 * (@nginx)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-problem-in-buddypress-profiel-field-show/)
 * hi
    Im using buddypress. i need to return a value which is a custom profile i
   have tested my code it works but when i put it in a short code nothing appears!
 * `echo bp_member_profile_data('field=Class Code');`
 * what is wrong with this code?
 * any idea?
 * echo works for anything else but i wonder why not for this value!
 * [http://wordpress.org/extend/plugins/shortcode-exec-php/](http://wordpress.org/extend/plugins/shortcode-exec-php/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [nginx](https://wordpress.org/support/users/nginx/)
 * (@nginx)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-problem-in-buddypress-profiel-field-show/#post-2047724)
 * any idea?
    i have to fix this 🙁
 *  Plugin Contributor [M66B](https://wordpress.org/support/users/m66b/)
 * (@m66b)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-problem-in-buddypress-profiel-field-show/#post-2047759)
 * Maybe the `bp_member_profile_data` function is not loaded when the plugin executes.
   You can try to solve this by using `require_once "..."`.
 *  Thread Starter [nginx](https://wordpress.org/support/users/nginx/)
 * (@nginx)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-problem-in-buddypress-profiel-field-show/#post-2047760)
 * how should i exactly do it?
 *  Plugin Contributor [M66B](https://wordpress.org/support/users/m66b/)
 * (@m66b)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-problem-in-buddypress-profiel-field-show/#post-2047761)
 * I don’t know, because I don’t use / know BuddyPress, sorry. You should look through
   the files where the function is defined and include that file.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Shortcode Exec PHP] Problem in buddypress profiel field show!’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shortcode-exec-php.svg)
 * [Shortcode Exec PHP](https://wordpress.org/plugins/shortcode-exec-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcode-exec-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcode-exec-php/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcode-exec-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcode-exec-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcode-exec-php/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [M66B](https://wordpress.org/support/users/m66b/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-problem-in-buddypress-profiel-field-show/#post-2047761)
 * Status: not resolved