-
r-a-y posted on the forum topic Trying to run some code based on a field with there user id in the group Creating & Extending: 15 years, 4 months ago
@xberserker – I’ve updated the code with comments, so check the previous post for the updated link!
-
Boone Gorges posted on the forum topic Suggested integration in the group CubePoints Buddypress Integration: 15 years, 4 months ago
@xberserker – It’s a bit hard to tell just from that what’s going on. Put
print_r($inviters)
at the very beginning of the function just to see what the variable looks like. -
Boone Gorges posted on the forum topic Suggested integration in the group CubePoints Buddypress Integration: 15 years, 4 months ago
@xberserker – I think that $inviters is an array. So you’ll probably need to do something like
foreach( $inviters as $inviter ) {
cp_alterPoints( $inviter, ......
cp_log( ...., $inviter .....
} -
Boone Gorges posted on the forum topic Suggested integration in the group CubePoints Buddypress Integration: 15 years, 4 months ago
@xberserker – I’m afraid I don’t know how the function cp_alterPoints works. Try printing the content of $inviter_id and $invitee_id just to make sure that they’re being fed to the argument. Beyond that you’ll have to dig deeper into CubePoints to figure out what’s going on.
-
Boone Gorges posted on the forum topic Suggested integration in the group CubePoints Buddypress Integration: 15 years, 4 months ago
@xberserker friends_friendship_accepted passes along three arguments to any function that hooks to it. Try something like this:
function do_some_stuff( $friendship_id, $inviter_id, $invitee_id ) { // Do some stuff here } add_action( 'friends_friendship_accepted', 'do_some_stuff', 10, 3 );
The 3 on the add_action is very important, as it makes…[Read more] -
hnla posted on the forum topic Rank images not showing in the group CubePoints Buddypress Integration: 15 years, 4 months ago
@xberserker you tried to pull in the rank image into the profile area alongside the points and rank name displays, but that method seems to return null, perhaps out of scope? or not excepting the arguments you are trying to feed it? any ideas ? I played with it for a while but couldn’t see where […]
-
Boone Gorges posted on the forum topic Suggested integration in the group CubePoints Buddypress Integration: 15 years, 4 months ago
@xberserker $user_id is the person who accepted (the hook happens at the very end of the process, after the person has registered and therefore has a user id), and $inviters should be an array of those people who had sent invitations to that person (the referrers).
-
hnla posted on the forum topic Rank images not showing in the group CubePoints Buddypress Integration: 15 years, 4 months ago
@xberserker was jut looking at this issue, had thought it rested with the core plugin.
This appears to be the issue as it returns NULL when dumped :
cp_getRankImage(cp_getPoints($bp->displayed_user->id))
Can’t see why though?
-
Gpo1 posted on the forum topic Share your rank images 18 x 18 Pixels in the group CubePoints Buddypress Integration: 15 years, 4 months ago
@xberserker That’s cool..
-
gpo1 posted an update 15 years, 4 months ago
@xberserker That’s cool …
-
gpo1 posted an update 15 years, 4 months ago
@xberserker Can you create a scoreboard to display users points of leadership!
-
gpo1 posted an update 15 years, 4 months ago
@xberserker keep up the work.. job well done !
-
Boone Gorges posted on the forum topic Suggested integration in the group CubePoints Buddypress Integration: 15 years, 4 months ago
@xberserker – Let me know where you need hooks in Invite Anyone and I’ll add them.
-
gpo1 posted an update 15 years, 4 months ago
@xberserker what about changing avatar for points !
-
Brajesh Singh posted on the forum topic What else should this give points for? in the group CubePoints Buddypress Integration: 15 years, 4 months ago
@xberserker thanks. telling prices here will mean self advertising. So, I am PMing you 🙂
-
Brajesh Singh posted on the forum topic What else should this give points for? in the group CubePoints Buddypress Integration: 15 years, 4 months ago
@xberserker hi, I am the developer of that plugin pointed by @landkamerun 1. Upload(or should we divide into upload types different points for video upload/audio uplod/photo upload) has the action “gallery_media_upload_complete” and for delete “gallery_media_after_delete” both have media object passed in case it is required. 2. Publishing to…[Read more]
-
Xevo posted on the forum topic What else should this give points for? in the group CubePoints Buddypress Integration: 15 years, 4 months ago
@xberserker It’s a paid plugin.
Would love seeing this work with bp album+. 🙂
-
gpo1 posted an update 15 years, 4 months ago
@xberserker support The plugin is BuddyPress Badge:
https://wordpress.org/extend/plugins/buddypress-badge/ -
francescolaffi posted on the forum topic Points Tab in the group CubePoints Buddypress Integration: 15 years, 4 months ago
@xberserker me and foxly are working on the next bp-album stable release, that should be released in 7-10 days. If you have suggestion for new hooks or improvements on existing hooks that can ease the integration, let me know here https://buddypress.org/community/groups/bp-album/forum/topic/devs-feedback-hooks-discussion/ .
-
gpo1 posted an update 15 years, 4 months ago
@xberserker Please support album plugin hooks ..
- Load More
@xberserker
Active 8 years, 6 months ago