Skip to:
Content
Pages
Categories
Search
Top
Bottom

buddypress add field in profil


  • olidarkus
    Participant

    @olidarkus

    Hello to all.

    I would like to put this code:

    bp_profile_field_data ('field = Name your main character')

    in place of the word “OlĂ®darkus” in the member-header.php

    <? php echo do_shortcode ([armory-character show_title = "0" show_portrait = "1" show_talents = "0" show_items = "0" show_profs = "0" show_achievs = "0" locale = "en_US" region = "EU" realm = "The scarlet Crusade" name = "Olîdarkus"] ');?>

    I have the latest verions of wordpress and buddypress
    the plugin is placed in relation to: http://wordpress.org/plugins/wow-armory/

    for a list of members with this I managed code in members-loop.php:
    <? php echo do_shortcode ([armory-character show_title = "0" show_portrait = "1" show_talents = "0" show_items = "0" show_profs = "0" show_achievs = "0" locale = "en_US" region = "EU" realm = "The scarlet Crusade" name = "'bp_get_member_name. ().'"] ');?> </ code>

    Thank you in advance for your help.

    I'm sorry for my English.

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

  • olidarkus
    Participant

    @olidarkus

    Please help me
    thanks


    Shmoo
    Participant

    @macpresss

    I don’t know but maybe it has something to do with this alert at the top of the plugin page.

    This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.


    olidarkus
    Participant

    @olidarkus

    Hello, the plugin works perfectly. The only concern is the php writing I do.

    to page: members-loop.php I find how to make and it works perfectly.

    To the profile page is the only php writing is difficult. Thank you for helping me.


    modemlooper
    Moderator

    @modemlooper

    <?php 
    $name = bp_get_profile_field_data('field=Name your main character');
    
    echo do_shortcode ('[armory-character show_title = "0" show_portrait = "1" show_talents = "0" show_items = "0" show_profs = "0" show_achievs = "0" locale = "en_US" region = "EU" realm = "The scarlet Crusade" name = "' . $name . '"]');
    ?>

    olidarkus
    Participant

    @olidarkus

    Thanks modemlooper. it’s ok for me. Nice

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘buddypress add field in profil’ is closed to new replies.
Skip to toolbar