1 (edited by Gary13579 2005-10-02 18:49)

Topic: Cash Mod 1.0.0

##
##
##        Mod title:  Cash Mod 1.0.0 
##
##      Mod version:  1.0.0 
##   Works on PunBB:  1.2.8 
##     Release date:  10-01-05 
##           Author:  Gary(13579) Schilling 
##
##      Description:  This mod gives people "cash" for their posts, and is a start towards the RPG mod that Connorhd wants made.
##        Nearly everything is configurable.. 
##
##       Affects DB:  Yes 
##
##   Affected files:  post.php 
##                    viewtopic.php 
##
##            Notes:  Thanks to Connorhd for the inspiration (if you call yelling at me for 2 weeks on IRC inspiration :P) and the money..
##                      Thanks to Mediator for the awesome Auto Read-me program.
##                      And most of all, thanks to Rickard for PunBB :D 
##
##     Generated By:  Auto Read-Me(by Caleb Champlin) - http://www.rscheatnet.com/Auto_Readme.zip
##
##       DISCLAIMER:  Please note that 'mods' are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##

The mod made for Connorhd is done!

Download it here.

Edit: A fix just released. Thanks to Smartys for the obvious bug I overlooked smile
Edit 2: Another few bug fixes... Thanks to Smartys, again..

Indocron
$theQuestion = (2*b) || !(2*b);

2

Re: Cash Mod 1.0.0

Wow!..I was waiting for it..Thnx a Lot Gary
Will try it today
THnx once again

I start thinking from where you stop thinking!!!

Re: Cash Mod 1.0.0

An error was encountered
Error: Unable to fetch post info.
:x

4 (edited by Photics 2005-10-03 12:34)

Re: Cash Mod 1.0.0

I got this error...

Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in
../include/functions.php on line 942

...when trying to read posts.

Soooo... I disabled "gzip" and it said "unable to fetch post".

Maybe the Cash Mod is not friendly with other mods... so I'm going to try a clean install next.

Michael Garofalo
Webmaster - Photics.com

Re: Cash Mod 1.0.0

Update - Nope, a clean install didn't work either. hmm

Michael Garofalo
Webmaster - Photics.com

Re: Cash Mod 1.0.0

I can't think why you get this error, but I will look into it hmm

Indocron
$theQuestion = (2*b) || !(2*b);

7

Re: Cash Mod 1.0.0

Cool mod, even though i haven't try it yet.
But i would like a shop, were users can spend there money. I should, as administrator, have the abillity to add things to the shop. And when users have buy an item, they can sell their items again if they would like to.
Is the possible?

8

Re: Cash Mod 1.0.0

When i run the install mod, ther comes a blank page...

Re: Cash Mod 1.0.0

Medic... MEDIC!!!

MOD DOWN... MOD DOWN!!! yikes

Michael Garofalo
Webmaster - Photics.com

Re: Cash Mod 1.0.0

Lasse wrote:

Cool mod, even though i haven't try it yet.
But i would like a shop, were users can spend there money. I should, as administrator, have the abillity to add things to the shop. And when users have buy an item, they can sell their items again if they would like to.
Is the possible?

That is the next mod that will be created to go with this one, there will also be an RPG mod to work with both the cash and shop mod.

Re: Cash Mod 1.0.0

When i run the install mod, ther comes a blank page...
why is this happening

Re: Cash Mod 1.0.0

Is a problem I think because don't work for mee too !

PunBB Romania HERE !

Re: Cash Mod 1.0.0

Fianlly! I can write the rpg code!

Go Canada! - No matter what, except when Stephen Harper is Prime Minster!
NHL is back, GO TORONTO MAPLE LEAFS! even if they lose...
[Firefox Rules!] - [Amazing Race] - [My Site!]

14

Re: Cash Mod 1.0.0

HORRORel wrote:

Is a problem I think because don't work for mee too !

me too

Re: Cash Mod 1.0.0

Okay all, this new version should fix ALL of the problems you have been having.

If you were getting the blank screen during install, re run it.
If you got the "unable to fetch post info", run the installer again..

Please post any errors here or on PunRes, and include what database type you are using!

Indocron
$theQuestion = (2*b) || !(2*b);

Re: Cash Mod 1.0.0

Excellent mod, but there's no way for admins to adjust the amount of cash certain users have with out playing with the database.  Just a feature suggestion for next time.

Re: Cash Mod 1.0.0

It works now! big_smile

Michael Garofalo
Webmaster - Photics.com

Re: Cash Mod 1.0.0

Can give me the changel files please ?

PunBB Romania HERE !

Re: Cash Mod 1.0.0

HMEternity wrote:

Excellent mod, but there's no way for admins to adjust the amount of cash certain users have with out playing with the database.  Just a feature suggestion for next time.

If you upload the file AP_Cash_Mod.php to /plugins/, then you can easily smile

HORRORel wrote:

Can give me the changel files please ?

Just upload all files from the current version.
You don't need to edit any of the files again, as nothing in those has changed.

If you get the "Cannot fetch post info" error, then run install_mod.php again.

Indocron
$theQuestion = (2*b) || !(2*b);

Re: Cash Mod 1.0.0

Works like a charm!
Awesome.

21

Re: Cash Mod 1.0.0

Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /home/mastilan/public_html/forum/include/functions.php on line 1004

An error was encountered
Error: Unable to update config.

I get this error

I start thinking from where you stop thinking!!!

22

Re: Cash Mod 1.0.0

I was sort of playing around with the mysql data... well I didn't ruin anything tongue But I noticed that in the bank tab I added there was interest saying "290382309423E-6" interest waiting... so I thought that was sort of weird neutral Going to the sql data I see that the default number is something huuuugggeeee... so I change it... so something smaller... like 2


Now the interest is about .0000000032823       >__>

What's up with this? What should I change the default value back to? yikes

Re: Cash Mod 1.0.0

Ok...a few issues I've noticed:

1) Perhaps auto-refill the lottery pot? Or even disable it while an announcement is made so that someone will see it to refill it.
On that note....

2) Announcement of lottery winner. This needs to be dome in some form so that someone will see that its been won. Hiding it away in the plugin system to never be found again isn't too helpful.

3) Bugish thing: When someone wins, the place under plugin where the value of the pot should be is grammatically incorrect. It says something like "User is pot win the user win pot has been won" or something of this sort.

4) Better layout for lottery, bank, and donate. They're a bit crowded.

Cheers!

24

Re: Cash Mod 1.0.0

Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /home/mastilan/public_html/forum/include/functions.php on line 1004

An error was encountered
Error: Unable to update config.

I get this Error When I try to Change General Config. of Cash Mod....Please tell me What Shud i do ?

I start thinking from where you stop thinking!!!

Re: Cash Mod 1.0.0

No ... I want the files need to be changed ... some as viewtopic.php etc.

PunBB Romania HERE !