<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
dmzx
Founder
Posts: 6429 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 12 Apr 2015, 23:26
Extension Name: Paypal Donation
Author: Stoker extension by
dmzx
Extension Description:
A simple Paypal Donation extension
- Drop support for 3.1.
- Twig update.
Update code in listener.
Update code in donation controller.
Compatible with 3.2 (icon).
Added acp_donation language file.
Deleted donation_goal_currency_enable.
Code update
Code update
Code update
Code update utf8_normalize_nfc on currency
Code update
Code update
On index show % after value 3
On donate page show % after value 5
Add yellow bar image
Code update
Add admin log
Screenshots:
Top of forum
Bottom of forum
Demo:
If you like it donate
Extension Download:
Installation:
Download the latest release.
Unzip the downloaded release, and change the name of the folder to `donation `.
In the `ext ` directory of your phpBB board, create a new directory named `dmzx ` (if it does not already exist).
Copy the `donation ` folder to `/ext/dmzx/ ` if done correctly, you'll have the main extension class at
(your forum root)/ext/dmzx/donation/composer.json
Navigate in the ACP to `Customise -> Manage extensions`
Look for `Paypal Donation ` under the Disabled Extensions list, and click its `Enable ` link.
JohnDory
Donator
Posts: 20 Joined: 01 Apr 2015, 01:11
Post
by JohnDory » 13 Apr 2015, 00:33
I've just tried installing it and got the following error.
Code: Select all
General Error
SQL ERROR [ mysqli ]
Table 'harry_et_forum.phpbb_donation' doesn't exist [1146]
SQL
INSERT INTO phpbb_donation (config_name, config_value) VALUES ('donation_body', ''), ('donation_success', ''), ('donation_cancel', '')
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 194
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 650
CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 377
CALL: phpbb\db\driver\driver->sql_multi_insert()
FILE: [ROOT]/ext/dmzx/donation/migrations/donation_schema_1.php
LINE: 43
CALL: phpbb\db\driver\factory->sql_multi_insert()
FILE: (not given by php)
LINE: (not given by php)
CALL: dmzx\donation\migrations\donation_schema_1->insert_sample_data()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 550
CALL: call_user_func_array()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 496
CALL: phpbb\db\migrator->run_step()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 322
CALL: phpbb\db\migrator->process_data_step()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 202
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 185
CALL: phpbb\db\migrator->update_do()
FILE: [ROOT]/phpbb/extension/base.php
LINE: 80
CALL: phpbb\db\migrator->update()
FILE: [ROOT]/phpbb/extension/manager.php
LINE: 187
CALL: phpbb\extension\base->enable_step()
FILE: [ROOT]/includes/acp/acp_extensions.php
LINE: 184
CALL: phpbb\extension\manager->enable_step()
FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: acp_extensions->main()
FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
Cheers.
Mike.
Peralta
Donator
Posts: 190 Joined: 13 Dec 2014, 17:04
Post
by Peralta » 13 Apr 2015, 00:48
Thanks
dmzx
Tested on my test site and it works great
I speak spanish. Sorry for my bad english.
JohnDory
Donator
Posts: 20 Joined: 01 Apr 2015, 01:11
Post
by JohnDory » 13 Apr 2015, 00:54
it must be something wrong with mine as I just tried
systeminfo and got
Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/ext/dmzx/systeminfo/event/listener.php on line 44: shell_exec() has been disabled for security reasons
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5133: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5133: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5133: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
I have quite a few extensions in there, must be a conflict somewhere, time to go through it again I think.
Cheers.
Mike.
dmzx
Founder
Posts: 6429 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 13 Apr 2015, 07:00
Update version Paypaldonation by dmzx
JohnDory
Donator
Posts: 20 Joined: 01 Apr 2015, 01:11
Post
by JohnDory » 13 Apr 2015, 12:18
dmzx wrote: Update version Paypaldonation by dmzx
works like a charm
Cheers.
Mike.
Jaantje
Users
Posts: 356 Joined: 02 Nov 2014, 21:25
Post
by Jaantje » 13 Apr 2015, 20:59
dmzx test on mine testboard, works
I have also made the Dutch translation for the people who are interested:
Paypal Donation vesrion 0.0.2 - Dutch Translation.zip
Grreeetttttzzzzz, Jaantje
dmzx
Founder
Posts: 6429 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 13 Apr 2015, 22:11
Jaantje wrote: dmzx test on mine testboard, works
I have also made the Dutch translation for the people who are interested:
Paypal Donation vesrion 0.0.2 - Dutch Translation.zip
Thanks
Jaantje
dmzx
Founder
Posts: 6429 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 13 Apr 2015, 22:12
New version 0.1.0 see Update version 0.1.0 · dmzx/paypaldonation@5ae59e7 · GitHub for changes
dmzx
Founder
Posts: 6429 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 13 Apr 2015, 23:33
New Version see update version 0.1.1 · dmzx/paypaldonation@1cb8309 · GitHub for changes.
dmzx
Founder
Posts: 6429 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 14 Apr 2015, 17:45
New Version see Update version 0.1.2 · dmzx/paypaldonation@6bbeda8 · GitHub for changes.
Jaantje
Users
Posts: 356 Joined: 02 Nov 2014, 21:25
Post
by Jaantje » 14 Apr 2015, 19:12
problem with the install from version 0.1.2.:
Code: Select all
Algemene fout
SQL ERROR [ mysqli ]
Duplicate entry 'donation_body' for key 'PRIMARY' [1062]
SQL
INSERT INTO phpbb_donation (config_name, config_value) VALUES ('donation_body', ''), ('donation_success', ''), ('donation_cancel', '')
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 194
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 650
CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 377
CALL: phpbb\db\driver\driver->sql_multi_insert()
FILE: [ROOT]/ext/dmzx/donation/migrations/donation_sample_data.php
LINE: 49
CALL: phpbb\db\driver\factory->sql_multi_insert()
FILE: (not given by php)
LINE: (not given by php)
CALL: dmzx\donation\migrations\donation_sample_data->insert_sample_data()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 550
CALL: call_user_func_array()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 496
CALL: phpbb\db\migrator->run_step()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 322
CALL: phpbb\db\migrator->process_data_step()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 202
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 185
CALL: phpbb\db\migrator->update_do()
FILE: [ROOT]/phpbb/extension/base.php
LINE: 80
CALL: phpbb\db\migrator->update()
FILE: [ROOT]/phpbb/extension/manager.php
LINE: 187
CALL: phpbb\extension\base->enable_step()
FILE: [ROOT]/includes/acp/acp_extensions.php
LINE: 184
CALL: phpbb\extension\manager->enable_step()
FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: acp_extensions->main()
FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
Breng de forumbeheerder of sitebeheerder op de hoogte: jacko@jaantje.eu
Grreeetttttzzzzz, Jaantje
Jaantje
Users
Posts: 356 Joined: 02 Nov 2014, 21:25
Post
by Jaantje » 14 Apr 2015, 21:52
dmzx thanks for your cooperation. It works perfectly again
Grreeetttttzzzzz, Jaantje
dmzx
Founder
Posts: 6429 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 14 Apr 2015, 21:53
Jaantje wrote: dmzx thanks for your cooperation. It works perfectly again
dmzx
Founder
Posts: 6429 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 14 Apr 2015, 22:24
New version available see Update Version 0.1.3 · dmzx/paypaldonation@b3c4e01 · GitHub for changes