• 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?

C.Stanley

Active member
#1
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
 

oman

Well-known member
#2
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
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

Active member
#3
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.
 

Brogan

XenForo moderator
Staff member
#6
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:
Code:
<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">
                </form>
            </div>
            <div class="footnote">Members can also purchase <a href="{xen:link account/upgrades}">{xen:phrase account_upgrades}</a></div>
    </div>
</div>