Page 1 of 1

Paypal donate module

Posted: 13. March 2015 18:03
by Barryoneoff
Your Portal Version: 2.1.RC2
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://www.eastlondonforum.co.uk

PHP Version: 3.1.3

What have you done before the problem was there?
Nothing

What have you already tryed to solve the problem?
Nothing

Description and Message
Is there any way to change the default from Euro to GBP and is there any way to change the words on the module?

Re: Paypal donate module

Posted: 13. March 2015 19:54
by archivar
Barryoneoff wrote: Is there any way to change the default from Euro to GBP and is there any way to change the words on the module?
Can you choose the module on the portal page.
Change text in ---->root/ext/board3/portal/language/en/modules/portal_donation_module.php

Re: Paypal donate module

Posted: 14. March 2015 00:48
by Barryoneoff
Thanks, I will try that.

Re: Paypal donate module

Posted: 14. March 2015 12:54
by Barryoneoff
Thanks. That worked for the text but I could not find the way to change Euro to GBP as default.

Re: Paypal donate module

Posted: 14. March 2015 14:28
by talonos
you'd have to edit the template file for that.


EDIT:

Code: Select all

ext/board3/portal/styles/YOUR_THEME/template/portal/modules/donation_side.html
FIND:

Code: Select all

		<select name="currency_code" class="autowidth">
        	<option value="USD">USD</option>
			<option value="AUD">AUD</option>
			<option value="CAD">CAD</option>
			<option value="CZK">CZK</option>
			<option value="DKK">DKK</option>
			<option value="EUR" selected="selected">EUR</option>
			<option value="HKD">HKD</option>
			<option value="HUF">HUF</option>
			<option value="NZD">NZD</option>
			<option value="NOK">NOK</option>
			<option value="PLN">PLN</option>
			<option value="GBP">GBP</option>
			<option value="SGD">SGD</option>
			<option value="SEK">SEK</option>
			<option value="CHF">CHF</option>
			<option value="JPY">JPY</option>
REPLACE WITH:

Code: Select all

		<select name="currency_code" class="autowidth">
        	<option value="USD">USD</option>
			<option value="AUD">AUD</option>
			<option value="CAD">CAD</option>
			<option value="CZK">CZK</option>
			<option value="DKK">DKK</option>
			<option value="EUR">EUR</option>
			<option value="HKD">HKD</option>
			<option value="HUF">HUF</option>
			<option value="NZD">NZD</option>
			<option value="NOK">NOK</option>
			<option value="PLN">PLN</option>
			<option value="GBP" selected="selected">GBP</option>
			<option value="SGD">SGD</option>
			<option value="SEK">SEK</option>
			<option value="CHF">CHF</option>
			<option value="JPY">JPY</option>
after doing them edits purge your cache and refresh your theme.

Re: Paypal donate module

Posted: 14. March 2015 15:05
by Barryoneoff
Thank you. :)

Re: Paypal donate module

Posted: 12. April 2015 10:51
by Barryoneoff
I am using Prosilver SE, which does not appear in the templates. I have changed the code in Prosilver and Subsilver2 but the default remains as EUR.

Re: Paypal donate module

Posted: 12. April 2015 20:07
by archivar
You must also change it in "prosilver SE".viewtopic.php?f=71&t=10968#p35799

Re: Paypal donate module

Posted: 13. April 2015 11:56
by Barryoneoff
Prosilver SE doesn't appear in the portal/styles folder.

Re: Paypal donate module

Posted: 13. April 2015 16:28
by archivar
Barryoneoff wrote:Prosilver SE doesn't appear in the portal/styles folder.
You have to open a new thread at this link: viewforum.php?f=73