Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Donation Page V0.2 for YaBB 2.4 (Read 4499 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Donation Page V0.2 for YaBB 2.4
May 28th, 2010 at 3:42am
Print Post  
Donation Page V0.2

Description:
----------------
This Mod will add a donation page to your forum, allowing users to donate to you via PayPal. You can fully customize the donation page to your liking with HTML.

Notes:
--------
- You will need either a Business or Premier PayPal account to use this Mod as it requires your Secure Merchant Account ID.
- You will need to go into your PayPal account and under 'Profile => Website Payment Preferences', enable 'Auto Return'. Otherwise you will get a 'Form Spoofing Alert' when returning to the forum.

Credits:
----------
Thanks to Mick (www.info4alien.de) for the German and German_Du Language translations.

Screenshots:
-----------------
Donation Page: (Note: This is just a quick example - you will need to customize this page yourself.)


Admin Center - Donation Page Settings:


PayPal Page:


Return Page:


Installation:
----------------
1) Modify YaBB files using BoardMod or manually.
2) Upload modified files to your server in ASCII mode.
3) Upload DonationPageSettings.pl, DonationPage.lng and DonationPage.pl to their relevant directories in ASCII mode.
4) Upload donate.png and donate.gif to their relevant directories in binary mode.

Files to edit:
----------------
AdminIndex.pl
Admin/AdminSublist.pl
Admin/ModList.pl
Languages/***/Admin.lng
Languages/***/Menu.lng
Sources/AdvancedTabs.pl
Sources/SubList.pl
Sources/Subs.pl
Sources/TabMenu.pl
Variables/Menu0.def
Variables/Menu1.def
Variables/Menu2.def
Variables/Settings.pl

Zip package:
-----------------
Donation_Page_V0_2.mod
Donation_Page_V0_2_German_Patch.mod
Donation_Page_V0_2_German_Du_Patch.mod
cgi-bin/yabb2/Admin/DonationPageSettings.pl
cgi-bin/yabb2/Languages/***/DonationPage.lng
cgi-bin/yabb2/Sources/DonationPage.pl
html_root/yabbiles/Buttons/***/donate.png
html_root/yabbfiles/Templates/Forum/default/donate.gif

History:
---------
V0.1 - First release - 28th May 2010
V0.2 - Fixed repeated text in Donation Page Settings - 30th May 2010
« Last Edit: Jun 1st, 2010 at 5:31pm by Derek Barnstorm »  

Donation_Page_v_0_2.zip ( 26 KB | Downloads )
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Donation Page V0.2 for YaBB 2.4
Reply #1 - May 30th, 2010 at 3:10am
Print Post  
Oops! Fixed repeated text in Donation Page Settings - V0.2 attached to the above post.
  
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Donation Page V0.2 for YaBB 2.4
Reply #2 - May 30th, 2010 at 9:56am
Print Post  
Hi Derek,
I installed it in a test-board without problem. Have to wait for the paypal-ID
from another admin, to test it.

German-Files/Patches attached. You can include them to the package in
1st post.

Greetings
Mick
« Last Edit: May 31st, 2010 at 6:19am by mick »  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Donation Page V0.2 for YaBB 2.4
Reply #3 - May 30th, 2010 at 4:27pm
Print Post  
That's great Mick - Thank you!

I've attached a German button to this post if you don't want to download the package again.

mick wrote on May 30th, 2010 at 9:56am:
Have to wait for the paypal-ID
from another admin, to test it.

I tested it with PayPal Sandbox: https://developer.paypal.com/

You do need to sign up, but once you have, you can create a 'test buyers account' and a 'test business account' and donate to yourself with 'test money'.

You would need to open DonationPage.pl and change the form action to this though (just for testing purposes):

Code
Select All
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" name="donate" onsubmit="return CheckDonationField();"> 


I found it very handy, so thought I'd mention it in case anyone was interested.

Thanks again!
  

donate.png ( 3 KB | Downloads )
donate.png
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Donation Page V0.2 for YaBB 2.4
Reply #4 - May 31st, 2010 at 6:42pm
Print Post  
We test it on our Testboard with real Account. Runs
very well!
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Donation Page V0.2 for YaBB 2.4
Reply #5 - May 31st, 2010 at 7:12pm
Print Post  
Thanks Mick - Good to hear it's working okay.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Donation Page V0.2 for YaBB 2.4
Reply #6 - Jun 1st, 2010 at 5:32pm
Print Post  
Oops again! I'd made a typo in the English language file - fixed now. I haven't changed the version number.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint