Support » Plugin: Shortcode Exec PHP » [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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • any idea?
    i have to fix this 🙁

    Plugin Contributor M66B

    (@m66b)

    Maybe the bp_member_profile_data function is not loaded when the plugin executes. You can try to solve this by using require_once "...".

    how should i exactly do it?

    Plugin Contributor M66B

    (@m66b)

    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.