[ABD]Donation MOD with PayPal IPN Ver 1.0.4

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.
Locked
sandodo
Registered User
Posts: 278
Joined: Mon Jul 19, 2004 7:13 am
Location: 11111111
Contact:

[ABD]Donation MOD with PayPal IPN Ver 1.0.4

Post by sandodo » Sun May 11, 2008 4:28 pm

##############################################################
## MOD Title: Loewen Exchange Donation MOD
## MOD Author: sandodo < zouxiong@loewen.com.sg > (Xiong Zou) http://bbs.loewen.com.sg & http://forum.loewen.com.sg
## MOD Description: Admin can set PayPal accounts to receive donations,
## Donors can choose to be anonymous when donation,
## Admin can set how many points to give to donor when donation, (Must have points MOD installed, otherwise, set it to 0 )
## Admin can also set how many posts count to give to donor when donation,
## Admin can set current donation goal, description and duration,
## Admin can set to display top donors or last donors,
## Admin can manually inset donation information
## Admin can set which group the donor can join after donation, currently support different two groups
## Admin can set which special rank the donor will be set to after donation, anonymous donor will not be set for this special rank
## Support Payment Plugins. Admin can add plugins to have more way to collect donations, which can be found at Donation MOD Plugins section
## Admin can enable and disable plugins.
## support 10 more currency types.
## support recurring donations.
##
## Note: Your PayPal account must be Premier/Business Account to be able to receive Credit Card Payment,
## For any support issues or check any newest version or patches, please come to my support forum:
## For English: http://bbs.loewen.com.sg
## For Chinese: http://forum.loewen.com.sg
##
## MOD Version: 1.0.4
## MOD Requirements: PHPBB Version 3.0.1+; (But not quite related, other version of PHPBB3 should support too)
##
## Installation Level: Easy
## Installation Time: ~ 10 minutes.
Updated at 11/May/2008

Remember to backup all your files and Database data before you install this MOD.

New Features:
1. support PHPBB3, the biggest change ever.
2. support customizable donation explanation at donate page.

Note: Your PayPal account must be Premier/Business Account to be able to receive Credit Card Payment,

MODs of this MOD:
1. MODs made for ver 1.0.2 may be useful for ver 1.0.4. They can be found at http://loewen.com.sg/bbs/viewtopic.php?t=543
But use them wisely since phpbb3 and phpbb2 are quite different

Demo Site:
http://www.loewen.com.sg/phpbb3donate

For the styles that are different from prosilver, you have to do modifications accordingly.

Note:
1. Currently there is no upgrade instruction from 1.0.3 to 1.0.4, for 1.0.3 is for PHPBB2 and 1.0.4 is for PHPBB3

2. The installation instruction file is not EasyMOD compitable, However I am not sure whether it is or not, since I followed the format, who knows maybe it is compitable? ;-)

To donwload: please go to http://loewen.com.sg/bbs/viewtopic.php?p=8099#8099
Last edited by A_Jelly_Doughnut on Wed Jan 13, 2010 4:25 pm, edited 3 times in total.
Reason: Marked as Abandoned. Download broken

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25182
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [Beta]Donation MOD with PayPal IPN Ver 1.0.4

Post by Paul » Mon May 12, 2008 7:16 am

Hello,

Its required to have your download public, without a registration, following rule 3.b.iv.iii.
Please update your permissions to allow this.

Thanks.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

sandodo
Registered User
Posts: 278
Joined: Mon Jul 19, 2004 7:13 am
Location: 11111111
Contact:

Re: [Beta]Donation MOD with PayPal IPN Ver 1.0.4

Post by sandodo » Tue May 13, 2008 12:53 am

registration requirement has been removed, alternatively you can download it from sourceforge.net:
https://sourceforge.net/project/showfil ... _id=227731

this link is also inside the post of my site.
My site - based on PHPBB
http://www.singapurate.com

clight77
Registered User
Posts: 907
Joined: Sun May 11, 2003 11:09 pm

Re: [Beta]Donation MOD with PayPal IPN Ver 1.0.4

Post by clight77 » Tue May 13, 2008 1:23 am

Hey thanks sandodo, glad you got it out :)
I Follow Up On My Posts.
So Should Everybody...

User avatar
Elias
Registered User
Posts: 4625
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias

Re: [Beta]Donation MOD with PayPal IPN Ver 1.0.4

Post by Elias » Tue May 13, 2008 2:14 am

Very nice MOD!
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|

clight77
Registered User
Posts: 907
Joined: Sun May 11, 2003 11:09 pm

Re: [Beta]Donation MOD with PayPal IPN Ver 1.0.4

Post by clight77 » Tue May 13, 2008 3:36 am

There is a problem with start and end donation date in ACP.

I get this error after entering start and end dates in ACP :
It will not accept an end date that works..

Fatal error: Call to undefined function create_date() in /home/oneohone/public_html/includes/lw_donate_functions_V3.php on line 470
I Follow Up On My Posts.
So Should Everybody...

clight77
Registered User
Posts: 907
Joined: Sun May 11, 2003 11:09 pm

Re: [Beta]Donation MOD with PayPal IPN Ver 1.0.4

Post by clight77 » Tue May 13, 2008 3:40 am

Also install.xml overall_header.html is flawed as i see.

Open: styles/prosilver/template/overall_header.html
Find

Tip: This may be a partial find and not the whole line.

{L_FAQ}

Add before

Tip: Add these lines on a new blank line before the preceding line(s) to find.

{L_DONATE}


Does not make a link.

It should be something like this i think.
<li class="icon-faq"><a href="http://www.yoursite.com/lwdonate.php"title="Paypal Donate">{L_DONATE}</a>&nbsp;&nbsp;</li>
Last edited by clight77 on Tue May 13, 2008 3:44 am, edited 1 time in total.
I Follow Up On My Posts.
So Should Everybody...

clight77
Registered User
Posts: 907
Joined: Sun May 11, 2003 11:09 pm

Re: [Beta]Donation MOD with PayPal IPN Ver 1.0.4

Post by clight77 » Tue May 13, 2008 3:43 am

Also in install.xml : Their is no Find in styles/prosilver/template/index_body.html

Open: styles/prosilver/template/index_body.html
Find

Tip: This may be a partial find and not the whole line.

Add before

Tip: Add these lines on a new blank line before the preceding line(s) to find.

{L_LW_LAST_DONORS}
{LW_LAST_DONORS}


I see, it is users choice where to put and have it show
Last edited by clight77 on Sat Jun 21, 2008 9:43 pm, edited 1 time in total.
I Follow Up On My Posts.
So Should Everybody...

sandodo
Registered User
Posts: 278
Joined: Mon Jul 19, 2004 7:13 am
Location: 11111111
Contact:

Re: [Beta]Donation MOD with PayPal IPN Ver 1.0.4

Post by sandodo » Wed May 14, 2008 10:05 am

Please download the new version, it has been updated. detailes please check http://loewen.com.sg/bbs/viewtopic.php?p=8153#8153

And for I developed the MOD based on 3.0.1 version, old version may have different template. You can let me know our phpbb version so that I can help you on how to modify the templates.
My site - based on PHPBB
http://www.singapurate.com

Brooksy87
Registered User
Posts: 32
Joined: Mon Apr 28, 2008 4:40 pm

Re: [Beta]Donation MOD with PayPal IPN Ver 1.0.4

Post by Brooksy87 » Wed May 14, 2008 11:20 am

hey, i have this error please help..
General Error
SQL ERROR [ mysql4 ]

Table 'hantscc.ACCT_HIST_TABLE' doesn't exist [1146]

SQL

SELECT COUNT(*) FROM ACCT_HIST_TABLE WHERE comment LIKE 'donate from%' GROUP BY user_id

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/lw_donate_functions_V3.php
LINE: 525
CALL: dbal_mysql->sql_query()

FILE: index.php
LINE: 130
CALL: last_donors()

User avatar
paciuli
Registered User
Posts: 64
Joined: Thu Dec 06, 2007 10:36 pm

Re: [Beta]Donation MOD with PayPal IPN Ver 1.0.4

Post by paciuli » Wed May 14, 2008 2:32 pm

I can't configure this mod... my board is in italian language, i've copied all the files (duplicating /language/en in /language/it) and modified /adm/index.php, to no avail... i just can't find the module in ACP. Suggestions? :oops:
Biliardoweb - Italian billiard community - http://www.biliardoweb.com

sandodo
Registered User
Posts: 278
Joined: Mon Jul 19, 2004 7:13 am
Location: 11111111
Contact:

Re: [Beta]Donation MOD with PayPal IPN Ver 1.0.4

Post by sandodo » Wed May 14, 2008 2:46 pm

Brooksy87 wrote:hey, i have this error please help..
General Error
SQL ERROR [ mysql4 ]

Table 'hantscc.ACCT_HIST_TABLE' doesn't exist [1146]

SQL

SELECT COUNT(*) FROM ACCT_HIST_TABLE WHERE comment LIKE 'donate from%' GROUP BY user_id

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/lw_donate_functions_V3.php
LINE: 525
CALL: dbal_mysql->sql_query()

FILE: index.php
LINE: 130
CALL: last_donors()
The error means table account_hist doesnot exist in your database.
you have to run http://www.yourdomain.com/lw_donate_db.php?mode=install from your browser, replace http://www.yourdomain.com with your server name and path. All the database modification will be done by lw_donate_db.php
My site - based on PHPBB
http://www.singapurate.com

User avatar
paciuli
Registered User
Posts: 64
Joined: Thu Dec 06, 2007 10:36 pm

Re: [Beta]Donation MOD with PayPal IPN Ver 1.0.4

Post by paciuli » Wed May 14, 2008 2:50 pm

sandodo wrote:you have to run http://www.yourdomain.com/lw_donate_db.php?mode=install from your browser, replace http://www.yourdomain.com with your server name and path. All the database modification will be done by lw_donate_db.php
Solved my "problem" too... sorry :oops: ;)
Biliardoweb - Italian billiard community - http://www.biliardoweb.com

Brooksy87
Registered User
Posts: 32
Joined: Mon Apr 28, 2008 4:40 pm

Re: [Beta]Donation MOD with PayPal IPN Ver 1.0.4

Post by Brooksy87 » Wed May 14, 2008 5:23 pm

Yeah thanks!! wasn't explained in the readme.. ;)

Come across another issue now of which you have mail explaining ;)

sandodo
Registered User
Posts: 278
Joined: Mon Jul 19, 2004 7:13 am
Location: 11111111
Contact:

Re: [Beta]Donation MOD with PayPal IPN Ver 1.0.4

Post by sandodo » Sat May 17, 2008 4:53 am

Brooksy87 wrote:Yeah thanks!! wasn't explained in the readme.. ;)

Come across another issue now of which you have mail explaining ;)
Sometimes just foget to mention it everywhere. but my site will always have the latest and updated information and version.

For your email:
Ahh... thanks yeah i saw this post whcih helped me get the after install bit correct. but i think soemthign is worng. the settigns arn't showing up shows an error.

General Error
No mode specified.


There's nothing happening. Everythign else seems to be working fine. Just when i click Donation Mod - settings it goes to this error. :S

Regards,
Gavin
It maybe because that you used version from CoC downloaded from my site?

in the lw_donate_db.pp, the mode is default, and in CoC's new version of acp_lw_donate_mod_settings.php, it is settings. I guess that caused the problem.
you can try to change your includes/acp/acp_lw_donate_mod_settings.php on following:
from

Code: Select all

		$submit = isset($_POST['submit']) ? true : false;
		switch ($mode)
		{
			settings:
				if ($submit)
to

Code: Select all

		$submit = isset($_POST['submit']) ? true : false;
		switch ($mode)
		{
			default:
				if ($submit)
And for includes/acp/info/acp_lw_donate_mod_settings.php
from

Code: Select all

			'modes'		=> array(
				'setings'	=> array('title' => 'ACP_LW_DONATE_MOD_SETTINGS', 'auth' => 'acl_a_', 'cat' => array('ACP_DOT_MODS')),
			),
to

Code: Select all

			'modes'		=> array(
				'default'	=> array('title' => 'ACP_LW_DONATE_MOD_SETTINGS', 'auth' => 'acl_a_', 'cat' => array('ACP_DOT_MODS')),
			),
let me know whether it is the cause, if not, I need to see both of your acp_lw_donate_mod_settings.php file
My site - based on PHPBB
http://www.singapurate.com

Locked

Return to “[3.0.x] Abandoned MODs”