Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
[Chris] Donations with IPN Support Details »»
[Chris] Donations with IPN Support
Version: 1.0.0, by Christos Teriakis Christos Teriakis is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.2.0 Rating:
Released: 11-17-2012 Last Update: Never Installs: 11
DB Changes Uses Plugins Auto-Templates
Additional Files Is in Beta Stage  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 05-12-2013, 08:23 PM
craigvm's Avatar
craigvm craigvm is offline
 
Join Date: Aug 2012
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #13  
Old 06-16-2013, 04:15 AM
BeoRski BeoRski is offline
 
Join Date: Apr 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #14  
Old 06-16-2013, 04:54 AM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BeoRski View Post
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
Reply With Quote
  #15  
Old 06-16-2013, 05:18 AM
BeoRski BeoRski is offline
 
Join Date: Apr 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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. ^_^
Reply With Quote
  #16  
Old 06-16-2013, 08:44 AM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BeoRski View Post
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.
Reply With Quote
  #17  
Old 06-17-2013, 05:09 AM
BeoRski BeoRski is offline
 
Join Date: Apr 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Chris!
Reply With Quote
  #18  
Old 06-27-2013, 03:55 AM
BeoRski BeoRski is offline
 
Join Date: Apr 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Chris, any chance you got to fix the issue? ^_^
Reply With Quote
  #19  
Old 08-11-2013, 05:14 PM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:32 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.10437 seconds
  • Memory Usage 2,280KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete