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

Reply
 
Thread Tools
vbDonator by Mary Details »»
vbDonator by Mary
Version: 1.00, by MaryTheG(r)eek MaryTheG(r)eek is offline
Developer Last Online: Mar 2012 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.4 Rating:
Released: 02-16-2007 Last Update: Never Installs: 34
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

vbDonator
PayPal IPN Donation System
by Mary
http://www.MadeByMary.com

REMOVED BY THE AUTHOR

Supporters / CoAuthors

Show Your Support

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

Comments
  #32  
Old 02-21-2007, 11:37 AM
ImmortalForums ImmortalForums is offline
 
Join Date: Feb 2007
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

php version 5.2.1
mysql version 5

I am getting this error message:

PHP Fatal error: Using $this when not in object context in vbdonator_gateway.php

i have the vbdonator.php amd vbdonator_gateway.php file in the same directory as my forum index.php file

how do i fix this? the donations come in, but i never see them show up on the page unless i manually edit the database

also, can someone clarify exactly whats being said with the IPN thing? in mbmpayment i see this:

$url .= "&notify_url=".urlencode($vbulletin->options["bburl"] . "/vbdonator_gateway.php?method=paypal");

so isnt that essentially building the IPN 'callback'? are the posts above for calling the script manually?

would something like suhosin and/or eaccellerator affect this?
Reply With Quote
  #33  
Old 02-21-2007, 01:26 PM
manofphat's Avatar
manofphat manofphat is offline
 
Join Date: Jan 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you maybe add a way for admins/supermods to be able to edit what members put in their messages?
Reply With Quote
  #34  
Old 02-21-2007, 04:30 PM
DevinM DevinM is offline
 
Join Date: Mar 2006
Location: The Bayou
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Beautiful! Got it installed today and left a few suggestions on your forums!

Well done!
Reply With Quote
  #35  
Old 02-21-2007, 09:03 PM
cashpath cashpath is offline
 
Join Date: Jul 2003
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone confirm that IPN is working with this? I have IPN set up but have had to manually add each donation so far they don't show up anywhere but in my paypal account- the email (from vbdonator) is also not sent.
Reply With Quote
  #36  
Old 02-22-2007, 11:35 AM
ImmortalForums ImmortalForums is offline
 
Join Date: Feb 2007
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cashpath View Post
Can anyone confirm that IPN is working with this? I have IPN set up but have had to manually add each donation so far they don't show up anywhere but in my paypal account- the email (from vbdonator) is also not sent.
can you explain how you 'set up' IPN? did you check your apache error logs? i bet you are seeing the same thing i am about $this.

i bet if you looked in your database you would see them too.

i dont like way the amount given isnt stored anywhere unless the notify url is contacted. way too much of a potential for lost info.
Reply With Quote
  #37  
Old 02-22-2007, 12:48 PM
cashpath cashpath is offline
 
Join Date: Jul 2003
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I meant that I turned on IPN in paypal.... I think I will just use a different donations hack.
Reply With Quote
  #38  
Old 02-22-2007, 01:03 PM
ImmortalForums ImmortalForums is offline
 
Join Date: Feb 2007
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got around my errors by changing the following line:

$this->transaction_id = $_REQUEST['txn_id'];

to this:

$transaction_id = $_REQUEST['txn_id'];

and now it works as expected

2 questions come up tho. 1, Why is $this used at all and 2, the variable transaction_id isnt used in the script at all. it seems that $transid = $_REQUEST["custom"]; is where the transaction ID is getting pulled from

either way its working, but these look like issues that could be cleaned up in the code unless i am missing something
Reply With Quote
  #39  
Old 02-23-2007, 05:13 AM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ImmortalForums View Post
i got around my errors by changing the following line:

$this->transaction_id = $_REQUEST['txn_id'];

to this:

$transaction_id = $_REQUEST['txn_id'];

and now it works as expected

2 questions come up tho. 1, Why is $this used at all and 2, the variable transaction_id isnt used in the script at all. it seems that $transid = $_REQUEST["custom"]; is where the transaction ID is getting pulled from

either way its working, but these look like issues that could be cleaned up in the code unless i am missing something
4.- Copyright

This script cannot be redistributed, reproduced, or published in any way. Modifying this script and sharing or publishing your modification A-N-Y-W-H-E-R-E (including here) without the author's written permission is strictly prohibited. The same applies for writting addons or integrading it with any other software or module (eg vbAdvanced).

...and you know why? Because something which is working for you, dosen't means that it will work for the others. Everything is depending on many parammeters. eg PHP version, MySQL version etc.
Reply With Quote
  #40  
Old 02-23-2007, 05:21 AM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cashpath View Post
I meant that I turned on IPN in paypal.... I think I will just use a different donations hack.
Here is another one:
https://vborg.vbsupport.ru/showthread.php?t=123181
Reply With Quote
  #41  
Old 02-23-2007, 01:19 PM
NeRilkA's Avatar
NeRilkA NeRilkA is offline
 
Join Date: Jun 2002
Location: South of France
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

French Language

Translator: me

great work Maria, as always
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 07:02 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.04604 seconds
  • Memory Usage 2,302KB
  • Queries Executed 26 (?)
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
  • (3)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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