My first buddypress plugin

This plugin make user can send gifts image to other members in BuddyPress. It use activity stream to keep the gifts sent information.

Feature:
Sender (buddypress member) can choose a gift from gift box in others member gifts tab and type a message to receiver member.

Receiver member can delete or reply message using activity stream function in own profile.

Administrator can upload delete and edit gifts item in backend admin dashboard


Screen Shot:





21 comments

  1. warut // 7 เมษายน 2553 เวลา 01:18  

    to do:

    1. Two errorable gifts are displaying in list (include folder and admin folder are recognized as gifts)
    2. You can send an empty gift.
    3. Some visual errors on gift sending page (with button).
    4. The code to remove the "high-five" notification was commented out.
    5. if the login and username do not match ... the gift is not sent to their activity stream
    6. language file

  2. warut // 12 เมษายน 2553 เวลา 10:10  

    going holiday for 4 days if have any suggestion about bug or feature please post here

  3. Andrea // 13 เมษายน 2553 เวลา 16:18  

    as said before, release a stable version soon this is a must have!!

  4. warut // 21 เมษายน 2553 เวลา 01:51  

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

    [from line 41]

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

  5. warut // 22 เมษายน 2553 เวลา 12:16  

    version 1.1 released

    fix name and loging name not match
    fix user can click multiple time
    fix activate load image multiple time
    fix incorrect add admin image
    fix user can send empty gift
    cleanup code and file

  6. Andrea // 22 เมษายน 2553 เวลา 14:37  

    great!! found a small bug in core for localization
    line 45 is:
    load_textdomain( 'bp-gifts', dirname( __FILE__ ) . '/bp-gifts/languages/' . get_locale() . '.mo' );
    line 45 should be:
    load_textdomain( 'bp-gifts', dirname( __FILE__ ) . '/languages/' . get_locale() . '.mo' );
    Thanks for releasing!!

  7. Andrea // 22 เมษายน 2553 เวลา 14:53  

    and maybe line 50-56 of notification.php should use BP_GIFTS_SLUG and not 'gift' and also other reference to the slug sould use it

  8. warut // 22 เมษายน 2553 เวลา 21:50  

    thanks andrea!

    i will correct that including add language file in next update.

  9. ไม่ระบุชื่อ // 22 เมษายน 2553 เวลา 22:35  

    Some bugs in the new version: http://yfrog.com/0dgiftsnp

  10. slaFFik // 22 เมษายน 2553 เวลา 23:14  

    And make line 110 in /buddypress-gifts\includes\templates\gifts\screen.php translatable too, please..

  11. slaFFik // 22 เมษายน 2553 เวลา 23:23  

    And line 264 in /buddypress-gifts\includes\bp-gifts-admin.php too (__('Gift Item Editor','bp-gifts');)

  12. warut // 23 เมษายน 2553 เวลา 00:58  

    according to http://yfrog.com/0dgiftsnp

    strange result
    1. gift button (maybe css and it error when show in firefox)

    2. mouse not change to hand (only in firefox dont know why)

    3. gift image empty - this strange, anyone else have a same result?

    cound you past here that empty image property?

  13. warut // 23 เมษายน 2553 เวลา 08:03  

    this is po file, if anybody interest to add translation please send me back po and mo file.

    thanks

    http://plugins.trac.wordpress.org/export/232365/buddypress-gifts/trunk/includes/languages/buddypress-gifts.po

  14. warut // 23 เมษายน 2553 เวลา 08:04  

    my e-mail warut21@gmail.com

  15. Stone // 13 มิถุนายน 2553 เวลา 10:18  

    It would be awesome if you could disable a gift to make them limited edition. So then you could have limited time gifts. As it is now, if you delete the gift it disappears. Thanks for this plug in by the way, it is awesome. :)

  16. warut // 13 มิถุนายน 2553 เวลา 20:30  

    hi stone,

    could you explain limited edition-limited time gifts in detail, I not clear about your concept. thanks

  17. Clan of the fanboys // 5 กันยายน 2553 เวลา 14:06  

    Basically it would be a way to have a checkbox to deactivate a gift from being displayed to be sent, so you could then in theory make a heart for valentines day, and when the holiday is over unselect it so it will not appear as a selection to send, but would still appear to whoever got it as a gift. Right now, if I delete a gift, it disappears and does not remain int he database. If there was a simple checkbox next to each gift to control if it shows up in the list of gifts a user can send would be an awesome option. Sorry it took so long for me to get back with you by the way. :)

  18. eddiegj // 16 กันยายน 2553 เวลา 06:32  

    Where to find:
    4. The code to remove the "high-five" notification was commented out.

    Couldn't find it in the code...

  19. Unknown // 19 ตุลาคม 2553 เวลา 10:25  

    oh and can you please explain the points? when I use your plugin and edit a gift, it says 0 points. what about those? do I get them when sending a gift or when receiving them?
    And how does this work with the Bp cubepoints integration plugin? there you can specify how many points you get for sending a gift..

  20. JustMe // 4 ตุลาคม 2554 เวลา 08:44  

    I really love this plugin, too bad it isn't compatible with Wordpress 3.2.1

    I hope you will fix the issues, I think you'll please a lot of people!

  21. Unknown // 6 มกราคม 2555 เวลา 12:29  

    Please fix this error.

    Gift item not showing very well.

    http://www.toonsmag.com/wp-content/uploads/2012/01/error.jpg

แสดงความคิดเห็น