Topic: [Extension] Cash Extension Framework

Title: Cash Extension Framework v1.0
Quick Description: This is the intial framework for the cash extension.

Notes: This is working progress.

To Do:
* Hook additions.
* Removing cash when deleting post.

Download: cash_extension_framework.zip

Live Demo: FluxDemo.org - Was installed at time of posting this. tongue

Image examples:
Admin - Settings
Admin - Setting amounts
Profile View
Viewtopic.php View

Feedback: Any recommendations will be thought about. tongue

Last edited by StevenBullen (2008-05-16 16:42:26)

Re: [Extension] Cash Extension Framework

Ok I have tried to keep it simple as possible.

This is why the 'Admin - Settings' only has one setting. I will release a new revision and plus an add-on (extension) that will add more to this simple framework.

The idea is so that people can create add-ons (extensions) that can add to this intial framework. I will probably release a few (add-ons) maybe more. tongue

Last edited by StevenBullen (2008-05-16 03:34:14)

Re: [Extension] Cash Extension Framework

pretty nice smile

Re: [Extension] Cash Extension Framework

Cool mod.

Last edited by Greg (2008-05-16 06:42:59)

Re: [Extension] Cash Extension Framework

Found a Vuln:

If you add a single quote in the admin settings you get a sql error, you need to use:

'SET'        => 'conf_value=\''.$forum_db->escape($new_cash_name).'\'',

On line 53!!!

Re: [Extension] Cash Extension Framework

Is there the possibility of members awarding cash to each other? So members get rewarded for good posts.

With appropriate limits this could work well.

Re: [Extension] Cash Extension Framework

Aka a Donation script, this is the framework, hes planning on letting other people contribute addon's, maybe sooner then you expect wink.

Re: [Extension] Cash Extension Framework

Lamonte wrote:

Found a Vuln:

If you add a single quote in the admin settings you get a sql error, you need to use:

'SET'        => 'conf_value=\''.$forum_db->escape($new_cash_name).'\'',

On line 53!!!

Fixed! Thanks

Lamonte wrote:

Aka a Donation script, this is the framework, hes planning on letting other people contribute addon's, maybe sooner then you expect wink.

Correct. I have a couple of add-ons I will be releasing shortly. tongue

Last edited by StevenBullen (2008-05-17 14:46:28)

Re: [Extension] Cash Extension Framework

Same wink, might make a addon to add money when you shout tongue (ever X shouts)

Re: [Extension] Cash Extension Framework

New release coming in the next day or two.
Fixes:

  • Some hooks have been added

  • Code has been shortened slightly

Also at the same time I will release the Bank Add-On and also a Donate Add-On. wink

Hopefully the Report Add-on as well... But not promising that one. big_smile

Last edited by StevenBullen (2008-05-18 15:39:23)

Re: [Extension] Cash Extension Framework

So is it released with the package or your releasing it, can you elaborate on that?

Re: [Extension] Cash Extension Framework

Lamonte wrote:

So is it released with the package or your releasing it, can you elaborate on that?

No it wont be in the initial cash framework extension.

Im just releasing the 2 add-ons at the same time they will both be their own extensions.

Re: [Extension] Cash Extension Framework

Alright smile

Re: [Extension] Cash Extension Framework

Can u make this have decimal's?

And can u make it so people can donate to each other right from topic view? ^^

hey