text change

Download and support for PhpBB3 Paypal Donation Mod
AllanD
BBCoder II
BBCoder II
Posts: 9
Joined: 28 Oct 2011, 01:15
BBCodes: 2

text change

Post by AllanD »

User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

text change

Post by Stoker »

Just edit the included language file: language/en/mods/donate.php
Board rules! No PM support
AllanD
BBCoder II
BBCoder II
Posts: 9
Joined: 28 Oct 2011, 01:15
BBCodes: 2

text change

Post by AllanD »

I did that yesterday, then I uloaded the new file, refreshed the theme and templates and it's still not changing.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

text change

Post by Stoker »

Allan, if you want to change the text you have to open language/en/mods/donate.php and change the text there.
Board rules! No PM support
AllanD
BBCoder II
BBCoder II
Posts: 9
Joined: 28 Oct 2011, 01:15
BBCodes: 2

text change

Post by AllanD »

I did that and then ftped to the site and nothing changed.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

text change

Post by Stoker »

Try post the language File here.
Board rules! No PM support
AllanD
BBCoder II
BBCoder II
Posts: 9
Joined: 28 Oct 2011, 01:15
BBCodes: 2

text change

Post by AllanD »

ok here you go

Code: Select all

<?php
/**
*
* donate.php [English]
*
* @package language
* @version $Id: donate.php,v 1.0.0 2011-05-25 10:04:45 Stoker Exp $
* @copyright (c) 2011 Stoker
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

$lang = array_merge($lang, array(
	'DONATION_TITLE'				=> 'Donate to',
	'DONATION_CANCELLED_TITLE'		=> 'Donation Cancelled',
	'DONATION_SUCCESSFULL_TITLE'	=> 'Donation Successfull',
	'DONATION_CONTACT_PAYPAL'       => 'Connecting to Paypal - Please Wait...',
	'DONATION_EMAIL'                => 'dnadownes@comcast.net',
	
	'DONATION_USD'                  => '$ USD',
	'DONATION_EUR'                  => '€ EUR',
	'DONATION_GBP'                  => '£ GBP',
	'DONATION_JPY'                  => '¥ JPY',
	'DONATION_AUD'                  => '$ AUD',
	'DONATION_CAD'                  => '$ CAD',
	'DONATION_HKD'                  => '$ HKD',
	
    'DONATION_TEXT'                	=> 'Support us by making a donation using PayPal.<br />Your donations ensure that we can pay our hosting bills and are able to keep this site online.<br /><br />If you are able to donate you will be added the <a style="color: rgb(51, 102, 0);" class="forumtitle" href="./memberlist.php?mode=group&g=11">Donators</a> group.',
	
	'DONATION_CANCELLED'            => 'It seems you have decided to cancel your donation.<br />Don\'t worry, it\'s ok - but do think about donating in the future - the more donations we get, the better we can make the site.<br />Thanks for checking out the site none the less.',
	
	'DONATION_SUCCESSFULL'          => 'Congratulations, you have successfully donated to us!<br /><br />Your donation, no matter how big or small, is very greatly appreciated and will go towards keeping the site online<br />Hopefully in the future, we can set up a rewards system for those who have donated.',
	
));

?>
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

text change

Post by Stoker »

In which location did you upload this language file?
Board rules! No PM support
AllanD
BBCoder II
BBCoder II
Posts: 9
Joined: 28 Oct 2011, 01:15
BBCodes: 2

text change

Post by AllanD »

paypal_donation_mod/root/language/en/mods/donate.php

That's the copied from my ftp program.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

text change

Post by Stoker »

The edited file is not uploaded to the correct place. At your board you are using the default lang file.
AllanD wrote:paypal_donation_mod/root/language/en/mods/donate.php
should be: language/en/mods/donate.php as I pointed out earlier.
Board rules! No PM support
Locked