The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
||||||||||||||||||||||||||
Due to real life I have ended support of this hack. Please see licensing information below. Please read the troubleshooting tips below before asking for support. ******************************** Paypal Donations for vBulletin 3.0.7 Release version: 1.07 Release Date: 28 June 2005 ChangeLog: Paypal Donations 1.08 Special Thanks:
dsboyce8624 SLeeeper And all of the Alpha Testers that helped out with this Hack! I couldn't have done it without you. What it does Quite simply this hack provides you a way to receive donations from your website's users and provide them with the recognition deserving of a donating member of you community. It uses Paypal exclusively because of Paypal's "Instant Payment Notification" system.The basics are this:
Features
**Coming Soon**
Stuff you have to do Files to upload: 34 Files to modify: 3 Templates to modify: 1 (required) / 2 (Optional) Queries to run: (The install script does this for you, uninstallation is also provided as well) Ease of install: easy, simply follow the instructions in the install script. Time of install: ~5 minutes ***REMEMBER! Add your email address that Paypal has on file in Donations settings. This step is not an option, your payments, although they may be valid, will all be considered invalid if you do not do this! Sign up for Paypal's Premiere Account (Business), and setup IPN. Paypal Registration You will need to register with Paypal for a premiere account if you have not already, if you have, but your account is probably a personal account, you will need to upgrade the account to a premiere account. Assuming that you have a premiere account and have been verified, you then go into your profile at http://www.paypal.com and the select Instant Payment Notification. There will be a checkbox that you must check, you do NOT have to point to the script at Paypal, if you choose not to do this, then you will need to make sure that your Notification URL is put in the settings or this script will NOT WORK!On most systems it will be either: http://www.yourdomain.com/ppverify.phpor http://www.yourdomain.com/forum/ppverify.phpThat's all there is to setting up Paypal to work with your site! Install Upload all the files in the archive into their provided directoriesRun the provided install file, setup your settings, after installation, DELETE THE FILE! This will usually be: http://www.yourdomain.com/forum/admi...ns_install.phpor http://www.yourdomain.com/admincp/donations_install.php How To Use The System To begin with, you simply upload all the files into their respective directories (keeping the structure in the archive).After you upload the files, point your browser to the installation file: donations_install.php and run the installer all the way through, remembering to save your settings at the end (you MUST put in your paypal email, and the path to donate.php, and the path to ppverify.php). Remember, if you have the system set in test mode, you will not be able to process LIVE transactions. If you are going live immediately, then change this setting to no! After you install, simply delete the donation_install folder and all files within it, and the install file. Now you are ready to play. The system is 100% phrased on the user viewable side, so you will need to edit some of the phrases to better suit your site, specifically the phrases titled: your_donations_are_appreciated all_donations_go_towards_furthering_goals donation_used_to_further_mission are the ones that I recommend redoing to suit your site. After editing the phrases, next comes adding your donation buttons and goals. Always add your goals first as the buttons can be attached to a specific goal so that the user gets credit for donating towards a specific goal (you can of course add a button that does not attach to a goal for a general coffer fund type of deal, but goals are the preferred method). After adding a goal, you can then add a button to the site. The settings for the buttons are self-explanatory for the most part, the only required input from you is the title, and the description of the button. Everything else will work fine without input. The system defaults to use the USD currency. If you change this currency in the Donations settings, then to get the correct exchange pricing, you need to run the CRON file to update your Exchange Rates table. To do this simply log into your AdminCP and then do the following:
From there, it's all fairly intuitive. The biggest thing to remember is that to use this hack you MUST have a paypal Business or Premiere account, and have turned IPN on in your Paypal profile. If you run into troubles with a transaction, make sure that you are not trying to verify a sandbox transaction with the live Paypal server and vice versa (the test setting). Secondly, this system will notify you of suspect transactions that Paypal refuses to validate. If you get an email stating that a transaction was invalid, it would suit you to investigate it to find out where the transaction came from and why it failed verification. If all is kosher you can add the donor to the AdminCP so that they get credit for the donation. To assist in this you can edit an invalid transaction to show as valid if the transaction turns out to be kosher. The steps to this are as follows:
After Install You will need to add a link somewhere in your navigation system for vBulletin pointing your users to the donations page (if you installed the vBadvanced Module then you have a link on the home page, but you might want to add one in the nav bar as well), as well as setting up your paypal account to give IPN responses to you, you can do this in your Paypal Profile under Instant Payment Notification.To play in PayPal's Sandbox you will need to be registered with their developer network and setup a few sandbox accounts to play with the sandbox properly. I have throughly tested the sandbox functionality, and it is working until they decide to change coding standards again. Troubleshooting tips and procedures Due to the multitude of possible break-points between Paypal and this script I must request that the following be followed before reequesting support on this system from this point forward:
Lastly, if you have modified the base files in any way, I will NOT give support to this. The files are set in the way that they need to be to run under 90% of server installations. Any other installations that require files to be merged, etc., sorry but you are on yer own in that situation. FYI: The Paypal Notification is completely seperate from the user being sent back to your site. Thus the reason that the ppverify.php file is NOT a function of donate.php. How To Get vBadvanced CMPS v1 Module to work with vBadvance CMPS v2 Follow this link to aranthorn's Instructions on how to get this to work. https://vborg.vbsupport.ru/showpost.php?p=669033&postcount=231 Thank you aranthorn!!! ******************************** I sincerely hope that you enjoy this hack, Please feel free to send feedback to tnp@noblepagan.com! To view this in action head over to: http://damn.that-sucks.net or http://www.noblepagan.com Thank you! )O( Cloudrunner )O( P.s. Anyone who feels the need to donate to me (*hint hint*) feel free to do so, I won't stop you ![]() ![]() LICENSE: Quote:
Supporters / CoAuthors Show Your Support
|
Comments |
#362
|
||||
|
||||
![]() Quote:
|
#363
|
||||
|
||||
![]()
The color settings are in the admincp in the donation settings...unless you didn't install the vbadvanced...SH!T! got that figered out, yet another screw up on my part, sorry...will get that fixed too....damnit...
Sorry folks long freakin day, and I just got home... Quote:
|
#364
|
||||
|
||||
![]()
Small update to 1.07 folks...
I fixed a colors option problem in the donations settings in that if you did not have the module install for VBACMPS, then you had no options to change your site colors for the graph...anyway, that's been addressed. Also, I've dealt with the uninstaller problem with the explode error. That should no longer plague us. If you wish to uninstall then go ahead, but as that error dies out on the first query, nothing has changed in your database if you uninstall goofed, so a simple upgrade will fix your probs at this point (*should*). Anyway, please let me know if any problems still are hanging around after this fix.... Again, as always, overwrite EVERY FILE (sans the images if you've got them just the way you want them, blah blah blah...) on your server with the new ones to ensure that you have the most current code. |
#365
|
|||
|
|||
![]()
Uninstall works perfectly now. Installer is very smooth as well.
I received two donations. The first one was from a user that was not logged in, so I only got their IP address and they weren't added to the top donors list. The I received a donation from a member and it added them to the list ok, but I received an email with this SQL error: Invalid SQL: UPDATE user SET donor = '1' WHERE userid = 2' mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''' at line 1 |
#366
|
|||
|
|||
![]()
Hey CR, why is a deleted user showing up as a donar?
|
#367
|
|||
|
|||
![]()
well i tried using it but had few problems they include when donating it allways showed usd and regardless of setting it different in admincp it made no difference at all.
the ipn didnt work for me i tried entering the url in paypal under ipn settings and it never returned anything and ipn was turned on. all ipn urls were set in donation settings but still nothing. any ideas ?? |
#368
|
|||
|
|||
![]()
Cloud,
In addition to the problem I listed above, I also noticed that the users are not having the donor icon added to their posts. Perhaps the two are related. Please note I am using legacy postbit to display posts with the user name on the side. Also, how do I remove the actual amount of the top donors from the CMPS module? I can't seem to find it in any of the templates. Thanks. |
#369
|
||||
|
||||
![]()
CR,
Sorry to report but the same error is still sticking around. Maybe somebody else using a webhost with CPanel can confirm this error on their site. Here is the specific error: PHP Warning: Cannot modify header information - headers already sent by (output started at /home/********/public_html/includes/pp_image.php:45) in /home/********/public_html/includes/pp_image.php on line 46 Not sure why its doing this, but this shows up a million times in my logs. Everytime somebody visits the site this shows up. But no errors are displayed on the site itself. |
#370
|
||||
|
||||
![]() Quote:
|
#371
|
||||
|
||||
![]() Quote:
|
![]() |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|