text change

Download and support for PhpBB3 Paypal Donation Mod
User avatar
Terr0r
BBCoder V
BBCoder V
Posts: 339
Joined: 04 May 2011, 00:47
BBCodes: 100
Location: The Netherlands
Contact:

text change

Post by Terr0r »

I have answer that question Yes I format language/en/mod/donate.php?
If you can't fix it with ducktape you ain't using enough
For my MODS and BBCodes or other things that I have made take a look here
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

text change

Post by Stoker »

Its not a yes or no question.
Is it UTF8 without BOM?
Board rules! No PM support
User avatar
Terr0r
BBCoder V
BBCoder V
Posts: 339
Joined: 04 May 2011, 00:47
BBCodes: 100
Location: The Netherlands
Contact:

text change

Post by Terr0r »

If I set the php file language/en/mod/donate.php? on UTF8 without BOM then get I the error from a few post ago back
If you can't fix it with ducktape you ain't using enough
For my MODS and BBCodes or other things that I have made take a look here
juango
BBCoder II
BBCoder II
Posts: 34
Joined: 30 May 2011, 20:44

text change

Post by juango »

if it's saved as UTF8 without BOM you shouldn't have any errors unless you messed with the file in which case check to make sure you don't have a space before the beginning! <?php and after the ending ?>
that is all i can think of!
User avatar
Terr0r
BBCoder V
BBCoder V
Posts: 339
Joined: 04 May 2011, 00:47
BBCodes: 100
Location: The Netherlands
Contact:

text change

Post by Terr0r »

juango wrote: if it's saved as UTF8 without BOM
Yes it is saved as UTF8 without BOM
juango wrote: <?php ?>
I have looking for that that is okay there are no spaces in that part of code
If you can't fix it with ducktape you ain't using enough
For my MODS and BBCodes or other things that I have made take a look here
mcwxxx
BBCoder I
BBCoder I
Posts: 2
Joined: 27 Aug 2011, 05:11
BBCodes: 30

text change

Post by mcwxxx »

I've got the same issue as the topic starter. I've looked over the file, and it shows what its suppoed to, but I something wierd like below.
Image

Here's the file for the mod w/ all the text in it:
language/en/mods/donate.php

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',
	'DONATION_CANCELLED_TITLE'		=> 'Donation Cancelled',
	'DONATION_SUCCESSFULL_TITLE'	=> 'Donation Successfull',
	'DONATION_CONTACT_PAYPAL'       => 'Connecting to Paypal - Please Wait...',
	'DONATION_EMAIL'                => 'jigokushoujo12345@hotmail.com',
	
	'DONATION_USD'                  => '$ USD',
	'DONATION_EUR'                  => '� EUR',
	'DONATION_GBP'                  => '� GBP',
	'DONATION_JPY'                  => '� JPY',
	'DONATION_AUD'                  => '$ AUD',
	'DONATION_CAD'                  => '$ CAD',
	'DONATION_HKD'                  => '$ HKD',
	

	'DONATION_TEXT'                	=> '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 more than $10 you will be added the <a style="color: rgb(51, 102, 0);" class="forumtitle" href="./memberlist.php?mode=group&g=10">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
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

text change

Post by martin123456 »

Shows good to me
crim.png
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

text change

Post by Stoker »

Topic starter had several issues.
I asked him to redownload the mod and reinstall it.
I will ask you the same.
Board rules! No PM support
User avatar
Terr0r
BBCoder V
BBCoder V
Posts: 339
Joined: 04 May 2011, 00:47
BBCodes: 100
Location: The Netherlands
Contact:

text change

Post by Terr0r »

I have do that stoker reinstall de MOD and install the MOD agian but noting change
If you can't fix it with ducktape you ain't using enough
For my MODS and BBCodes or other things that I have made take a look here
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

text change

Post by Stoker »

I also told you to make sure that the language/en/mods/donate.php was utf8 without BOM.
Dont tell me that you have done this, because that is exactly what cause the error at your site.
Board rules! No PM support
Locked