rbl
Veteran
Just Getting Started
Member Likes (0)
Hi!
Is there a way to list the fundraiser's backers just like Kickstarter's Backers tab?
Thanks!
Ricardo

Responses (14)
Inactive (joined February 2012) Likes (0)
Hello Ricardo,
There should be a way to list them, let me forward this to Cole. Hang on :)
Member (joined January 2012) Likes (0)
Hey rbl
There is a function for displaying a simple total number of backers but not a "Backer List". I'm working on larger BuddyPress integration that might be able to handle that kind of display, but it isn't available at this time.
I'm not sure if you are a comfortable with php but you could use the little snippet of code below to begin writing your own display of a backer list.
Put this somewhere in your template or wherever you like really and it will print out the available information for each backer of a particular fundraiser.
Please make sure you are doing this on a testing server because you wouldn't want sensitive information printed on your live site.
Didn't get a chance to test so let me know if you use it and have issues. (Look ma no hands!)
Hope that helps.
Member (joined January 2010) Likes (0)
Thanks Cole & Arun! =)
Cole, it works great, thanks!
One question: user ids are not present there because backing is open to non-registered members as well?
Ricardo
Member (joined January 2012) Likes (0)
Woohoo great!
Exactly, future versions might use the wp_user table but the only information that is currently stored is information mostly related to the payment and the payment gateway.
You can pass your own transaction data into the update_pledge() function but make sure you retrieve the full transaction array using get_transaction() and then add or alter the array before passing it to update_pledge() otherwise you will lose the other information. One note: if you are nesting arrays in the transaction data the function will strip out anything after the second level.
Member (joined January 2010) Likes (0)
Humm.. I need the user_id as I'll need to retrive and display on their profiles the projects each user has backed + total amount of money, etc.
From your careful choice of words can I presume this is not on the development roadmap? ;)
Inactive (joined February 2012) Likes (0)
Lol at "From your careful choice of words...".
Thanks Cole for diving in :)
Member (joined January 2012) Likes (0)
No I will be extending WordPress users and gathering that information in the future, just nothing in the code at this point.
You could take a look at template-functions.php around line 317 and you will see how I am handling buddypress status updates. You could override that template function and include your own code to log the user_id on confirmation using something like wp_get_current_user()
Support Chimp (joined March 2010) Likes (0)
Hey there, just checking in to see how this is going?
Do you still need further help or are you all sorted now?
If you need anything else then please feel free to reopen the thread or create a new one.
Take care and have a great weekend.
Tim.
Member (joined August 2010) Likes (0)
Hi Cole,
I tryed to use the code above inside
widget.fundraiser_panel.php
but doesnt work.
Where do I exact should I use the code to show who is backing that project?
Support Kangaroo (joined March 2011) Likes (0)
Greetings rigonatti,
Sorry for the delay here.
I found your response back here with this ticket in the back of the ticket system and I am sure that @ColeS is not ignoring you, he is just not aware of your response/inquiry.
Therefore I have indeed alerted him that your question exists and I am sure he will respond the moment he has the chance to do so.
Thank you for your demonstrated patience and for being a WPMU Dev Community Member!
Cheers, Joe
Member (joined August 2010) Likes (0)
hey joe
any news?
Support Kangaroo (joined March 2011) Likes (0)
Greetings rigonatti,
Sorry to report that the only news is that he is indeed notified to return to this ticket and offer and advice/advise if possible.
There is not anything more the support team can do at this point but sit and wait for the developers assistance.
I wish I could do more.
Sincerely, Joe
Member (joined January 2012) Likes (0)
Hey rigonatti,
So did you insert your own post id in the code at the top where it says...
$post_id = 'Use the post id of the fundraiser';
People Person (joined February 2012) Likes (0)
Hi!
Just checking in :)
I'm guessing that because we haven't heard back from you that you've got your issue worked out or that we have reached the end of our convo here. If you are still having problems or need any other answers on this particular topic please feel free to come back to this thread at anytime. Just be sure to mark it Not Resolved so we don't miss it!
This ticket is only being Resolved due to lack of activity. It is by no means an action to avoid, brush off or minimize your issue. We are ready and here if you want to re-open at any time and I apologize in advance for any lack of communication if this ticket is being closed in error.
Thanks for being part of the WPMU DEV Community!
Best,
Kimberly
Become a member