donate button/widget on blog or buddypress profile

front page Forums Community donate button/widget on blog or buddypress profile

This topic contains 1 reply, has 2 voices, and was last updated by Avatar WPExperts 4 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17904
    Avatar
    freelab

    Hello

    i would like to get a way to make a donate button/widget

    for example on buddypress profile i would like a donate button

    and for every blog i would like users to be able to define a donation widget to their own account

    #17911
    Avatar
    WPExperts

    Hey.

    You could introduce them to the mycred_send shortcode where they enter that all point transfers via the button are sent to their own account.
    So lets say “Sara” wants to add in a “donate button”. She knows her unique ID on your website is 1234. So she would then use the shortcode like this:

    [mycred_send amount="10" to="1234" ref="donation" log="Donation to Sara"]Donte 10 points to me[/mycred_send]

    This will generate a button with the label “Donate 10 points to me”. When someone other then Sara clicks on this button, they will send 10 points to Sara. In their log they will see the message “Donation to Sara”. If the user is not logged in or do not have 10 points, they will not see the button.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

11