Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 57 total)
  • @warut

    Participant

    i think not update version in few day.

    for temporary fix username bug# you can edit code in bp-gifts-ajax.php

    change $bp->displayed_user->fullname to $bp->displayed_user->userdata->user_login

    [from line 41]

    $content = ‘<img class=”gift-image” src=”‘. $_POST[‘gift_path’] .'” />displayed_user->domain.'”>@’.$bp->displayed_user->fullname.’ ‘.$_POST[‘gift_message’];

    [to]

    $content = ‘<img class=”gift-image” src=”‘. $_POST[‘gift_path’] .'” />displayed_user->domain.'”>@’.$bp->displayed_user->userdata->user_login.’ ‘.$_POST[‘gift_message’];

    @warut

    Participant

    here are my code :

    it work on bp default theme but going to mainpage after click Profile when using child theme.

    anyone know the problem? thanks

    /


    /

    function bp_badge_setup_nav() {

    global $bp;

    $profile_link = $bp->loggedin_user->domain . $bp->profile->slug . ‘/’;

    /* Create sub nav item for this component */

    bp_core_new_subnav_item( array(

    ‘name’ => __( ‘Badge’, ‘bp-badge’ ),

    ‘slug’ => ‘badge’,

    ‘parent_slug’ => $bp->profile->slug,

    ‘parent_url’ => $profile_link,

    ‘screen_function’ => ‘bp_badge_screen’,

    ‘position’ => 50,

    ‘user_has_access’ => bp_is_my_profile()

    ) );

    }

    add_action( ‘wp’, ‘bp_badge_setup_nav’, 2);

    add_action( ‘admin_menu’, ‘bp_badge_setup_nav’, 2 );

    /


    /

    function bp_badge_load_template_filter( $found_template, $templates ) {

    global $bp;

    if ( $bp->current_component != $bp->profile->slug && $bp->current_action !=‘badge’)

    return $found_template;

    foreach ( (array) $templates as $template ) {

    if ( file_exists( STYLESHEETPATH . ‘/’ . $template ) )

    $filtered_templates[] = STYLESHEETPATH . ‘/’ . $template;

    else

    $filtered_templates[] = dirname( __FILE__ ) . ‘/templates/’ . $template;

    }

    $found_template = $filtered_templates[0];

    return apply_filters( ‘bp_badge_load_template_filter’, $found_template );

    }

    add_filter( ‘bp_located_template’, ‘bp_badge_load_template_filter’, 10, 2 );

    /


    /

    function bp_badge_screen() {

    global $bp;

    /* Add a do action here, so your component can be extended by others. */

    do_action( ‘bp_badge_screen’ );

    /* This is going to look in wp-content/plugins/[plugin-name]/includes/templates/ first */

    bp_core_load_template( apply_filters( ‘bp_badge_template_screen’, ‘badge/screen’ ) );

    }

    In reply to: Badge Maker

    @warut

    Participant

    @nahummadrid adding xprofile exclude list for admin and V/H layout not change if user cant select layout will fix in next update

    badge will change when user hit “update badge” – if user can’t select which option it should follow default option in admin panel

    if any bug about change from admin but not change to user plase let me know.

    @pcwriter “the badge simply appears with the embed code, no adjustments, no customization for users.” – can you explain that

    !! first bug i have to fix is error with child template issue

    In reply to: Badge Maker

    @warut

    Participant

    @gregfielding I think it error on all CHILD THEME, I test bp-default and cosmicbuddy (old fashion theme) and it work correctly.

    Maybe I have to change something about setup subnav. because i add it to subnav in profile so with child theme it not found template or something.

    The same way setup nav using in buddypress gifts to add gifts in main, after using child theme it work fine.

    Who know about this childe theme issue or understand the way setupnav, please left some advice.

    In reply to: Badge Maker

    @warut

    Participant

    ok after using buddypress widget theme for testing, it redirect to main page after click profile. maybe a theme issue.

    could you post theme link to download for testing?

    anyone using buddypress default theme? is it work for you?

    In reply to: Badge Maker

    @warut

    Participant

    anyone have same problem with gregfielding?

    @gregfielding which buddypress version do you use?

    @warut

    Participant

    @pandragon maybe some css use display:none, do you use jquery with featured casino? if yes try look at that.

    In reply to: Badge Maker

    @warut

    Participant

    now can download from wordpress.org/extend/plugins/buddypress-badge/

    In reply to: Badge Maker

    @warut

    Participant

    do you have a link ? in my site it go to profile page if click profile.

    do you use default template?

    @warut

    Participant

    @asaubota gift not display is same bug with pandragon.

    user click many time because i not disable button after click , about this i will use simple redirect page to same page so user can not click many time (in first, i will disable button and insert activity stream with ajax so user not have to refresh page but it have a lot of think to work)

    @warut

    Participant

    @pandragon i already received error about difference username and login name and think it will fix in next upload.

    your first post, specify url to the image? what do you mean? Is it add a link to and image that show on activity stream? for that you have to add URL field in bp_gifts like

    gift_url varchar(100) NOT NULL

    and edit function bpgifts_sendgift_updatedb() in bp-gifts-ajax.php

    and add url in $content = ‘<img class=”gift-image” src=”‘. $_POST[‘gift_path’] .'” />displayed_user->domain.'”>@’.$bp->displayed_user->fullname.’ ‘.$_POST[‘gift_message’];

    … many place to edit

    ps. your web look good

    @warut

    Participant

    @asaubota can you explain it in detail?

    sorry for pospond i have to fix some bug in buddypress badge before upload to wp repository.

    In reply to: Badge Maker

    @warut

    Participant

    megaupload.com/?d=IZWY016L

    In reply to: Badge Maker

    @warut

    Participant

    thanks @gregfielding

    @Isddesign you can download here (not approve yet)

    https://wordpress.org/extend/plugins/buddypress-badge/

    @dre1080 after looking group document from web it say can extend plugin to group but not sure about it, may be in the next version if others interested too

    In reply to: Badge Maker

    @warut

    Participant

    fix plugin according to recommend done!

    – can chose SIMPLE badge

    – can Make the xprofile field names strong and select color

    – move from main nav to subnav in profile

    – fix bug profile image to use jpg png or gif

    upload to wp reposiory if upload request was approved

    In reply to: bp-events update

    @warut

    Participant

    as erwin said, I also develop plugin for a hobbie not a work for living so can’t commit that plugin can update rapidly but I understand who waiting for use some good plugin too. I also waiting to use bp-event too after use it in bp 1.1 and it work very well so i hope to see that if erwin have a time he can lead to make others coorperate to develop the code.

    grad to hear that andy will make a group for every plugin that everyone interest in the plugin can make suggestion or help to developer. i think if website had good infrasturction to let others help to develop plugin it will make buddypress grow faster.

    In reply to: Badge Maker

    @warut

    Participant

    @Bowe thanks for comment,

    text in badge was created by GD library so it is an image so i can’t use css for specific text color. however i agree that strong xprofile field make it easy to read.

    thing i can do is make xprofile field and data different (strong and color)

    i have several plugin tab too, so first i try to add badge menu to be “sub menu” in profile nav but not yet success so i make it show in main profile menu for testing.

    @dre1080 that error because your profile image (maybe gravatar) not a JPEG file. I will fix this soon. (if want to test now, you can use member with uploaded JPEG profile image)

    I go holiday about 4 days so cant correct code now, if anyone found others error please post here, i will fix bug posting here after get back to work.

    In reply to: Badge Maker

    @warut

    Participant

    @Bowe thanks for comment,

    text in badge was created by GD library so it is an image so i can’t use css for specific text color. however i agree that strong xprofile field make it easy to read.

    thing i can do is make xprofile field and data different (strong and color)

    i have several plugin tab too, so first i try to add badge menu to be “sub menu” in profile nav but not yet success so i make it show in main profile menu for testing.

    @dre1080 that error because your profile image (maybe gravatar) not a JPEG file. I will fix this soon. (if want to test now, you can use member with uploaded JPEG profile image)

    I go holiday about 4 days so cant correct code now, if anyone found others error please post here, i will fix bug posting here after get back to work.

    In reply to: Badge Maker

    @warut

    Participant

    @gregfielding you can use simple badge by chose “Show only website logo” (replace logo.png in image dir) in admin panel then badge is show only your logo (I forgot coding it – -” so after chose nothing happen,maybe fix it the next day).

    here rapid share link http://rapidshare.com/files/374885673/buddypress-badge.zip.html

    sorry for inconvenience 2shared is first web after search google “upload file”, I not have own host for now.

    In reply to: Badge Maker

    @warut

    Participant

    @gregfielding you can use simple badge by chose “Show only website logo” (replace logo.png in image dir) in admin panel then badge is show only your logo (I forgot coding it – -” so after chose nothing happen,maybe fix it the next day).

    here rapid share link http://rapidshare.com/files/374885673/buddypress-badge.zip.html

    sorry for inconvenience 2shared is first web after search google “upload file”, I not have own host for now.

    In reply to: Badge Maker

    @warut

    Participant

    hello all,

    I just finished coding buddypress badge, if anyone have a testsite and interest to test it before i upload to wp, please get it from myblog and suggest any comment.

    @warut

    Participant

    hi, for update i not yet update gift plugin because I am coding new buddypress badge plugin (just finished it) so next version for buddypress gift will pospond to the next week.

    if anyone interest to test badge plugin (before upload to wp) you can get it from my blog.

    @warut

    Participant

    @warut

    Participant

    Thanks detities1

    I see the point, I will check it.

    In reply to: Badge Maker

    @warut

    Participant
Viewing 25 replies - 26 through 50 (of 57 total)
Skip to toolbar