Treasury

Started by Resourcez, December 13, 2007, 12:47:26 AM

Previous topic - Next topic

Resourcez

@orca8767 - Treasury does not allow for interaction with karma and credits.  I'll examine the possibility of later inclusion, but I won't be posting ad hoc changes here.
If you have everything under control, you're not moving fast enough.
Bugs HereSupport HereDonationsProPackage Parser
TP 1.1 • SMF 1.1.21/2.0.9 • MySQL 5.6.23 PHP 5.4.42 Apache 2.4.12
(PMs not responded to - I provide a support site)

orca8767

It's a simple code to add to add to karma and credits... What I mean is to add some when they donate, depending on how much they donated.

global $db_prefix, $ID_MEMBER, $context;

//Add 10 to Karma
db_query("
   UPDATE {$db_prefix}members
   SET karmaGood = karmaGood + 10
   WHERE ID_MEMBER = {$ID_MEMBER}", __FILE__, __LINE__);

//Add 1000 to Shop Credits
db_query("
   UPDATE {$db_prefix}members
   SET moneyBank = moneyBank + 1000
   WHERE ID_MEMBER = {$ID_MEMBER}", __FILE__, __LINE__);
</script>';

Resourcez

Thanks but no thanks - it's not that simplistic.
If you have everything under control, you're not moving fast enough.
Bugs HereSupport HereDonationsProPackage Parser
TP 1.1 • SMF 1.1.21/2.0.9 • MySQL 5.6.23 PHP 5.4.42 Apache 2.4.12
(PMs not responded to - I provide a support site)

ApplianceJunk

Hi,

Looking at the update. :)

Quotev2.07 - Fix for erroneous settle amounts and existing data repaired.

What does that mean?

QuoteUpdated block for TP users.

What has been changed for the TP users?

Just when I thought it could not get any better you come up with another update. :)

Thanks,


Resourcez

Calculations in the block are changed - no further TP discussion here please :)
If you have everything under control, you're not moving fast enough.
Bugs HereSupport HereDonationsProPackage Parser
TP 1.1 • SMF 1.1.21/2.0.9 • MySQL 5.6.23 PHP 5.4.42 Apache 2.4.12
(PMs not responded to - I provide a support site)

ApplianceJunk

Quoteno further TP discussion here please

I should have known, sorry. :)


Resourcez

Treasury v2.08 Released

As an alternative to the existing time-based system, you can choose to run an events-based system with donation campaigns for a specific target and objective.

For those wishing to maintain full disclosure to donors of income/expenses, this is now an option.
If you have everything under control, you're not moving fast enough.
Bugs HereSupport HereDonationsProPackage Parser
TP 1.1 • SMF 1.1.21/2.0.9 • MySQL 5.6.23 PHP 5.4.42 Apache 2.4.12
(PMs not responded to - I provide a support site)

ApplianceJunk

Slow down, I can't keep up :)


SgtMic

Now we just need it for 2.0 :)
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

ApplianceJunk

Resourcez is doing an amazing job on the treasury mod.

Being it was so close to the end of the month I was going to just wait until this weekend to do the 2.07 update and here he comes out with 2.08 already, awesome!

Can't wait to give it a try.

Thanks!

Resourcez

hmm, back-porting from SMF2 was a real pain :(

Since then, the changes to SMF1 have also been significant, so up-porting is gonna be another huge pain  :-\
If you have everything under control, you're not moving fast enough.
Bugs HereSupport HereDonationsProPackage Parser
TP 1.1 • SMF 1.1.21/2.0.9 • MySQL 5.6.23 PHP 5.4.42 Apache 2.4.12
(PMs not responded to - I provide a support site)

SgtMic

I
Quote from: ApplianceJunk on February 27, 2008, 10:23:02 PM
Resourcez is doing an amazing job on the treasury mod.

Thanks!


+ 1
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

Resourcez

Flattery will get you nowhere  :P
If you have everything under control, you're not moving fast enough.
Bugs HereSupport HereDonationsProPackage Parser
TP 1.1 • SMF 1.1.21/2.0.9 • MySQL 5.6.23 PHP 5.4.42 Apache 2.4.12
(PMs not responded to - I provide a support site)

kamu8recon

I am currently using 2.06. If I update it to 2.08 on my current theme (not default) would I have to uninstall 2.06. I would like to put that full disclosure option on my forum.

Resourcez

As per the instructions, you ALWAYS have to uninstall to upgrade.
I ALWAYS advise a site a database backup as well, but that choice is always yours.

For that matter, you should do the same with all mods, unless it provides an upgrade option.

The uninstall won't affect your custom theme, so you shouldn't notice any difference there.
If you have everything under control, you're not moving fast enough.
Bugs HereSupport HereDonationsProPackage Parser
TP 1.1 • SMF 1.1.21/2.0.9 • MySQL 5.6.23 PHP 5.4.42 Apache 2.4.12
(PMs not responded to - I provide a support site)

NEMINI

I've been using this mod for going on 3 years now, first version started while we were using a different forum/cms.  Treasury just keeps getting better and better.
signatures are boring.

kamu8recon

Resources,

The reason I ask is because I have had a minor problem with the first install, and I was just wondering how this would affect my site if I did an upgrade or fresh install. Thank you for your straight foward input.

weightman

Hey, thanks for the upgrade. I really like the changes.

Resourcez

Quote from: kamu8recon on February 28, 2008, 09:16:41 AM
Resources,

The reason I ask is because I have had a minor problem with the first install, and I was just wondering how this would affect my site if I did an upgrade or fresh install. Thank you for your straight foward input.
From what I saw, your problem had absolutely nothing to do with the install - as with most mods, this installs/uninstalls only on the default theme.
If you have everything under control, you're not moving fast enough.
Bugs HereSupport HereDonationsProPackage Parser
TP 1.1 • SMF 1.1.21/2.0.9 • MySQL 5.6.23 PHP 5.4.42 Apache 2.4.12
(PMs not responded to - I provide a support site)

Damian1221

Quote from: Resourcez on February 24, 2008, 05:09:28 AM
@Damian121 - regarding permissions, did you even read the ReadMe, or am I just wasting bandwidth providing it?

As far as the modification.english.php issue, you've probably got the arcade installed or yet another mod which screws up the end of the file so that Treasury can't find the reference point. quite simply, it's not a Treasury issue.

you misunderstand i didn't see the permissions in the permissions menu because it had never written to the modifications.english.php

great job on this mod BTW

Advertisement: