[2.0.18] Cash Mod

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
1036
66%
Very Good
239
15%
Good
121
8%
Fair
36
2%
Poor
126
8%
 
Total votes: 1558

Xore
Former Team Member
Posts: 2594
Joined: Wed Apr 16, 2003 7:42 pm
Location: the wastelands between insomnia and clairvoyance
Contact:

Post by Xore »

mirre wrote: xore, there a very TWISTED problem with the mod.

when i m not log in, the cash i own starts decreasing, and it only happens to me!

i checked the log and am sure nobody touched my cash. but now, two days since i installed the cash mod, my funds are in negitive.

how could this be?!


are you (or someone else) deleting your posts?

also, do you have any other mods installed?
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
Xore
Former Team Member
Posts: 2594
Joined: Wed Apr 16, 2003 7:42 pm
Location: the wastelands between insomnia and clairvoyance
Contact:

Post by Xore »

drumstix42 wrote: Yeah I found it did work. I was trying to make Points and Game Points, but I had the things backwards. people WERE gaining points, just in the wrong place Doh...


Idk if I'll do it now. cause I'd have to reset some points to make it fair....

It's just some people play my games a lot. some do not at all, and I thought that's a little unfair in trying to have the most points for others ;)


CM 2.1 will have a "copy" function which will allow you to copy all the data from one currency into another.
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
User avatar
drumstix42
Registered User
Posts: 1100
Joined: Tue Sep 24, 2002 11:01 pm
Location: NJ
Contact:

Post by drumstix42 »

Ohh goodie :)
Need a phpBB update or mod installed? PM me for any questions and pricing!
HostMonster.com (Unlimited Space, Unlimited Transfer, Unlimited Domains, $6.95/month )
mirre
Registered User
Posts: 96
Joined: Sun May 18, 2003 11:40 pm

Post by mirre »

Xore wrote: .....
are you (or someone else) deleting your posts?

also, do you have any other mods installed?


well, i used to have 4 currencies, now i shrink down to 2 and no more problems.

shrugs.

don't think i deleted any post and i just got shop mod installed. =) both work out great
Bradman
Registered User
Posts: 84
Joined: Mon Nov 11, 2002 6:39 am
Location: Ledyard, CT
Contact:

Post by Bradman »

Which shop mod? Link perhaps? :)
brownafroduck
Registered User
Posts: 78
Joined: Mon Jun 23, 2003 9:28 am
Location: Texas, USA
Contact:

Post by brownafroduck »

I don' tknow if this was addressed 'cause I can't find it... Doesn't matter much anyhow b/c I am going to vBulletin, but I thought that you ought to know that you can't control the cash that you receive if you have the subforum hack. The subforums don't inherit the inability to earn cash from their parent forum.
brownafroduck
Registered User
Posts: 78
Joined: Mon Jun 23, 2003 9:28 am
Location: Texas, USA
Contact:

Post by brownafroduck »

drumstix42 wrote: Yeah I found it did work. I was trying to make Points and Game Points, but I had the things backwards. people WERE gaining points, just in the wrong place Doh...


Idk if I'll do it now. cause I'd have to reset some points to make it fair....

It's just some people play my games a lot. some do not at all, and I thought that's a little unfair in trying to have the most points for others ;)


Maybe I am missing something, but can't you just switch the name that appears next to each currency? :?:
Q-Zar
Registered User
Posts: 779
Joined: Sun Nov 17, 2002 8:30 pm
Location: Brussels
Contact:

Post by Q-Zar »

Bradman wrote: Which shop mod? Link perhaps? :)


Go take a look in the Beta Development section.
Traductions : Cash Mod v2.2.2 (Getting Started) / Dice Mod v1.2.3 / Activity Mod Plus 1.0.8
Remember this. Please read the F.A.Q/Troubleshooting of a mod before asking questions.
Image
User avatar
drumstix42
Registered User
Posts: 1100
Joined: Tue Sep 24, 2002 11:01 pm
Location: NJ
Contact:

Post by drumstix42 »

Sure I can switch the names, but then the variable (IE user_points) will go to the wrong point type!
Need a phpBB update or mod installed? PM me for any questions and pricing!
HostMonster.com (Unlimited Space, Unlimited Transfer, Unlimited Domains, $6.95/month )
yanks1343
Registered User
Posts: 54
Joined: Wed Oct 30, 2002 8:48 pm

Post by yanks1343 »

In need of assistance!!!

I don't understand what I have to do at this part

#-----[ SQL ]------------------------------------------
#
# If you don't know how to execute sql queries, then copy
# mysql_install.php into your phpbb directory and run it.
# (assuming you use mysql)
#
# If you don't use mysql, you'll have to edit these queries accordingly
#
# If you have a different table prefix then change this command accordingly.
# I have used the default table prefix!
#
INSERT INTO phpbb_config (config_name, config_value) VALUES
('cash_disable',0),
('cash_display_after_posts',1),
('cash_post_message','You earned %s for that post'),
('cash_disable_spam_num',10),
('cash_disable_spam_time',24),
('cash_disable_spam_message','You have exceeded the alloted amount of posts and will not earn anything for your post'),
('cash_installed','yes'),
('cash_version','2.0.2'),
('points_name','Points')

#
#-----[ SQL ]------------------------------------------
#
# If you have a different table prefix then change this command accordingly.
# I have used the default table prefix!
#
CREATE TABLE phpbb_cash (
cash_id SMALLINT(6) NOT NULL AUTO_INCREMENT ,
cash_order SMALLINT(6) NOT NULL ,
cash_enabled TINYINT(1) DEFAULT '1' NOT NULL ,
cash_dbfield VARCHAR(64) NOT NULL ,
cash_name VARCHAR(64) DEFAULT 'GP' NOT NULL ,
cash_image TINYINT(1) DEFAULT '0' NOT NULL ,
cash_imageurl VARCHAR(255) NOT NULL ,
cash_exchange INT(11) DEFAULT '1' NOT NULL ,
cash_before TINYINT(1) DEFAULT '1' NOT NULL ,
cash_perpost INT(11) DEFAULT '25' NOT NULL ,
cash_postbonus INT(11) DEFAULT '2' NOT NULL ,
cash_perreply INT(11) DEFAULT '25' NOT NULL ,
cash_maxearn INT(11) DEFAULT '75' NOT NULL ,
cash_perchar DECIMAL(10,3) DEFAULT '.02' NOT NULL ,
cash_includequotes TINYINT(1) DEFAULT '0' NOT NULL ,
cash_profiledisplay TINYINT(1) DEFAULT '1' NOT NULL ,
cash_donate TINYINT(1) DEFAULT '1' NOT NULL ,
cash_modedit TINYINT(1) DEFAULT '0' NOT NULL ,
cash_allowneg TINYINT(1) DEFAULT '0' NOT NULL ,
cash_postdisplay TINYINT(1) DEFAULT '1' NOT NULL ,
cash_forumlisttype TINYINT(1) DEFAULT '1' NOT NULL ,
cash_forumlist VARCHAR(255) NOT NULL ,
cash_log TINYINT(1) DEFAULT '1' NOT NULL ,
PRIMARY KEY (cash_id)
);

#
#-----[ SQL ]------------------------------------------
#
# If you have a different table prefix then change this command accordingly.
# I have used the default table prefix!
#
CREATE TABLE phpbb_cash_log (
log_id INT(11) NOT NULL auto_increment,
log_time INT(11) NOT NULL,
log_type SMALLINT(6) NOT NULL,
log_text VARCHAR(255) NOT NULL,
PRIMARY KEY (log_id) ,
INDEX (log_time, log_type)
);

#
#-----[ SQL ]------------------------------------------
#
# If you have a different table prefix then change this command accordingly.
# I have used the default table prefix!
#
CREATE TABLE phpbb_cash_exchange (
ex_cash_id1 INT(11) NOT NULL ,
ex_cash_id2 INT(11) NOT NULL ,
ex_cash_enabled INT(1) NOT NULL DEFAULT '0',
PRIMARY KEY (ex_cash_id1,ex_cash_id2)
);

Please help!
User avatar
drumstix42
Registered User
Posts: 1100
Joined: Tue Sep 24, 2002 11:01 pm
Location: NJ
Contact:

Post by drumstix42 »

Ok, open your eyes just a 'little bit' wider.

reading isn't as evil as it may seem

you acctually just posted your answer :)

#-----[ SQL ]------------------------------------------
#
# If you don't know how to execute sql queries, then copy
# mysql_install.php into your phpbb directory and run it.
# (assuming you use mysql)
#
# If you don't use mysql, you'll have to edit these queries accordingly
#
# If you have a different table prefix then change this command accordingly.
# I have used the default table prefix!
#
Need a phpBB update or mod installed? PM me for any questions and pricing!
HostMonster.com (Unlimited Space, Unlimited Transfer, Unlimited Domains, $6.95/month )
Kendjin
Registered User
Posts: 375
Joined: Mon Sep 22, 2003 2:12 pm
Location: UK
Contact:

Post by Kendjin »

Go to PhpMyadmin *sorry my mistake* (if you have MySQL)

open up the phpbb database, using the pulldown tab...

Click on the SQL tab on the right hand side

in the big box copy and paste:

Code: Select all

INSERT INTO phpbb_config (config_name, config_value) VALUES 
('cash_disable',0), 
('cash_display_after_posts',1), 
('cash_post_message','You earned %s for that post'), 
('cash_disable_spam_num',10), 
('cash_disable_spam_time',24), 
('cash_disable_spam_message','You have exceeded the alloted amount of posts and will not earn anything for your post'), 
('cash_installed','yes'), 
('cash_version','2.0.2'), 
('points_name','Points')
into there and hit ok

and you're done
Last edited by Kendjin on Thu Oct 09, 2003 2:24 am, edited 1 time in total.
Xore
Former Team Member
Posts: 2594
Joined: Wed Apr 16, 2003 7:42 pm
Location: the wastelands between insomnia and clairvoyance
Contact:

Post by Xore »

yanks1343 wrote: In need of assistance!!!

I don't understand what I have to do at this part

#-----[ SQL ]------------------------------------------
#
# If you don't know how to execute sql queries, then copy
# mysql_install.php into your phpbb directory and run it.
# (assuming you use mysql)
#
# If you don't use mysql, you'll have to edit these queries accordingly
#
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
Kendjin
Registered User
Posts: 375
Joined: Mon Sep 22, 2003 2:12 pm
Location: UK
Contact:

Post by Kendjin »

I posted that same thing to him 2-3 times, someone point it out to him :)
yanks1343
Registered User
Posts: 54
Joined: Wed Oct 30, 2002 8:48 pm

Post by yanks1343 »

I have phpmyadmin. Is that the same?
Also, would it be easier to run mysql_install.php? Or will I have problems?
Post Reply

Return to “[2.0.x] MOD Database Releases”