vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - vbDonator by Mary (https://vborg.vbsupport.ru/showthread.php?t=139642)

MaryTheG(r)eek 02-16-2007 10:00 PM

vbDonator by Mary
 
vbDonator
PayPal IPN Donation System
by Mary
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: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

Quote:

Originally Posted by itrends (Post 1184460)
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

Quote:

Originally Posted by nexialys (Post 1184469)
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.

Quote:

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/admin...=productimport
Referrer : http://www.zomgstuff.net/forum/admin...?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

Quote:

Originally Posted by ZomgStuff (Post 1184522)
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

Quote:

Originally Posted by irishblue (Post 1184524)
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

Quote:

Originally Posted by ZomgStuff (Post 1184672)
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

Quote:

Originally Posted by briank (Post 1184833)
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

Quote:

Originally Posted by nexialys (Post 1184801)
@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

Quote:

Originally Posted by nexialys (Post 1184933)
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

Quote:

Originally Posted by GearTripper (Post 1184700)
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 suggestion
The 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

Quote:

Originally Posted by briank (Post 1184833)
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

Quote:

Originally Posted by talenak (Post 1185963)
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

Quote:

Originally Posted by cashpath (Post 1186186)
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


Change the part on blue to your real URL.

cashpath 02-20-2007 12:03 PM

Quote:

Originally Posted by MicroHellas (Post 1186496)
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


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

Quote:

Originally Posted by cashpath (Post 1187825)
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

Quote:

Originally Posted by ImmortalForums (Post 1188277)
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

Quote:

Originally Posted by cashpath (Post 1188268)
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 :)


All times are GMT. The time now is 04:57 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.01501 seconds
  • Memory Usage 1,830KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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