bugsmi0 do you understand the complexities involved in accepting credit/debit card or direct payment transactions online? I really doubt that many normal forum admins would have such systems readily available to them unless they were running an e-commerce site. Wanting the money to go straight to your account is one thing but actually achieving it (especially with noone taking a cut on the way) is pretty difficult. Why do you think sites like paypal and worldpay are so popular?
well I can dream can't I ? ;-) yea I know its complexed
what good is a point system ? who cares about points, send money$$ and lots of it lol
I guess since buy a drink is specific, it would be ok if both parties got a paypal account for the purpose of sending and receiving money, its just beer money ;-) but I think you have to remember to transfer it to your account and if you are too drunk you might forget
I could be wrong here - so don't quote me on this, without checking on the PayPal site first - but I do believe that you don't have to have a PayPal account to be able to pay someone who is a customer of theirs. As a PayPal customer, for instance, I can use PayPal to create a "donate" button that I can place on my website. If a visitor clicks it, they end up in PayPal's site, where they will be directed to use their credit card to send me some money - and it doesn't matter whether they are a PayPal member or not.
I believe that if the transaction is to involve a LARGE sum of money, then yes, you do have to be a PayPal member to be able to pay, because when you become a member they perform some bank and credit card checks. I can't remember what PayPal considers to be a 'large' sum, though, but it was either several hundred, or a few thousand dollars, so if you are expecting to receive just the odd $5 to $50 donation, you should be fine.
Someone, please correct me if I'm wrong!
Consider yourself corrected icouto... "Signing up for a PayPal account will be required to complete this purchase."
Later: Actually you are half right buddy, with a business account you have the option of accepting money via PayPal or direct from a Credit card (without requiring PayPal membership from the payer).
This has been updated to fix some issues with the md5 verification not working in some browsers.
bugsmi0: Replace lines 57 - 59 of with this code block:
'" onClick="window.open(\''. $url.
'\' + \'&VC=\' + hex_md5(\''. md5($email . date('ymd')) ."' + '".
$Comment->Context->Session->UserID. '\')) ; return false">'. Note the changes: document.location href = becomes window.open( and an second close paren added just before return false
I think this should be an admin prefrence... will add it to the plans for version 1.0
No way .. Mark was right when he had choosen GPL ... GPL means that no one is going to restrict the software to who pays ... if you improve it .. everyone will have what you have ... you can make money out of GPL ... I would hate to see a BSD licensed software becomes proprietary and locked ... IMHO
ok got it but what does that new code do is this for using google checkout ? when I added that code and tried out the link nothing appears only fcc10c6735bd241ca032bb2badfe6232 1 1
ok I got it, I think you responded to a previous question I had before about opening in a new window, so this code is for doing just that cool,
now as to my other question can we use google checkout lol ;-)
I just experienced a very odd issue,
the buy drink extension works on one install but not another, they are both on the same server
the link is there but when you click on it all it does is open up the same discussions page in a new window, on the other install it does redirect to paypal, both extensions have the same file permissions
ok if i get you right, youre searching for a donkey to do this job for 100$ and you sell it then for 500 or more to your client ... probably thats the reason why you said "quickly".
Does someone know a way to limit the use of this extension to some specific roles? I managed to allow guests to donate (I know it reveals the email, so my users will be warned about this) but what should I do to disallow a particular role to display the link?
I've also seen Wallphone had some pretty cool ideas to improve his extension, any plans to develop it further in the future? I really like the idea of a community-driven donation logic. Knowing someone may like what you post, whatever it is (pictures, code, stories...) and give you a little something for this is probably a good way for everyone on a forum to try to make high-quality posts. I'm sure there's something pretty interesting there that desserves to be explored.
You could wrap it in an IF statement that makes sure the role is one that you want to allow this extension. I tried various things around this but I'm not sure about the syntax. Until now the only thing I managed to do is making the preference in the profile tab appear/disappear, but for all roles at the same time...
I'm about to release a new extension today... next one that gets work is a toss up between this one and Edit in Place... Sounds interesting, could you tell us a bit more about this?
Comments
what good is a point system ? who cares about points, send money$$ and lots of it lol
I guess since buy a drink is specific, it would be ok if both parties got a paypal account for the purpose of sending and receiving money, its just beer money ;-) but I think you have to remember to transfer it to your account and if you are too drunk you might forget
"Signing up for a PayPal account will be required to complete this purchase."
Later: Actually you are half right buddy, with a business account you have the option of accepting money via PayPal or direct from a Credit card (without requiring PayPal membership from the payer).
also how to include a target= _blank to open the paypal page in a new window /
bugsmi0: Replace lines 57 - 59 of with this code block:
'" onClick="window.open(\''. $url. '\' + \'&VC=\' + hex_md5(\''. md5($email . date('ymd')) ."' + '". $Comment->Context->Session->UserID. '\')) ; return false">'.
Note the changes: becomes and an second close paren added just before
I think this should be an admin prefrence... will add it to the plans for version 1.0
@WallPhone '" onClick="window.open(\''. $url. '\' + \'&VC=\' + hex_md5(\''. md5($email . date('ymd')) ."' + '". $Comment->Context->Session->UserID. '\')) ; return false">'
what is this code ?
also lines 57-59 are only
} } $Context->AddToDelegate("CommentGrid", "PostCommentOptionsRender", "BuyADrink");
I get:
<a class="BuyADrink" href="extension.php?PostBackAction=BuyADrink&AuthorID=1" onclick="window.open('extension.php?PostBackAction=BuyADrink&AuthorID=1' + '&VC=' + hex_md5('1f724ece9966b874357cb4c152e55d58' + '1')) ; return false">Buy a Drink</a>
The VC should be different, but everything else the same... also, does this page it loads have the code at the top?
ok if i get you right, youre searching for a donkey to do this job for 100$ and you sell it then for 500 or more to your client ... probably thats the reason why you said "quickly".
[ironic]:thumbsup:[/ironic]
Does someone know a way to limit the use of this extension to some specific roles? I managed to allow guests to donate (I know it reveals the email, so my users will be warned about this) but what should I do to disallow a particular role to display the link?
I've also seen Wallphone had some pretty cool ideas to improve his extension, any plans to develop it further in the future? I really like the idea of a community-driven donation logic. Knowing someone may like what you post, whatever it is (pictures, code, stories...) and give you a little something for this is probably a good way for everyone on a forum to try to make high-quality posts. I'm sure there's something pretty interesting there that desserves to be explored.
I'm about to release a new extension today... next one that gets work is a toss up between this one and Edit in Place...
I tried various things around this but I'm not sure about the syntax. Until now the only thing I managed to do is making the preference in the profile tab appear/disappear, but for all roles at the same time...
I'm about to release a new extension today... next one that gets work is a toss up between this one and Edit in Place...
Sounds interesting, could you tell us a bit more about this?