The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

19.06.13 at 17:13:14, Welcome, Guest. Please Login or Register

Choose Language:
Page Index Toggle Pages: 1
Donation Page V0.2 for YaBB 2.4 (Read 1741 times)
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1114



28.05.10 at 04:42:54  
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: 01.06.10 at 18:31:02 by Derek Barnstorm »  
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1114



Reply #1 - 30.05.10 at 04:10:10  
Oops! Fixed repeated text in Donation Page Settings - V0.2 attached to the above post.
 
IP Logged
 
mick
Hacker Expert
****
Offline

Dorsten, Nordrhein-Westfalen, Germany
Posts: 344



Reply #2 - 30.05.10 at 10:56:00  
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: 31.05.10 at 07:19:48 by mick »  
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1114



Reply #3 - 30.05.10 at 17:27:09  
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 30.05.10 at 10:56:00:
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:
<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!
 
IP Logged
 

donate.png (3 KB | 82 )
donate.png
mick
Hacker Expert
****
Offline

Dorsten, Nordrhein-Westfalen, Germany
Posts: 344



Reply #4 - 31.05.10 at 19:42:27  
We test it on our Testboard with real Account. Runs
very well!
 
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1114



Reply #5 - 31.05.10 at 20:12:59  
Thanks Mick - Good to hear it's working okay.
 
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1114



Reply #6 - 01.06.10 at 18:32:42  
Oops again! I'd made a typo in the English language file - fixed now. I haven't changed the version number.
 
IP Logged
 
Page Index Toggle Pages: 1
© 2000-2012 by - All rights reserved.

Project website hosting proudly sponsored and provided by UK2 Hosting
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum