Hi i don't have a tremendous amount of experience in php but i have managed to get the donate button to enable donations in s but how do i get the script to show sign instead of $ signs on the modules output pages and in the block
Thanks in advance for any help
OZaKI
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, managed it all except when somone makes a donation, the block-Donat_o_Meter.php still shows the value in $ not . Everything else works except that and I can't find the code. It looks like this bigmofo $10 Oct-7 when it should say bigmofo 10 Oct-7. Can anyone help?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Again,
Thanks for your help i now have it working s for the button change use GBP instead of USD the module is working at www.clanprovide.co.uk if you want to take a look and it has been tested and everythibng was recieved fine. Many thanks once again :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi could you explain this for a total noob. I also need to change all dollar signs to pounds. I have added multiple currencies but the donate block still shows dollars
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Not much else to explain. The post below shows all the files and line numbers where the "$" appears. Just replace the "$" with the currency symbol you want.
I too wanted to change the $ to £ on my Donations block and also change the USD currency to GBP, but am having trouble finding the right files to edit. On the block i am having trouble changing the $ to £ in the part which says "other amount" when u have a choice of amounts to choose from. Also when u click on the paypal link it comes up in USD and $ currency and im unsure of what code to edit in wat files.
Can anyone help me here. My site is http://www.tsc.simtu.com the block is on the right hand side half way down.
Thnx
Razor
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If anyone is having diffulculty with changing this excellent module for UK GBP i have already done all the work to convert it to if you would like a copy please let me know.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi i don't have a tremendous amount of experience in php but i have managed to get the donate button to enable donations in s but how do i get the script to show sign instead of $ signs on the modules output pages and in the block
Thanks in advance for any help
OZaKI
Boy it didn't take long for an international problem to pop up. :)
Ouch, I wish I thought of this ahead of time. the $ is peppered all over:
admin/modules/treasury.php
Line #133, 209, 212
blocks/block-Donat_o_Meter.php
Ln #86, 113, 116, 117, 118
modules/donations/index.php
Line # 58, 71, 158
I think that'll do it. Let me know if I missed any. In the next revision I'll add a config option to change the monetary symbol.
modules/donations/dontations.html line 26
:)
I couldn't see a reference to changing the currency which appears in the paypal script. Apologies if it's already been posted.
modules/Donations/Donations.html
change line 41 from :
<input type="hidden" name="currency_code" value="USD">
to
<input type="hidden" name="currency_code" value="GBP">
Otherwise when your donators get referred to paypal the amount appears in dollars.
Ok, managed it all except when somone makes a donation, the block-Donat_o_Meter.php still shows the value in $ not . Everything else works except that and I can't find the code. It looks like this bigmofo $10 Oct-7 when it should say bigmofo 10 Oct-7. Can anyone help?
Forgot about this one. This was when I thought I was being all crafty with SQL. In blocks-Donat_o_Meter.php, around line 86, find this:
$query_Recordset3 .= 'CONCAT(\'$\',SUM(mc_gross)) AS amt ';
You'll want to change it to:
$query_Recordset3 .= 'CONCAT(\'\',SUM(mc_gross)) AS amt ';
That should do it!
Dave
I checked that and I had already changed it. It still shows the amount submitted by a user with a $ and not a :-(
Please let me know what changes you made, if any, regarding the PayPal form used for the actual donation.
Hi Again,
Thanks for your help i now have it working s for the button change use GBP instead of USD the module is working at www.clanprovide.co.uk if you want to take a look and it has been tested and everythibng was recieved fine. Many thanks once again :-)
Hi could you explain this for a total noob. I also need to change all dollar signs to pounds. I have added multiple currencies but the donate block still shows dollars
Not much else to explain. The post below shows all the files and line numbers where the "$" appears. Just replace the "$" with the currency symbol you want.
https://sourceforge.net/forum/message.php?msg_id=2399485
I too wanted to change the $ to £ on my Donations block and also change the USD currency to GBP, but am having trouble finding the right files to edit. On the block i am having trouble changing the $ to £ in the part which says "other amount" when u have a choice of amounts to choose from. Also when u click on the paypal link it comes up in USD and $ currency and im unsure of what code to edit in wat files.
Can anyone help me here. My site is http://www.tsc.simtu.com the block is on the right hand side half way down.
Thnx
Razor
If anyone is having diffulculty with changing this excellent module for UK GBP i have already done all the work to convert it to if you would like a copy please let me know.
Thanks very much m8 but i got it sorted now.
thanks again
Missing $ sign can be found on line 70 in block-Donat_o_Meter.php
Hi there i too would like to know how to change the units from $'s to £'s
Regards Central