vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Paypal Donations for vBulletin 3.0.7 (https://vborg.vbsupport.ru/showthread.php?t=82978)

TTG 06-19-2005 09:23 PM

Whoops .. upgrade to 1.05

Code:

Warning: explode(): Empty delimiter. in /admincp/donation_install/donation_upgrade.php on line 21
Code:

Database error in vBulletin 3.0.6:

Invalid SQL: ALTER TABLE user ADD donor TINYINT(1) DEFAULT '1' NOT NULL
mysql error: Duplicate column name 'donor'

mysql error number: 1060

Date: Sunday 19th of June 2005 11:21:30 PM
Script: http://www.thetechguys.co.uk/retreat/admincp/donations_install.php
Referer: http://www.thetechguys.co.uk/retreat/admincp/donations_install.php
Username: The Tech Guy
IP Address: 82.43.102.40


dsboyce8624 06-19-2005 09:29 PM

Are you sure you clicked Upgrade and not Install?

TTG 06-19-2005 09:34 PM

Quote:

Originally Posted by dsboyce8624
Are you sure you clicked Upgrade and not Install?

Yep .. clicked upgrade.

Now I can't access anything .. can't even un-install and start again.

Darn .. just got 1.04 working fine .. :ermm:

dsboyce8624 06-19-2005 10:03 PM

I'd turn off the CMPS Module and wait for the big man.

Cloudrunner 06-19-2005 11:14 PM

Quote:

Originally Posted by guvner
OK, I just deleted the test donation I just received, I deleted the donor AND the transactions and whilst the admincp is correct, the progressive amount collected hasn't reverted to the pre-donation amount in donate.php - I know I can adjust it manually but should it have happened automatically?

I have not coded that function in, truth be told, I never even thought about that...will get it in the next one.

Cloudrunner 06-19-2005 11:18 PM

Quote:

Originally Posted by guvner
Still using 1.04 and just figured out why my system didnt update after a donation.

The guy I've been using to test it in live mode has a Paypal account but he uses a credit card because he isn't verified.

I didnt know that of course, but to see if it was still a problem, I just had someone else try, he has funds in his account, is verified and it worked fine.

So it seems that if a donor has a verified PP account it's fine, but if someone uses the credit card option, the return codes didnt register with the system - at least for me

Is this designed behaviour?

No that is not the designed behaviour, check to see if the CC requires you to accept that payment in the paypal system itself before it is termed 'Completed'. If paypal requires you to accept a payment manually then it will not send an IPN with 'Completed' until after you have accepted it on the paypal site. Of course, this should be picked up by the system as 'Pending' if your paypal sent an IPN after the transaction occured and if Paypal sent an IPN with 'Pending' as the payment status the system *should* have placed that into the transactions listing, and you *should* have a 'Pending' transaction listed in the admincp...

will look into that in abit....

Cloudrunner 06-19-2005 11:35 PM

Quote:

Originally Posted by TTG
Whoops .. upgrade to 1.05

Code:

Warning: explode(): Empty delimiter. in /admincp/donation_install/donation_upgrade.php on line 21
Code:

Database error in vBulletin 3.0.6:

Invalid SQL: ALTER TABLE user ADD donor TINYINT(1) DEFAULT '1' NOT NULL
mysql error: Duplicate column name 'donor'

mysql error number: 1060

Date: Sunday 19th of June 2005 11:21:30 PM
Script: http://www.thetechguys.co.uk/retreat/admincp/donations_install.php
Referer: http://www.thetechguys.co.uk/retreat/admincp/donations_install.php
Username: The Tech Guy
IP Address: 82.43.102.40


Was not expecting an empty set there, sorry...

Anyway, attached is the correct donation_upgrade.php file.

Upload that into the ./admincp/donation_install/ directory, then put your vbulletin into debug mode (put
PHP Code:

$debug 1

in your config.php file just above the line that says
PHP Code:

// ****** DATABASE SERVER NAME ****** 

) and in the vB settings 'untouchables' change your ppdonations version to 1.04 then take your vBulletin out of debug mode and re-run the installer, you will see the option for the updater now. Try again from there let me know how you fair...

I also updated the archive in the first post to reflect this change in the upgrader code.

Cloudrunner 06-19-2005 11:53 PM

Does anyone know this person? Strange request...don't think it's kosher...

Quote:

Originally Posted by mukke
-----Original Message-----
From: Mukke [mukke@warfieldgames.com]
Sent: Thursday, June 16, 2005 9:39 PM
To: tnp@noblepagan.com
Subject: vBulletin PayPal donation script

Hey Cloudrunner
It seems i have a problem.
I wonna download ur hack from vbulletin.org , but i forgot my licency number and password. That's just the worst what could happen.
Maybe u could just mail it to me? Do u agree?
Regards Mukke,

Your thoughts?

guvner 06-19-2005 11:59 PM

quick answer - nope!

He's using Version 2.3.3 so whilst he may have really forgotten it, his best bet would be to contact VB and request the information in the same way that anybody else here would have to.

Not only that but I'm guessing the good folks here at VB.org might have a thing or two to say, after all nothing's visible here (code) without a valid license, and isn't that the point?

Cloudrunner 06-20-2005 12:01 AM

Quote:

Originally Posted by guvner
quick answer - nope!

He's using Version 2.3.3 so whilst he may have really forgotten it, his best bet would be to contact VB and request the information in the same way that anybody else here would have to.

Yer alot nicer than I was....


All times are GMT. The time now is 01:52 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.02192 seconds
  • Memory Usage 1,751KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete