2018-03-20, 09:09 PM
(2016-03-25, 03:05 AM)p00lz Wrote: Any idea on getting GBP setup on this
Would it be as simple as:
\admin\modules\user\mysubs.php
Line 95 onward here:
$currency_options = array( 'USD' => "USD (US Dollar)", 'EUR' => "EUR (Euro)", 'CAD' => "CAD (Canadian Dollar)" );
And just making this adjustment:
$currency_options = array( 'USD' => "USD (US Dollar)", 'EUR' => "EUR (Euro)", 'CAD' => "CAD (Canadian Dollar)", 'GBP' => "GBP (British Pounds Sterling)" );
And the same with line 344-348 (after the above adjustment), same code.
Then \inc\plugins\mysubs.php
Line 278 onward:
{ case 'EUR': $curcode = '€'; break; case 'USD': case 'CAD': default: $curcode = '$'; break; }
Make this change:
{ case 'EUR': $curcode = '€'; break; case 'GBP': $curcode = '£'; break; case 'USD': case 'CAD': default: $curcode = '$'; break; }
And the same at Line 334-343 (after the above adjustment)
I've attached a file with the above modifications if anybody wants to test
edit;tested and admin module does not load
edit;forgot a bloody comma it loads now, new fixed files attached
I still need to test with a paypal though, might take me some time
I've just tested it and its working fine on mine :-)