vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - [Chris] Donations with IPN Support (https://vborg.vbsupport.ru/showthread.php?t=290973)

Christos Teriakis 11-17-2012 11:00 PM

[Chris] Donations with IPN Support
 
Donations with IPN Support
by ChrisTERiS


Please note that from
11 Aug 2013
you can get support only in my site
http://www.teriakis.com


Maybe you'll think why another addon for Donations. Well its true that there are another 2 (maybe 3) addons for donations, but as I know none of them supports:
  1. Instant Payment Notifications
  2. Multi level Goals
Just for this reason and as I wanted to use it for my site I coded this addon. I can't say that is the flagship on his category, but it has exactly what I want. Check the features below and if you like them, then download and use it.

1.- Features
  1. Unlimited level of Goals (Categories). In my case it's useful as I want to have a goal for each of my mods, so I wanted to have 3 root categories for vB3, vB4, vB5 etc.
  2. Instant Payment Notification. You don't need anymore to manually mark donations as paid.
  3. Auto generates donation forms for:
    1. Forum Sidebar: Generates, Installs and Activates the form !!
    2. CMS Widget: Generates and Installs it. The only that you've to do is to add it on your Layout.
    3. On Screen: This is very useful as it shows the code on the screen where you can copy and paste it in any page (eg to create vBadvanced block). You can add this code even in pages out of your vB directory as it has the full url for submission.
  4. You can Manually add/edit/delete Donations
  5. There is a "My Donations" menu in UserCP
  6. Total donations (amount) appears at postbit.
2.- Installation
  1. Download and unpack the file
  2. Open with a text editor the file: donations_paypal.php and modify line 9 setting the full path (server path) to the file donations/paypallog.txt
  3. Save the file and upload all the files from upload/ folder to your vB installation.
  4. CMOD 666 the file donations/paypallog.txt (it writes only the errors).
  5. Login to AdminCp and set the Donations-> General Settings
  6. Give a look at PM and Page Options in case that you want to change the predefinied messages
  7. Add you Goals
  8. ....and last create your forms for Forum sidebar or CMS page
3.- Attention

I don't need a seperate page for donations that's why you'll not find a dedicate page for it. If you want I can add such a page with some toys like "Latest donations", "Top Donors" etc. For my own use I'll add tomorrow (and then I'll release it here) a block generator which will works just like the donation form, but showing data like "Top Donors" etc. Everything should be automatic.

4.- Copyright

It's frustating to write always "Don't remove my copyright". It became so boring so I decided to place a switch on the options. If you think that my name is so ugly, just turn it off and it will gone.

All the best
Chris

rgreene1971 11-18-2012 08:33 PM

Can this be set up to work with google check out? Frankly I hate paypal and have many members who refuse to use paypal.

*note - I just registered on your site and was told I was banned. LOL

ProFifaLeagues 11-18-2012 10:12 PM

Looking like another great mod Chris thank you,Keep up the great work mate!

Christos Teriakis 11-19-2012 05:50 AM

Quote:

Originally Posted by rgreene1971 (Post 2382316)
Can this be set up to work with google check out? Frankly I hate paypal and have many members who refuse to use paypal.

*note - I just registered on your site and was told I was banned. LOL

Looking it from the code side is easy to add Google checkout plus 2CO as I've already the code from another plugin. What is not yet clear is if you can use it. Do they accept donations for payments or only payments for products? Unless if they have changed their rules, 2CO does not allows to use it for donations.

Chris
PS: I replied by email for your issue in my site.

rgreene1971 11-19-2012 06:35 AM

I signed p to google and set up donations as digital software donation

Christos Teriakis 11-19-2012 06:40 AM

Quote:

Originally Posted by rgreene1971 (Post 2382469)
I signed p to google and set up donations as digital software donation

Ok. Later on today I'll release an update with some additions and I'll try to include Google checkout. Please note that I have no merchant account with Google so I can't test it, but I have it in my shop addon and works fine.

Chris

mitch84 11-19-2012 03:12 PM

hi, it's difficult for add a payment site ( like payza.com or moneybookers)? ths

rgreene1971 11-20-2012 03:33 AM

Quote:

Originally Posted by ChrisTERiS (Post 2382472)
Ok. Later on today I'll release an update with some additions and I'll try to include Google checkout. Please note that I have no merchant account with Google so I can't test it, but I have it in my shop addon and works fine.

Chris

Awsome, I am looking forward to testing it out

dormopoco 04-22-2013 11:05 AM

i have renamed my Admincp Folder. How to run this plugin?

Christos Teriakis 04-22-2013 01:11 PM

Quote:

Originally Posted by dormopoco (Post 2417833)
i have renamed my Admincp Folder. How to run this plugin?

You'll upload the file that exists at upload/admincp/ folder to your new admin directory.

craigvm 05-12-2013 08:23 PM

can you use nochex to accept donations with this as i use nochex for my paid subscriptions on my forum as done use paypal now as i dont trust them anymore

BeoRski 06-16-2013 04:15 AM

Database error in vBulletin 4.2.0:

Invalid SQL:
DELETE FROM vb_donations_user_balance WHERE id=13;

MySQL Error : Table 'xxx.vb_donations_user_balance' doesn't exist
Error Number : 1146
Request Date : Sunday, June 16th 2013 @ 01:11:56 PM
Error Date : Sunday, June 16th 2013 @ 01:11:56 PM
Script : xxx/donations_admin.php?do=payments&action=delete&id=1 3
Referrer : xxx/donations_admin.php?do=payments
IP Address : xx.xx.xx.xx
Username : xxx
Classname : vB_Database_MySQLi
MySQL Version : 5.5.31-cll

---
Any solutions? I tried re-importing and it's still the same error. donations.php also displays either a blank page or an invalid variable error.

Christos Teriakis 06-16-2013 04:54 AM

Quote:

Originally Posted by BeoRski (Post 2428416)
Any solutions? I tried re-importing and it's still the same error. donations.php also displays either a blank page or an invalid variable error.

Please upload the attached file at your admincp/ directory

BeoRski 06-16-2013 05:18 AM

Thanks Chris! That gets rid of some of the errors in the admincp. There is another bug that I have found. Whatever "goal" I select, it always ends up showing under the description the first one that I created when we get to the Paypal checkout page. When it proceeds and I click on return to site, it would show under the redirection notice: "Invalid data specified". Then when it finally proceeds, donations.php just shows a blank page.

Also under "My Donations", the date is off. In my forums, it shows 1/1/1970.

Thank you for your help. ^_^

Christos Teriakis 06-16-2013 08:44 AM

Quote:

Originally Posted by BeoRski (Post 2428425)
Thanks Chris! That gets rid of some of the errors in the admincp. There is another bug that I have found. Whatever "goal" I select, it always ends up showing under the description the first one that I created when we get to the Paypal checkout page. When it proceeds and I click on return to site, it would show under the redirection notice: "Invalid data specified". Then when it finally proceeds, donations.php just shows a blank page.

Also under "My Donations", the date is off. In my forums, it shows 1/1/1970.

Thank you for your help. ^_^

Please give me some hours to get back with an update.

BeoRski 06-17-2013 05:09 AM

Thank you Chris!

BeoRski 06-27-2013 03:55 AM

Hi Chris, any chance you got to fix the issue? ^_^

Christos Teriakis 08-11-2013 05:14 PM

Please note that from 11 Aug 2013 you can get support only in my site
http://www.teriakis.com


All times are GMT. The time now is 08:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01514 seconds
  • Memory Usage 1,762KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete