[ABD] Cash Mod 1.0.0 Beta 1

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
RC212
Registered User
Posts: 6
Joined: Thu Oct 16, 2003 8:13 pm

Re: [BETA] Cash Mod 0.3.2

Post by RC212 » Fri Apr 04, 2008 4:03 pm

Greetings... I have spent the last two hours trying to sort through the post here but I still cannot find a fix to the problem that I am experiencing.

I followed the instructions as per the install file but when I run the http://notconformed.com/forum/cash_db.php?mode=install
I get this error
General Error
SQL ERROR [ mysql4 ]

Table 'phpbb_cash_amt' already exists [1050]

SQL

CREATE TABLE phpbb_cash_amt ( user_id mediumint(8) unsigned NOT NULL default '0', cash_id mediumint(8) unsigned NOT NULL default '1', cash_amt int(15) unsigned NOT NULL default '0', KEY cash_user (user_id, cash_id) );

BACKTRACE

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

FILE: cash_db.php
LINE: 73
CALL: dbal_mysql->sql_query()
I have seen where others have gotten this error but not how or where to fix it. Thank you for your help in advance.

User avatar
MasterHand
Registered User
Posts: 170
Joined: Sat Jun 17, 2006 6:34 pm
Location: includes/functions_user.php

Re: [BETA] Cash Mod 0.3.2

Post by MasterHand » Fri Apr 04, 2008 5:08 pm

RC212 wrote:Greetings... I have spent the last two hours trying to sort through the post here but I still cannot find a fix to the problem that I am experiencing.

I followed the instructions as per the install file but when I run the http://notconformed.com/forum/cash_db.php?mode=install
I get this error
General Error
SQL ERROR [ mysql4 ]

Table 'phpbb_cash_amt' already exists [1050]

SQL

CREATE TABLE phpbb_cash_amt ( user_id mediumint(8) unsigned NOT NULL default '0', cash_id mediumint(8) unsigned NOT NULL default '1', cash_amt int(15) unsigned NOT NULL default '0', KEY cash_user (user_id, cash_id) );

BACKTRACE

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

FILE: cash_db.php
LINE: 73
CALL: dbal_mysql->sql_query()
I have seen where others have gotten this error but not how or where to fix it. Thank you for your help in advance.
That error, means that the table already exists, hence the:

Table 'phpbb_cash_amt' already exists [1050]
Do you know if all of the tables are installed already? It sounds like it / they are.
One more thing....No support via PM!

RC212
Registered User
Posts: 6
Joined: Thu Oct 16, 2003 8:13 pm

Re: [BETA] Cash Mod 0.3.2

Post by RC212 » Fri Apr 04, 2008 6:30 pm

MasterHand wrote:
RC212 wrote:Greetings... I have spent the last two hours trying to sort through the post here but I still cannot find a fix to the problem that I am experiencing.

I followed the instructions as per the install file but when I run the http://notconformed.com/forum/cash_db.php?mode=install
I get this error
General Error
SQL ERROR [ mysql4 ]

Table 'phpbb_cash_amt' already exists [1050]

SQL

CREATE TABLE phpbb_cash_amt ( user_id mediumint(8) unsigned NOT NULL default '0', cash_id mediumint(8) unsigned NOT NULL default '1', cash_amt int(15) unsigned NOT NULL default '0', KEY cash_user (user_id, cash_id) );

BACKTRACE

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

FILE: cash_db.php
LINE: 73
CALL: dbal_mysql->sql_query()
I have seen where others have gotten this error but not how or where to fix it. Thank you for your help in advance.
That error, means that the table already exists, hence the:

Table 'phpbb_cash_amt' already exists [1050]
Do you know if all of the tables are installed already? It sounds like it / they are.
This is a brand new forum, I just installed the phpbb yesterday and tried to do this today. and it was on the first time that I ran it that I got this error

RC212
Registered User
Posts: 6
Joined: Thu Oct 16, 2003 8:13 pm

Re: [BETA] Cash Mod 0.3.2

Post by RC212 » Fri Apr 04, 2008 6:54 pm

Ok I went into myphpadmin and deleted the tables... and then tried to install again and got a different error..

General Error
SQL ERROR [ mysql4 ]

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate utf8_bin NOT NULL default ''' at line 1 [1064]

SQL

ALTER TABLE phpbb_users ADD user_cash_date varchar(10) collate utf8_bin NOT NULL default ''

BACKTRACE

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

FILE: cash_db.php
LINE: 73
CALL: dbal_mysql->sql_query()

dazappa
Registered User
Posts: 24
Joined: Sat Apr 05, 2008 5:16 am

Re: [BETA] Cash Mod 0.3.2

Post by dazappa » Sat Apr 05, 2008 10:34 pm

Hm ok I managed to install this on some blank forums, but I don't know that it's working properly. Did I clear the cache right? I went to the acp -> styles -> templates -> prosilver cache -> select all + delete. Anyway when I go to the bank it says "You must select a user to manage." :? And I think it's supposed to show how much cash I have under my name somewhere? If so, that doesn't show. (I'm surprised I got this far...)

cuteprincess2k
Registered User
Posts: 47
Joined: Sun Mar 16, 2008 8:28 pm

Re: [BETA] Cash Mod 0.3.2

Post by cuteprincess2k » Tue Apr 08, 2008 2:37 pm

Hello friends,


I just installed CASH mod ...

Everything seems to fine . However i am not able to find how to get this done :
Allow cash on a per forum basis
Thanks

dazappa
Registered User
Posts: 24
Joined: Sat Apr 05, 2008 5:16 am

Re: [BETA] Cash Mod 0.3.2

Post by dazappa » Tue Apr 08, 2008 3:56 pm

Only problem installing to 3.0.1:
This

Code: Select all

'ABOUT_USER'			=> 'Profile',
Changed to this

Code: Select all

'profile'			=> 'Profile',
And your install file has a slight problem.. it says

Code: Select all

(Copy section)
root/ucp/ucp_bank.php to ucp/ucp_bank.php
root/ucp/info/ucp_bank.php to ucp/info/ucp_bank.php
and it should be this

Code: Select all

root/includes/ucp/ucp_bank.php to ucp/ucp_bank.php
root/includes/ucp/info/ucp_bank.php to ucp/info/ucp_bank.php
I did get this mod to work on phpbb 3.0.1, and I'm still having the same funky problem as I did 2 posts above on 3.0.RC7 - the bank page refuses to load. And also, it only shows your cash if you have more than 0.. weird but whatever.

cuteprincess2k
Registered User
Posts: 47
Joined: Sun Mar 16, 2008 8:28 pm

Re: [BETA] Cash Mod 0.3.2

Post by cuteprincess2k » Tue Apr 08, 2008 6:33 pm

cuteprincess2k wrote:Hello friends,


I just installed CASH mod ...

Everything seems to fine . However i am not able to find how to get this done :
Allow cash on a per forum basis
Thanks

zalnet
Registered User
Posts: 11
Joined: Tue Jun 13, 2006 7:13 am
Contact:

Re: [BETA] Cash Mod 0.3.2

Post by zalnet » Wed Apr 09, 2008 1:09 am

Any update yet? Especially for version 3.0.1

User avatar
Handyman`
Former Team Member
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm
Contact:

Re: [BETA] Cash Mod 0.3.2

Post by Handyman` » Wed Apr 09, 2008 4:52 am

cuteprincess2k wrote:
cuteprincess2k wrote:Hello friends,


I just installed CASH mod ...

Everything seems to fine . However i am not able to find how to get this done :
Allow cash on a per forum basis
Thanks
Check out the forum permissions :)
zalnet wrote:Any update yet? Especially for version 3.0.1
Not yet, I had a lost less free time the last couple months than I thought I would, so just this month I started working on updates.
I'm working on the Posts Anywhere MOD at the moment and as soon as that one is finished, I'll get this one up to speed… I still have a lot of plans that I worked up on this one over the last couple months.
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)

jimcarrel
Registered User
Posts: 671
Joined: Fri Jul 27, 2007 10:49 pm
Location: Oklahoma City, Oklahoma

Re: [BETA] Cash Mod 0.3.2

Post by jimcarrel » Fri Apr 11, 2008 1:19 pm

Just a reminder:
Go to the members list , not the ACP, and click on the cash amount from there, that takes you to the bank page then you can edit the amount
Grace--Getting what I don't deserve
Mercy--Not getting what I do deserve

dazappa
Registered User
Posts: 24
Joined: Sat Apr 05, 2008 5:16 am

Re: [BETA] Cash Mod 0.3.2

Post by dazappa » Mon Apr 14, 2008 8:47 pm

zalnet wrote:Any update yet? Especially for version 3.0.1
...read my post 2 posts above yours to tell you how to get it to work with phpbb3.0.1. There's only one difference, the other thing listed in the topic will happen for any version of phpbb, it's a typo on handyman's part. Does no one care enough to read? :|

User avatar
Ladysarajane
Registered User
Posts: 441
Joined: Sat Feb 18, 2006 10:05 pm

Re: [BETA] Cash Mod 0.3.2

Post by Ladysarajane » Mon Apr 14, 2008 9:00 pm

If you find that the cash mod quits updating cash amts with posts and doesn't give any registrants new cash when they post after the upgrade to 3.01, Check the edits on on includes/functions_posting.php. Seems that even though it said merging was successful, the inline edits were missing and the cash mod quit working.
When all else fails, read the instructions

feffer
Registered User
Posts: 8
Joined: Wed Apr 16, 2008 9:15 am

Re: [BETA] Cash Mod 0.3.2

Post by feffer » Wed Apr 16, 2008 5:19 pm

its working on 3.0.1 ?

autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: [BETA] Cash Mod 0.3.2

Post by autinhyeu » Thu Apr 17, 2008 3:36 pm

hi, i can't add this MOD, because file install.txt is not perfect... File install.txt is end:

Code: Select all

#
#-----[ IN-LINE FIND ]----------------------
#
);
#
#-----[ IN-LINE BEFORE, ADD ]----------------------
#
)
Why?
i...i don't understand. Who have file install.txt perfect??? Please, to share for me...
I need this MOD, this MOD is nice...
Thanks a lot!!!
i use Notepad++ to read file install.txt
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible

Locked

Return to “[3.0.x] Abandoned MODs”