PDA

View Full Version : Miscellaneous Hacks - PayPal Easy Donate - vB 3.6


Pages : [1] 2

Billspaintball
06 Aug 2006, 07:21
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! :)

Also includes a vB CMPS Module so you can use this hack on your vB CMPS pages. - Note: Module has not been updated to add latest currencys.
The vB CMPS is basicly just a straight port of DementedMindz excellent Paypal Module (dropdown) On vBa CMPS (http://www.vbulletin.org/forum/showthread.php?t=105276) modified so that it can be setup from the AdminCP.
Many thanks to DementedMindz for allowing me to mod his module.

Some features of this hack are:

No need to modify or edit the standard vB files!
Automaticly adds 'Donate' link on Navbar next to the FAQ link if desired.
Simple once off setup in the Admin Control Panel.
You can change all text and headings from the Admin CP.
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


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 dont have much free time.

This is a work in progress and currently a beta version.
This script has been confirmed as working on

vB 3.7 Beta 3
vB 3.6.7PL1
vB 3.6.7
vB 3.6.6
vB 3.6.5
vB 3.6.4
vB 3.6.3
vB 3.6.2
vB 3.6.1
vB 3.6.0
vB 3.6.0 RC1
vB 3.6.0 Beta2
vB 3.6.0 Beta1


Add Ons
Colonel Ingus has made quite a nice flash addon for this hack.
Full details of this addon are here - http://www.vbhackers.com/f76/audible-flash-donation-bills-paypal-7144/#post51661
Well worth checking out and seeing if it can enhance your donations page.

Known Bugs
vB Donations Hack - None on a standard vB 3.6.X install. However, 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.
vB CMPS Module - Wont work with Euros for some bizare reason, under investigation.
- Not updated to add new V1.32 currencys yet.

This has been tested in a totally clean install of vB 3.6 and in my live and hacked site as well.

Changelog

Version 1.32.366 (26th May 2007)

Changed - Uses new template hooks instead of modifying cached templates.
Will only work with vB 3.66 or newer



Version 1.32 (9th January 2007)

Added - 9 new Paypal supported currencys.
Added - Version checking in vB Product Manager.
Added - Product URL in vB Product Manager.
Fixed - Heading in AdminCP not displaying correctly.


Version 1.31 (6th August 2006)

Initial vB 3.6 Release


Upgrade Instructions
The 1.31 release for vB 3.6 is identical to the 1.31 vB 3.5 release.
http://www.vbulletin.org/forum/showthread.php?t=113159
No upgrading is necessary if you were running the 1.31 version on your vB 3.5 board.
Make sure you select overwrite when you import.


Credits
Huge thanks to DementedMindz who made my V1.31 code XML compliant :)

I have been inspired by Cloudrunners PayPal Donations and Cybernetec's Cyb Paypal. Both have their good points, but neither were quite what I wanted, which is what inspired me to write this.

Thanks also to Paul M and hambil in helping me work out how to insert the donate link without any manual edits.
Also, espically to DementedMindz for his assistance, advice, and use of his vB CMPS module.
Much appreciested guys :)

And finally, a huge thanks to Boofo who was a great help in making the 1.30 release and supplied the new template, and much help. :)


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
06 Aug 2006, 07:25
Manual Template Edit
(if using modded navbar)

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>

Snake
06 Aug 2006, 09:14
Wow thanks! :)

Sn!per101
06 Aug 2006, 10:17
How do you install this donations.module? Is it suppose to be renamed to donations.php? Or how would I go about installing it? I have the CMPS installed already and I know theres a modules folder but it has .php files in there.

twitch
06 Aug 2006, 17:25
Awesome, thanks for this update!

DementedMindz
07 Aug 2006, 03:11
How do you install this donations.module? Is it suppose to be renamed to donations.php? Or how would I go about installing it? I have the CMPS installed already and I know theres a modules folder but it has .php files in there.


you upload it from admincp.. on the left hand side go to your vbadvanced dropdown then upload module ;)

soletrader
07 Aug 2006, 16:41
I can not get the PayPal Donation Details to align in the center. any help?

DementedMindz
07 Aug 2006, 16:45
go to billspp_main template and find this


<tr align="left">
<td class="tcat" colspan="3">PayPal Donation Details</td>
</tr>

change it to this

<tr align="center">
<td class="tcat" colspan="3">PayPal Donation Details</td>
</tr>

CCux
13 Aug 2006, 11:36
I selected EUR as default payment, but when i try to donate something Paypal errors with the following:

This recipient does not accept payments denominated in USD. Please contact the seller and ask him to update his payment receiving preferences to accept this currency.

Any ideas why the default settings for EUR won't work?

Billspaintball
13 Aug 2006, 12:10
CCux,
You have the wrong setting in your profile at PayPal.
You need to log into your PayPal account,
select Profile,
Select Payment Receiving Preferences
and allow Euro to be accepted.

CCux
13 Aug 2006, 12:13
Nope, EUR donations work fine, users even donated with this in the past. When using another plugin that was uploaded here it works without these problems too.

Seems more like yours doesn't transfer the EUR correctly?!

Billspaintball
13 Aug 2006, 12:21
Ok, I will change my test site to Euro and see if I can replicate the problem.

CCux
13 Aug 2006, 12:21
Seems like $cursym in billspaypal.php is wrong encoded. When changing this with an editor it seems to work, but still won't get displayed properly near the amount

CCux
13 Aug 2006, 12:38
Instead of using the € Symbol itself, just changing this to the appropriate HTML Code works fine "&euro;"

Perhaps you want to change this

Billspaintball
13 Aug 2006, 12:43
Ok, Ive just changed my site to Euro and the info submitted to PayPal appears to be correct.

(See attached screenshot to see currency type sent to PayPal.)

If a different value is being sent to what you set, I wonder if you are using another hack on your site that that may be using the same variable name that I am?

CCux
13 Aug 2006, 12:43
This mainly works, but why does the vbacmps Module display 2 instead of the currency itself? Any idea about that?

Billspaintball
13 Aug 2006, 12:51
Instead of using the € Symbol itself, just changing this to the appropriate HTML Code works fine "&euro;"

Perhaps you want to change this

The € Symbol (and "Euro") are not sent to PayPal, they are only for presentation on the donate page.

The only currency variable sent to PayPal is "EUR"

Billspaintball
13 Aug 2006, 13:01
Ahhh I see.
The donate in the vBadvanced module is where your having the problem, but the main on from the forums is Ok.

Yeah, the module is doing somthing weird, but only for Euros, all the othert currencys seen ok.

I will have a look at that module and see whats gone wrong.

sam anders
13 Aug 2006, 15:35
i had installed the old version 1.3 and working all ok including the cmps module but i have now upgraded to 1.3.1 and again forums is working all ok but the cmps module is not working, i am in the uk so accepting pounds but on the module the £ is shown as 3, any ideas which template i edit to change this value from 3 to £, as this stops the paypal working, all working on the forums link just the module seems only a small template issue i think but then i a newbie so could be wrong,

please see below for the incorrect value highlighted in the red box

http://img147.imageshack.us/img147/9356/donationserroraj8.jpg

AMD_Warrior
13 Aug 2006, 18:28
Thanks, INstalled and working

orphan
14 Aug 2006, 16:43
hi
I get this when trying to transfer $ from the module

This recipient does not accept payments denominated in USD. Please contact the seller and ask him to update his payment receiving preferences to accept this currency.

Also the $ currency symbol fails to show, i get a 5 instead

Billspaintball
16 Aug 2006, 07:10
Sorry guys, I changed a couple of variable names in the update but forgot to also change them in the module. :(

Will fix and post an updated module.

PigsOnTheWing
16 Aug 2006, 23:11
I just installed this on my forum, it is exactly what I was looking for, thanks! One thing, though, I can get the text link to show up in my navbar, but I cannot get a button to show up in the header if I choose that option. Any ideas?

Billspaintball
17 Aug 2006, 00:52
I just installed this on my forum, it is exactly what I was looking for, thanks! One thing, though, I can get the text link to show up in my navbar, but I cannot get a button to show up in the header if I choose that option. Any ideas?
Are you using a custom template?

PigsOnTheWing
17 Aug 2006, 01:21
Are you using a custom template?Not really. I have added two lines of ordinary text to the top of the forum page...but nothing anywhere else. Would that affect anything?

Billspaintball
17 Aug 2006, 07:11
Not really. I have added two lines of ordinary text to the top of the forum page...but nothing anywhere else. Would that affect anything?
It could.

My code searches for a particular string of text in the template, then adds the code to display the button after it.

If your edit is in a particular spot, it will change the text so it cant be found, therefor no button will be inserted.

The second post in this thread http://www.vbulletin.org/forum/showpost.php?p=1045648&postcount=2 tells you what manual edit to do if the auto insert wont work because of a customised template.

CCux
20 Aug 2006, 16:52
Any news with that?

Aceman
23 Aug 2006, 02:29
Sorry guys, I changed a couple of variable names in the update but forgot to also change them in the module. :(

Will fix and post an updated module.

Has a fix been made? I'm still getting, "This recipient does not accept payments denominated in USD. Please contact the seller and ask him to update his payment receiving preferences to accept this currency." when I click on the module.

Dexter_kcd
23 Aug 2006, 05:41
Nice product. Thanks Bill and all who contributed.

Dexter...

Billspaintball
23 Aug 2006, 07:21
Has a fix been made? I'm still getting, "This recipient does not accept payments denominated in USD. Please contact the seller and ask him to update his payment receiving preferences to accept this currency." when I click on the module.
All Currencys other than Euro have been fixed and the revised vB CMPS module has been uploaded.

I have no idea why only Euro's does not work in the vB CMPS module. :confused:

DementedMindz
24 Aug 2006, 00:31
I have no idea why only Euro's does not work in the vB CMPS module. :confused:

Once I finish setting this pc up ill take a look at it and see if I can see why its doing that.

good2laugh
24 Aug 2006, 10:42
Installed, thank you kind sir :)

I got a text link and that is cool.
I would like though to use the button, but I would like to add that to the left of the bit that says Welcome, good2laugh
you last visited blah blah ....... but I couldn't figure out how or where to insert it. It put it under the navbar which I wasn't keen on. So my question is, can it be put to the left of that welcome message, and if so could someone please give me an exact place to put it... i.e. find this code, insert above etc lol.

The module
I couldn't get the module to display properly, I had a ton of output code as well as the please donate message. I did clean output but it didn't get rid of the additional code - may try to do that again but not worried as I have the navbar on the advanced too.


Anyhow thanks, and happy to nominate this as a mod of the month, awesome (or will be if people click on it lol)

DementedMindz
24 Aug 2006, 18:13
The module
I couldn't get the module to display properly, I had a ton of output code as well as the please donate message. I did clean output but it didn't get rid of the additional code - may try to do that again but not worried as I have the navbar on the advanced too.

What code are you trying to remove?

good2laugh
24 Aug 2006, 21:00
What code are you trying to remove?

Wasn't trying to remove code.. can't reproduce it now, but when I used the module - the module spanned the entire page and above the writing that should be there, was strange looking characters *which* looked to me (a non coder) like raw code. It also threw the other modules out, i.e position wise, and some other custom modules no longer showed up. I won't have time to try it again until the weekend, but if the same happens I'll do some screen grabs.

If not, I can go back to using the original hack you made as that worked. :)

Thanks

dutchbb
24 Aug 2006, 21:30
no screens?

Can it be uninstalled properly?

DementedMindz
25 Aug 2006, 01:13
Wasn't trying to remove code.. can't reproduce it now, but when I used the module - the module spanned the entire page and above the writing that should be there, was strange looking characters *which* looked to me (a non coder) like raw code. It also threw the other modules out, i.e position wise, and some other custom modules no longer showed up. I won't have time to try it again until the weekend, but if the same happens I'll do some screen grabs.

If not, I can go back to using the original hack you made as that worked. :)

Thanks

It shouldnt throw your theme off at all. But if you can grab screen shots or when you in stall it again send me a pm with your site link so I can take a look this way if it is I can fix it.

Billspaintball
25 Aug 2006, 01:56
no screens?[quote]
Sorry will do some.
You can see it in operation at
http://www.billspaintball.com
Shows the vB CMPS module on the first page, and also shows the donate link in the forums. Click on that to see the actual form.

[quote]
Can it be uninstalled properly?
Yes, just delete the two files you upload and uninstal in the AdminCP Products and Plugins section.
No Code or Database changes were made to vB files during the install so no problems.

Billspaintball
25 Aug 2006, 02:00
Installed, thank you kind sir :)

I got a text link and that is cool.
I would like though to use the button, but I would like to add that to the left of the bit that says Welcome, good2laugh
you last visited blah blah ....... but I couldn't figure out how or where to insert it. It put it under the navbar which I wasn't keen on. So my question is, can it be put to the left of that welcome message, and if so could someone please give me an exact place to put it... i.e. find this code, insert above etc lol. Its quite easy to add a button where you want, you just need to edit the correct template to insert the button.
The code you need to insert is on the 2nd post in this thread.
Sorry I cant tell you were exactly to insert in that template as I havent tried it there.

The module
I couldn't get the module to display properly, I had a ton of output code as well as the please donate message. I did clean output but it didn't get rid of the additional code - may try to do that again but not worried as I have the navbar on the advanced too.
Thats a new one on me :confused:
Can you please PM me a link so I can see what it looks like.


Anyhow thanks, and happy to nominate this as a mod of the month, awesome (or will be if people click on it lol)Thanks for your kind words, much apprecieated :D

Kihon Kata
30 Aug 2006, 16:39
I'm running ver1.31 (for 3.5.4) on my 3.6 board. Am I jacked up?

bandare
30 Aug 2006, 18:26
thanks a lot. Worked a dream on my 3.6 site. Appreciate all your work making this!

exilera
30 Aug 2006, 18:59
Is there any difference between this hack and the Cyb version of the same thing? I'm trying to decide which one to use?

Billspaintball
31 Aug 2006, 05:50
I'm running ver1.31 (for 3.5.4) on my 3.6 board. Am I jacked up?
No change between either 1.31.
From 1.32 there will be changes.

Billspaintball
31 Aug 2006, 05:57
Is there any difference between this hack and the Cyb version of the same thing? I'm trying to decide which one to use?
Yes there are a few relating to layout and flexability.

Best thing to do is instal both and keep the one that suits your requirements better.

exilera
02 Sep 2006, 15:00
Another quick question then. Does this hack make database changes?

DementedMindz
02 Sep 2006, 19:21
the only changes it makes is it adds templates but when you uninstall the hack it removes them. it will not hurt nothing.

exilera
03 Sep 2006, 00:48
Just installed the hack and it works great! The only issue I'm having is with the Donate link on the main billspaypal page. In IE I get a broken link where the paypal button should be. All the images are uploaded correctly. How can I correct this, or is there any way to eliminate the button and just have a text link in it's place? My site is dcswing.com

Thanks!

DementedMindz
03 Sep 2006, 01:31
wheredo you have the image uploaded to?

DementedMindz
03 Sep 2006, 01:34
it should be in this folder images/element/misc/paypal_donate.gif mostly all images from mods get uploaded to your style images folder and from there what ever other folder it tells you. if you see a missin image view your page source and it will show you where it goes.

exilera
03 Sep 2006, 01:36
wheredo you have the image uploaded to?

All of the images included in the .zip are uploaded to images/misc

Also, the Verified by Paypal block thinks I'm from Australia, and the image doesn't show to the left of the text :)

DementedMindz
03 Sep 2006, 01:40
they need to go in your element style

exilera
03 Sep 2006, 01:42
Nevermind, I figured it out. Thanks! :)

DementedMindz
03 Sep 2006, 01:43
yeah you have to change that manually so it shows what ever you want i think maybe in the next version they shoould be made into phrases this way you can have it change there when you change where your currency is from.

DementedMindz
03 Sep 2006, 01:44
bill have you changed the code any from when i tweaked it? cause on lookin on his site it dont open in a new window when you click donate. i figured that would be a nice feature this way members never leave the site and they still can donate.

Billspaintball
03 Sep 2006, 09:58
Another quick question then. Does this hack make database changes?
No.
.....

Billspaintball
03 Sep 2006, 09:59
bill have you changed the code any from when i tweaked it? cause on lookin on his site it dont open in a new window when you click donate. i figured that would be a nice feature this way members never leave the site and they still can donate.
Its a CP option so you can choose the method you prefer. :)

DementedMindz
03 Sep 2006, 10:03
ahh i didnt even look i have mine setup and havent been in there for a few weeks ;). what you think about my other option to change alot of the hard coded text to phrases this way when a user changes there currency it changes in the Verified by Paypal block at the bottom. then if they wanted to change the phrase you could put a link on admincp with a link right to that phrase.

Billspaintball
04 Sep 2006, 01:24
ahh i didnt even look i have mine setup and havent been in there for a few weeks ;). what you think about my other option to change alot of the hard coded text to phrases this way when a user changes there currency it changes in the Verified by Paypal block at the bottom. then if they wanted to change the phrase you could put a link on admincp with a link right to that phrase.
Yeah, will add to my to do list.

DementedMindz
04 Sep 2006, 01:47
If you need help just ask I have no problem helping.

big dan
08 Sep 2006, 05:41
Thank you very much for this hack, hopefully it will help off set some of costs.

-Dan

mikeinjersey
09 Sep 2006, 18:26
anyway to have the option of donating to more then 1 person? I was thinkin of giving my other admins a shot at some $$ aswell for all the hard work they do.

DementedMindz
09 Sep 2006, 18:47
Personally I have never seen that done with paypal.

EragonSN
10 Sep 2006, 11:12
How about a text field, were they can enter a few informations, i.e character name in a server, would be easier to find out who donated xD

DementedMindz
10 Sep 2006, 11:52
It already sends you the info on who donated...

EragonSN
10 Sep 2006, 13:20
no no, you don't get it, I mean:

for a online game, lets say Lineage2, they donate throu the forum, enter their character/account details in that text field, so I can give it to them later xD

Billspaintball
11 Sep 2006, 06:18
anyway to have the option of donating to more then 1 person? I was thinkin of giving my other admins a shot at some $$ aswell for all the hard work they do.
I spose you could have a drop down list to select the person you wished to donate to.
If you have a moderate HTML skill level you could just edit the template file to add that for yourself. Its not a big job.

Billspaintball
11 Sep 2006, 06:20
they donate throu the forum, enter their character/account details in that text field, so I can give it to them later xD
Oh, you just want a notes or memo field.

Thats planned for an upcoming version.

Monica05
11 Sep 2006, 07:54
I have a probably stupid question.

I installed this in my navbar template, wanting it to be beside my advertising banners above my navbar.
However, now my banners aren't showing up. What am I doing wrong?

DementedMindz
11 Sep 2006, 07:56
Its hard to say without seeing the problem.

Monica05
11 Sep 2006, 08:19
Here is part of my navbar code. I can show you the rest if you need me to do so. The wierd part is, my banners stopped showing up right after I installed this, even before I added the code under the $banner. So, i'm not sure what's going on.

The paypal button works just fine, and is in the location I want it to be. It's just that my banners aren't.
</script>

<br />
$banner
<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>
<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>

This is my website.
http://www.thewomenslounge.com/forums/index.php?styleid=1

It's only happening on my Default Style and Romance Talk. The other 3 styles have the banner ads. This has got to be something simple that I messed up lol.

DementedMindz
11 Sep 2006, 08:23
where are you looking to put your paypal button? I put mine next to the login form to the left of it this way it dont mess nothing else up. but where do you want it at?

DementedMindz
11 Sep 2006, 08:26
also your images wont show up unless you upload them to each theme or template you have.

Monica05
11 Sep 2006, 08:56
I actually moved the button below my navbar since I posted. The button is working fine.

My problem is that on 2 of my styles, my banner ads aren't working. I didn't mess with the banner code so i'm not sure what's causing this problem. The other 3 styles, the banner ads work just fine.

DementedMindz
11 Sep 2006, 23:47
why dont you move your paypal button next to your login this way it dont leave such a opening and looks alot nicer. also as for the other templates is the code in there on them templates? If you look here at my image the button is right next to the login form on the right and it dont leave no gaps just uses wasteless space already in use.

53317

Monica05
12 Sep 2006, 01:28
I really like how that looks. I think i'll add it that way. Where would I put the code? (Sorry, I know that's kind of a dumb question).

As far as the other templates, the banner codes are in each one so i'm not sure why my banners aren't showing up on 2 of them.

ETA: I got my banners back. I'm not sure what happened with my first 2 styles but I just c&p'd my code from a working template and it works just fine!

I do want to put my paypal button where yours is. It does look a lot nicer.

DementedMindz
12 Sep 2006, 02:12
paste me your navbar template. also do you want everyone to see the button including guest?

Monica05
12 Sep 2006, 02:29
Yeah, everyone can view it.

I'll pm my navbar template to you.

DementedMindz
12 Sep 2006, 02:49
why do your images pull from paypal? why not have them pull from your site?

Monica05
12 Sep 2006, 03:19
why do your images pull from paypal? why not have them pull from your site?

What do you mean?

DementedMindz
12 Sep 2006, 03:21
look at your paypal buton it pulls the images from google did you change the url link?

DementedMindz
12 Sep 2006, 03:22
also your other images dont show up you have to upload them again. look on your donate page you will see what i mean and to see where they go right click them and see the location.

McCarroll21
12 Sep 2006, 06:46
I'm getting this error...

Warning: main(./global.php): failed to open stream: No such file or directory in /home/braves/public_html/billspaypal.php on line 25

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/braves/public_html/billspaypal.php on line 25

...what gives?

Billspaintball
14 Sep 2006, 03:04
I'm getting this error...

Warning: main(./global.php): failed to open stream: No such file or directory in /home/braves/public_html/billspaypal.php on line 25

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/braves/public_html/billspaypal.php on line 25

...what gives?
At a guess you put the file billspaypal.php into the wrong directory.

Is public_html your forums directory, or is it public_html/forums ?

DementedMindz
14 Sep 2006, 04:05
pssst you mean billspaypal.php ;)

Monica05
14 Sep 2006, 04:15
also your other images dont show up you have to upload them again. look on your donate page you will see what i mean and to see where they go right click them and see the location.

Yikes! Thanks for pointing that out.


ETA: I realized I had a pm from you, sorry lol. Thank you so much!

DementedMindz
14 Sep 2006, 04:38
did you get the images working?

Billspaintball
14 Sep 2006, 06:06
pssst you mean billspaypal.php ;)
Ahhh yeah....
That would be it

Thanks :)

tigerheart
15 Sep 2006, 06:46
to fix that error I took the following lines from the CMPS mod:


// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================

$forumpath = './forums';

// ============================================
// No Further Editing Necessary!
// ============================================

if (!is_dir($forumpath))
{
echo 'Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.';
exit;
}

chdir($forumpath);


Just put that into the top of the two PHP files and you're set.

SCRIPT3R
15 Sep 2006, 22:14
why dont you move your paypal button next to your login this way it dont leave such a opening and looks alot nicer. also as for the other templates is the code in there on them templates? If you look here at my image the button is right next to the login form on the right and it dont leave no gaps just uses wasteless space already in use.

53317
that looks great; care to share the mod? :D

DementedMindz
15 Sep 2006, 22:21
that looks great; care to share the mod? :D


Im not sure how the stock vbulletin navbar is cause I have edited so much of my site but Ill try as best as I can.

In your navbar template find this:(Its about halfway down)

<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>

After that add your code:

<td class="alt2">
<div align="center"><a href="billspaypal.php"><img src="$stylevar[imgdir_misc]/donate.gif" border="0" alt="Make payments with PayPal - it's fast, free and secure!" /></a></div>
</td>

SCRIPT3R
15 Sep 2006, 22:24
ah, even, if that's not right (it does look correct) i get it - thnx!

DementedMindz
15 Sep 2006, 22:25
no problem

wottech
21 Sep 2006, 10:28
Is there anything out there that will take donations and then apply it to a database? I would like to give donating members a gif under their avatar for donating member status, and keep track of donations. Perhaps just changing their secondary group to something so they will automatically get more space, etc.

Or should I just try to do a better job of keeping track? I really don't have time to do that.

DementedMindz
21 Sep 2006, 10:59
Personaly I made another user group named donators and when I get a donation I move them there and have different settings compared to registered users. Plus if you do that then you can add what ever image to there name or what ever title.

Billspaintball
21 Sep 2006, 13:54
Is there anything out there that will take donations and then apply it to a database? I would like to give donating members a gif under their avatar for donating member status, and keep track of donations.Next version of this does.
I havent had time to finish it off. (New baby in the house)

Not sure when it will be out.
Im considering dropping the incomplete features and just releasing whats working to date. (add confirmed payment details to Database, add donor Icon, ability at add historical data.)

DementedMindz
21 Sep 2006, 13:56
Nice work and congrats on the new baby. If you need any help feel free to send me a pm.

SCRIPT3R
21 Sep 2006, 17:44
Next version of this does.
I havent had time to finish it off. (New baby in the house)
congrats on the baby.
Not sure when it will be out.
Im considering dropping the incomplete features and just releasing whats working to date. (add confirmed payment details to Database, add donor Icon, ability at add historical data.)
would very much like to see how you did your DB setup. :)

Stromba
21 Sep 2006, 22:18
:confused:

Have try to install the payPal hack but get always this Window..
( See attachment )

wottech
21 Sep 2006, 23:44
Awesome, I can't wait:) Id offer to help but as the other admin on my site would probably tell you, thats a very very bad idea:P.

Stromba
22 Sep 2006, 00:27
What you mean with that...???
I need to now wich file i need to edite nothing more..

twitch
22 Sep 2006, 02:38
wow, looking forward to the update!

corsacant
22 Sep 2006, 19:13
I have a problem not covered so far. My forum is installed under forums/, I have the donate image on the top right hand side of my header and all works fine when browsing through the forums, but i also have vBadvanced CMPS installed and when browsing the home page the donate link doesn't work. This is because the file it is looking for is located in the forums/ folder and not in the root folder. is there any way i can alter the code for just that page to make the link work?
Thanks, Lee.

DementedMindz
22 Sep 2006, 19:43
The easier thing to do would be to right click it and see where the image location is and add the image to that folder to. This way you dont have to edit a few things.

corsacant
22 Sep 2006, 22:48
Sorry I haven't explained myself properly, the actual image link is working fine, but when you click on the link it says page not found. I need to manually edit the file to point to the right folder where the .php file is.
My problem is that I haven't a clue what/where to edit.

DementedMindz
22 Sep 2006, 23:31
hmm do you have a link I can look at? I dont use that part so I would have to see. You maybe able to change billspp_buttoninsert if its the one it is and try this

change the whole template to this

<!-- PayPal Donations Button -->
<div align="right"><a href="$vboptions[bburl]/paypal.php"><img src="$stylevar[imgdir_misc]/donate.gif" border="0" alt="Make payments with PayPal - it's fast, free and secure!" /></a></div>

corsacant
22 Sep 2006, 23:52
the link to the page with the problem is www.allcorsa.co.uk

DementedMindz
22 Sep 2006, 23:55
have you tried what I posted?

DementedMindz
22 Sep 2006, 23:56
you need to fix a few links in the navbar also on your vbadvanced page.

Emanet-Kaos
23 Sep 2006, 06:56
thanks very much Billspaintball !

Shazz
23 Sep 2006, 07:04
I have tried a ton, And i like this the most ! *clicks install

corsacant
23 Sep 2006, 11:05
hmm do you have a link I can look at? I dont use that part so I would have to see. You maybe able to change billspp_buttoninsert if its the one it is and try this

change the whole template to this

<!-- PayPal Donations Button -->
<div align="right"><a href="$vboptions[bburl]/paypal.php"><img src="$stylevar[imgdir_misc]/donate.gif" border="0" alt="Make payments with PayPal - it's fast, free and secure!" /></a></div>

Thanks, that worked. I did have to change the "$vboptions[bburl]/paypal.php" to "$vboptions[bburl]/billspaypal.php" but it works fine now.
Also you mentioned some of my links are broken on my homepage, can you tell me which ones because they all seem ok to me.

DementedMindz
23 Sep 2006, 11:09
glad it worked I wasnt sure if thats the one you ment. your arcade you need to do that in your navbar too

corsacant
23 Sep 2006, 12:00
I've had a quick tinker of the navbar now.

DementedMindz
23 Sep 2006, 12:01
lol yeah you have to do that but you can also add them files in your vbadvanced settings Header Replacements,Navbar Replacements

silurius
25 Sep 2006, 20:17
Hi Bill. Great hack, clicked Install. Seems to be working just fine for my needs.

One suggestion: would it be feasible to add a feature so that this tool collects userid's who have landed back at /forum/billspaypal_donated.php?

Alternatively, does anyone here know how I might turn on some kind of reporting feature for a PayPal Premiere or Business account? I've taken payments for auctions and the like before, but I need to expose my donations to the site owner so as to continue to maintain trust etc.

DementedMindz
25 Sep 2006, 22:00
there will be a new features like that in the future right now bill just had a kid and hes with family so as soon as he has time im sure it will be out.

silurius
25 Sep 2006, 22:27
there will be a new features like that in the future right now bill just had a kid and hes with family so as soon as he has time im sure it will be out.Totally understood! No pressure.

Would appreciate any feedback or insight on the second question (PayPal reporting or the like) if anyone has any.

My use case is: I don't own the site, but I do all administration and most moderation. In order to make the site owner feel better I need to keep things as transparent as possible, and with a minimal amount of extra work to make it so.

Kopland
26 Sep 2006, 03:58
I wanted to be able to display this as a block on my vbPortal front page, so I took some of the code from the billspaypal.php file and did the following.


In the vbPortal Control Panel, expand the "Block Layouts" tab and click on "Default Side Blocks".
Click on the "Add New Block" button, choose PHP block type. I put in "Online Donation" for my Block Title, "Right" for my Default Column, and "Yes" for Templates.
Add the following code to the Content box:
$DonationMsg="Thank you for donating. Every little bit helps to maintain the site and its upkeep costs.";
$navbits = construct_navbits(array('' => 'Donations'));
$country = $vbulletin->options['billspp_currency'];
$email = $vbulletin->options['billspp_email'];
$payfor = $vbulletin->options['billspp_payfor']." From: ". $vbulletin->userinfo['username'];
$buttontype = $vbulletin->options['billspp_showverify'];

if ($country == "0") {$currency = "AUD"; $currencylong = "Australian Dollars"; $cursym = "$";}
if ($country == "1") {$currency = "CAD"; $currencylong = "Canadian Dollars"; $cursym = "$";}
if ($country == "2") {$currency = "EUR"; $currencylong = "Euro"; $cursym = "€";}
if ($country == "3") {$currency = "GBP"; $currencylong = "Pounds Sterling"; $cursym = "£";}
if ($country == "4") {$currency = "JPY"; $currencylong = "Japanese Yen"; $cursym = "¥";}
if ($country == "5") {$currency = "USD"; $currencylong = "U.S. Dollars"; $cursym = "$";}

if ($buttontype == "2") {$buttontype = "$stylevar[imgdir_misc]/paypal_verified_donate.gif";}
else {$buttontype = "$stylevar[imgdir_misc]/paypal_donate.gif";}


echo $DonationMsg;

echo "<br /><br />
<form action=\"https://www.paypal.com/cgi-bin/webscr\" target=\"_blank\" method=\"post\">
<div align=\"left\">
<strong>Currency</strong>: $currency - $currencylong<br /><br />
<strong>Amount</strong>: $cursym
<input type=\"text\" name=\"amount\" size=\"6\" value=\"$vboptions[billspp_defaultamount]\" />
<input type=\"hidden\" name=\"cmd\" value=\"_xclick\" />
<input type=\"hidden\" name=\"business\" value=\"$email\" />
<input type=\"hidden\" name=\"item_name\" value=\"$payfor\" />
<input type=\"hidden\" name=\"no_note\" value=\"1\" />
<input type=\"hidden\" name=\"currency_code\" value=\"$currency\" />
<input type=\"hidden\" name=\"tax\" value=\"0\" />
<input type=\"hidden\" name=\"return\" value=\"$vboptions[bburl]/billspaypal_donated.php\" />
</div>
<br />
<div align=\"left\">
<span class=\"smallfont\">Please enter your donation amount above, then click on the Donate button below.</span></div>
<br />
<div align=\"center\"><input type=\"image\" src=\"$buttontype\" alt=\"Give Securely With Any Major Credit Card Through PayPal!\" title=\"Give Securely With Any Major Credit Card Through PayPal!\" />
<br />
<br />
</div>
</form>
";
Click Save


Voilà! The block has been created! Now all you have to do is insert the block into your desired module and your Donations block should show up beautifully! I'm pretty new at this, so I don't know if all the code that is in there is required, but that worked for me. You can see it at www.kopland.net (new site, not sure what I'll do with it yet, lol)

Billspaintball, if I need to add anything to the top to help give credit to you, just lemme know what I need to add and I'll make sure to do it. :)

morrow
02 Oct 2006, 00:19
I imported the vbAdvanced module but it still doesn't show up. Any ideas?

DementedMindz
02 Oct 2006, 00:32
Is it turned on?

smoknz28
02 Oct 2006, 00:57
Anyone got this working under vB 3.6.1 yet?

Thanks

chorton
02 Oct 2006, 01:05
I have it working at www.versionist.com

However the vbadvanced module does not appear to work ...It was throwing up all kinds of errors so i removed it

DementedMindz
02 Oct 2006, 01:27
yeah it works.

Shazz
02 Oct 2006, 02:01
It works on my side
vBShazz.com
You might get mixed up on the vbadvanced part where it says plug it in your template then .php. I also did a minor change on it though

bluegum
02 Oct 2006, 02:23
Manual Template Edit
(if using modded navbar)

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>

this part was ez
but where do i change it to us dollars?
is theresomething on the back end of vb that i need to adjust these settings in?

smoknz28
02 Oct 2006, 02:56
I have it working at www.versionist.com

However the vbadvanced module does not appear to work ...It was throwing up all kinds of errors so i removed it


Not sure what you're saying here....are you saying you uninstalled this mod or just the portion for vbAdvanced?

It works on my side
vBShazz.com
You might get mixed up on the vbadvanced part where it says plug it in your template then .php. I also did a minor change on it though

Could you please share the minor change that you did?

Thank you,
Mark

DementedMindz
02 Oct 2006, 14:10
how can you get mixed up on the vbadvanced part there to seperate folders and mods really? the vbadvanced module works like its intended to there is no changes needed for it to work... if your having a problem with it post a link so I can see it and I can help you out to get it to work.

smoknz28
03 Oct 2006, 04:05
Got this installed with ease! :D

Just had to manually input the navbar code for the link to show, as you had mentioned in the instructions we may have to do this.

Nice work and thank you so much for sharing this with us.

One question however, are you or are others working on a graph style version that shows how much has been raised, etc?

Thanks again. ;)

morrow
03 Oct 2006, 04:26
VBA Doesn't work for me either, and it's enabled. :)

DementedMindz
03 Oct 2006, 06:04
VBA Doesn't work for me either, and it's enabled. :)

what is it doing? give a little more info cause I have it up and running on mine plus installed on a few others.

WEBDosser
07 Oct 2006, 07:19
will this work with 3.6.2

Shazz
07 Oct 2006, 07:35
Not sure what you're saying here....are you saying you uninstalled this mod or just the portion for vbAdvanced?



Could you please share the minor change that you did?

Thank you,
Mark
Supported on vBShazz.com

DementedMindz
07 Oct 2006, 15:03
Supported on vBShazz.com

what would it be supported there for Shazz? Yes it will work on 3.6.2

Shazz
07 Oct 2006, 16:39
what would it be supported there for Shazz? Yes it will work on 3.6.2
The changes I did basically...

DementedMindz
07 Oct 2006, 18:48
what changes? your paypal page looks like everyone elses

RobVT
09 Oct 2006, 04:39
I have it working at www.versionist.com

However the vbadvanced module does not appear to work ...It was throwing up all kinds of errors so i removed it
Same here, only the vba modules is broken. It seems to be looking for a database table that doesn't exist:
Invalid SQL:
SELECT donor.userid, donor.total, user.username, user.showdonor
FROM donation_donors AS donor
LEFT JOIN user AS user ON(user.userid = donor.userid)
WHERE donor.userid != '0'
ORDER BY total DESC
LIMIT 0,3;

MySQL Error : Table 'vbforums.donation_donors' doesn't exist
:(

DementedMindz
09 Oct 2006, 05:01
RobVT you better look at what you installed cause the module has no sql code in it at all. I made most of the code so I know.

Billspaintball
13 Oct 2006, 02:56
this part was ez
but where do i change it to us dollars?
is theresomething on the back end of vb that i need to adjust these settings in?
You change your default currency in the donations section of the Admin CP

Billspaintball
13 Oct 2006, 03:12
Same here, only the vba modules is broken. It seems to be looking for a database table that doesn't exist:

I havent released a version that uses a database yet.... :confused:

Shazz
13 Oct 2006, 03:42
It works though www.vBShazz.com
Works flawless

exilera
13 Oct 2006, 05:12
I'm trying to modify the submit button to just show a button based on the css class .button. Here's what I have so far for the code:

<div align="center"><input type="button" src="$buttontype" class="button" value="Donate" title="Thank you for supporting the SwingDC community!" />

The button shows up nicely, but it doesn't do anything when you click on it. What do I have to change in the code above to make the button work? :)

Thanks!

jellybeanz
13 Oct 2006, 15:33
Would it be hard to add who donated and how much? I'm sure that would require use of the database but I like your simple and clean hack. Plus I'm not sure if this hack (http://www.vbulletin.org/forum/showthread.php?t=91567) is compatible with 3.6.2. If it's too much to add then I understand just thought I would ask.

mrkhm
17 Oct 2006, 10:12
had to get my head around the whole vba installation as vb is new to me, but got there in the end, and this is a very professional appeal for donations, well done, nice one.

tjmack
18 Oct 2006, 22:42
Is there a good mod for 3.6.x to mark someone as a contributor/donator.

I just want something that highlights them in their posts.

T.

Hull Driver
20 Oct 2006, 13:51
Thanks for your mod, installed with no problems :D

Billspaintball
02 Nov 2006, 02:54
Is there a good mod for 3.6.x to mark someone as a contributor/donator.

I just want something that highlights them in their posts.

T.
Not yet afaik.

Next version of this will but that is a little way off yet.

zooki
03 Nov 2006, 20:23
When i put in a donation amount and it takes me to paypal, it also adds Postage And packing, how can i stop it doing that?

Shazz
03 Nov 2006, 22:44
That is interesting, Ive noticed that as well, i guess its just the type of purchase

Billspaintball
07 Nov 2006, 14:26
When i put in a donation amount and it takes me to paypal, it also adds Postage And packing, how can i stop it doing that?

Edit the template called billspp_main

Find
<input type="hidden" name="tax" value="0" />
and underneath that add
<input type=”hidden” name=”no_shipping” value=”1” />

I havent tested it, but that should do it.
(I will add it properly to the next version.)

NiTRoN
09 Nov 2006, 10:32
donations module has one error..

edit donation.module and search for

<input type="hidden" name="item_name" value="

and replace whole line with ...

<input type="hidden" name="item_name" value="$vboptions[billspp_payfor]" />

is correct..

the other one places your userid.. instead the "Donation Description from settings"

farooqaaa
09 Nov 2006, 15:44
w00t,!!! this is the one i was looking for :).

*installed/downlaoded.

DementedMindz
09 Nov 2006, 22:24
donations module has one error..

edit donation.module and search for

<input type="hidden" name="item_name" value="

and replace whole line with ...

<input type="hidden" name="item_name" value="$vboptions[billspp_payfor]" />

is correct..

the other one places your userid.. instead the "Donation Description from settings"

ill take a look at it and see but it had all the info in there before

Raydar
10 Nov 2006, 07:23
Great looking hack.

What is the other zip file for (modules) please?

Thanks

Reggie

Billspaintball
16 Nov 2006, 01:29
Great looking hack. Thanks! :D

What is the other zip file for (modules) please?

Its only for users of vB CMPS.
It allows them to have the donations block on a vB CMPS page.

KenDude
16 Nov 2006, 06:10
Billspaintball and Dementedmindz,

Nice mod, but one problem, the CMPS module doesn't show up on the home page.

First I downloaded the PHP files, images, etc. and installed all of that and configured it in the admin cp and the donate link appears in the NavBar, everything worked as advertised.

Then I used the CMPS to upload the module that I got in the other zip file and the module shows up in the module manager, I made sure it was turned on, I made sure users had permissions to it, but alas it doesn't show up on the home page. :(

Then I realized that I had to click Edit Pages in the CMPS manager section and then click on HomePage to edit it, then scroll down and activate the module because during installation I didn't tell it to update all pages because I don't want it everwhere, just on certain pages like the home page.

Now all is well, module shows up, but one small item. If they click the Navbar link to donate it pre-populates the dollar amount to the default I set ($25.00), but in the module the dollar amount defaults to zero. Is that a manual edit in the adv_portal_paypal template or a bug?

Thanks!

DementedMindz
16 Nov 2006, 09:06
send me a pm with link and i can take a look for you.

KenDude
16 Nov 2006, 14:36
Sent you the link but answered my own question.

In adv_portal_paypal find the line that has the payment amount on it (0.00) and change it to the following:

<input type="text" name="amount" size="6" value="$vboptions[billspp_defaultamount]" />

Replacing the 0.00 with $vboptions[billspp_defaultamount]

This will then pick up the default amount you set in the admin panel and display it in the module on the home page instead of the 0.00.

Stavs16
17 Nov 2006, 03:10
do u know how to centre the icon? because it leans towards the right side, and i would like it in the centre (PAYPAL LINK).

Billspaintball
17 Nov 2006, 03:35
Sent you the link but answered my own question.

In adv_portal_paypal find the line that has the payment amount on it (0.00) and change it to the following:

<input type="text" name="amount" size="6" value="$vboptions[billspp_defaultamount]" />

Replacing the 0.00 with $vboptions[billspp_defaultamount]

This will then pick up the default amount you set in the admin panel and display it in the module on the home page instead of the 0.00.

Sorry, I must not have updated the module when I added the suggested amount option to the adminCP. :(

I will release an update with this (and all the new supported currencys shortly. )

Billspaintball
17 Nov 2006, 03:38
do u know how to centre the icon? because it leans towards the right side, and i would like it in the centre (PAYPAL LINK).

Edit the template called billspp_buttoninsert

change

<div align="right"><a href="billspaypal.php"><img src="$stylevar[imgdir_misc]/donate.gif" border="0" alt="Make payments with PayPal - it's fast, free and secure!" /></a></div>

to

<div align="center"><a href="billspaypal.php"><img src="$stylevar[imgdir_misc]/donate.gif" border="0" alt="Make payments with PayPal - it's fast, free and secure!" /></a></div>

(I think that ought to do it, Im at work atm so I cant test it )

simalert
28 Nov 2006, 02:55
Any chance of getting this to put the donators in to a VIP user group once they donate automatically?

Thanks :)

Shazz
28 Nov 2006, 03:03
Any chance of getting this to put the donators in to a VIP user group once they donate automatically?

Thanks :)

That would be kind of hard since it has to confirm on a paypal page

simalert
28 Nov 2006, 03:09
That would be kind of hard since it has to confirm on a paypal page

I currently use the built in vBulletin purchase system to get my donations, this moves someone to the VIP group once Paypal confirms they've completed the transaction.

Paypal provide instructions on linking their system with your scripts so it gives a response if the transaction completed or not, this would be a useful thing to add to this donation system as then once people donate they are moved to a VIP or donators group who get extra features enabled on the board due to the permissions of that group.

Billspaintball
28 Nov 2006, 23:21
Paypal provide instructions on linking their system with your scripts so it gives a response if the transaction completed or not,
Correct.
I currently have a development version of this hack that takes the response data from paypal and inserts in into the database.

this would be a useful thing to add to this donation system as then once people donate they are moved to a VIP or donators group who get extra features enabled on the board due to the permissions of that group.Yeah stuff like, move to different group, pretty little donors/supportors icon on profile and posts, donation history etc.

And before anyone asks, sorry there is no ETA on its release at present.
(Im flat out with other stuff.)

MrPHD
03 Dec 2006, 20:00
Great Job, Working and installed.

agitated
10 Dec 2006, 21:22
Thanks for this Billspaintball and to all involved
Installed on 3.6.4, modified to suit, no problems.

Belated congrats Billspaintball.

Deep-X
13 Dec 2006, 17:04
Then I used the CMPS to upload the module that I got in the other zip file and the module shows up in the module manager, I made sure it was turned on, I made sure users had permissions to it, but alas it doesn't show up on the home page. :(

Then I realized that I had to click Edit Pages in the CMPS manager section and then click on HomePage to edit it, then scroll down and activate the module because during installation I didn't tell it to update all pages because I don't want it everwhere, just on certain pages like the home page.


Preaty much the same boat I just wanted to mention that there should be a master install file how to. As I did the install on both and now I am having issues with getting CMPS to show the modual although it is installed correctly.

Deep-X
13 Dec 2006, 17:20
Preaty much the same boat I just wanted to mention that there should be a master install file how to. As I did the install on both and now I am having issues with getting CMPS to show the modual although it is installed correctly.

Nvm I was using a custom theme for which it was not showing up. All is fixed sorry for the post...

BTW this is a really great mod... reminds me of e107 Donat-o-Meter

TeknoSounds
14 Dec 2006, 07:02
Fairly new to vB, I recently installed on my board with CMPS. The module displays however the image for the button does not. I am using a custom style. I imagine I'm missing something simple like in editing the template, but as a new user to vB I'm largely unaware of common issues in custom templates.

DementedMindz
14 Dec 2006, 07:03
right click the broken image and see where the link points to and add the image

TeknoSounds
14 Dec 2006, 07:06
I tried :-/ it shows me the address to the cmps_index. I don't even get any listings for the image itself. The template looks ok as far as i can tell, it references the $stylevar[imgdir_misc]...

DementedMindz
14 Dec 2006, 07:07
whats ur site link?

TeknoSounds
14 Dec 2006, 07:08
nm, finally found it through a different browser. Thanks for the help.

**edit**
yeah, it was referencing my style's folder looking for files in the misc directory that wasn't there. Just changed where the files were located and its ok now :)

DementedMindz
14 Dec 2006, 07:09
np anytime

rx_1badbird
15 Dec 2006, 22:32
http://www.mobmototb.com/forums/billspaypal.php?

Does the fact that I have a dark skin play a role as to why the actual "give securely with any major credit card" link doesn't show up? Users can't see it where it says "click on the donate button below". Do I need to add a button or something?

Also, the credit card images aren't showing up. It just gives the name of the cards & e-check.

Help!

Thanks.

Ev!L ErN!E
15 Dec 2006, 23:12
working good on vB 3.6.2

DementedMindz
15 Dec 2006, 23:43
http://www.mobmototb.com/forums/billspaypal.php?

Does the fact that I have a dark skin play a role as to why the actual "give securely with any major credit card" link doesn't show up? Users can't see it where it says "click on the donate button below". Do I need to add a button or something?

Also, the credit card images aren't showing up. It just gives the name of the cards & e-check.

Help!

Thanks.


Its not hard to find out whats wrong... do like i said in the previous post right click the broken image and see where the link points to and add the image to that folder in ftp

Ev!L ErN!E
15 Dec 2006, 23:50
the images need to be uploaded to the correct folder, most likely...

forums/images/misc/

or

forum/images/misc/

DementedMindz
15 Dec 2006, 23:53
he needs to upload them too /forum/images/heavy_metal/misc/

trd167
16 Dec 2006, 04:13
installed!

trd167
16 Dec 2006, 04:31
http://www.girl-poker.com/background.jpg

How come the backgroudn of "DONATION" doesn't match the rest of my navbar? Is there anything I could do?

DementedMindz
16 Dec 2006, 05:10
send me a pm with your navbar code and ill take a look also give me the link to your site.

rx_1badbird
16 Dec 2006, 20:33
Duh! I put 'em in the wrong folder.
"Ding! Fries are done!"
Thanks for being patient with the short bus riders.
Working fine now.

ChuanSE
17 Dec 2006, 00:32
Would it be possible to extend this hack?
Like setting goals, showing users who donated, etc...

would be great, thx in advance

Billspaintball
19 Dec 2006, 05:14
How come the backgroudn of "DONATION" doesn't match the rest of my navbar? Is there anything I could do?

You need to edit the donate link code so that it matches the code for the other links in your nav template.

Billspaintball
19 Dec 2006, 05:17
Would it be possible to extend this hack?
Like setting goals, showing users who donated, etc...

would be great, thx in advance
Yes its underway (but slooooooly).
But no ETA at present, sorry.

ChuanSE
20 Dec 2006, 20:02
Great to know y'r already working on it mate :D

thx in advance for the effort ...

Happy holidays!

smoknz28
24 Dec 2006, 18:48
Yes its underway (but slooooooly).
But no ETA at present, sorry.

Right on Bill....you da man. :up:

*sits in the shadows awaiting Bill's post with a newer version supporting goals, users who donated, etc.... :cool:

Dilldogs
25 Dec 2006, 19:30
I installed this, I had it installed before on my other site several months ago. but I am having problems now.

This is what its doing:

Install very easily button on the navbar is there but not working properly?

When you click on it, it directs you to my homepage?

How can I fix this

bchertov
25 Dec 2006, 20:18
Is there any support for changing the usergroup once a user donates?

Thanks
Barry

DementedMindz
26 Dec 2006, 18:22
Yes its underway (but slooooooly).
But no ETA at present, sorry.


bill do you need help on this? cause its been months of the same thing said. i know you have family and stuff others can help if you ask.

Evil Dave
30 Dec 2006, 00:53
I need something really easy.... I am trying to edit the text next to the Paypal Verified Image.....and I cant find where it is. Can Anyone Help??

Thanks

Evil Dave

p.s. Installed works great!! Just need to edit that text. Thanks

wIrEs
30 Dec 2006, 07:05
Thanks, was looking for this, Installed and works great on vb 3.6.4 :)


the text next to the paypal verified image? there's 2 images.. 1 in the middle (PayPal Donation Details) and one at the bottom (We're PayPal Verified!), which one are you referring too? the one at the bottom can be edited thru AdminCP.

Mr Chad
31 Dec 2006, 18:36
if the user is logged in do they get credit for donating?

DementedMindz
31 Dec 2006, 22:58
if the user is logged in do they get credit for donating?

it will tell you the username who donated once you log in paypal or if you have it email when you get a donation then it will show you there.

sinisterpain
01 Jan 2007, 14:57
Would also be great if you could set up for recuring donations subscriptions through paypal

DementedMindz
01 Jan 2007, 15:01
will never happen I dont think were going to see a update anytime soon either. Its not even checked Supported anymore

vauge
01 Jan 2007, 23:01
In 3.6.4, does this insert into the paymenttransaction table after successful donation?

Thanks!!

DementedMindz
02 Jan 2007, 03:12
there is no sql involved at all in this

Ev!L ErN!E
04 Jan 2007, 12:08
Would also be great if you could set up for recuring donations subscriptions through paypal
Yes that would be a cool addition to this mod.

kellyandmike
04 Jan 2007, 13:33
Installed in less than 5 minutes! Awesomely easy!

NoCo7
05 Jan 2007, 05:16
Plugin sounds handy! Question...
Does the plugin allow you to show all donations made to date publicly? This would be a great feature if it could be implemented into front portal or forums somehow.
Especially if there is a target, could do a graphical meter of some sort to showing your percentage to expected/set target...

oldfan
06 Jan 2007, 17:58
Plugin sounds handy! Question...
Does the plugin allow you to show all donations made to date publicly? This would be a great feature if it could be implemented into front portal or forums somehow.
Especially if there is a target, could do a graphical meter of some sort to showing your percentage to expected/set target...

I was about to ask the same question :D

onehost
06 Jan 2007, 22:27
Easy install.. questions...

installed nice on vbportal
where do i place the paypal email?
my paypal is set to accept US $$
but the script starts off with AUD?
how can i change this to US $$

and do i need this?

Product URL for the XML?
Version Check URL for the XML?
if so what are the urls

Thanks so much for any help.

Billspaintball
09 Jan 2007, 04:56
First off, sorry for taking so long to reply to all.
:(

if the user is logged in do they get credit for donating?
Yes. Their forums username is listed on the Paypal confirmation email.

Its not even checked Supported anymore
I dont think I ever had the 3.6 version marked as supported, simply cos I cant guarentee that I have the time to support it.

In 3.6.4, does this insert into the paymenttransaction table after successful donation?

No.
This version does not record anything in the database.

Plugin sounds handy! Question...
Does the plugin allow you to show all donations made to date publicly? This would be a great feature if it could be implemented into front portal or forums somehow.
Especially if there is a target, could do a graphical meter of some sort to showing your percentage to expected/set target...
No.
This version does not keep a record donations.

Easy install.. questions...

installed nice on vbportal
where do i place the paypal email?
my paypal is set to accept US $$
but the script starts off with AUD?
how can i change this to US $$

and do i need this?

Product URL for the XML?
Version Check URL for the XML?
if so what are the urls
.
There is a secion in the AdminCP to setup all options such as default currency, preferred donation amount etc.

Product URL and Version check have already been added to 1.32

Billspaintball
09 Jan 2007, 05:03
bill do you need help on this? cause its been months of the same thing said. i know you have family and stuff others can help if you ask.
Thanks for the offer :)

Currently Im trying to make this version fully phrased.

There is one little bit where Im bashing my head against a wall.
The answer is probably stearing me right in the face but I cant see it....

What Im trying to do is change hardcoded text such as
Username, blah blah blah so that it gets it from a phrase you can edit in the adminCP.
My problem is how to indicate where you want the Username to go in the adminCP text edit box.

Hope that makes sense....

DementedMindz
09 Jan 2007, 07:10
why not just have the welcome part like you have it and then change all the rest to phrases? or do like vbulletin does for it Welcome, {1}.

<phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase>

or for that part make your own phrase and then have the part in admin where they can add the rest. I think its nice like it is only certain things I would go with phrases on.

Billspaintball
09 Jan 2007, 12:29
New Version Released
This is a minor update and there is no pressing need to upgrade unless you need one of the new currencies that PalPal added.

Changelog
Version 1.32 (9th January 2007)

Added - 9 new Paypal supported currencys.
Added - Version checking in vB Product Manager.
Added - Product URL in vB Product Manager.
Fixed - Heading in AdminCP not displaying correctly.

Shazz
09 Jan 2007, 14:42
/me updates thanx

Billspaintball
01 Feb 2007, 06:29
Hi Guys, Im after a couple of users to test the next release of this hack.

Im asking for a couple of volunteers as its the first hack Ive done that plays with the vB database :eek:
So please only reply if you have a test forum setup as I dont want to kill anyones live site it something goes wrong.

If you want to test it, drop me a PM.

SCRIPT3R
01 Feb 2007, 19:40
nevermind... my mistake.

T_Richardson
04 Feb 2007, 09:22
Does this mod show usernames who donated along with the amount they donated?

ex:
T_Richardson - $5.00 - Feb. 04 2007
username - $10.00 - Feb. 03 2007

If not, is there one that does?

Thanks.

Billspaintball
05 Feb 2007, 12:34
Does this mod show usernames who donated along with the amount they donated?
Not Yet.

If not, is there one that does?

Thanks.
The next version does.
Its been given to a few people to test.
It will be a few weeks away at least.

jellis1324
07 Feb 2007, 21:55
after installing this there is no options panel for it in the vBCP... any ideas?

Billspaintball
08 Feb 2007, 05:20
after installing this there is no options panel for it in the vBCP... any ideas?
When your in the vB adminCP, Select 'vBulletin Options' from the left.
In the window on the right a list of settings groups will appear.
The one your after is on the bottom.
Select that and away you go.

julia44
12 Feb 2007, 08:58
ok after fiddling with this for a hour I finally got all parts of this hack working. Thanks just what I was looking for!

Tigratrus
12 Feb 2007, 18:38
Does the current version capture the user donating at all? Or is that solely in the next version? Sorry for the somewhat repeated question, we plan on doing a "Supporters" gallery of some sort to honor those that have contributed, and this looks like a great mod to build that on, but we don't want to start using it yet if there's no way to track donators, wouldn't be fair to the folks that donate between now and when the next version rolls out. Thanks in advance for all the work you've put into this!

T_Richardson
13 Feb 2007, 00:41
Not Yet.

The next version does.
Its been given to a few people to test.
It will be a few weeks away at least.

I have a vBulletin test site, if you need one more tester.

djbaxter
13 Feb 2007, 02:27
Does this mod show usernames who donated along with the amount they donated?

Not Yet.

If not, is there one that does?

The next version does.
Its been given to a few people to test.
It will be a few weeks away at least.

I hope this will be optional. I've used this for fundraisers and I wouldn't want to make anyone feel bad because they didn't donate as much as the next guy.

Billspaintball
14 Feb 2007, 04:57
Does the current version capture the user donating at all? All this version does is email the donation details to you (amount and username of the donor).
wouldn't be fair to the folks that donate between now and when the next version rolls out.The new version has a manual entry feature so you can add historical donation data.
(I added this so I can add all the old doners from my site to it) Thanks in advance for all the work you've put into this!
Thanks :)

Billspaintball
14 Feb 2007, 04:59
I hope this will be optional. I've used this for fundraisers and I wouldn't want to make anyone feel bad because they didn't donate as much as the next guy.

Current plan is
- that the donor will be able to choose if they are listed or just anonomyous in their User CP.
- Admin can set show donors, show donors and amount, show nothing (these are subject to donor choosing show status in their User CP.)

Billspaintball
14 Feb 2007, 05:24
Add Ons
Colonel Ingus has made quite a nice flash addon for this hack.
Full details of this addon are here - http://www.vbhackers.com/f76/audible-flash-donation-bills-paypal-7144/#post51661
Well worth checking out and seeing if it can enhance your donations page.

DementedMindz
14 Feb 2007, 21:48
Im big on Valid XHTML and wouldnt install it cause that will give you plenty of errors let alone to many exploits for flash out too.

animate
15 Feb 2007, 01:20
1st @ Billspaintball:
Great hack! Very nice but

i can't find this site / feature? where is it? ...
* Configurable Thank you page for donors

regards
seiya

Tigratrus
15 Feb 2007, 03:50
Thanks for the feedback. Installed and eagerly awaiting the next version! Thanks!

ZomgStuff
15 Feb 2007, 15:57
Thanks, except I can't get the module to show up, period.

Billspaintball
17 Feb 2007, 05:16
1st @ Billspaintball:
Great hack! Very nice but

i can't find this site / feature? where is it? ...
* Configurable Thank you page for donors

regards
seiya
Its down towards the bottom of the options in the AdminCP.
You can choose whatever thankyou message you like.

Billspaintball
17 Feb 2007, 05:20
Thanks, except I can't get the module to show up, period.
Did you import the module using the VBa CMPS Download / Upload module feature?

Then in Edit Pages did you activate the modue and specift what usergroups had access to it?

irishblue
17 Feb 2007, 14:36
I also couldn't get the module to show up. I had it added via the vBa Admin CP Upload/Download module. Only the "Donations" show up but the block is empty.

Got a question, is it possible to have the Currency option on the donation page to be optional? Like having a drop-down box with selectable currencies, instead of an "un-changeable" fixed one now.

Bubble #5
17 Feb 2007, 20:51
Add Ons
Colonel Ingus has made quite a nice flash addon for this hack.
Full details of this addon are here - http://www.vbhackers.com/f76/audible-flash-donation-bills-paypal-7144/#post51661
Well worth checking out and seeing if it can enhance your donations page.

Wow thanks! Awsome Flash add-on with sound :D I'm lovin it :up:

psxnet
18 Feb 2007, 22:38
Very good ! Thank you.:up:

Billspaintball
19 Feb 2007, 04:16
I also couldn't get the module to show up. I had it added via the vBa Admin CP Upload/Download module. Only the "Donations" show up but the block is empty.
Did you install the product in vB as well as the module in vB CMPS?

Got a question, is it possible to have the Currency option on the donation page to be optional? Like having a drop-down box with selectable currencies, instead of an "un-changeable" fixed one now.

It would be possible, it just requies adding a dropdown selection box.
Anyone who has intermediate HTML skills would be able to edit the template to add that.

If there is enougth demand for it I could make it a control panel option in the next version.

kofoid
23 Feb 2007, 22:05
Colonel Ingus

LMAO LMAO He gets 12 stars for that name

dwsdad
24 Feb 2007, 03:03
First let me say this is a really cool hack. I have it installed (v1.32) and the link shows up on the Forum page and works fine, but I get an error off the CMPS page stating "The requested URL /billspaypal.php? does not exist." I have tried to load it using the vBa CMPS, Add Module, but it tells me its an invalid module. I'm trying to add the xml file. Is that correct?

T_Richardson
24 Feb 2007, 09:33
Runs smoothly after a week. Though, some members are saying that when they donate they see a thank you message saying they donated 0.00, but, when they get the email, is says the correct amount.
I set it so members can input the amount they want to donate instead of having several options that take up a lot of space on the donation page.

I too would like to have a drop down box for members to choose they're amount, takes up way less space. I will attempt to do it myself when I have more time.

Hat off on a job well done on coding this for us!:up: :up:

teslawlo
26 Feb 2007, 03:00
Hey, the images for my website http://www.allknicks.com/vbulletin/billspaypal.php?
do not work at all...I have uploaded all images to vbulletin/images/misc

any ideas?

DementedMindz
26 Feb 2007, 03:24
your images are not in the right folder check this link http://www.allknicks.com/vbulletin/blue/misc/paypal_verified.gif

teslawlo
26 Feb 2007, 03:26
Wow, that was a fast response. Thanks a lot for the help!

DementedMindz
26 Feb 2007, 03:38
no problem anytime.

Masiello
11 Mar 2007, 09:37
Thanks , this is the best paypal donate hack I've seen, I've switched to this from Cybernetec Paypal donate, another great hack but not like this one!
Thanks again
I hope you make a good support for this, please it need :)

Billspaintball
14 Mar 2007, 11:52
Thanks , this is the best paypal donate hack I've seen, I've switched to this from Cybernetec Paypal donate, another great hack but not like this one!
Thanks again
I hope you make a good support for this, please it need :)
Thanks for the kind words.
They are very much apprecieated! :)

KipLarson
17 Mar 2007, 21:33
Is there a way to see the various amounts that each member donated? And is there a donator page? Also, is there any way to make a little icon show up in a user's postbit if they donated?

I currently have this hack installed, but haven't been able to really test it.

DementedMindz
17 Mar 2007, 21:42
there is really nothing to test what you see is what you get its a simple donation page but quite effective. I know Bill planned on doing more but he has been busy I guess.

KipLarson
17 Mar 2007, 21:55
So there is no way to use an icon in the postbit for people that have donated? This could be a nice addition.

mp34play
18 Mar 2007, 03:48
Very nice. Installed.

Thanks

Billspaintball
18 Mar 2007, 10:41
Is there a way to see the various amounts that each member donated? And is there a donator page? Also, is there any way to make a little icon show up in a user's postbit if they donated?

I currently have this hack installed, but haven't been able to really test it.

All 3 of those things are in the deluxe version that Im currently testing on my test site.
I just need a couple of spare hours to tidy up a couple of things then I can release it.

Dave Hybrid
25 Mar 2007, 20:13
Is it possible to edit the page title for billspaypal.php?

Thanks, and great MOD!

Looking forward to the deluxe version.

Billspaintball
26 Mar 2007, 07:00
Is it possible to edit the page title for billspaypal.php?Edit what exactly?
You can change any hardcoded text by editing the template via the vB template editor or by changing the text in the XML and importing it again.

If you can point out the exact text I can show what you need to edit if your unsure.

The next version is fully phrased so it will be easy to change or create language packs for it.

Thanks, and great MOD!

Thanks :)

subnet_rx
29 Mar 2007, 01:56
Thanks for this hack. I'd love to see a graph of donations given for a month or year just to give my members a goal to shoot for, but other than that, this addon is very nice.

USAMustangs.com
01 Apr 2007, 02:27
hello,

i need some help.

i installed this and it works for the forums page, but when you click on the paypal donate icon on my vbadvanced home page it gives me a 404 error?

how come it works fine on the forum, but not on the home page?

and i'm still confused about uploading the module? i think i might have made a mistake.

can anyone help me get this straightened out?

any help would be appreciated.

thanks

vBulletin 3.6.5

DementedMindz
01 Apr 2007, 02:37
where is the icon at in the navbar? if so you need to add that to your Replacements (billspaypal.php) in vbadvanced in the admincp.