![]() |
This is really good stuff but how do your users actually donate?
I click on the $ button it takes me to the donations page and shows goals and the PAYPAL logo but how do thet actually start a donation process. I worked it out, You actually go to Admincp and make a button. Then they can click on it and make a donation. Hope this helps someone else. |
Quote:
the ones you must add in the AdminCP. |
Quote:
|
Quote:
ROFL |
Quote:
ME! :-P I'm just playin anyway, you think someone might take offense at that? I hope not... Oh, for those of you who don't know me, I am opinionated. Some may call me an a$$hole at times, but I will try to fix any problem with this hack that I can, I promised to support it, but (seeing as how my philosophy on life is to say it bluntly) I will call things as I see them. If I am wrong, I will admit it, but since I can take things with a grain of salt I expect others to do the same. If you find a problem somewhere tell me, and I'll fix it if I can. I expect the same from anyone who installs this as well. If I'm being a jerk, tell me and I'll adjust my shot group. Again, I expect the same from others as well. Just letting you all know where I'm coming from so we on the same sheet of music here. Now, let's see how this thing works out shall we? |
Set up just fine! Very easy.
Great work guys :) Silly question though, can I get paypal to open in a new window? You know...so they dont leave my site :laugh: |
Wow, man, you got way serious.
I was just playing! |
Quote:
Code:
target="_blank" |
Quote:
The way the buttons work as well prevent this from happening to my knowledge, but I will check into it and see if there is a way to do that or not. |
Quote:
|
Quote:
Thanks! |
Oh, I thought he wanted the Donate button to open donate.php in a diff window. But yeah either way, then you end up with two windows on the site since after paypal it returns you to the site.
|
Quote:
HTML Code:
<input type="button" etc....> |
Quote:
Edit* Thanks for the answers guys. Since it returns to the site then there is no reason for it. :) |
Quote:
I don't think if it were just me, I could handle all the questions at once, much less fix the problems. So if they can't take a joke now and then . . . well, you know. |
Quote:
LOL With all the troubles that came up at first I thought this thing would die before it even had a chance ROFL |
Na, just gotta get the steam up.
|
Yeah .. the crowds at the back 'o the bar go wild .. installed and working like a charm.
One question .. how can I change the $ to ? in the donation goals ? Clicked install :) |
Quote:
EDIT: in_donations_towards_our_goal_of is one, just have to weed through to find the rest, and some are in the templates. |
Quote:
If you see a variable like this: $$total with the double '$' that's the dollar sign, the second one is the string identifier, you can change that first one without breaking anything. Don't do that to a single '$' though as that will break the variable in the template. Hope that helps....(thinks about adding this as an auto thing based on the currency format you choose in the AdminCP)... |
yep, I think I'll do that, I like that idea alot...thank you!
|
Quote:
Dennis smells an upgrade. |
Quote:
you okay? Sniffing too much server innards today? |
Quote:
|
I didnt take offence.
I tend to just scim over stuff when doing things. Like anyone else. It was there and i missed it. Thanks for the quick reply though. |
Quote:
PHP Code:
|
Quote:
:smoke: |
OK, I am back.
I am still having the problem pulling the exchange rate info. I do get an error on my donate.php page which I am guessing is because of this. But get this, I have the mod installed perfectly except for that error, I have run several transactions with sandbox, and everything is working perfectly!!! I think it has something to do with my server running cron jobs. Are there any settings in the ACP that could be causing this??? |
Quote:
|
Code:
Warning: Division by zero in /modules/donate.php on line 33 Code:
Warning: Division by zero in /donate.php on line 147 I am guessing it is a division by zero error because there aren't any values to pull from the database because I can't run that cron job. |
Probably a good guess.
What do you get in the cron log if you run it manually? |
I get the exact same errors as before, and my database is still empty
|
These:
Code:
Warning: file(http://www.oanda.com/convert/fxdaily?value=1&redirected=1&exch=USD&format=CSV&dest=Get+Table&sel_list=): failed to open stream: Connection refused in /includes/cron/donation_currency_exchange.php on line 29 If so, try hitting the URL manually from your box. What happens? |
Code:
Donations Currency Exchange Quotes |
See above post.
The second error, bad argument is due to not getting an answer from the first error. Can you get to the site from you server? You know you can also disable the exchange rate stuff in the settings on ACP. |
Alright, this'll wait until tomorrow then, gotta hit the sack.
|
Thanks, I don't have shell access on my server to try to access the site.
In the ACP the only option is to show the currency box or not, not to actually disable it. And even at that, I think it will still need a number for US dollars. Get some sleep, I will keep plugging away at it. |
Can anybody who has installed this hack please dump the donation_currency_exchange table from your database and post it here?
I would like to update this and see if it takes care of my error messages. Thanks |
Quote:
|
Cloudrunner,
Great hack - had the challenge of a previous version haunting my DB, but your early revision fixed it up really well ! :) A quick question, during the install, there were a couple of optional edits to the postbit and the memberinfo page - where can I find them without running through the install again (which obviously I can't do ;)) - I want to remove the postbit code until it's ready to run officially. Great work and thank you! Mike :) |
All times are GMT. The time now is 08:23 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|