[ABD] Advanced PayPal Donation MOD 1.0.B4

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
fishtown
Registered User
Posts: 18
Joined: Mon Dec 07, 2009 11:30 am

Re: [BETA] Advanced PayPal Donation MOD 1.0.B4

Post by fishtown » Sat May 29, 2010 10:28 am

I getting this error after clicking on settings:

Code: Select all

SQL ERROR [ mysqli ]

Table 'phpbb_donation_data' already exists [1050]

SQL

CREATE TABLE phpbb_donation_data ( transaction_id mediumint(8) unsigned NOT NULL auto_increment, txn_id varchar(18) collate utf8_bin NOT NULL, txn_type varchar(32) collate utf8_bin NOT NULL, confirmed tinyint(1) unsigned NOT NULL default '0', user_id mediumint(8) unsigned NOT NULL default '0', item_name varchar(128) collate utf8_bin NOT NULL, item_number varchar(128) collate utf8_bin NOT NULL, payment_time int(11) unsigned NOT NULL default '0', business varchar(128) collate utf8_bin NOT NULL, payment_status varchar(32) collate utf8_bin NOT NULL, payment_gross decimal(8,2) NOT NULL, payment_fee decimal(8,2) NOT NULL, payment_type varchar(16) collate utf8_bin NOT NULL, mc_currency varchar(16) collate utf8_bin NOT NULL, payment_date varchar(32) collate utf8_bin NOT NULL, payer_id varchar(16) collate utf8_bin NOT NULL, payer_email varchar(128) collate utf8_bin NOT NULL, payer_status varchar(16) collate utf8_bin NOT NULL, first_name varchar(64) collate utf8_bin NOT NULL, last_name varchar(64) collate utf8_bin NOT NULL, memo varchar(255) collate utf8_bin NOT NULL, PRIMARY KEY (transaction_id), KEY user_id (user_id), KEY txn_id (txn_id) )

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/acp/info/acp_donation_mod.php
LINE: 111
CALL: dbal_mysqli->sql_query()

FILE: includes/acp/acp_donation_mod.php
LINE: 57
CALL: acp_donation_mod_info->install()

FILE: includes/functions_module.php
LINE: 516
CALL: acp_donation_mod->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Whats wrong?

MetalRush
Registered User
Posts: 17
Joined: Thu Jan 16, 2003 10:58 pm
Location: The Netherlands
Contact:

Re: [BETA] Advanced PayPal Donation MOD 1.0.B4

Post by MetalRush » Fri Jul 09, 2010 6:05 pm

Well, since I cannot register on your website, dear Highway, I'll post it here (please PM me for details on the errors on your own STG site).

My problem, with this mod, is that as soon as I upload the file
/httpdocs/includes/acp/acp_donation_mod.php
I get a blank screen when I want to open my ACP and configure the donation page...
Not sure why...
Do you have any clou ?

http://forum.metalrush.com/ is the forum/website/portal I am talking about.

It is a playground for my 'real' website (http://forum.opelomegaportal.nl/), so I am happy it crashes here, and not on my production environment :geek:

User avatar
Jorup16
Registered User
Posts: 386
Joined: Sun Dec 14, 2008 5:13 am
Location: Zacapa, Guatemala
Name: Jorge
Contact:

Re: [BETA] Advanced PayPal Donation MOD 1.0.B4

Post by Jorup16 » Sun Jul 25, 2010 7:54 pm

Spanish Translation:
Traducción al español

language/es/mods/paypal_donation_mod.php

Code: Select all

<?php
/**
 *
 * paypal_donation_mod [Spanish Translation - Jorup16]
 *
 * @author David Lewis (Highway of Life) http://startrekguide.com
 * @package language
 * @version $Id: paypal_donation_mod.php 8 2008-04-08 19:30:42Z Highway of Life $
 * @copyright (c) 2008 Star Trek Guide Group
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 *
 */

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
	// Avoid hacking attempts
	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

// Spanish Translation - Jorup16 - www.fifa-guate.com / www.fifa-xgamers.com

$lang = array_merge($lang, array(
	'ACP_DONATION_MOD_SETTINGS'		=> 'Donation MOD Opciones',
	'ACP_DONATION_MOD_SETTINGS_EXPLAIN'	=> 'Administrar opciones delDonation MOD',

	'CONVERT_PERCENTAGE'			=> 'Porcentaje de conversion de monedas',
	'CONVERT_PERCENTAGE_EXPLAIN'	=> 'Ingresa el porcentaje para la conversion de monedas',
	'COUNTRY'						=> 'Pais',
	'COUNTRY_EXPLAIN'				=> '',
	'CURRENCY_NOT_RECOGNISED'		=> 'El codigo de la moneda: %s no se reconoce',

	'DEFAULT_COUNTRY'				=> 'Pais predeterminado',
	'DEFAULT_CURRENCY'				=> 'Moneda actual',
	'DONATE_AMOUNT'					=> 'Cantidad a donar',
	'DONATE_AMOUNT_EXPLAIN' 		=> '',
	'DONATION_CANCELED'				=> 'Transaccion de donacion cancelada',
	'DONATE_EXPLAIN'				=> 'Hacer donacion por una unica ocasion utilizando Paypal',
	'DONATE_MINIMUM'				=> 'Monto minimo de donacion',
	'DONATE_MINIMUM_EXPLAIN'		=> 'Ingresa el monto minimo de donacion en la moneda actual',
	'DONATE_TO_SITENAME'			=> 'Donación para www.FIFA-XGamers.com',
	'DONATE_TO_SITENAME_EXPLAIN'	=> 'Ayuda a FIFA-XGamers.com haciendo una donación usando PayPal.<br />
	Tus donaciones garantizarán el poder pagar nuestras facturas de alojamiento y estar en condiciones de mantener este sitio en línea en beneficio de nuestros usuarios.<br />
	Cuando haces una donación para FIFA-XGamers.com con un mínimo de %2$s, serás automáticamente agregado al Grupo %3$s y recibirás futuras recompensas. Asegúrate de que estas identificado al realizar la donación para recibir este beneficio.<br /><br />Si puedes donar más de %2$s nos mantendrás motivados para seguir haciendo de ésta la mejor comunidad fifera de Latinoaméerica. :)',
	'DONATION_MESSAGE'				=> 'Mensaje de donacion (Memo)',
	'DONATION_RECEIVED_VERIFIED'	=> 'Donacion recibida (Verificada) desde %s',
	'DONATION_RECEIVED_UNVERIFIED'	=> 'Donacion recibida (No verificada) desde %s',
	'DONATION_RECEIVED_MSG_VERIFIED'	=> 'Hola,
	Tu’has recibido una donacion desde %2$s ( %1$s ) con la cantidad de %3$s.
	Esta transaccion ya ha sido verificada y no se requiere de accion alguna.',
	'DONATION_RECEIVED_MSG_UNVERIFIED'	=> 'Hola,
	Tu’has recibido una donacion desde %2$s ( %1$s ) con la cantidad de %3$s',

	'ERROR_LOGGING'					=> 'Registro de Errores',
	'ERROR_LOGGING_EXPLAIN'			=> 'Registro de Errores y Datos en /store/transaction.log',
	'ERROR_NO_EXCHANGE_DATA'		=> 'Error: Sin intercambio de datos',

	'FOUNDER_MANAGE'				=> 'Solo el Fundador puede administrar',
	'FOUNDER_MANAGE_EXPLAIN'		=> 'Si esta opcion esta activada, solo los Fundadores pueden ajustar las opciones de este MOD',

	'HTTP_ERROR'					=> 'HTTP Error al intentar conectar',

	'INVALID_TRANSACTION_RECORD'	=> 'Registro de transacciones no valido: No se ha encontrado el ID de la transaccion',

	'MOD_DISABLED'					=> 'Este mod se encuentra deshabilitado, por favor contacta con el Administrador',
	'MOD_INSTALLED_SUCCESSFULLY'	=> 'MOD satisfactoriamente instalado, version: %s',
	'MOD_UPDATED_SUCCESSFULLY'		=> 'MOD satisfactoriamente actualizado a %s',

	'NO_SUBJECT'					=> 'No se ha especificado un asunto',
	'NO_TRANSACTION_ID'				=> 'ID de la transaccion no especificado',

	'PAYPAL_ADDRESS'				=> 'Direccion PayPal',
	'PAYPAL_DEBUG'					=> 'Activar la depuracion',
	'PAYPAL_DEBUG_EXPLAIN'			=> 'Fundadores siempre utilizan Sandbox y cada detalle de la transaccion es registrado, desactivalo para su uso normal',
	'PAYPAL_STYLE'					=> 'Estilo de PayPal',
	'PAYPAL_STYLE_EXPLAIN'			=> 'Ingresa el nombre del estilo de PayPal, en tu caso',
	'PHP5_OR_ABOVE_REQUIRED'		=> 'PHP 5.0 o superior es requerido para usar este MOD. PHP4 finalizo desde el 1 de enero de 2008',

	'SANDBOX_ADDRESS'				=> 'Direccion Sandbox PayPal',
	'SANDBOX_TESTING'				=> 'Probando Sandbox',
	'SEND_CONFIRM_PM'				=> 'Enviando MP de confirmacion',
	'SEND_CONFIRM_PM_EXPLAIN'		=> 'Selecciona No para enviar confirmacion por correo electronico',
	'SUPPORTER_REWARDS'				=> 'Recompensas para Donadores',
	'SUPPORTERS_GROUP'				=> 'Grupo de Donadores',
	'SUPPORTERS_GROUP_EXPLAIN'		=> 'Selecciona el grupo del usuario para agregarlo automaticamente',

	'THANKS_DONATION'				=> 'Muchas gracias por tu donacion',
	'TRANSACTION_ALREADY_CONFIRMED'	=> 'Esta transaccion ha sido confirmada',
	'TRANSACTION_NOT_VALID'			=> 'Esta transaccion no es valida o no ha sido originada desde este sitio.',
	'TRANSACTION_NOT_VERIFIED'		=> 'Transaccion no verificada. Haz clic en el siguiente enlace para verificar la transaccion: %s',
	'TRANSACTION_VERIFIED'			=> 'Transaccion verificada',
	'TRANSACTION_VERIFICATION_FAILED'	=> 'Verificacion de transaccion fallida',

	'UPDATE_MOD_REQUIRED'			=> 'Debes de actualizar este mod para proceder. %sClic aqui para actualizar el mod%s',

	'currency_code'			=> array(
		'USD'	=> 'U.S. Dollars',
		'AUD'	=> 'Australian Dollars',
		'CAD'	=> 'Canadian Dollars',
		'CZK'	=> 'Czech Koruna',
		'DKK'	=> 'Danish Kroner',
		'EUR'	=> 'Euros',
		'HKD'	=> 'Hong Kong Dollars',
		'HUF'	=> 'Hungarian Forint',
		'NZD'	=> 'New Zealand Dollars',
		'NOK'	=> 'Norwegian Kroner',
		'PLN'	=> 'Polish Zlotych',
		'GBP'	=> 'Pounds Sterling',
		'SGD'	=> 'Singapore Dollars',
		'SEK'	=> 'Swedish Kronor',
		'CHF'	=> 'Swiss Francs',
		'JPY'	=> 'Yen',
	),

	'country_options'		=> array(
		'US'	=> 'United States',
		'AL'	=> 'Albania',
		'DZ'	=> 'Algeria',
		'AD'	=> 'Andorra',
		'AO'	=> 'Angola',
		'AI'	=> 'Anguilla',
		'AG'	=> 'Antigua and Barbuda',
		'AR'	=> 'Argentina',
		'AM'	=> 'Armenia',
		'AW'	=> 'Aruba',
		'AU'	=> 'Australia',
		'AT'	=> 'Austria',
		'AZ'	=> 'Azerbaijan Republic',
		'BS'	=> 'Bahamas',
		'BH'	=> 'Bahrain',
		'BB'	=> 'Barbados',
		'BE'	=> 'Belgium',
		'BZ'	=> 'Belize',
		'BJ'	=> 'Benin',
		'BM'	=> 'Bermuda',
		'BT'	=> 'Bhutan',
		'BO'	=> 'Bolivia',
		'BA'	=> 'Bosnia and Herzegovina',
		'BW'	=> 'Botswana',
		'BR'	=> 'Brazil',
		'VG'	=> 'British Virgin Islands',
		'BN'	=> 'Brunei',
		'BG'	=> 'Bulgaria',
		'BF'	=> 'Burkina Faso',
		'BI'	=> 'Burundi',
		'KH'	=> 'Cambodia',
		'CA'	=> 'Canada',
		'CV'	=> 'Cape Verde',
		'KY'	=> 'Cayman Islands',
		'TD'	=> 'Chad',
		'CL'	=> 'Chile',
		'C2'	=> 'China',
		'CO'	=> 'Colombia',
		'KM'	=> 'Comoros',
		'CK'	=> 'Cook Islands',
		'CR'	=> 'Costa Rica',
		'HR'	=> 'Croatia',
		'CY'	=> 'Cyprus',
		'CZ'	=> 'Czech Republic',
		'CD'	=> 'Democratic Republic of the Congo',
		'DK'	=> 'Denmark',
		'DJ'	=> 'Djibouti',
		'DM'	=> 'Dominica',
		'DO'	=> 'Dominican Republic',
		'EC'	=> 'Ecuador',
		'SV'	=> 'El Salvador',
		'ER'	=> 'Eritrea',
		'EE'	=> 'Estonia',
		'ET'	=> 'Ethiopia',
		'FK'	=> 'Falkland Islands',
		'FO'	=> 'Faroe Islands',
		'FM'	=> 'Federated States of Micronesia',
		'FJ'	=> 'Fiji',
		'FI'	=> 'Finland',
		'FR'	=> 'France',
		'GF'	=> 'French Guiana',
		'PF'	=> 'French Polynesia',
		'GA'	=> 'Gabon Republic',
		'GM'	=> 'Gambia',
		'DE'	=> 'Germany',
		'GI'	=> 'Gibraltar',
		'GR'	=> 'Greece',
		'GL'	=> 'Greenland',
		'GD'	=> 'Grenada',
		'GP'	=> 'Guadeloupe',
		'GT'	=> 'Guatemala',
		'GN'	=> 'Guinea',
		'GW'	=> 'Guinea Bissau',
		'GY'	=> 'Guyana',
		'HN'	=> 'Honduras',
		'HK'	=> 'Hong Kong',
		'HU'	=> 'Hungary',
		'IS'	=> 'Iceland',
		'IN'	=> 'India',
		'ID'	=> 'Indonesia',
		'IE'	=> 'Ireland',
		'IL'	=> 'Israel',
		'IT'	=> 'Italy',
		'JM'	=> 'Jamaica',
		'JP'	=> 'Japan',
		'JO'	=> 'Jordan',
		'KZ'	=> 'Kazakhstan',
		'KE'	=> 'Kenya',
		'KI'	=> 'Kiribati',
		'KW'	=> 'Kuwait',
		'KG'	=> 'Kyrgyzstan',
		'LA'	=> 'Laos',
		'LV'	=> 'Latvia',
		'LS'	=> 'Lesotho',
		'LI'	=> 'Liechtenstein',
		'LT'	=> 'Lithuania',
		'LU'	=> 'Luxembourg',
		'MG'	=> 'Madagascar',
		'MW'	=> 'Malawi',
		'MY'	=> 'Malaysia',
		'MV'	=> 'Maldives',
		'ML'	=> 'Mali',
		'MT'	=> 'Malta',
		'MH'	=> 'Marshall Islands',
		'MQ'	=> 'Martinique',
		'MR'	=> 'Mauritania',
		'MU'	=> 'Mauritius',
		'YT'	=> 'Mayotte',
		'MX'	=> 'Mexico',
		'MN'	=> 'Mongolia',
		'MS'	=> 'Montserrat',
		'MA'	=> 'Morocco',
		'MZ'	=> 'Mozambique',
		'NA'	=> 'Namibia',
		'NR'	=> 'Nauru',
		'NP'	=> 'Nepal',
		'NL'	=> 'Netherlands',
		'AN'	=> 'Netherlands Antilles',
		'NC'	=> 'New Caledonia',
		'NZ'	=> 'New Zealand',
		'NI'	=> 'Nicaragua',
		'NE'	=> 'Niger',
		'NU'	=> 'Niue',
		'NF'	=> 'Norfolk Island',
		'NO'	=> 'Norway',
		'OM'	=> 'Oman',
		'PW'	=> 'Palau',
		'PA'	=> 'Panama',
		'PG'	=> 'Papua New Guinea',
		'PE'	=> 'Peru',
		'PH'	=> 'Philippines',
		'PN'	=> 'Pitcairn Islands',
		'PL'	=> 'Poland',
		'PT'	=> 'Portugal',
		'QA'	=> 'Qatar',
		'CG'	=> 'Republic of the Congo',
		'RE'	=> 'Reunion',
		'RO'	=> 'Romania',
		'RU'	=> 'Russia',
		'RW'	=> 'Rwanda',
		'VC'	=> 'Saint Vincent and the Grenadines',
		'WS'	=> 'Samoa',
		'SM'	=> 'San Marino',
		'ST'	=> 'S„o TomÈ and PrÌncipe',
		'SA'	=> 'Saudi Arabia',
		'SN'	=> 'Senegal',
		'SC'	=> 'Seychelles',
		'SL'	=> 'Sierra Leone',
		'SG'	=> 'Singapore',
		'SK'	=> 'Slovakia',
		'SI'	=> 'Slovenia',
		'SB'	=> 'Solomon Islands',
		'SO'	=> 'Somalia',
		'ZA'	=> 'South Africa',
		'KR'	=> 'South Korea',
		'ES'	=> 'Spain',
		'LK'	=> 'Sri Lanka',
		'SH'	=> 'St. Helena',
		'KN'	=> 'St. Kitts and Nevis',
		'LC'	=> 'St. Lucia',
		'PM'	=> 'St. Pierre and Miquelon',
		'SR'	=> 'Suriname',
		'SJ'	=> 'Svalbard and Jan Mayen Islands',
		'SZ'	=> 'Swaziland',
		'SE'	=> 'Sweden',
		'CH'	=> 'Switzerland',
		'TW'	=> 'Taiwan',
		'TJ'	=> 'Tajikistan',
		'TZ'	=> 'Tanzania',
		'TH'	=> 'Thailand',
		'TG'	=> 'Togo',
		'TO'	=> 'Tonga',
		'TT'	=> 'Trinidad and Tobago',
		'TN'	=> 'Tunisia',
		'TR'	=> 'Turkey',
		'TM'	=> 'Turkmenistan',
		'TC'	=> 'Turks and Caicos Islands',
		'TV'	=> 'Tuvalu',
		'UG'	=> 'Uganda',
		'UA'	=> 'Ukraine',
		'AE'	=> 'United Arab Emirates',
		'GB'	=> 'United Kingdom',
		'UY'	=> 'Uruguay',
		'VU'	=> 'Vanuatu',
		'VA'	=> 'Vatican City State',
		'VE'	=> 'Venezuela',
		'VN'	=> 'Vietnam',
		'WF'	=> 'Wallis and Futuna Islands',
		'YE'	=> 'Yemen',
		'ZM'	=> 'Zambia',
	),
));

?>
Search (Buscar)

Code: Select all

	'DONATE_TO_SITENAME'			=> 'Donación para www.FIFA-XGamers.com',
Change the name of the website (Cambia el nombre por el de tu sitio web)

Search: (Buscar)

Code: Select all

	'DONATE_TO_SITENAME_EXPLAIN'	=> 'Ayuda a FIFA-XGamers.com haciendo una donación usando PayPal.<br />
	Tus donaciones garantizarán el poder pagar nuestras facturas de alojamiento y estar en condiciones de mantener este sitio en línea en beneficio de nuestros usuarios.<br />
	Cuando haces una donación para FIFA-XGamers.com con un mínimo de %2$s, serás automáticamente agregado al Grupo %3$s y recibirás futuras recompensas. Asegúrate de que estas identificado al realizar la donación para recibir este beneficio.<br /><br />Si puedes donar más de %2$s nos mantendrás motivados para seguir haciendo de ésta la mejor comunidad fifera de Latinoaméerica. :)',
Changes the selected text for your new message (Cambia el texto seleccionado por tu nuevo mensaje)

**************************************************************************************************************************

language/es/mods/info_acp_donation_mod.php

Code: Select all

<?php
/**
*
* acp_ban [Spanish Translation - Jorup16]
*
* @package language
* @version $Id: info_acp_donation_mod.php 3 2008-04-04 20:41:37Z Highway of Life $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
 * @ignore
 */
if (!defined('IN_PHPBB'))
{
	exit;
}

/**
* DO NOT CHANGE
*/
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

// Spanish Translation - Jorup16 - www.fifa-guate.com / www.fifa-xgamers.com

$lang = array_merge($lang, array(
	'ACP_DONATION_MANAGEMENT'		=> 'Administracion PayPal Donation MOD',
	'ACP_DONATION_MOD'				=> 'Donation MOD Configuración',
	'ACP_DONATE_SETTINGS'			=> 'Opciones',
	'ACP_DONATE_REWARDS'			=> 'Recompensas',
	'ACP_DONATE_GOALS'				=> 'Metas',
	'ACP_DONATE_DONATIONS'			=> 'Donaciones',
	'ACP_DONATE_SUPPORTERS'			=> 'Patrocinadores', 
));

?>
language/es/email/paypal_donation.txt

Code: Select all

Estimado {TO_USERNAME},

Has recibido una donación vía PayPal por {PAYER_USERNAME} ({PAYER_EMAIL}) por un monto de {AMOUNT}

~~~~~~~~~~~~~~~~~~~~~~~~~~~

{MESSAGE}

Do not forget to configure from the ACP mod changing the email address, country, currency, etc.
(No olvides configurar el mod desde el ACP cambiando la dirección de correo electrónico, país, moneda, etc.)

Locked

Return to “[3.0.x] Abandoned MODs”