Would love to see someone take over the BuddyPress Badge Plugin and update it.
-
Would love to see someone takeover/fix/make new BP Badge plugin. I’ve contacted the author of the plugin numerous times and haven’t received any responses… It is broken.
-
@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.
– -” I try to post code in this forum but not work here are link http://pastebin.com/ncyNeyaq
@warut thanks I’ll try this tonight….
@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!
@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.
@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.jpgAlso, 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.
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.
@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….
Just checkin in…any progress on this?
@gregfielding I haven’t heard from @warut since the above post two weeks ago…
@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.
Great news Warut! I look forward to it.
@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
@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.
@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….
https://buddypress.org/community/groups/buddypress-badge/ goes to BuddyPress Forum extras….P.S. when will 1.2.6 be released?
Is anyone out there working on this anymore?
- The topic ‘Would love to see someone take over the BuddyPress Badge Plugin and update it.’ is closed to new replies.