1
Razgo
Donation Module
  • 2006/5/14 7:35

  • Razgo

  • Just popping in

  • Posts: 85

  • Since: 2002/1/16


i am getting these errors

Notice: Undefined index: item_name in /home/mypathname/public_html/portal/modules/donations/ipnppd.php on line 88

i see this when i submit a test run under config

module https://xoops.org/modules/repository/singlefile.php?cid=43&lid=1335

i have a funny feeling it may work anyway?

also i get the message "Surplus: $-100.00 "

shouldn't it read left to go or something?

2
Chris03
Re: Donation Module
  • 2006/5/14 7:46

  • Chris03

  • Quite a regular

  • Posts: 372

  • Since: 2004/2/22


Yeah, Just a simple notice, no big deal. I use this module and get this error aswell, but all still works.
KickassAMD

3
Razgo
Re: Donation Module
  • 2006/5/14 7:53

  • Razgo

  • Just popping in

  • Posts: 85

  • Since: 2002/1/16


thanks. do you know how i would get a surpless? i have amount to achieve set to $100.00 but why would it say surpless?

4
Razgo
Re: Donation Module
  • 2006/5/14 22:22

  • Razgo

  • Just popping in

  • Posts: 85

  • Since: 2002/1/16


is this module made by xoops?

why would i get this figure?

Surplus: $-100.00

5
msdana
Re: Donation Module
  • 2006/5/14 22:36

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


You wrote:
Quote:
i have amount to achieve set to $100.00 and
Surplus: $-100.00


This indicates how much you have to go until you reach your monthly donation goal.

Each time a donation is made, it will decrease by the amount of the donation.

I don't think it's the best word to use, you can change it to your choice (i.e., left to go)...

Also, something I came across a week or so ago; I had the Donations module set up and it also counted payments from clients that were not donations, so you may want to make sure you don't use the same PayPal account for donations if you have payments for other products/services.

HTH
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

6
Razgo
Re: Donation Module
  • 2006/5/14 22:49

  • Razgo

  • Just popping in

  • Posts: 85

  • Since: 2002/1/16


thanks msdana, i did think the same thing that surplus was show on how much to go. however the word surplus indicates funds beyond what was needed. so i had a look in the lang file and i found the phrase "left to go" in there. so i figured that it what should be showing? hmmm perhaps the lang file had it the wrong way around?

its jsut that on other site is see "Left to go: $400.00"
and see no surpless wording.

but if i change the phrase from surplus to "left to go" i think i will still see a -amount.

i will have a further look.

this is what is in the lang file

### DONAT-O-METER BLOCK DEFINITIONS ###
define('_DM_STAT','Donat-o-Meter Stats');
define('_DM_MONGOAL','%s\'s Goal');
define('_DM_DUEDATE','Due Date');
define('_DM_GROSSAMT','Gross Amount');
define('_DM_NETBAL','Net Balance');
define('_DM_LEFT2GO','Left to go');
define('_DM_DONATIONS','Donations');
define('_DM_MAKEDON','Make donations with PayPal!');
define('_DM_SURPLUS','Surplus');

7
barryc
Re: Donation Module
  • 2006/5/14 23:35

  • barryc

  • Just can't stay away

  • Posts: 480

  • Since: 2004/3/20


Where are you getting that status message Surpllus=-$100.00 etc? Is it the Donat-o-meter block?

I use the dontations module and it's working well. I got no errors on testing IPN and the Donat-o-meter block shows Left to go as a positive amount. If the donations exceed the goal it will change to read Surplus. I didn't like the word surplus as it implies that we have too much money! I changed it to read Over Goal By-

I am not sure why you are having that problem. You could try regenerating your templates.

Barry
Barry Cooper
Sweet Home, Oregon

8
Razgo
Re: Donation Module
  • 2006/5/14 23:39

  • Razgo

  • Just popping in

  • Posts: 85

  • Since: 2002/1/16


thanks for the reply you can see here on the right hand side http://www.aussiecommunity.com.au/portal

9
Razgo
Re: Donation Module
  • 2006/5/14 23:48

  • Razgo

  • Just popping in

  • Posts: 85

  • Since: 2002/1/16


this is what is in my donations_donatometer.html block if it helps any.




























<{$block.DM_LEFT2GO}>

<{$block.DM_TITLE}>


<{$block.DM_MAKEDON}> align="center">


<{$block.DM_STAT}>
<{$block.DM_MONGOAL}>: <{$block.DM_GOAL}>
<{$block.DM_DUEDATE}>: <{$block.DM_DUE}>
<{$block.DM_GROSSAMT}>: <{$block.DM_GROSS}>
<{$block.DM_NETBAL}>: <{$block.DM_NET}>

<{ if $block.show_don == 1 }>







<{$block.content}>

<{$block.DM_DONATIONS}>

<{ /if }>

10
barryc
Re: Donation Module
  • 2006/5/15 2:34

  • barryc

  • Just can't stay away

  • Posts: 480

  • Since: 2004/3/20


Comparing to my own template, I can't see any significant differences, although mine has been altered a little to change the layout of the table. The problem must lie elsewhere, I think. What version of the donations module are you using?

Barry
Barry Cooper
Sweet Home, Oregon

Login

Who's Online

363 user(s) are online (263 user(s) are browsing Support Forums)


Members: 0


Guests: 363


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits