vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Paypal Donations (With Instant Payment Notification) -- RC1 (Public Testing) (https://vborg.vbsupport.ru/showthread.php?t=54436)

sHORTYWZ 07-02-2003 01:37 PM

noticed another problem, found another suggestions:

the width/height for the award banners is hardcoded into functions.php - probably shouldn't do that..

how about an option to completely disable award images? I tried setting the display to 0 days but that didn't work.

Cloudrunner 07-03-2003 03:27 PM

The awards display is disabled by the individual users....for now

I can fix the hardcode before Final release.....

As far as the database error, I'm not sure, it seems to be correct for the query, but will have to play with it some more....Gimme abit this weekend...

)O( Cloudrunner )O(

Shepski 07-04-2003 09:39 PM

right, may have found the problem with the mysql error.

if I try and add the query i posted before into the blank paypal_funds table it goes in fine. But, if I change the id to something else but it still starts with a 0 then I get the following error:
Code:

Error

SQL-query : 

INSERT INTO paypal_funds( id, date, donated )
VALUES (

'0E567297NG154303X', NOW( ) , '4.63'
)

MySQL said:

Duplicate entry '0' for key 1

Now when i go back and look at the data in the table I see:

id date donated
0 2003-07-04 4.63

id is only a single figure, not that long one its trying to put in. Does this give you any pointers as to where the problem may lie?

Cloudrunner 07-09-2003 10:56 PM

Sorry about being gone for abit there guys!

Been busy with the new kid and all.

Anyways, I've an idea of where to go with the DB problem, but am gonna have to test the theory this weekend (12 July) I'll get ya'll an ans2wer by Sunday evening.

Cloudrunner 07-09-2003 11:00 PM

Nevermind. Shepski, Thank you for the info. Found the problem right off!

Bug Fixed!

Run the following query in your DB manager:

Code:

ALTER TABLE `paypal_funds` CHANGE `id` `id` VARCHAR(255) DEFAULT '0' NOT NULL;

bouncer18 07-10-2003 02:07 AM

stoopid question

obviously i donate to my website (i own it)
how can i trick the Db into thinking i am a donating member so i can get my image to show next to my avatar?

i hope this post makes sense

Heffe2000 07-10-2003 03:56 AM

I currently use my ebay paypal account (since you can only have one), and whenever I get payment for an auction, it shows up in my totals for donations to my forum. While this to some might not be a bad thing, I don't want it to see that I have loads of cash available to the forum that I really don't.

I had many people ask where they could donate money to the forums over the past year, but now that I have the donation buttons on the forum, they all seem to not be able to find it ;).

99SIVTEC 07-10-2003 03:51 PM

I have a couple quick questions.

First Awesome hack, i've been looking for somehting like this for ages. Thank you for the aparent hard work.

I have several vbulletin sites all on the same server. They form a lose network as they all cover niches of the same industry. Problem being how can I use this hack on more than one site since paypal only allows you to point to one paypal.php file? Can I use this one file for all of my sites somehow? Would this make the totals and such global? If so cool, if not no big deal. I'm just wondering if it would work if I installed it on several sites, but paypal only pointed to the one paypal.php file.

Thank you in advance

bouncer18 07-11-2003 12:20 AM

bug i found

i had a user donate a penny

where it says in the postbit user has donated
it shows up as

Has donated $ to date.

notice no value....

sHORTYWZ 07-11-2003 12:59 AM

This is because paypal deducts a one cent fee for a one cent donation hence, zero donation.


All times are GMT. The time now is 01:45 AM.

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.01344 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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