[ABD] Donation MOD with Multiple Payment Options and IPN

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.
User avatar
eunaumtenhoid
Registered User
Posts: 845
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [RC] Donation MOD with Multiple Payment Options

Post by eunaumtenhoid » Wed May 30, 2012 12:13 pm

suggestions:
  • block for board3portal with link to the donations page. And with progress bar and due date for donations this month.
  • Expiration date for donations this month.
  • Can customize a method of giving, for example in my case I can use pagseguro (Brazil)
thanks for mod^^
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

pixie1
Registered User
Posts: 21
Joined: Sat Jan 29, 2011 1:07 pm

Re: [RC] Donation MOD with Multiple Payment Options

Post by pixie1 » Tue Jun 05, 2012 9:44 pm

I did the translation in PT "portuguese", here I leave for those interested.

donation.php

Code: Select all

<?php
/** 
*
* Donation MOD with Multiple Payment Options [Spanish]
*
* @package language
* @version $Id$
* @copyright (c) 2011 Siropu, http://www.siropu.com
* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
*
* Translation Spanish: ThE KuKa (Raul) - http://www.phpbb-es.com
*
*/

/**
* 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(
    'MINIMUM_DONATION_MESSAGE'  => 'A quantidade de doação minima é',
    'SELECT_METHOD'             => 'Selecione o método de doação',
    'DONATION_TO'               => 'Doação para',
    'AMOUNT'                    => 'Quantidade',
    'BODY_TITLE'                => 'Doar',
    'PAYPAL_TITLE'              => 'Doação PayPal',
	'PAYPAL_DISABLED'           => 'As doações através do PayPal estão desativadas. Por favor, volte mais tarde.',
    'PAYZA_TITLE'               => 'Doação Payza',
	'PAYZA_DISABLED'            => 'As doações através do Payza estão desativadas. Por favor, volte mais tarde.',
    'MONEYBOOKERS_TITLE'        => 'Doação Moneybookers',
	'MONEYBOOKERS_DISABLED'     => 'As doações através do Moneybookers estão desativadas. Por favor, volte mais tarde.',
	'LIBERTYRESERVE_TITLE'      => 'Doação Liberty Reserve',
	'LIBERTYRESERVE_DISABLED'   => 'As doações através do Liberty Reserve estão desativadas. Por favor, volte mais tarde.',
	'WEBMONEY_TITLE'            => 'Doação WebMoney',
	'WEBMONEY_DISABLED'         => 'As doações através do WebMoney estão desativadas. Por favor, volte mais tarde.',
	'GOAL_TITLE'                => 'Objetivo de Doações',
	'GOAL_RECEIVED'             => 'Donativos recebidos',
	'GOAL'                      => 'Objetivo de Doações',
	'GOAL_UNTIL'                => 'Doações até ao objetivo',
	'LAST_FIVE_DONATIONS'       => 'Últimas 5 doações',
	'DONORS_LIST'               => 'Doadores',
	'DONATED'                   => 'doado',
	'VIA'                       => 'via',
	'ON'                        => 'on',
	'DONOR_USERNAME'            => 'Usuario',
	'DONOR_AMOUNT'              => 'Quantidade',
	'DONOR_METHOD'              => 'Método',
	'DONOR_DATE'                => 'Fecha',
	'NO_DONORS'                 => 'Não existe doações.',
	'NO_DONATIONS'              => 'Não há doações.',
	'LIST_DONOR'                => '1 Doador',
    'LIST_DONORS'               => '%s Doadores',
    'SUCCESS_TITLE'             => 'Doação realizada',
    'CANCEL_TITLE'              => 'Doação cancelada',
	'DISABLED'                  => 'As doações estão atualmente desativadas. Por favor, volte mais tarde.',
	'DONORS_LIST_DISABLED'      => 'A lista de doadores está atualmente desativada.',
	'NO_NON_MEMBERS_DONATIONS'  => 'Tem de ser utilizador registado para poder doar',
	'NOT_INSTALLED'             => 'MOD de Doação não instalado.',
));
?>
info_acp_donation.php

Code: Select all

<?php
/** 
*
* Donation MOD with Multiple Payment Options [Spanish]
*
* @package language
* @version $Id$
* @copyright (c) 2011 Siropu, http://www.siropu.com
* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
*
* Translation Spanish: ThE KuKa (Raul) - http://www.phpbb-es.com
*
*/

/**
* 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(
    'ACP_DONATION'                        => 'Doação MOD com MPO',
	'ACP_DONATION_CONFIG'                 => 'Configuração',
	'ACP_DONATION_GOAL'                   => 'Objetivo de Doação',
	'ACP_DONATION_DONORS'                 => 'Lista de doadores',
	'ACP_DONATION_VERSION'                => 'Versão',

	'GENERAL_CONFIG'                      => 'Definições gerais',
	'GENERAL_ENABLE'                      => 'Ativar doações',

	'PAYPAL_CONFIG'                       => 'Definições PayPal',
	'PAYPAL_ENABLE'                       => 'Ativar doações PayPal',
	'PAYPAL_EMAIL'                        => 'Email PayPal',
	'PAYPAL_MIN_AMOUNT'                   => 'Quantidade minima de doação PayPal',
	'PAYPAL_PREFERRED_CURRENCIES'         => 'Moeda preferida para PayPal',
	'PAYPAL_OPEN_ACCOUNT'                 => 'Não tens uma conta PayPal?',

	'PAYZA_CONFIG'                        => 'Definições Payza',
	'PAYZA_ENABLE'                        => 'Ativar doações Payza',
	'PAYZA_EMAIL'                         => 'Email Payza',
	'PAYZA_MIN_AMOUNT'                    => 'Quantidade minima de doação Payza',
	'PAYZA_PREFERRED_CURRENCIES'          => 'Moeda preferida para Payza',
	'PAYZA_OPEN_ACCOUNT'                  => 'Não tens uma conta Payza?',

	'MONEYBOOKERS_CONFIG'                 => 'Definições Moneybookers',
	'MONEYBOOKERS_ENABLE'                 => 'Ativar doações Moneybookers',
	'MONEYBOOKERS_EMAIL'                  => 'Email Moneybookers',
	'MONEYBOOKERS_MIN_AMOUNT'             => 'Quantidade minima de doação Moneybookers',
	'MONEYBOOKERS_PREFERRED_CURRENCIES'   => 'Moeda preferida para Moneybookers',
	'MONEYBOOKERS_OPEN_ACCOUNT'           => 'Não tens uma conta Moneybookers?',

	'LIBERTYRESERVE_CONFIG'               => 'DefiniçõesLiberty Reserve',
	'LIBERTYRESERVE_ENABLE'               => 'Ativar doações Liberty Reserve',
	'LIBERTYRESERVE_ACCOUNT'              => 'Conta Liberty Reserve',
	'LIBERTYRESERVE_MIN_AMOUNT'           => 'Quantidade minima de doação Liberty Reserve',
	'LIBERTYRESERVE_PREFERRED_CURRENCIES' => 'Moeda preferida para Liberty Reserve',
	'LIBERTYRESERVE_OPEN_ACCOUNT'         => 'Não tens uma conta Liberty Reserve?',

	'WEBMONEY_CONFIG'                     => 'Definições WebMoney',
	'WEBMONEY_ENABLE'                     => 'Ativar doações WebMoney',
	'WEBMONEY_PURSE'                      => 'Bolsa WebMoney',
	'WEBMONEY_MIN_AMOUNT'                 => 'Quantidade minima de doação WebMoney',
	'WEBMONEY_OPEN_ACCOUNT'               => 'Não tens uma conta WebMoney?',

	'PREFERRED_CURRENCIES_EXPLAIN'        => 'Voçê pode optar por aceitar doações em uma ou mais moedas, especificando o código de moeda(s). Deseja este campo vazio sim deseja aceitar doações em todas as moedas disponiveis.',

	'PAGE_CONFIG'                         => 'Definição da página',
	'PAGE_BODY'                           => 'Página principal de Doação',
	'PAGE_BODY_EXPLAIN'                   => 'Mostrar uma mensagem na pagina principal de Doação',
	'PAGE_SUCCESS'                        => 'Página de sucesso de Doação',
	'PAGE_SUCCESS_EXPLAIN'                => 'Mostrar uma mensagem na página de sucesso',
	'PAGE_CANCEL'                         => 'Página de cancelação de doação',
	'PAGE_CANCEL_EXPLAIN'                 => 'Mostrar uma mensagem na página de cancelação',

	'GOAL_CONFIG'                         => 'Definições de objetivo de doação',
	'GOAL_ENABLE'                         => 'Ativar objetivo de doação',
	'GOAL_AMOUNT_RECEIVED'                => 'Doações recibidas',
	'GOAL_AMOUNT'                         => 'Objetivo de doação',
	'GOAL_CURRENCY'                       => 'Moeda',

	'DONORS_LIST_ENABLE'                  => 'Ativar lista de doadores',
	'DONORS_LIST_TOP_FIVE_ENABLE'         => 'Mostrar o TOP 5 de Doadores na página Lista de Doadores',
	'DONORS_INDEX_TOP_FIVE_ENABLE'        => 'Mostrar o TOP 5 de Doadores no índice do fórum',
	'DONORS_LAST_FIVE_ENABLE'             => 'Mostrar as últimas 5 doações na página principal de Doação',

	'NON_MEMBERS_DONATIONS_ENABLE'        => 'Permitir aos usuarios não registados fazer uma doação',

	'DONOR_ADD'                           => 'Adicionad doador',
	'DONOR_USERNAME'                      => 'Nome do usuario',
	'DONOR_AMOUNT'                        => 'Quantidade',
	'DONOR_CURRENCY'                      => 'Moeda',
	'DONOR_METHOD'                        => 'Metodo',
	'DONOR_DATE'                          => 'Fecha',
	'ENTER_DONOR_INFO'                    => 'Por favor, preencher todos os campos.',
	'DONOR_INFO_UPDATED'                  => 'Informação de doador atualizado com sucesso.',
	'DONOR_ADDED'                         => 'Doador adicionado com sucesso.',
	'DONOR_REMOVED'                       => 'Doador eliminado corretamente.',
	'NO_DONOR_SELECTED'                   => 'Você não selecionou um doador.',
	'NO_DONORS'                           => 'Não existem doadores.',
	'LIST_DONOR'                          => '1 Doador',
    'LIST_DONORS'                         => '%s Doadores',
	
	'NOTE'                                => 'Nota',
	'NOTE_EXPLAIN'                        => 'Para exibir o nome dos membros que visitam estas páginas, simplesmente adicionar USERNAME e ser substituído pelo nome real do usuário.',
));

?>

User avatar
Siropu
Registered User
Posts: 155
Joined: Mon Nov 16, 2009 6:15 pm
Location: Romania
Contact:

Re: [RC] Donation MOD with Multiple Payment Options

Post by Siropu » Thu Jun 07, 2012 8:41 pm

Version 2.1.2 has been released!

What's new?
You can display the donation goal on board index (top/bottom).
You can use decimals.
I've fixed an issue in the Liberty Reserve form.

In the next release I hope to integrate the features mentioned in the first post.

@ pixie1, thanks for the translation. :)
In version 2.1.2 there are 4 new language lines which I've already added them in ES and PT language files (in English). All additional language files are located in contrib folder.
Check out my MODs.

Seeeler
Registered User
Posts: 78
Joined: Sat Apr 28, 2012 9:03 pm

Re: [RC] Donation MOD with Multiple Payment Options

Post by Seeeler » Thu Jun 07, 2012 11:19 pm

Thanks for the great mod :)
Can you please add the features as you mentioned on the 1st post?
Add user to the donners group automatically, waiting for it :)

User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 6062
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [RC] Donation MOD with Multiple Payment Options

Post by Raul [ThE KuKa] » Fri Jun 08, 2012 9:25 am

@Siropu, you added new language keys? to review Spanish language.
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
:flag_es: phpBB Spain - Online Since 2003 :heart:



User avatar
Prosk8er
Registered User
Posts: 1444
Joined: Sun Mar 12, 2006 3:30 am
Location: Rochester, NY
Name: Tyler
Contact:

Re: [RC] Donation MOD with Multiple Payment Options

Post by Prosk8er » Fri Jun 08, 2012 2:37 pm

Raul [ThE KuKa] wrote:@Siropu, you added new language keys? to review Spanish language.
yes it seems the spanish translations are in the mod also

User avatar
Siropu
Registered User
Posts: 155
Joined: Mon Nov 16, 2009 6:15 pm
Location: Romania
Contact:

Re: [RC] Donation MOD with Multiple Payment Options

Post by Siropu » Fri Jun 08, 2012 3:58 pm

Raul [ThE KuKa] wrote:@Siropu, you added new language keys? to review Spanish language.
Yes I did. Please check the ES files in the contrib folder because I've already add them in English. I did that to make the translators life easier. :)
Check out my MODs.

User avatar
FB92
Registered User
Posts: 181
Joined: Sun Oct 02, 2011 8:34 pm

Re: [RC] Donation MOD with Multiple Payment Options

Post by FB92 » Fri Jun 08, 2012 11:09 pm

What's up with the Moneybookers payment system? Whenever a donation is getting made they get a foreign language.

http://screensnapr.com/v/qspyKQ.jpg

User avatar
Siropu
Registered User
Posts: 155
Joined: Mon Nov 16, 2009 6:15 pm
Location: Romania
Contact:

Re: [RC] Donation MOD with Multiple Payment Options

Post by Siropu » Fri Jun 08, 2012 11:32 pm

Ok, I fixed the problem. Download version 2.1.3 from the first post.
Just replace install.php and donate/moneybookers.html with the new files and then run install.php to update the version.
Check out my MODs.

User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 6062
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [RC] Donation MOD with Multiple Payment Options

Post by Raul [ThE KuKa] » Sat Jun 09, 2012 8:15 pm

@Siropu, translation Spanish (2.1.3) to Download.

Greets. ;)
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
:flag_es: phpBB Spain - Online Since 2003 :heart:



User avatar
FB92
Registered User
Posts: 181
Joined: Sun Oct 02, 2011 8:34 pm

Re: [RC] Donation MOD with Multiple Payment Options

Post by FB92 » Sat Jun 09, 2012 9:18 pm

Did the upgrade but problem still exists.

User avatar
Siropu
Registered User
Posts: 155
Joined: Mon Nov 16, 2009 6:15 pm
Location: Romania
Contact:

Re: [RC] Donation MOD with Multiple Payment Options

Post by Siropu » Sat Jun 09, 2012 9:37 pm

Did you purge the cache?
Check out my MODs.

User avatar
FB92
Registered User
Posts: 181
Joined: Sun Oct 02, 2011 8:34 pm

Re: [RC] Donation MOD with Multiple Payment Options

Post by FB92 » Sat Jun 09, 2012 9:53 pm

yep.

User avatar
Siropu
Registered User
Posts: 155
Joined: Mon Nov 16, 2009 6:15 pm
Location: Romania
Contact:

Re: [RC] Donation MOD with Multiple Payment Options

Post by Siropu » Sun Jun 10, 2012 7:47 am

There was a language field in the form and it was set to romanian. If the form was submited before updating to version 2.1.3, moneybookers set the language value in cookie so that's why it still showing in romanian. If you delete the moneybookers cookies, it will be ok.

@Raul [ThE KuKa], thank you. :)
Check out my MODs.

User avatar
FB92
Registered User
Posts: 181
Joined: Sun Oct 02, 2011 8:34 pm

Re: [RC] Donation MOD with Multiple Payment Options

Post by FB92 » Sun Jun 10, 2012 11:17 pm

Works now. Cheers.

Locked

Return to “[3.0.x] Abandoned MODs”