Skip to:
Content
Pages
Categories
Search
Top
Bottom

Would love to see someone take over the BuddyPress Badge Plugin and update it.

Viewing 19 replies - 26 through 44 (of 44 total)
  • Avatar of Pisanojm
    Pisanojm
    Participant

    @pisanojm

    @warut Thanks! Would you mind posting this code to a pastebin and copying the link here?
    http://pastebin.com/

    Once your donate link gets working at the BuddyPress site, I’ll be glad to donate to this plugin. Thanks.

    Avatar of warut
    warut
    Participant

    @warut

    - -” I try to post code in this forum but not work here are link http://pastebin.com/ncyNeyaq

    Avatar of Pisanojm
    Pisanojm
    Participant

    @pisanojm

    @warut thanks I’ll try this tonight….

    Avatar of Pisanojm
    Pisanojm
    Participant

    @pisanojm

    @warut Ok, I tried this tonight. It looks like the HTML being generated is now correct (with regard to correct file paths), however the preview is broken. It also doesn’t look like it is pulling in the photo of the person when this is checked… you can see here:

    http://mustech.net/holder/warut3.jpg

    Some progress was made though! :)

    Avatar of warut
    warut
    Participant

    @warut

    @Pisanojm here are temp solution. However I see your extend profile not show in badge, I will check that too but in about 3 days (no computer in my new home – -“).

    temp solution:

    — replace –

    if ( get_site_option(‘bp_badge_showthumbimage’) == true ) {
    $avatar_html = bp_core_fetch_avatar( array( ‘item_id’ => $bp->displayed_user->id, ‘type’ => ‘thumb’, ‘alt’ => __( ”, ‘buddypress’ ) ) );
    } else {
    $avatar_html = bp_core_fetch_avatar( array( ‘item_id’ => $bp->displayed_user->id, ‘type’ => ‘full’, ‘alt’ => __( ”, ‘buddypress’ ) ) );
    }
    preg_match_all(“//i”, $avatar_html, $avatar_url);

    — with –

    if ( get_site_option(‘bp_badge_showthumbimage’) == true ) {
    $avatar_url = bp_get_loggedin_user_avatar( ‘html=false&type=thumb’ );
    } else {
    $avatar_url = bp_get_loggedin_user_avatar( ‘html=false&type=full’ );
    }


    and


    search “$avatar_url[2][0]” replace with “$avatar_url”

    for others i will try upload new release next week.

    Avatar of Pisanojm
    Pisanojm
    Participant

    @pisanojm

    @warut that change listed above seems to solve most of the issues (anyone trying to copy this text, please realize you’ll have to change the ticks to normal ticks from “fancy” ones).

    There seems to be two remaining issues with regard to formatting the xprofile data:
    There probably should be soft return after each Field… and the bold/color only effects one “row” of the text data in the field and not the entirety of the text field. You can see this in the image below… For instance where it says “full name” Dr. is on the same line and should be carried underneath the xprofile field. You can also see in the xprofile field “What Level(s) do you teach” only the the last row is bolded and high-lighted and not the WHOLE xprofile field.

    One last question, how can/where can I add a simple text line to the very bottom of the badge?

    Here is the latest image:
    http://mustech.net/holder/badge4.jpg

    Also, please be sure to include a donation link on this plugin when they fix the link on buddypress as I would like to send you a donation for your time with this plugin.

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Will need to ping Andy about the plugin group not syncing. I’ve seen that happen before but am not sure exactly what causes it.

    Avatar of PJ
    PJ
    Participant

    @pjnu

    Ohh. Thank you @warut . I have a WPMU install, and just saw your post on the previous page. I hope you can get an update that cooperates with MU.

    @Pisanojm the badge looks great! I’m looking forward to a wpmu-ready version.

    Avatar of warut
    warut
    Participant

    @warut

    @Pisanojm Should xprofile data under xprofile field? (like facebook), for bold and color I will check that

    @PJ After testing all bug I think it should work fine on wpmu (my developing site work under wpmu too)

    for group, it should automatic work maybe i do wrong about my name in code.

    Avatar of Pisanojm
    Pisanojm
    Participant

    @pisanojm

    @warut xprofile data would look better direclty under the field because of the width of the badge. In my opinion… unless there was a way to specify width… it looks like the width is set to “auto” based on the graphic image…

    There is another issue with previewing a badge horizontally… If the badge contains a lot of xprofile data it will break the confines of the Website Page DIV….

    Avatar of gregfielding
    gregfielding
    Participant

    @gregfielding

    Glad to see you guys hammering away at this.

    Thanks @pisanojm and @warut!

    Avatar of gregfielding
    gregfielding
    Participant

    @gregfielding

    Just checkin in…any progress on this?

    Avatar of Pisanojm
    Pisanojm
    Participant

    @pisanojm

    @gregfielding I haven’t heard from @warut since the above post two weeks ago…

    Avatar of warut
    warut
    Participant

    @warut

    @gregfielding @Pisanojm sorry for not update i just done make new website for part time job.

    i think it working ok now? or any bug in the current version – maybe upload new version (only fix corrected bug) next week.

    Avatar of gregfielding
    gregfielding
    Participant

    @gregfielding

    Great news Warut! I look forward to it.

    Avatar of warut
    warut
    Participant

    @warut

    @gregfielding @Pisanojm version 1.5 release please let me know if it can’t work.

    for xprofile below field and field color will fix in 1.6

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @warut – upgraded to 1.5 in test install and “lost” the logo I uploaded in previous version. Re-uploaded site logo and it’s behaving well. Thank you.

    Avatar of Pisanojm
    Pisanojm
    Participant

    @pisanojm

    @warut -same thing as @mercime lost the logo when I uploaded… changed it back and it’s well… I’d say the two minor fixes above and you’re good 2 go!

    @johnjamesjacoby there is still something wrong with the badge plugin page here on BuddyPress….
    http://buddypress.org/community/groups/buddypress-badge/ goes to BuddyPress Forum extras….

    P.S. when will 1.2.6 be released?

    Avatar of gregfielding
    gregfielding
    Participant

    @gregfielding

    Is anyone out there working on this anymore?

Viewing 19 replies - 26 through 44 (of 44 total)

The topic ‘Would love to see someone take over the BuddyPress Badge Plugin and update it.’ is closed to new replies.