View Full Version : Miscellaneous Hacks - PayPal Easy Donate - Lite
Billspaintball
03-23-2008, 10:00 PM
Hack Description
This hack is the easiest way to add the ability to accept PayPal donations for your site.
You simply upload 2 php files, and a couple of images and then import the product XML and thats it!
No messing round with template edits or anything like that, its all done for you! :)
Some features of this hack are:
No need to modify or edit any vB files!
Automaticly adds 'Donate' link on Navbar next to the FAQ link if desired.
Simple once off setup in the Admin Control Panel.
All PayPal settings such as preferred currency are set in the Admin CP.
The Donors forum username is on the emailed receipt from PayPal.
People do not have to be registered on your site to donate.
You and toggle the PayPal Verified seal on or off.
Its a product so no need to redo hacks when you upgrade vB next time.
Works with default IE settings!
vB CMPS Modue Available
Configurable Thank you page for donors
Default / suggested donation amount if desired
Fully Phrased
Well thats about it for the moment. I may add more features later, if there is a demand for them.
Please note that you have to have either a Business or Premiere PayPal account, else you will need to upgrade to one of these before you can accept donations. Its easy to do, just follow the guide on the PayPal site.
Also note that this is a product, not a plug-in. You must import it using the import product feature in the Admin CP.
I will try and offer support, but work and family commitments mean I don't have much free time.
This script has been confirmed as working on
vB 3.7 Rc1
Known Bugs
Choosing the button instead of the Navbar link for the donations breaks xml validation (but still functions fine).
If you use custom templates the automatic donate link insertion may not work. If thats the case, you will need to edit the navbar template manually as listed in the 2nd post.
Change log
Version 2.00 (21st March 2008)
First release for vB 3.7.*
Added - Fully Phrased.
Will only work with vB 3.7.* or newer
Click on Install
If you have this script installed then please click on the install link because;
You will get notified if any security issues are reported.
You will get notified when there are any upgrades to this script
It gives me a warm fuzzy feeling and motivates me to develop more :)
Donations
First of all, to be clear. This script is 100% free.
However if you feel an urge to donate I'm not going to say no. :)
Donations can be made at http://www.billspaintball.com/vb3/bd_donate.php
Billspaintball
03-24-2008, 11:35 AM
Manual Template Edit
(if using modded navbar without the default hooks)
If your using a custom Navbar (or none at all) or just want to have the link to the donations page somewhere else, just add the following code into the desired position in your template.
<!-- PayPal Donations -->
<td class="vbmenu_control"><a href="billspaypal.php?">$vbphrase[billspp_donate]</a></td>
<!-- /PayPal Donations -->
If you wish to use a button image instead, use this code
<div align="right"><a href="billspaypal.php"><img src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0" alt="Make payments with PayPal - it's fast, free and secure!" /></a></div>
Boofo
03-24-2008, 12:44 PM
What does "lite" mean in this version as compared to the other versions?
Big Boss
03-24-2008, 06:01 PM
That's what I'd like to know as well. Are you planning on releasing a paid version with other features?
Jase2
03-24-2008, 06:49 PM
Hi Bill,
I have seen on one site that uses this; they use this image: https://vborg.vbsupport.ru/external/2008/03/3.gif and have three; one for ?, one for $ and one for €... is there anyway I can do this too?
Regards Jason :)
Billspaintball
03-25-2008, 10:15 AM
What does "lite" mean in this version as compared to the other versions?
That's what I'd like to know as well. Are you planning on releasing a paid version with other features?
Lite as in just a basic donations system.
- Simple to install and use, (and remove too).
- No vB modifications necessary, no template edits, no database changes.
- Just a basic donations system without unnecessary complexity.
Also leaves room for the possibility of a more full featured version with the works in the future.
Billspaintball
03-25-2008, 10:26 AM
Hi Bill,
I have seen on one site that uses this; they use this image: https://vborg.vbsupport.ru/external/2008/03/3.gif and have three; one for ?, one for $ and one for ?... is there anyway I can do this too?
Regards Jason :)
Its easy enough to change the donation button graphic.
Just rename it paypal_donate.gif and upload it to images/misc
As for 3 buttons for different currency's, yes it would be easy enough to hack that with a template modification. (but you would loose the ability to set the currency from the AdminCP)
KURTZ
03-25-2008, 12:45 PM
just tagged for future use ... niceone Bill!
Jase2
03-25-2008, 01:25 PM
Its easy enough to change the donation button graphic.
Just rename it paypal_donate.gif and upload it to images/misc
As for 3 buttons for different currency's, yes it would be easy enough to hack that with a template modification. (but you would loose the ability to set the currency from the AdminCP)
I see, care to share what template edit I could make?
Regards Jason :)
liselotte
03-28-2008, 12:59 PM
thanks
UltraFanatics
03-28-2008, 01:42 PM
Great mod, can anyone tell me how I add
1) add this to my usercp (link)
2) the text to add a clickable picture link on forum home
UltraFanatics
03-28-2008, 02:31 PM
Ive now done the image
Jase2
03-29-2008, 01:24 PM
Where about in the code do I edit to add three buttons, all in a different currency?
Regards Jason :)
Billspaintball
03-30-2008, 05:15 AM
I see, care to share what template edit I could make?
Regards Jason :)
The template you need to edit is called
billspp_main
You will need to code the three donate buttons yourself.
You can use the same form code for each of the three donate buttons except for
<input type="hidden" name="currency_code" value="$currency" />
You will need to hardcode $currency to the currency code for that button.
Example: <input type="hidden" name="currency_code" value="AUD" />
Jase2
03-30-2008, 03:40 PM
Hi Bill,
Thanks for your reply. Where would I code it, though? Is there any chance you can tell me the code to use, and where to place it?
Thank you.
Regards Jason :)
reddog64
04-02-2008, 01:36 AM
What template do i edit to add the 'donate' in the navbar
I'm lost...
Jase2
04-14-2008, 05:23 PM
The 'navbar' template ;)
Great mod! Only issue I am having is the images are messed up.
www.pebforum.com/forum.php
Any ideas?
Jase2
04-25-2008, 02:23 PM
That's because you need to upload the images in binary mode.
Thanks! That worked beautifully...and also taught me something!
infinityloop
05-05-2008, 11:51 AM
looks very nice!
are guests also able to donate? :)
DawnsWebDesigns
05-05-2008, 01:14 PM
looks very nice!
are guests also able to donate? :)
It says in the description up there somewhere that guests can donate. :)
Otherwise I've installed it. I tried to use the nicer paypal donate button...renamed it too...but it wouldn't show up. So I used the other paypal verified button. Otherwise looking good so far. Thanks for this. :)
Jase2
05-05-2008, 02:45 PM
You simply use the same name, and overwrite the one on the server to change the button.
Allan
05-13-2008, 06:46 PM
French language :)
Translator: Red
Billspaintball
05-15-2008, 12:23 PM
French language :)
Translator: Red
Excellent :)
TsirhCitna
05-16-2008, 02:22 AM
How do I enable the vB CMPS Modue?
Treasure Quest
05-16-2008, 12:19 PM
Hi Bill, nice mod. Any chance that members who donate can get a little "donated" pic or something under their avatar? That would show other members that they donated which would boost donations.
Greg
member007
05-16-2008, 07:48 PM
Hi,
I am looking for a mod that members can donate to whoever moderate the forums. For example, many times it's hard to get people to moderate forums for you. In order to give moderators incentive, can you code paypal that has a donate link under each moderator? Each moderator has his/her own paypal account. This way, you can have many moderators willing to moderate your forums.
Thank you.
Lombardo
05-18-2008, 02:23 PM
where's the module for vbadvanced?
spinz4
05-19-2008, 06:12 AM
What did I do wrong? www.dsmftw.com
Thanks
Edit: I forgot I'm going through a server switch....I will find out in 24 hours if I did it right, lol.
Lombardo
05-24-2008, 11:25 AM
where is the module for vbadvanced?
It's the only reason i installed this was because it has this module.
JKatz
05-25-2008, 12:06 PM
Will this mod work for 3.6.10?
athlon64bit
06-02-2008, 04:25 PM
Any chance that there could be an option to display multiple currencies to donate, like a drop down menu to donate in dollars or pound sterling etc?
skywalker2208
06-28-2008, 03:20 AM
why is this mod not supported?
gamerfu
06-28-2008, 09:37 AM
where is the module for vbadvanced?
It's the only reason i installed this was because it has this module.
I am wondering the same. :confused:
Shazz
07-06-2008, 10:50 PM
Installed thanks bills
davida500
07-18-2008, 08:56 PM
<a href="http://www.e3-clan.com/forums/billspaypal.php" target="_blank">http://www.e3-clan.com/forums/billspaypal.php</a>
Please visit the above link, you will see that it shows no images, i have uploaded the images to the image folder so i dont understand.
Please help me, thanks.
- David
Xphusion
08-03-2008, 11:10 AM
nice mod looks great ! installed
EmpireZ
08-03-2008, 11:35 AM
Thanks Bill,
@ Davida500: You need to upload the images into your styles misc folder. Right click on the red x and then properties to get the full directory of where the images should be.
uReside.com
08-08-2008, 03:10 PM
Thanks Bill,
@ Davida500: You need to upload the images into your styles misc folder. Right click on the red x and then properties to get the full directory of where the images should be.
I made the same goof!
Great mod!
aktifnet
08-18-2008, 11:20 AM
realy good.
thank you.
I 'm installed : http://www.mydnz.com/billspaypal.php?
momo2
09-16-2008, 01:42 PM
[QUOTE=Billspaintball;1473215]Manual Template Edit
(if using modded navbar without the default hooks)
If your using a custom Navbar (or none at all) or just want to have the link to the donations page somewhere else, just add the following code into the desired position in your template.
<!-- PayPal Donations -->
<td class="vbmenu_control"><a href="billspaypal.php?">$vbphrase[billspp_donate]</a></td>
<!-- /PayPal Donations -->
If you wish to use a button image instead, use this code
<div align="right"><a href="billspaypal.php"><img src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0" alt="Make payments with PayPal - it's fast, free and secure!" /></a></div>[/Q
if i dont use this code, I get donate button but
it wont match my theme, if i use ur extra code, one does match and second one also stays ,so how do i remove ur first one ?
bart6767
09-16-2008, 04:30 PM
How do i get this not to insert the donate link in the nav bar when i install this?
Vinyljunky
09-16-2008, 04:37 PM
Any chance that there could be an option to display multiple currencies to donate, like a drop down menu to donate in dollars or pound sterling etc?
I think you need the AWC Donating (https://vborg.vbsupport.ru/showthread.php?t=177437&highlight=donation)for that :up:
momo2
09-16-2008, 08:17 PM
How do i get this not to insert the donate link in the nav bar when i install this?
I have the same problem like urs... hope someone can answer it.
orcasea
09-29-2008, 07:09 AM
Just deleted an "other" PayPal donation add-on an installed this...it's much better!
Thank you!
BizAdventure
10-13-2008, 11:52 AM
I know this mod isn't supported but could anyone tell me why the images are not showing up? I have uploaded them to the correct place.
Thank you!
Biz
24hourForum.com
10-14-2008, 03:59 AM
can someone tell me why this error shows up
The seller accepts encrypted website payments only. You cannot pay the seller through un-encrypted buttons. Please contact your seller for more details
how can i change this?
ziggylol
11-06-2008, 06:32 AM
Really cool mod, thanks
effeff70
11-13-2008, 09:14 AM
It?s great....
Just one Problem: All images are in "misc" but when I Klick "Donate"
theres no Pic on the Button.]Why? Can somebody help?
[img=http://img243.imageshack.us/img243/2853/screenpaypalrh0.th.jpg] (http://img243.imageshack.us/my.php?image=screenpaypalrh0.jpg)[img=http://img243.imageshack.us/images/thpix.gif] (http://g.imageshack.us/thpix.php)
effeff70
11-14-2008, 07:09 AM
Can nobody help?
Billspaintball
11-14-2008, 11:17 AM
It?s great....
Just one Problem: All images are in "misc" but when I Klick "Donate"
theres no Pic on the Button.]Why? Can somebody help?
[img=http://img243.imageshack.us/img243/2853/screenpaypalrh0.th.jpg] (http://img243.imageshack.us/my.php?image=screenpaypalrh0.jpg)[img=http://img243.imageshack.us/images/thpix.gif] (http://g.imageshack.us/thpix.php)
Right click on the button and tell me what the path to the image is showing as.
effeff70
11-14-2008, 02:22 PM
Hi,
it say?s:
http://endurojunkie.de/forum/billspaypal.php?
You meant that?
But when i click the button, the link to paypal works....
Billspaintball
11-14-2008, 07:35 PM
Check your images folder forums/images/misc/
Make sure that a file called paypal_Spende.gif is in that folder.
Check the spelling and case of the filename if its in there.
effeff70
11-14-2008, 09:47 PM
Check your images folder forums/images/misc/
Make sure that a file called paypal_Spende.gif is in that folder.
Check the spelling and case of the filename if its in there.
Thanks a lot, that was the mishap..... I did?n set another name for the .gif, was still called "donate".
Best Regards vom Germany
Frank
effeff70
11-16-2008, 09:20 PM
Now there is something else, User klicks "Spenden"-Button, new Window open (your screenshot 2) currency is Eur-Euro (settings in AdminCP) then write maybe 10 euro Inbox and choose "Paypal" -Button.....new Window (paypal) opens.....currency here is now USD????? Settings in Options my Paypal-Account is Euro, too.....what´s wrong??
effeff70
11-19-2008, 03:52 PM
can someone help?
Its still the same prob. from last post.
effeff70
11-22-2008, 02:44 PM
Is here nowbody who has the same problem? No help?
effeff70
11-22-2008, 05:00 PM
Thats really bad, no help---sucks--- uninstalled.
Blue91
01-15-2009, 03:02 PM
Anyone with VB 3.8 installed this and confirmed that it's working yet?
I have installed this on 3.7.4 and once i realized i'd imported the images to the default misc file i corrected it and sent them to my custom skin...................works real good thankyou:up:
tlwwolfseye
02-04-2009, 10:46 AM
How secure is this script, considering its not supported ?
Thanks in advance.
Ohiosweetheart
02-22-2009, 01:44 PM
Are there currently any issues with 3.8?
Are there any plans to upgrade this mod to 3.8?
Ohiosweetheart
02-22-2009, 08:21 PM
Well, I installed it on my 3.8.1 forum, and so far so good!
mrcake
03-01-2009, 05:35 AM
Yep, working fine with 3.8 and Advanced Navbar links. 'Donate' added to the navbar with no issues and no manual tweaking with the template. Thanks for the great hack!
Gene Steinberg
01-10-2010, 12:34 AM
Yep, working fine with 3.8 and Advanced Navbar links. 'Donate' added to the navbar with no issues and no manual tweaking with the template. Thanks for the great hack!
Too bad it'll never be compatible with vBulletin 4.0, or maybe someone could do the stuff needed to make it work?
Peace,
Gene
BoneDust
06-23-2011, 06:22 PM
It works well in 4.14, but I don't see a donated page.
I thought that when people donate their names would appear in a "donated" page. Like a history of donators/donations. Am I wrong?
Other then that it works great in 4.14 :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.