1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 So members can donate?

Discussion in 'XenForo Questions and Support' started by C.Stanley, Nov 26, 2013.

  1. C.Stanley

    C.Stanley Active Member

    I have a usergroup "premium" and i would like to make it where users can click on a donate or premium button/image in sidebar or a tab in navbar and they can donate to become premium members. How do i do this on xenforo? Thank you
  2. oman

    oman Well-Known Member

    You can use the account upgrades function and set amounts that can be donated.

    I believe there is also a donation manager add on out there, but it really depends on whether you want to use an add on or not. :)
    C.Stanley likes this.
  3. C.Stanley

    C.Stanley Active Member

    Thank you, i have found the upgrade function but i am not seeing where the user would click to donate after the functions are setup.
  4. Martok

    Martok Well-Known Member

    C.Stanley likes this.
  5. C.Stanley

    C.Stanley Active Member

    Thank you for the link Martok. I guess to make it a clickable "premium advertisement" Image a add on is needed.
  6. Brogan

    Brogan XenForo Moderator Staff Member

    If you just want to set up a donation button, add it to the sidebar in one of the ad_sidebar templates.

    Some basic PayPal code would be:
    <div class="section">
        <div class="secondaryContent">
            <h3>Donate To GlobalHax</h3>
                <div style="text-align: center">
                    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
                    <input type="hidden" name="cmd" value="_s-xclick">
                    <input type="hidden" name="hosted_button_id" value="<your code>">
                    <input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal">
                    <img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
                <div class="footnote">Members can also purchase <a href="{xen:link account/upgrades}">{xen:phrase account_upgrades}</a></div>

Share This Page