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:
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
going holiday for 4 days if have any suggestion about bug or feature please post here
as said before, release a stable version soon this is a must have!!
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
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
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!!
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
thanks andrea!
i will correct that including add language file in next update.
Some bugs in the new version: http://yfrog.com/0dgiftsnp
And make line 110 in /buddypress-gifts\includes\templates\gifts\screen.php translatable too, please..
And line 264 in /buddypress-gifts\includes\bp-gifts-admin.php too (__('Gift Item Editor','bp-gifts');)
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?
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
my e-mail warut21@gmail.com
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. :)
hi stone,
could you explain limited edition-limited time gifts in detail, I not clear about your concept. thanks
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. :)
Where to find:
4. The code to remove the "high-five" notification was commented out.
Couldn't find it in the code...
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..
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!
Please fix this error.
Gift item not showing very well.
http://www.toonsmag.com/wp-content/uploads/2012/01/error.jpg