PDA

View Full Version : Major Additions - vbDonator by Mary


MaryTheG(r)eek
02-16-2007, 10:00 PM
vbDonator
PayPal IPN Donation System
by Mary
http://www.MadeByMary.com (http://www.MadeByMary.com)

REMOVED BY THE AUTHOR

MaryTheG(r)eek
02-17-2007, 08:52 AM
I wish to all of you, who will use my module
to get in donations 1000 X
the amount that you'll donate to me (http://www.madebymary.com/forums/vbdonator.php):p

itrends
02-17-2007, 08:58 AM
Got it installed. Needs a few tweaks for display etc, especially as every user is listed as donating $ even if they donated ? or euros etc.

A fix for that and a little clean up of the display would be wonderful :)

Dave

MaryTheG(r)eek
02-17-2007, 09:04 AM
Got it installed. Needs a few tweaks for display etc, especially as every user is listed as donating $ even if they donated ? or euros etc.

A fix for that and a little clean up of the display would be wonderful :)

Dave

Just need to edit this...

<![CDATA[$]]>

..in product-vbdonator.xml ;)

nexialys
02-17-2007, 09:19 AM
hum, Maria, you decided to release it for free ?!... or you have a paid version with more stuff ?!

MaryTheG(r)eek
02-17-2007, 09:24 AM
hum, Maria, you decided to release it for free ?!... or you have a paid version with more stuff ?!

It's the commercial without the block with Top Donators that you can see at the upper center in the photo. Also in the commercial I'll add blocks for vBadvanced or PHP pages.

projectego
02-17-2007, 10:53 AM
Excellent! Thank you, Mary. ;)

ZomgStuff
02-17-2007, 12:24 PM
I got this errror upon instalattion please help.

Database error in vBulletin 3.6.4:

Invalid SQL:

CREATE TABLE IF NOT EXISTS `mbm_payments` (
`id` varchar(35) NOT NULL default '',
`script` varchar(100) NOT NULL default '',
`function` varchar(50) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM;;

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ENGINE=MyISAM' at line 6
Error Number : 1064
Date : Saturday, February 17th 2007 @ 06:22:04 AM
Script : http://www.zomgstuff.net/forum/admincp/plugin.php?do=productimport
Referrer : http://www.zomgstuff.net/forum/admincp/plugin.php?do=productadd
IP Address : XX.XXX.XXX.XXX
Username : David Hasselhoff
Classname : vb_database

I'm pretty sure it's not your hack. I got this trying to install a similar hack before. Could you still help me though please?

irishblue
02-17-2007, 12:28 PM
the mod looks good. but it would be nice if it supports all the additional currencies paypal now accepts.

MaryTheG(r)eek
02-17-2007, 02:17 PM
I got this errror upon instalattion please help.



I'm pretty sure it's not your hack. I got this trying to install a similar hack before. Could you still help me though please?

Yes, it's not my hack but I know how to help you. You most probably have MySQL version before 4.1 which dosen't supports the command ENGINE.
So change:
ENGINE=MyISAM
With
TYPE=MyISAM

as I had in some lines above. Also better remove the ; that is after ENGINE=MyISAM

Maria

MaryTheG(r)eek
02-17-2007, 02:19 PM
the mod looks good. but it would be nice if it supports all the additional currencies paypal now accepts.

Just add them at vbdonator/includes/vbdonator_currencies.inc.php

ZomgStuff
02-17-2007, 04:36 PM
How would I add donators to the list that have already donated before I installed this mod? thanks!

talenak
02-17-2007, 04:59 PM
How would I add donators to the list that have already donated before I installed this mod? thanks!
I found it, just needed to reload admin control panel. There is a new menu you can add right under vbulletin options...

SCRIPT3R
02-17-2007, 05:31 PM
are you going to leave this here now, or remove it again after several days like you did before?

ZomgStuff
02-17-2007, 05:50 PM
I'm silly thanks!

@Gars with that attitude maybe not...

How would I include this in postbit under name in a post. Shows how much they've donated, but not show anything if they haven't donated.

Snake
02-17-2007, 06:44 PM
Awesome thanks! :D

nexialys
02-17-2007, 08:58 PM
@GearTripper, please, with this kind of lame comment, i would suggest myself to Maria to cut off right now... instead of complaining, Donate to her work, of buy the full commercial version...

briank
02-17-2007, 09:47 PM
can this mod automatically adjust the person who donated to a different user-group?

nexialys
02-17-2007, 09:54 PM
can this mod automatically adjust the person who donated to a different user-group?

the funny thing ... vBulletin have a complete Subscription System based on that idea...

SCRIPT3R
02-17-2007, 11:36 PM
@GearTripper, please, with this kind of lame comment, i would suggest myself to Maria to cut off right now... instead of complaining, Donate to her work, of buy the full commercial version...

not a lame comment at all... i've seen her release, and then remove her hacks multiple times. i don't mind at all donating for something where support will be provided. how many hacks has she released here and then taken away a week later... seven, eight? i've seen this one before and then poof, gone.

nexialys
02-17-2007, 11:42 PM
if you have complaints to do regarding her releases that spoof out, you have a link in the bottom of this page, named "Contact Us"... otherwise, you can contact her directly, or just pass by from time to time to see if her release is still there...

SCRIPT3R
02-17-2007, 11:43 PM
if you have complaints to do regarding her releases that spoof out, you have a link in the bottom of this page, named "Contact Us"... otherwise, you can contact her directly, or just pass by from time to time to see if her release is still there...

i have no complaints, just a question.

MaryTheG(r)eek
02-18-2007, 03:40 AM
are you going to leave this here now, or remove it again after several days like you did before?

Depending on "you" (talking in general) my dear. I placed it here as I did with vbArticles and as I'm planing to do with all my mods...

Without to ask for "Thanks.."
Without to ask for Donations (hope that you understood that I wrote for fun my 1st post)
Ready to answer questions and listen to suggestionThe only that I want in "excahnge" is respection to the time that I spent to develope it, respection to my age and most important respection to peace of my mind. I can't say that my nerves are so "stable" especially when I'm reading comments out of topic.

MaryTheG(r)eek
02-18-2007, 03:42 AM
can this mod automatically adjust the person who donated to a different user-group?

No, but I can add this feature as I did with my vbDigiShop. Thanks for the suggestion.

talenak
02-19-2007, 12:54 PM
Is there a way to let a user donate a "custom" amount? This hack is beautiful, but I am a lot less likely to personally donate if I can't enter a custom amount (generally speaking) and I know a lot of other people are the same.

Thank you!

MaryTheG(r)eek
02-19-2007, 01:34 PM
Is there a way to let a user donate a "custom" amount? This hack is beautiful, but I am a lot less likely to personally donate if I can't enter a custom amount (generally speaking) and I know a lot of other people are the same.

Thank you!

A semi-way to solve your problem is to modify vbdonator/includes/vbdonator_amounts.inc.php and add in the list all the amounts from 1-.....

cashpath
02-19-2007, 06:11 PM
Where do we send the IPN too

MaryTheG(r)eek
02-20-2007, 03:22 AM
Where do we send the IPN too

Actually the URL is cosmetic there. Really. PayPal just needs a URL to activate IPN. Then you can use as many script as you want with dirrefernt URLS, on different sites.
But if you want to add a URL here it is:
http://www.yourdomain.com/forums/vbdonator_gateway.php?method=paypal
(http://www.yourdomain.com/forums/vbdonator_gateway.php)

Change the part on blue to your real URL.

cashpath
02-20-2007, 12:03 PM
Actually the URL is cosmetic there. Really. PayPal just needs a URL to activate IPN. Then you can use as many script as you want with dirrefernt URLS, on different sites.
But if you want to add a URL here it is:
http://www.yourdomain.com/forums/vbdonator_gateway.php?method=paypal
(http://www.yourdomain.com/forums/vbdonator_gateway.php)

Change the part on blue to your real URL.

I see .... Thanks.

manofphat
02-21-2007, 12:16 AM
Users can cause the page to not wrap by placing a long string of text in the donation message.

I second what ZomgStuff asked. Would it be possible to display donation total in the Postbit? I would like it to show up regardless of whether they donated or not and have the default set to 0.

Something else I've noticed as well: I donated once uploading my image. The second time I donated with the same username/e-mail and DIDN'T upload my image (assuming it would recognize and grab it) but it didn't. Would this be possible?

Good work Mary! I'm new to the vBulletin community (I bought it yesterday) and so far I'm very impressed with all the great pieces of work like this one that are out there!

ImmortalForums
02-21-2007, 11:37 AM
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?

manofphat
02-21-2007, 01:26 PM
Could you maybe add a way for admins/supermods to be able to edit what members put in their messages?

DevinM
02-21-2007, 04:30 PM
Beautiful! Got it installed today and left a few suggestions on your forums!

Well done!

cashpath
02-21-2007, 09:03 PM
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.

ImmortalForums
02-22-2007, 11:35 AM
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.

cashpath
02-22-2007, 12:48 PM
I meant that I turned on IPN in paypal.... I think I will just use a different donations hack.

ImmortalForums
02-22-2007, 01:03 PM
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

MaryTheG(r)eek
02-23-2007, 05:13 AM
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.

MaryTheG(r)eek
02-23-2007, 05:21 AM
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

NeRilkA
02-23-2007, 01:19 PM
French Language :)

Translator: me :p

great work Maria, as always :)

cashpath
02-23-2007, 02:03 PM
Here is another one:
https://vborg.vbsupport.ru/showthread.php?t=123181

Thanks for the great support...

manofphat
02-23-2007, 02:07 PM
Thanks for the great support...

You asked for one she gave you one man. Did you expect her to like beg and plead for you not to uninstall or something?

cashpath
02-23-2007, 08:56 PM
You asked for one she gave you one man. Did you expect her to like beg and plead for you not to uninstall or something?

No.. I didn't ask for one.. I just said that I would use a different one...

And no I didn't expect her to do anything...... considering I gave up on getting any help at her from all... My comment was not to her it was to the other member who had the same problem I did. (ImmortalForums) If you read the context of the posts leading up to that post of mine you might comprehend this.

Now.. having responded to your question (which is the only reason I responded..you asked a question) there is really no point in turning this into a war... I know a lot of people go around looking for fights, but I'm not one of those people.

You've done your chivalrous duty for the day.. getting involved and saying your piece in something that was none of your business... now I say we all just drop it.

Have a nice day.

ImmortalForums
02-26-2007, 11:18 AM
sorry about posting a fix to an issue lots of people were having. perhaps if it worked a little better it wouldnt have been needed? i waited for days after posting my issue before I went in and figured out what the problem was. Its solved now, so why not update your app and release the update? problem solved for everyone, no?

looks like we will be switching from this mod (and we were considering the paid version) due to the author's lack of support.

rickyreter
03-01-2007, 06:02 PM
Hi,how would one Change the donation amount??

Thanks Peter

talenak
04-01-2007, 10:09 PM
One of my members just pointed out that in the Country options there's a typo for the states. It's spelled "United Sates"

lol, just an FYI.

Anyone who wants to fix this on their own can just go via ftp to vbdonator<includes<countries.inc.php

Edit the United States line to fix the option and the display. Then reup the corrected file.

To correct already completed donations go to your forum database, vbdonators table, browse the countries section, and correct the spelling in the country fields for anyone who chose United States, then save.

dizzy100
04-14-2007, 08:27 AM
pagination doesn't seem to work.

Andyucs
04-14-2007, 04:41 PM
How Can i Make Most Active To 10 Instead of 5

also could there be an option to disable " Message "

and photo

also would just like to say thanks for this hack

ZomgStuff
04-25-2007, 08:20 PM
Hm, it was working before, but now the donators don't get added to the donators list automatically, I always have to manually add them. Any fix to this?

ABeautifulBrown
04-27-2007, 05:50 PM
Hm, it was working before, but now the donators don't get added to the donators list automatically, I always have to manually add them. Any fix to this?

I can't say that it worked before but I do have it installed now and it's not adding the donators. :(

mavortium
04-27-2007, 09:22 PM
:confused: This looks like a great add-on but I have a quibble regarding your terminology. I'm quite serious by the way, please don't think I'm being a troll. In English, at least, the word "Donor" is a more logical choice than "Donator". I'm tempted to use your addon but if the pages all say "Donator" I know at least some of my users will think I skipped English class a few too many times. Is it possible to change the use of the word donator on pages to donor? Obviously the name "vbdonator" should not be changed.

Thank you! Keep up the good work.

hyony
05-02-2007, 07:45 AM
how do i make the Top Donator Block appear ??? It doesnt show in mine !!!

hyony
05-02-2007, 07:49 AM
never mind !! that option is only for commercial version !!!

kevcj
05-03-2007, 12:08 PM
Mary, thank you for your hard work. This is a wonderful add-on for VB.

I do have one question. Two of my members made donations, the amount says double to what they sent. Pay-pal says they sent one donation, this module says they sent two. The total amount donations acording to vbdonator is about 25 dollars off.

VBdonator says:
member 1 - 2 donations of 50 for a total of 100
member 2 - 2 donations of 25 for a total of 50

Paypal says:
member 1 - 1 donation for 50
member 2 - 1 donation for 25

Link to my site - http://www.survivalistboards.com/vbdonator.php

ABeautifulBrown
05-13-2007, 12:06 PM
I have to still add mine manually. I don't know why :(

Dannyloski
07-23-2007, 12:04 AM
I want to install this hack since the Cyb - PayPal Donate Hack that I installed on my Forum had an exploit and we were suggested to uninstall until further notice by the vB Staff ... But before I install this I wanna know, is it automatically adding the users to the Donator's List or do you still have to do it automatically?

Also, can anyone confirm that this works on 3.6.7 PL1?