Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Resourcez on December 13, 2007, 12:47:26 AM

Title: Treasury
Post by: Resourcez on December 13, 2007, 12:47:26 AM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=916)

Note: now separate versions!
Treasury is a highly evolved donation management system.

It manages and displays PayPal donations automatically, with monthly targets, progressive totals and a "donormeter".  Alternatively, donations can be event-based with set campaign targets.  Members have the choice of having their donation listed publicly or anonymously, as well as a summary in their Profile.

Donation amount and currency is configurable and selectable, as are numerous other options.   Tools are provided for managing site expenses and receipts, as well as a highly configurable administration interface, with in-built documentation and help pop-ups.

Treasury happily co-exists with the Subscriptions mod.

Click here for Support (http://resourcez.donationspro.com/index.php?board=7.0).

Click here to report Bugs (http://resourcez.donationspro.com/index.php?action=bugger).

Click here to view changelog and development progress (http://resourcez.donationspro.com/index.php?page=23).
Title: Re: Treasury
Post by: karlbenson on December 13, 2007, 03:05:24 AM
any screenshots of this beauty in action?
Title: Re: Treasury
Post by: MinasC on December 13, 2007, 12:36:56 PM
any screenshots of this beauty in action?

yeah cause it sounds really good ! what if someone has paypals donations mod installed ?
Title: Re: Treasury
Post by: Resourcez on December 16, 2007, 07:58:34 AM
Some older screenshots are listed here (http://resourcez.biz/index.php?topic=10.0) - very similar to the current releases (1.1.4 and 2.0 beta).  An alternate (and enhanced) version in another cms by a colleague of mine has been in use for a number of years now, so it has been soundly tested.

I need to amend the ReadMe notes - when originally setup, it worked regardless of Subscriptions setup but then PayPal changed their setup.  So there is now a conflict since Subscriptions requires exclusive use of your PayPal IPN and prevents any other application using it.  Subscriptions should make use of notify_url so that a multitude of applications can use the one PayPal setup - I believe there was a fix for that posted somewhere in the Subscriptions topic.

When I get some time I may dip into the Subscriptions code and provide the simple fixes required - simple, but takes time.
Title: Re: Treasury
Post by: MinasC on December 17, 2007, 05:24:06 AM
that would be great , thnx !
Title: Re: Treasury
Post by: falguni1 on December 17, 2007, 08:08:30 AM
good it is useful to forums.
Title: Re: Treasury
Post by: ApplianceJunk on December 17, 2007, 08:43:11 AM
Wow!

I have downloaded it and everything seem to install ok.
Just going through the read me now and hope to have some more time to work with it later today.

This really looks amazing!

Thank you,
Title: Re: Treasury
Post by: ApplianceJunk on December 17, 2007, 08:57:16 AM
Quote
The Block allows you to display your current monthly donation goal and what funds have been received towards that goal.

How do I get this info to be displayed in a block?
Title: Re: Treasury
Post by: Resourcez on December 17, 2007, 09:11:41 AM
Sorry, the reference to the block is for the TinyPortal version and that will change in the near future.

In the SMF standalone version, it is actually the small section near the top of the main Treasury page, above the "Make a Donation" button and that should be there already.  Controls for that page are in the Main Config section of Treasury admin.
Title: Re: Treasury
Post by: ApplianceJunk on December 17, 2007, 01:18:39 PM
Found it, thanks!

Quote
Sorry, the reference to the block is for the TinyPortal version and that will change in the near future.

Anyway to get that into a TP block with what I have now?

This is really great stuff you come up with, thanks a million.
Title: Re: Treasury
Post by: Bigguy on December 17, 2007, 01:55:39 PM
Very nice job. I use this on my forums and it works like a charm. Thanks. :)
Title: Re: Treasury
Post by: franklinrony on December 17, 2007, 02:19:00 PM
wow good mod ,downloaded,thanks mate
Title: Re: Treasury
Post by: Resourcez on December 18, 2007, 12:17:51 AM
Version 2.05 now available - the conflict with the Subscriptions mod has now been resolved and Treasury functions in full IPN Auto Return mode.  Refunds are now working and automatically cancel out previous donations, and it is no longer important for donors to return to the site to ensure the donation is processed. 
Title: Re: Treasury
Post by: SgtMic on December 18, 2007, 12:23:07 AM
Resourcez,

Check your forum. :)

ETA since this is the mod site:

Uninstalled previous version. Reinstalled. All the links in the forum work except "profile". When you click on profile it comes up with this error:

Fatal error: Cannot redeclare showdonations() (previously declared in /home/fastsqua/public_html/forum/Sources/Profile.php:2933) in /home/fastsqua/public_html/forum/Sources/Profile.php on line 3214

I've gone through the file and did not see anything that stood out as odd.
Title: Re: Treasury
Post by: Resourcez on December 18, 2007, 12:28:29 AM
Answered there  ;)
Title: Re: Treasury
Post by: SgtMic on December 18, 2007, 12:33:08 AM
I'm still over there. :) :)
Title: Re: Treasury
Post by: Resourcez on December 18, 2007, 04:54:49 AM
That's as far as I will go in providing TP support in this SMF forum  ;)

Edit: Solution removed - for Treasury TP support -> http://resourcez.biz/index.php?topic=92.0
Title: Re: Treasury
Post by: robbiemcvee on December 19, 2007, 07:58:35 AM
what a smashing mod - just at the right time too! - thanks.

Is there any way of changing the title of the menu item - also i would like to remove the "We Appreciate Your Support" section. Can you advise me how to?

Thanks in advance
Title: Re: Treasury
Post by: Resourcez on December 19, 2007, 08:22:43 AM
The first is covered in point 6 of,
index.php?action=treasuryadmin;sa=readme#ModuleSetup

The second is covered by editing
Themes/default/language/Treasury.english.php
Title: Re: Treasury
Post by: ApplianceJunk on December 19, 2007, 08:45:24 AM
Anyway to get that into a TP block with what I have now?
Simply place the attached file into the root/treasury/ directory and reference it by creating a TP phpbox block with this code
Code: [Select]
global $boarddir;
include("$boarddir/treasury/DonationBlock.php");
That's as far as I will go in providing TP support in this SMF forum  ;)

That works greats!
I had to put in a Width="110" Height="23" for the image, but not a big deal.
It really looks awesome in a TP block.

Thanks again..
Title: Re: Treasury
Post by: Resourcez on December 19, 2007, 09:05:37 AM
You can enter image dimensions through the admin area - guess I should put some default values in there to start with :)
Title: Re: Treasury
Post by: ApplianceJunk on December 19, 2007, 09:42:46 AM
You can enter image dimensions through the admin area - guess I should put some default values in there to start with :)

I did try that first as I had remembered seeing that, but it did not seem to change the images size.

Title: Re: Treasury
Post by: ApplianceJunk on December 19, 2007, 01:56:39 PM
It works, it works, we got two donations already!

I have my December Goal set at $25.00
What happens if you meet that goal or go over it?

If we reach the $25 goal before the end of the month will people still be able to donate in December?
Does the bar go over 100%

Title: Re: Treasury
Post by: Resourcez on December 19, 2007, 05:53:26 PM
Don't worry - it's all good.
Title: Re: Treasury
Post by: ApplianceJunk on December 23, 2007, 08:42:36 AM
Don't worry - it's all good.

Just found out this morning what happens if someones donation gets you above your goal.

Our bar now say's 108% and Above Goal: $1.95 :)

I can not believe how good this mode is.

I do have to keep manual adding the donations though. I have gone through the read me files a couple times and seem to have everything set up in my paypal account the way it says, but it does not auto add the donation info.

It's all good though, thanks a million.

You da man!
Title: Re: Treasury
Post by: ApplianceJunk on December 23, 2007, 08:45:16 AM
One other small thing I noticed.

When using firefox browser the names of the members that made the donation are not clickable links.

When using IE the members names are clickable.

Title: Re: Treasury
Post by: falguni1 on December 23, 2007, 11:56:30 AM
Is this mod safe y is it asking for password.
Title: Re: Treasury
Post by: ApplianceJunk on December 23, 2007, 12:13:09 PM
Quote
Is this mod safe y is it asking for password.

I sure hope so. I was also wondering this myself, but being it was on the SMF mod page I take it that others have looked it over and approved the mod before it got listed on the SMF mod site.

I will be interested in what others have to say about it asking for our password and it being safe.

Title: Re: Treasury
Post by: falguni1 on December 23, 2007, 12:33:29 PM
Quote
Is this mod safe y is it asking for password.

I sure hope so. I was also wondering this myself, but being it was on the SMF mod page I take it that others have looked it over and approved the mod before it got listed on the SMF mod site.

I will be interested in what others have to say about it asking for our password and it being safe.



dont be so sure if we are the first to ask. then.
Title: Re: Treasury
Post by: Resourcez on December 23, 2007, 01:50:33 PM
Just what password do you mean?

If you get that when you go to admin, it simply means your admin cookie has expired - that will (and should) happen for any admin function when that is the case.
Title: Re: Treasury
Post by: ApplianceJunk on December 23, 2007, 02:23:20 PM
I believe at some point during the set up it asked for paypal email and password.

I do not see anyplace in Admin/Treasury were it ask for a password now.

I went and changed my paypal password just a couple of minutes ago and the treasury mod still seem to work ok.

Title: Re: Treasury
Post by: Resourcez on December 23, 2007, 02:31:00 PM
hmm, there is no place in the code for it to ask your paypal email and password - that only happens when you enter PayPal's secure server and is not related to the mod.

That will always happen when you are sent to the PayPal site to make a donation, if you use a PayPal account to donate - that's how PayPal works.  The recommended setup I have provided in the ReadMe is to allow people to simply use a credit card - they now don't have to be a PayPal member to make payments through PayPal.

Indeed, PayPal is constantly advising people never to use their login details anywhere else but on the PayPal site - many people have been sucked in by emails that send users to a phishing site.

Anyway, none of this is about the mod - people should contact PayPal for advice on PayPal.
Title: Re: Treasury
Post by: Resourcez on December 23, 2007, 02:56:19 PM
One other small thing I noticed.

When using firefox browser the names of the members that made the donation are not clickable links.

When using IE the members names are clickable.


I am unable to duplicate this behaviour - which version of FF are you using?  Perhaps you are not logged in as admin in both browsers  ;)

Only admin can see all links - donors can only see their own link.
Title: Re: Treasury
Post by: ApplianceJunk on December 23, 2007, 03:50:51 PM
Quote
Perhaps you are not logged in as admin in both browsers

That was the problem, sorry about that.

Still not sure on the paypal password thing, but I don't think it's a problem.
I did change my password just to be sure.

Thanks again for all your hard work on this one.



Title: Re: Treasury
Post by: falguni1 on December 24, 2007, 02:16:26 AM
after the mod is uploaded then
after applying mod it ask for password of the hosting account.

means the password which you use to log in the host account.
Title: Re: Treasury
Post by: Resourcez on December 24, 2007, 02:58:03 AM
The SMF package upload system may ask you to confirm that info at some point - Treasury certainly does not.
Title: Re: Treasury
Post by: falguni1 on December 24, 2007, 03:05:58 AM
The SMF package upload system may ask you to confirm that info at some point - Treasury certainly does not.

the package system is asking password for this mod only not others.

there is one more mod or which the package similarly asks password now I dont remember the name.

this mod is nice I used it on my test site.

so is it safe to give password.

and why is paypal taking charges so much.

for 40 dollars they charge 2 dollars as processing fee is there some other company which charges less.
Title: Re: Treasury
Post by: Resourcez on December 24, 2007, 03:24:58 AM
Most mods are very simple and only modify existing SMF files - this is not a simple mod but it operates within SMF standards and requirements.  Subscriptions most likely does the same thing.

Safety? Your choice - don't provide the password and see what happens  ;)

This mod and topic isn't about fees - Google should provide your answers.
Title: Re: Treasury
Post by: wilsy on December 24, 2007, 04:18:02 AM
The SMF package upload system may ask you to confirm that info at some point - Treasury certainly does not.

They are referring to the FTP password that SMF package manager asks for when installing some mods. It's fine and safe to provide this.



I installed flawlessly but when testing the IPN I get this: -

Is this really your PayPal Email address?
Logging events


Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in /home/rewindla/public_html/forum/treasury/ipntreas.php on line 296

----------------------------------------------------------------
If you don't see any error messages, you should be good to go!

Also in /forum/index.php?action=treasuryadmin;sa=translog I see some strange dates: -


2007-12-24 03:08:47   1969-12-31 17:59:59   Debug mode activated
Opening connection and validating request with PayPal...
OK!

2007-12-24 02:53:00   1969-12-31 17:59:59   Debug mode activated
Opening connection and validating request with PayPal...
OK!

Any help would be appreciated.

Regards and Merry Xmas!

Wilsy.
Title: Re: Treasury
Post by: Resourcez on December 24, 2007, 04:44:01 AM
It's a zero date output since there is no payment date data during debug - I'll eventually get round to tidying that up.
Title: Re: Treasury
Post by: wilsy on December 24, 2007, 04:50:22 AM
Thanks Resourcez,

So, guess I'm ready to go - many thanks indeed for a great mod.

Merry Christmas!

Regards,

Wilsy.
Title: Re: Treasury
Post by: Canuck on December 24, 2007, 11:48:27 PM
I am trying to install the mod but got stuck at the "FTP Information Required"

I keep getting a 500 error.

The instructions state the following "Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders."

But I do not know which folder need to be chmod or created. Unless the 500 error is caused by something else?
Title: Re: Treasury
Post by: Resourcez on December 25, 2007, 03:05:01 AM
Regrettably not a problem I have encountered on a couple of different server setups but I do believe the issue is discussed in a number of other topics.  If you are having the problem with all mods, then it basically relates to all your files/directories.  If it is just mods like Treasury and Subscriptions, they are different in that they not only modify existing SMF files, but also add an extra directory and files.

You may find the Package Manager Options of assistance - Cleanup Permissions.
Title: Re: Treasury
Post by: Canuck on December 25, 2007, 03:22:25 AM
I have two sites with two different webhosts. It worked fine on the one, so I just created the same folders on the other, uploaded the files and it installed fine.  :)

Thanks
Title: Re: Treasury
Post by: Eileanra on December 27, 2007, 10:16:32 PM
I just installed the mod today and in my package page (in my admin panel), I see the     Treasury  2.05 (Installed mods &  current version with the green spot). I can also uninstall it.

But actually I not see nothing for setup it or activate the paypal option, etc...

Sorry, I just move my old board to SMF yesterday and I'm new on this system.
Title: Re: Treasury
Post by: aussieholden on January 01, 2008, 08:46:48 AM
Anyone experincing the Treasury Page not Updating reply to this post for help from other SMF members that have got it working and got no help from Resourcez support site :-

http://www.simplemachines.org/community/index.php?topic=214080.0



Title: Re: Treasury
Post by: wilsy on January 01, 2008, 11:16:01 AM
Please either use this thread for support or Resourcez own support forum. Otherwise we will be all over the place. In my view it also seems that you just want a whinge, get over yourself :(

Some replies from that page you are trying to redirect us to: -

I got the Treasury mod last week and despite it being the holidays, Resourcez has been replying to everybody's inquiries daily. I see you only registered today at his forum and have zero posts, so I have no idea how you can say he has been avoiding your questions?

In fact, just taking a quick look, he has responded to every single question asked since mid November, and presumably long before that that. You can't get better than a 100% response rate. He was even responding to questions on Christmas Day.



Resourcez has also replied to all my questions.

Our Treasury page will not auto update when a donation is made, but I can just manual added the donation info going through Admin>Treasury.

It would be nice to get the auto updates, but it's not a big deal for us at this time.

We are really happy with how the mod works for us.



I am happy too, and I have the mod installed and working just fine - thanks to Resourcez, another member of this excellent community who gives his time freely to be be at the mercy of all and sundry who come along to have a pop! Rant over :)

Regards,

Wilsy.
Title: Re: Treasury
Post by: SgtMic on January 02, 2008, 03:14:22 PM
I can also attest to the timely response and help from Resourcez. That is the reason we now have a v2.05. I was having conflicts between v2.04 and Subscriptions. Resourcez took to task and updated the Treasury. Kudos to Resourcez.
Title: Re: Treasury
Post by: texasflats on January 09, 2008, 04:34:48 PM
I installed it last night on a heavily modded SMF/TP site and it went as smooth as silk. :D

Thanks Resourcez!
Title: Re: Treasury
Post by: Omniverse on January 11, 2008, 02:30:21 PM
Love this mod thanks.
 
I only have one suggestion. I would like to be able to set a yearly goal vs. the monthly. :)
Title: Re: Treasury
Post by: falguni1 on January 12, 2008, 03:16:23 AM
yes the admin should be given option to set the goal yearly, monthly, weekly, quaterly.
Title: Re: Treasury
Post by: ApplianceJunk on January 19, 2008, 10:37:40 AM
Thanks you for this awesome mod.

We are using with wtih SMF and TP.

I have our TP button going to http://appliancejunk.com/forums/index.php?action=treasury#MakeDonation

I would like to find and change the location of the #MakeDonation so the botton takes you to the top of the text box and not the top of the Please select an amount:

I have been looking in the .php files, but can not seem to locate it.
Title: Re: Treasury
Post by: Resourcez on January 20, 2008, 08:02:22 AM
Treasury.template.php
Title: Re: Treasury
Post by: ApplianceJunk on January 20, 2008, 09:34:43 AM
Treasury.template.php

found it, thanks!
Title: Re: Treasury
Post by: Aleksi "Lex" Kilpinen on January 20, 2008, 10:38:50 AM
Tried to download this twice to test it, and both times the package came in corrupted. Could not even open the file.
Title: Re: Treasury
Post by: Resourcez on January 20, 2008, 10:44:46 AM
I've just checked the download - it appears to be fine.
Title: Re: Treasury
Post by: Aleksi "Lex" Kilpinen on January 20, 2008, 12:38:27 PM
Strange. Think I'll just have take another go at it.
Title: Re: Treasury
Post by: Aleksi "Lex" Kilpinen on January 20, 2008, 12:44:37 PM
Nope.

http://www.lex.arma.jossain.com/treasury_2.05.jpg

Well, I'll just give up, since I don't really need this. Was just curious.
But wanted to let you know anyhow, if someone else has the same trouble.
Title: Re: Treasury
Post by: - danny on January 21, 2008, 01:19:06 PM
I like the idea behind this, but when I try to download, I get this:

Quote
The package you tried to upload either is not a valid package or has become corrupted.
Title: Re: Treasury
Post by: - danny on January 21, 2008, 01:26:10 PM
(http://b.imagehost.org/0006/screen.jpg) (http://b.imagehost.org/download/0006/screen.bmp)
Title: Re: Treasury
Post by: Aleksi "Lex" Kilpinen on January 21, 2008, 01:47:56 PM
Kind of happy to hear I wasn't the only one having trouble..
But, then again... :(
Title: Re: Treasury
Post by: SgtMic on January 21, 2008, 03:01:02 PM
Here is the .zip

edit: removed attachment
Title: Re: Treasury
Post by: - danny on January 21, 2008, 03:51:55 PM
Here is the .zip

that was perfect. thank you! :D
Title: Re: Treasury
Post by: - danny on January 21, 2008, 08:10:30 PM
i've got a quick question...maybe i haven't read through the entire thread thoroughly, but does this mod automatically update once a donation is made, or do we have to manually do it? i've read the entire read me and made all the changes, just curious about that particular part is all.
Title: Re: Treasury
Post by: SgtMic on January 21, 2008, 10:39:12 PM
If someone use Treasury to pay, it automatically records it. If someone pays via echeck, you will have to manually change "pending" to "completed" once the check clears Paypal.
Title: Re: Treasury
Post by: liam.spelman on January 22, 2008, 08:34:38 AM
Hey i pmed you my problem
Title: Re: Treasury
Post by: - danny on January 22, 2008, 09:11:04 AM
thank you. :)
Title: Re: Treasury
Post by: metallica48423 on January 22, 2008, 03:17:37 PM
is there a reason for the attachment? is there an issue with the package on the mod page?
Title: Re: Treasury
Post by: SgtMic on January 22, 2008, 04:16:58 PM
is there a reason for the attachment? is there an issue with the package on the mod page?

Yes, it was just sending you to a blank page instead of downloading the .zip file.
Title: Re: Treasury
Post by: metallica48423 on January 22, 2008, 04:22:10 PM
hmm, weird, it does work fine for me :o
Title: Re: Treasury
Post by: SgtMic on January 22, 2008, 04:28:44 PM
I just checked and it now worked for me also.
Title: Re: Treasury
Post by: metallica48423 on January 22, 2008, 05:06:15 PM
removed attachment at the request of the mod author
Title: Re: Treasury
Post by: Resourcez on January 22, 2008, 08:22:35 PM
The download in the mod area downloaded fine for me, and obviously several hundred others.  I replaced it with the exact same copy I had previously uploaded and that also downloads fine, so I have no idea what the problem may have been.

Having an attachment placed in forums will inevitably mean that it becomes out of date.
Title: Re: Treasury
Post by: winrules on January 22, 2008, 08:31:51 PM
After our recent downtime many attachments (including mod files) were lost and wern't restored for about a day and a half, so that was what the problem was probably.
Title: Re: Treasury
Post by: SgtMic on January 22, 2008, 11:38:39 PM
removed attachment at the request of the mod author

Good to go.
Title: Re: Treasury
Post by: futuro on January 24, 2008, 05:22:52 AM
how install it on localhost? thanks
Title: Re: Treasury
Post by: Daedroth on January 24, 2008, 09:04:26 PM
Someone above had the same problem I'm having, So after careful review I tried the advice you gave them.
Let me explain my issue.  I unload the package and its contents, to the correct folder, then when i went to "apply" the package it opened up a window that asked for my ftp information. On the top of the box it said

"Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager."

I input all my correct ftp information, and clicked "Proceed" Nothing happened, The box cleared out my password, and it never loaded the package. In the above post you said that I needed to use "cleanup permissions" in the "options" tab under "packages" but that fed me the same thing. Am i doing something wrong or what? Any light you could shed on this would be great. Thanks.
Title: Re: Treasury
Post by: - danny on January 25, 2008, 09:20:12 PM
i had to set permissions on those files to 777.

i'm not 100% sure that will fix your issue, but it did for me...
Title: Re: Treasury
Post by: Daedroth on January 25, 2008, 09:58:05 PM
i had to set permissions on those files to 777.

What files?
Title: Re: Treasury
Post by: Daedroth on January 25, 2008, 10:38:44 PM
I changed my entire "packages" directory to 777, and that did not help.
Title: Re: Treasury
Post by: futuro on January 26, 2008, 06:04:32 AM
on localhost everyone have 777
Title: Re: Treasury
Post by: - danny on January 26, 2008, 03:37:52 PM
I changed my entire "packages" directory to 777, and that did not help.

sorry for the confusion, but it should point out which files it's trying to modify. it's those files you should set to 777.

hope that helps.
Title: Re: Treasury
Post by: MonoTiz on January 27, 2008, 08:19:17 AM
how install it on localhost? thanks
Same problem... in localhost I can't install for permission problem (I have set 777 all file).
Title: Re: Treasury
Post by: Resourcez on January 27, 2008, 12:28:11 PM
These are not Treasury issues - Treasury is provided according to SMF requirements and is installed within the SMF Package installer.  The perceived inability of the installer to handle your server permissions is not a matter for Treasury - it is a matter between you and, in most cases, your Win server.

You should pursue SMF Package issues in a separate topic, an example of which is provided below,
http://www.simplemachines.org/community/index.php?topic=120554.msg771733#msg771733

Perhaps we might even be lucky and a moderator might find time to split out the irrelevant posts :)

To mimimize issues, the Beta2 version does away with its own install directory and uses only existing SMF directories, but this cannot have any impact on the "temp" directory that the installer requires for installing mods.
Title: Re: Treasury
Post by: Daedroth on January 28, 2008, 12:14:15 AM
Resourcez, thank you. I'll try that
Title: Re: Treasury
Post by: TheWrath! on February 04, 2008, 06:38:11 PM
I get a prompt to enter my ftp information when it is correct it still wont accept it.
Title: Re: Treasury
Post by: Resourcez on February 04, 2008, 08:55:24 PM
Regrettably, that's not a Treasury issue - you may have a packages permission issue, especially if you are on a win server.  Read my previous post.
Title: Re: Treasury
Post by: Resourcez on February 05, 2008, 06:45:51 AM
Treasury version 2.06 released (http://custom.simplemachines.org/mods/index.php?mod=916) - many changes and enhancements with all features of the SMF2 Beta2.1 version being back-ported.


Title: Re: Treasury
Post by: TheWrath! on February 05, 2008, 07:55:19 AM
I believe it was something with version 2.05 becuase 2.06 works great.

EDIT

Quote
Fatal error: Function name must be a string in C:\xampp\htdocs\ACE\Sources\TreasuryAdmin.php on line 558

this happens when i delete one of the records already in there. this area is the register and where it says like "Web hosting for 3 months" That stuff I am trying to remove.

Also when I go into the paypal IPN reconcile button it throws this error to me
Quote
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 '}treas_donations
WHERE (payment_status = 'Completed' OR payment_status = 'Re' at line 2
File: C:\xampp\htdocs\ACE\Sources\TreasuryAdmin.php
Line: 942
Title: Re: Treasury
Post by: Resourcez on February 05, 2008, 08:12:16 AM
Well, I would suggest something has changed on your site, because 2.06 installs in a similar manner - only difference is that it now only uses existing SMF directories, which may bypass one of the package installer's issues with directory permissions (one of my objectives).

Damn, those two are bugs :(  but not exactly unexpected given the changes I had to make.

Now fixed in the download, and attached - simply copy to your Sources directory.

EDIT: out of date attachment removed.
Title: Re: Treasury
Post by: ApplianceJunk on February 05, 2008, 01:23:37 PM
So I need to uninstall the old treasury before I download and install the new one correct?

Title: Re: Treasury
Post by: ApplianceJunk on February 05, 2008, 01:45:27 PM
Ok, I uninstall the old 2.04 and deleted the files.
Then I installed the new 2.06, everything seems to be working but my block.

I had a php block with this in it before.

Code: [Select]
global $boarddir;
include("$boarddir/treasury/DonationBlock.php");

What can I do to get my block working again?

Thanks for all your hard work on this mod, it's awesome!!
Title: Re: Treasury
Post by: Daedroth on February 05, 2008, 04:09:36 PM
All installed, Turned out to be the dumb server, I had a few other errors that were resolved on your webpage, http://resourcez.biz/

I have one other question, about how I would go about putting a link in the top menu, just before the logout/log in link.  I dont know if this is the right place to ask this question, But i just want it to match my template.  Everytime i edit the index.trmplate.php file, the site is thrown off, and wont load correctly.  Anyway if this is the wrong place to post this i do apologize, would you be able to point me to the right thread. I cant find a place to ask this question.

But awesome work on the mo, works like a charm.
Title: Re: Treasury
Post by: SgtMic on February 05, 2008, 04:14:25 PM
Daedroth, there is a mod called "chatbutton", download that and change the button from "chat" to whatever you want to call it per that mod's instructions.

Now back on topic...
Title: Re: Treasury
Post by: Daedroth on February 05, 2008, 04:20:11 PM
Thanks
Title: Re: Treasury
Post by: Resourcez on February 05, 2008, 05:50:02 PM
@ApplianceJunk - you will need the revised block.
Title: Re: Treasury
Post by: ApplianceJunk on February 05, 2008, 05:55:12 PM
@ApplianceJunk - you will need the revised block.

How do I go about doing that?

thanks,
Title: Re: Treasury
Post by: Resourcez on February 05, 2008, 06:05:58 PM
Presumably from the same place you originally got it - this is an SMF support topic, not TP.
Title: Re: Treasury
Post by: ApplianceJunk on February 05, 2008, 06:08:53 PM
Presumably from the same place you originally got it - this is an SMF support topic, not TP.

I got it from the first page of this topic when you first helped me with it.

http://www.simplemachines.org/community/index.php?topic=210789.msg1348217#msg1348217

Title: Re: Treasury
Post by: ApplianceJunk on February 05, 2008, 06:09:50 PM
I no longer have a root/treasury/ directory so I am lost at what to do.

thanks,

Edited to add:

 I'm no longer lost as I have read your site as I should have done the first time.
 Everything I needed to know to get Treasury working in a block again was found here.
 
http://resourcez.biz/index.php?topic=92.0 (http://resourcez.biz/index.php?topic=92.0)
Title: Re: Treasury
Post by: Resourcez on February 05, 2008, 07:12:53 PM
np - thanks for reminding me of that post - I have now edited that previous post to reflect Treasury TP support is as per that link.

As I intimated earlier, I cannot provide TP support here - after all, it is an SMF support forum :)
Title: Re: Treasury
Post by: ApplianceJunk on February 05, 2008, 08:04:45 PM
Now I am starting to get picky :)

I noticed when you go to someone profile to view there donations the one line looks like there is a dot over the "S" in usd.

Could you tell me were to look to manually repair it and just what to repair.

I have already made a number of changes so even if you repair this in a new version I would like to know how to manually correct it for now so I don't have to redo any of my changes.

Your so lucky you understand this stuff. Sure wish I knew more about it. :)

Thanks,
 AJ

Title: Re: Treasury
Post by: Resourcez on February 05, 2008, 08:57:09 PM
Sure, just wipe the spot off your screen (just kidding).

Obviously you use IE and I failed to check that section under IE - down to its usual standard of poorly rendering valid code.

Approximately line 248 - converted list to standard css.

EDIT: out of date attachment removed.
Title: Re: Treasury
Post by: H3 Skillz on February 05, 2008, 10:17:29 PM
Does this work with the latest version of TinyPortal?  I am using TP 0.9.8 and I love this mod.  However, it doesn't seem to come up in the block selection.  Where should it be located, is it just a block or is it in that SSI Functions or something? (I think I searched through all of those ones with subcatagories but maybe I missed something)
Title: Re: Treasury
Post by: Resourcez on February 05, 2008, 10:58:13 PM
http://www.simplemachines.org/community/index.php?topic=210789.msg1348217#msg1348217
Title: Re: Treasury
Post by: ApplianceJunk on February 05, 2008, 11:17:54 PM
Quote
Sure, just wipe the spot off your screen

Funny you should say that.
My first reaction was to scroll up and down to see if it was something on the screen, lol...

Quote
Obviously you use IE
I was there, but I like firefox better.
I view my site using both to see how it looks to IE and Firefox users.

Quote
Approximately line 248 - converted list to standard css.

Got it. Looks good now.

thanks again..


Title: Re: Treasury
Post by: ApplianceJunk on February 05, 2008, 11:21:04 PM
Does this work with the latest version of TinyPortal?  I am using TP 0.9.8 and I love this mod.

Same here, this is what I used to get it working in a TP block.
http://www.simplemachines.org/community/index.php?topic=210789.msg1412879#msg1412879
Title: Re: Treasury
Post by: H3 Skillz on February 05, 2008, 11:28:57 PM
Yea, I tried using both of the scripts found:

http://resourcez.biz/index.php?topic=92.0

And neither of them worked.  I that maybe because I am only using SMF 1.1.4 while those tutorials are meant for 2.whatever?
Title: Re: Treasury
Post by: Resourcez on February 05, 2008, 11:35:03 PM
There is quite deliberately no info related to the SMF2 version in those links - that version is only available in the Charter Member forums.  For that matter, there isn't a TP version for SMF, yet.

Please, this is topic is about SMF, only.
Title: Re: Treasury
Post by: H3 Skillz on February 05, 2008, 11:43:08 PM
Ok, my bad.  Then I have an SMF question.  I can't find the file DonationBlock.php.  Where is it?  It didn't seem to have been extracted or whatever when the instalation went on (cuz when I click uninstall just to see what files were modified and created, it isn't listed).
Title: Re: Treasury
Post by: Resourcez on February 05, 2008, 11:48:57 PM
Very humorous - it's not part of an SMF installation.
Title: Re: Treasury
Post by: H3 Skillz on February 05, 2008, 11:52:40 PM
Sorry, that wan't meant to be funny, I guess I just have no idea what is going on.  After reading that readme file, all I learned from it is that I should test it either in PayPal sandbox or by trying it with another paypal account and refunding it.  Will the block like not unlock until I have done that or something?

Edit: Well, I have to go to sleep now but I'll check this topic later tomorrow.  I'm really not trying to be a pain, I guess I'm just missing something.
Title: Re: Treasury
Post by: H3 Skillz on February 07, 2008, 07:12:58 PM
Oh, sorry, one more question.  Is there a way for me to change the action=treasury to say action=donate instead?  I already know how to add a link to the navigation bar or modify one but what do I need to change in the mod files to make it say donate instead of treasury?  I don't want to change any of the database entries or things that users can't publically see but I would like the action= to be donate.  How could I do that?

Never mind, I figured that out, it was a really simple change in the index.php file!
Title: Re: Treasury
Post by: Resourcez on February 07, 2008, 07:47:18 PM
Good luck - when you start messing with code, you're on your own.
Title: Re: Treasury
Post by: H3 Skillz on February 08, 2008, 05:55:39 PM
Ok, yea, I guess I kinda determined I don't need the donations block for tinyportal anymore, I'll just draw a cool image asking people to donate and put it in a scriptblock and link it to the donors page instead.
Title: Re: Treasury
Post by: Trinny on February 09, 2008, 05:19:33 PM
Just a thank you post. This mod is awesome, it's exactly what Ive been needing and works perfectly. Thanks so much for putting the time into this.
Title: Re: Treasury
Post by: BPDFamily.com on February 14, 2008, 03:44:04 PM
We're running 1.1.4 (with ad mod, treasury).

This is probably a naive question, but when I insert my HTML text on in the text box in the main configuration page, it reads great in Firefox but a mess in IE.

I noticed that the code is being changed by the program (see boxes below).

Any thoughts on a work around.  Do I need to activate a setting in SMF?


This is the code I'm inserting...

Code: [Select]
<table width="100%" border="0" cellspacing="0">
<tr>
<td rowspan="2" width="300">
<div align="center">
<font size="3" color="#3974ae" face="Arial,Helvetica,sans-serif"><b>Facing the Facts &#149; BPD Family </b></font><font color="#3974ae"><br>
</font><font size="3" color="#3974ae" face="Arial,Helvetica,sans-serif"><b>2008 Fund Drive</b></font><br>
</div>
</td>
<td></td>
<td colspan="2" valign="bottom" width="220">
<div align="center">
<font size="1" color="#770000" face="Arial,Helvetica,sans-serif"><b>2008 Platinum Level Sponsor * </b></font></div>
</td>
</tr>
<tr height="5%">
<td height="5%"></td>
<td rowspan="2" align="left" valign="top" width="110">
<div align="left">
<font size="1" color="#770000" face="Arial,Helvetica,sans-serif">ForeverDad</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">KsStepMom</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Bewildered2</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">NewLifeforHGG</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Elphaba</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Matt inTucson</font><font size="1"><br>
<br>
<br>
<br>
</font></div>
</td>
<td rowspan="2" align="left" valign="top" width="110">
<div align="left">
<font size="1" color="#770000" face="Arial,Helvetica,sans-serif">NewLifeforHGG</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Elphaba</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Matt inTucson</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Skip</font><font size="1"><br>
<br>
<br>
<br>
<br>
<br>
</font></div>
</td>
</tr>
<tr>
<td rowspan="4" valign="top" width="300">
<div align="justify">
<br>
<font color="#3974ae"><font size="2" face="Arial,Helvetica,sans-serif">Help keep Facing the Facts strong and healthy. </font><font size="2"><br>
<br>
</font><font size="2" face="Arial,Helvetica,sans-serif">You support this site with your presence, your posts and your support for other members. For that we all are grateful. Can you also support our community financially by becoming a sponsor?</font></font><br>
<br>
<font color="#3974ae"><font size="2" face="Arial,Helvetica,sans-serif">This community has been a godsend to so many over the years. Our continued availablity is vitally important to those caught in situations like our own with nowhere to turn. </font></font><br>
<br>
<font color="#3974ae"><font size="2" face="Arial,Helvetica,sans-serif">We are now operating on a more powerful and costly infrastucture. Programming needs have grown in support the many new system features. And most importantly, we hope to increase our reach to other lost souls. </font><font size="2"><br>
</font><br>
</font><font size="1" color="#555555" face="Arial,Helvetica,sans-serif">Funds will only be used to pay out-of-pocket expenses incurred after January 1, 2008. Funds will be kept in a community account.  Expenditures will be administered by the staff moderators. No member will be paid with these funds. Donations are not tax deductible - but they help people. </font><br>
<br>
<font size="1" color="#770000" face="Arial,Helvetica,sans-serif"><b>* </b></font><font size="1" color="#555555" face="Arial,Helvetica,sans-serif">Platinum and Silver listings are <b>updated monthly</b>. Platinum sponsors contributed $100.00 or more. Silver sponsors contributed $75.00 or more. Member donations this month is recorded in real time. </font><br>
<br>
</div>
</td>
<td></td>
</tr>
<tr height="9">
<td height="9"></td>
<td colspan="2" align="center" valign="top" width="220" height="9">
<div align="center">
<hr>
</div>
</td>
</tr>
<tr height="14">
<td height="14"></td>
<td colspan="2" align="center" valign="top" width="220" height="14"><font size="1" color="#770000" face="Arial,Helvetica,sans-serif"><b>2008 Silver Level </b></font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif"><b>Sponsor</b></font></td>
</tr>
<tr height="210">
<td height="210"></td>
<td valign="top" width="110" height="210">
<div align="left">
<font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Joannak</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">HappyGirl</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Skip</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Peace4us</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">ForeverDad</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">KsStepMom</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Bewildered2</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Joannak</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">HappyGirl</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Skip</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Peace4us</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">ForeverDad</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">KsStepMom</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Bewildered2</font><font size="1"><br>
</font></div>
</td>
<td valign="top" width="110" height="210">
<div align="left">
<font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Skip</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Joannak</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Peace4us</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">NewLifeforHGG</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Elphaba</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Matt inTucson</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">HappyGirl</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Skip</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Joannak</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Peace4us</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">NewLifeforHGG</font><font size="1"><br>
</font><font size="1" color="#770000" face="Arial,Helvetica,sans-serif">Elphaba</font><font size="1"><br>
<br>
<br>
</font></div>
</td>
</tr>
</table>


This is how its being saved

Code: [Select]
<table width=\"100%\" border=\"0\" cellspacing=\"0\">
<tr>
<td rowspan=\"2\" width=\"300\">
<div align=\"center\">
<font size=\"3\" color=\"#3974ae\" face=\"Arial,Helvetica,sans-serif\"><b>Facing the Facts • BPD Family </b></font><font color=\"#3974ae\"><br>
</font><font size=\"3\" color=\"#3974ae\" face=\"Arial,Helvetica,sans-serif\"><b>2008 Fund Drive</b></font><br>
</div>
</td>
<td></td>
<td colspan=\"2\" valign=\"bottom\" width=\"220\">
<div align=\"center\">
<font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\"><b>2008 Platinum Level Sponsor * </b></font></div>
</td>
</tr>
<tr height=\"5%\">
<td height=\"5%\"></td>
<td rowspan=\"2\" align=\"left\" valign=\"top\" width=\"110\">
<div align=\"left\">
<font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">ForeverDad</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">KsStepMom</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Bewildered2</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">NewLifeforHGG</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Elphaba</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Matt inTucson</font><font size=\"1\"><br>
<br>
<br>
<br>
</font></div>
</td>
<td rowspan=\"2\" align=\"left\" valign=\"top\" width=\"110\">
<div align=\"left\">
<font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">NewLifeforHGG</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Elphaba</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Matt inTucson</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Skip</font><font size=\"1\"><br>
<br>
<br>
<br>
<br>
<br>
</font></div>
</td>
</tr>
<tr>
<td rowspan=\"4\" valign=\"top\" width=\"300\">
<div align=\"justify\">
<br>
<font color=\"#3974ae\"><font size=\"2\" face=\"Arial,Helvetica,sans-serif\">Help keep Facing the Facts strong and healthy. </font><font size=\"2\"><br>
<br>
</font><font size=\"2\" face=\"Arial,Helvetica,sans-serif\">You support this site with your presence, your posts and your support for other members. For that we all are grateful. Can you also support our community financially by becoming a sponsor?</font></font><br>
<br>
<font color=\"#3974ae\"><font size=\"2\" face=\"Arial,Helvetica,sans-serif\">This community has been a godsend to so many over the years. Our continued availablity is vitally important to those caught in situations like our own with nowhere to turn. </font></font><br>
<br>
<font color=\"#3974ae\"><font size=\"2\" face=\"Arial,Helvetica,sans-serif\">We are now operating on a more powerful and costly infrastucture. Programming needs have grown in support the many new system features. And most importantly, we hope to increase our reach to other lost souls. </font><font size=\"2\"><br>
</font><br>
</font><font size=\"1\" color=\"#555555\" face=\"Arial,Helvetica,sans-serif\">Funds will only be used to pay out-of-pocket expenses incurred after January 1, 2008. Funds will be kept in a community account.  Expenditures will be administered by the staff moderators. No member will be paid with these funds. Donations are not tax deductible - but they help people. </font><br>
<br>
<font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\"><b>* </b></font><font size=\"1\" color=\"#555555\" face=\"Arial,Helvetica,sans-serif\">Platinum and Silver listings are <b>updated monthly</b>. Platinum sponsors contributed $100.00 or more. Silver sponsors contributed $75.00 or more. Member donations this month is recorded in real time. </font><br>
<br>
</div>
</td>
<td></td>
</tr>
<tr height=\"9\">
<td height=\"9\"></td>
<td colspan=\"2\" align=\"center\" valign=\"top\" width=\"220\" height=\"9\">
<div align=\"center\">
<hr>
</div>
</td>
</tr>
<tr height=\"14\">
<td height=\"14\"></td>
<td colspan=\"2\" align=\"center\" valign=\"top\" width=\"220\" height=\"14\"><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\"><b>2008 Silver Level </b></font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\"><b>Sponsor</b></font></td>
</tr>
<tr height=\"210\">
<td height=\"210\"></td>
<td valign=\"top\" width=\"110\" height=\"210\">
<div align=\"left\">
<font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Joannak</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">HappyGirl</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Skip</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Peace4us</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">ForeverDad</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">KsStepMom</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Bewildered2</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Joannak</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">HappyGirl</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Skip</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Peace4us</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">ForeverDad</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">KsStepMom</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Bewildered2</font><font size=\"1\"><br>
</font></div>
</td>
<td valign=\"top\" width=\"110\" height=\"210\">
<div align=\"left\">
<font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Skip</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Joannak</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Peace4us</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">NewLifeforHGG</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Elphaba</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Matt inTucson</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">HappyGirl</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Skip</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Joannak</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Peace4us</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">NewLifeforHGG</font><font size=\"1\"><br>
</font><font size=\"1\" color=\"#770000\" face=\"Arial,Helvetica,sans-serif\">Elphaba</font><font size=\"1\"><br>
<br>
<br>
</font></div>
</td>
</tr>
</table>
Title: Re: Treasury
Post by: Resourcez on February 14, 2008, 06:25:33 PM
The text you entered contains quotes, so Treasury has to escape the quotes to save it in the database.  That should not be the cause of your problems.

If you have an IE issue it will be because of something in the html you have used, and that is something you need to determine.  I suggest you run your page through a validator and fix the errors first, then assess what may be causing the problem.

Beyond that, it's outside the topic scope.

Edit: other than some innocuous <br /> issues, I've checked your code and it presents just fine in FF, IE7 and IE6 on a vanilla SMF/Treasury install.  Perhaps you have an unclosed div table tr td tag somewhere else in your theme - once again, the validator should reveal that.
Title: Re: Treasury
Post by: BPDFamily.com on February 14, 2008, 09:28:29 PM
Thank you for taking the time to test that!
Title: Re: Treasury
Post by: BPDFamily.com on February 15, 2008, 10:07:04 AM
OK.  On a clean version with the mainconfiguation page text blank (empty field), I see these syntax errors (xHTML 1.0 transitional). 

Are thse in the mod itself?

(http://www.facing-the-facts.net/images/treasury_syntax.jpg)
Title: Re: Treasury
Post by: kamu8recon on February 17, 2008, 11:48:49 AM
I tried to install this twice with no luck, actually the install went in clean as well as setting up the files, but when i browse to my forum homepage I dont see the donate button, I do not have tinyportal installed. I would like some help with this or if their is a tiny portal that would suite my theme that would be very helpful. my site = http://asskikrzrevivl.com/forum/index.php (http://asskikrzrevivl.com/forum/index.php)

New 2 forums
Title: Re: Treasury
Post by: BPDFamily.com on February 21, 2008, 07:55:23 PM
Can't saw enough about this mod or the support - first class.  i included a couple of Picts of our installation.

We are having 2 problems that i would like to fix:

1) On pending payments (like e-check), the donations do not show up a the time of the transaction or after the payment clears.  i have to go into the database and edit the records.

2) Members that have a display name different than the username show up unlinked in the donation list - another database fix required.

Any thoughts?


(http://www.bpdfamily.org/images/smf1.jpg)
(http://www.bpdfamily.org/images/smf2.jpg)

Full size top (http://www.bpdfamily.org/images/smf1.jpg)
Full size bottom (http://www.bpdfamily.org/images/smf2.jpg)
Title: Re: Treasury
Post by: Resourcez on February 21, 2008, 08:22:26 PM
@kamu8recon - you've already received considerable, good advice in some splinter topic.
Treasury, as with most mods, installs on the default template - you need to add the appropriate menu link to your own custom theme, as you were advised.  Best to stick with the topic where you posted. 

@Facing the facts
a) echecks remain pending until cleared by PayPal, as advised in the ReadMe, and Treasury did not (in that version) pick up the later IPN returned by PayPal.  As per the Readme, you need to make a manual adjustment.
[edit]you don't need to go into your database - you edit the donation using the edit facility provided by Treasury[/edit]

Numerous attempts by me to collect that info failed, and I now know why - PayPal has had a problem for the past 2 months and is failing to send that return info, and there are a lot of peeved users waiting for them to fix it.  In the 2.07 release I have added a solution that should work, if and when PayPal get their act together.

b) yes, I can adjust that - it will compare the id's rather than the names since SMF has this double name system.
Title: Re: Treasury
Post by: weightman on February 22, 2008, 10:48:00 PM
Hi, I am trying out this mod. It is very, very cool but I do have one problem. If you click the 'Make A Donation" button from my Treasury page it takes you to my site home page (CMS-not forum) rather than taking you to Paypal. If you click the "Paypal Donate" button instead, down in the left corner, it seems to work correctly. Can anyone help fix this issue? I am also wondering what the difference is supposed to be between the two different paypal buttons.

Thanks very much in advance.

Forum: http://weightliftingexchange.com/index.php?option=com_smf&Itemid=39

Link/Home page it is redirecting to from "Make A Donation" button: http://weightliftingexchange.com/index.php?action=treasury#MakeDonation
Title: Re: Treasury
Post by: Resourcez on February 23, 2008, 12:48:50 AM
Version 2.07 Released (http://custom.simplemachines.org/mods/index.php?mod=916)

@Facing the facts - should resolve your two issues.
[edit]in 2.07, if you click edit and then save for each of the donations not hyperlinked, you should find they will be automagically fixed[/edit]

@weightman - the initial button is for an anchor and is there to take people to the donation button further down the page, which helps when there is a large preamble.  Naturally, it is coded as an SMF link.
Since your link is for registered users only, I can only presume you need to convert the link to one suitable for Mambo.
Perhaps index.php?option=com_smf&Itemid=39#MakeDonation
Code is the hyperlink on line 69 of Treasury.template.php in v2.07
Title: Re: Treasury
Post by: weightman on February 23, 2008, 11:29:17 AM
Resourcez, thanks very much. I didn't mean to have it for registered users only- just forgot to set permissions. I took care of that. Changing the link to your suggestion makes it go to the forum home page now, which is a little better but not as good as going to the proper place.

Actually, I would prefer, since my text is short on the page, to have only one button- the one that takes them to paypal and move it up to replace the button that is supposed to move them down the same page. Could you please tell me how to do that?

Thanks very much
Title: Re: Treasury
Post by: ApplianceJunk on February 23, 2008, 11:40:26 AM
Resourcez, thanks very much. I didn't mean to have it for registered users only- just forgot to set permissions. I took care of that. Changing the link to your suggestion makes it go to the forum home page now, which is a little better but not as good as going to the proper place.

Actually, I would prefer, since my text is short on the page, to have only one button- the one that takes them to paypal and move it up to replace the button that is supposed to move them down the same page. Could you please tell me how to do that?

Thanks very much

Sounds like somethings we changed on ours.
This is just off the top of my head, but I think it was Treasury.template.php that I did the edits in.

Title: Re: Treasury
Post by: SgtMic on February 23, 2008, 01:53:48 PM
I just removed that top paypal icon and use the one on the lower left side.
Title: Re: Treasury
Post by: Resourcez on February 23, 2008, 02:48:44 PM
Code is the hyperlink on line 69 of Treasury.template.php in v2.07
I had thought this was very specific  ???

Anyway, now that I can see it, the link you gave was to the forum, not Treasury, so of course the change to it was wrong :)

index.php?option=com_smf&Itemid=39&action=treasury#MakeDonation - tested and works.

It's been centuries since I used Mumbo, so I have virtually forgotten it's codebase.
Title: Re: Treasury
Post by: weightman on February 23, 2008, 02:59:20 PM
Code: [Select]
I had thought this was very specific ?Sure, it was. I just don't know much PHP. The link you just provided works properly though. I still would like to replace the top center button with the bottom left one if possible- so there is only one button and which takes you to paypal. I looked at the code but am unsure how to make the change. If you get the time to tell me how to do it, I would really appreciate it though things are pretty good now with the fixed link you provided. I assume I would just need to cut a little code and paste it over some other code....

Again, thanks for the fantastic mod and support.
Title: Re: Treasury
Post by: Resourcez on February 23, 2008, 03:11:22 PM
Change line 69 of version 2.07 to
Code: [Select]
  <div style="text-align:center;"><a href="index.php?option=com_smf&Itemid=39&action=treasury#MakeDonation"><img src="', $settings['default_images_url'], '/', $tr_config['don_button_top'], '" alt="" style="margin:5px 0px 0px 0px; border:0;', $don_top_image_dims, '" /></a></div>If you don't want the button then change line 69 to
Code: [Select]
//   <div style="text-align:center;"><a href="index.php?option=com_smf&Itemid=39&action=treasury#MakeDonation"><img src="', $settings['default_images_url'], '/', $tr_config['don_button_top'], '" alt="" style="margin:5px 0px 0px 0px; border:0;', $don_top_image_dims, '" /></a></div>
Title: Re: Treasury
Post by: orca8767 on February 23, 2008, 06:02:10 PM
Hey. I installed your mod, and it works beautifully.

Just one thing. How can I add more things for it to do once somebody has donated, such as add karma or shop credits?
I have the code to add karma and credits, but I don't know where to put it.
Title: Re: Treasury
Post by: weightman on February 23, 2008, 07:08:11 PM
Thanks very much Resourcez. Would it also be possible to turn the TP Block into a Mambo module? I have a html/php/css module in my mambo and tried it inside the module. I got "hacking attempt." My mambo is in the root directory and my forum is in a sub of it. Any tips on how to do this type of thing would be much appreciated. I have scanned the SSI FAQs but this block doesn't seem to use SSI.

Thanks very much
Title: Re: Treasury
Post by: Damian1221 on February 23, 2008, 11:24:45 PM
Hey. I installed your mod, and it works beautifully.

Just one thing. How can I add more things for it to do once somebody has donated, such as add karma or shop credits?
I have the code to add karma and credits, but I don't know where to put it.

I second this could somebody please explain how I could get this to work and mabey more credits depending on how much you donate?


EDIT:

I seem to have another problem that certain members get the message that they can't access the treasury.  I tried looking in the permissions but there is not one there for the treasury. Also when it installed I didn't get a menu in the Admin panel I had to go to action=treasuryadmin but i've gotten a link in the admin panel on another board

any suggstions?
Title: Re: Treasury
Post by: SgtMic on February 24, 2008, 01:23:28 AM
Damian, what theme are you using? If you are not using the default, you will have to manually install the mod.
Title: Re: Treasury
Post by: Damian1221 on February 24, 2008, 01:27:33 AM
nvm it didn't add to my modification.english.php for some reason

any idea how to add credits though?
Title: Re: Treasury
Post by: SgtMic on February 24, 2008, 01:42:45 AM
No idea on credits or karma.
Title: Re: Treasury
Post by: 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.
Title: Re: Treasury
Post by: orca8767 on February 24, 2008, 02:28:39 PM
Ok...

So where would I put code to add karma and credits after donating? And how can I set a variable as the amount they donated?
Title: Re: Treasury
Post by: SgtMic on February 24, 2008, 03:04:51 PM
You can set the "set" donations by going to Admin/Treasury/MainConfig
Title: Re: Treasury
Post by: Resourcez on February 24, 2008, 06:06:22 PM
@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.
Title: Re: Treasury
Post by: orca8767 on February 25, 2008, 04:27:06 PM
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.

Code: [Select]
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>';
Title: Re: Treasury
Post by: Resourcez on February 25, 2008, 05:15:05 PM
Thanks but no thanks - it's not that simplistic.
Title: Re: Treasury
Post by: ApplianceJunk on February 25, 2008, 07:19:52 PM
Hi,

Looking at the update. :)

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

What does that mean?

Quote
Updated 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,

Title: Re: Treasury
Post by: Resourcez on February 25, 2008, 07:28:00 PM
Calculations in the block are changed - no further TP discussion here please :)
Title: Re: Treasury
Post by: ApplianceJunk on February 25, 2008, 07:48:11 PM
Quote
no further TP discussion here please

I should have known, sorry. :)

Title: Treasury v2.08 Released
Post by: Resourcez on February 27, 2008, 09:46:04 PM
Treasury v2.08 Released (http://custom.simplemachines.org/mods/index.php?mod=916)

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.
Title: Re: Treasury
Post by: ApplianceJunk on February 27, 2008, 10:08:13 PM
Slow down, I can't keep up :)

Title: Re: Treasury
Post by: SgtMic on February 27, 2008, 10:15:17 PM
Now we just need it for 2.0 :)
Title: Re: Treasury
Post by: ApplianceJunk on February 27, 2008, 10:23:02 PM
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!
Title: Re: Treasury
Post by: Resourcez on February 27, 2008, 10:27:16 PM
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  :-\
Title: Re: Treasury
Post by: SgtMic on February 28, 2008, 12:51:09 AM
I
Resourcez is doing an amazing job on the treasury mod.

Thanks!


+ 1
Title: Re: Treasury
Post by: Resourcez on February 28, 2008, 01:07:52 AM
Flattery will get you nowhere  :P
Title: Re: Treasury
Post by: kamu8recon on February 28, 2008, 04:53:22 AM
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.
Title: Re: Treasury
Post by: Resourcez on February 28, 2008, 05:43:35 AM
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.
Title: Re: Treasury
Post by: NEMINI on February 28, 2008, 06:15:43 AM
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.
Title: Re: Treasury
Post by: 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.
Title: Re: Treasury
Post by: weightman on February 28, 2008, 09:38:34 AM
Hey, thanks for the upgrade. I really like the changes.
Title: Re: Treasury
Post by: Resourcez on February 28, 2008, 05:02:34 PM
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.
Title: Re: Treasury
Post by: Damian1221 on February 28, 2008, 06:57:09 PM
@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
Title: Re: Treasury
Post by: Resourcez on February 28, 2008, 07:10:59 PM
Okay, you can't see permissions because it was never written? In that case, this is why-
Quote
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.
This should also mean that you would have received, and ignored, an error warning when running the install - this problem is so annoyingly frequent, and not of your doing, that I have had to list it in my FAQ.  Indeed, I understand your issue much better than you realize.
Quote from: Resourcez
Error:
Execute Modification ./Themes/default/languages/Modifications.english.php test failed

Cause:
Invariably this is due to a previous mod installation that has been flawed, typically the Arcade mod.
The very last line of the Modifications.english.php file MUST always be ?>

Arcade had a habit of appending those two characters to the last line of its own code, which screws all subsequent mods (that use that file) by stopping them from finding that reference point and  installing correctly.  It is a flaw in Arcade and I'm getting damned sick of dealing with the problem it creates. There may be other mods that do the same.

Cure:
Edit your Modifications.english.php file and ensure you have a blank line followed by a line with ?> all by itself, as the last line - this is how the file must be, and is how the original SMF file is.

Uninstall Treasury and re-install it - the mod will not have an error notice this time because it will be able to find the ?> that should have been there.

Notes:
If unsure, use the Package Parser (http://resourcez.biz/PackageParser/index.php) to see what Treasury does (correctly) and what other mods may be doing (incorrectly).
Of course, you know you will have to first uninstall any mods you may have added after Treasury.
I trust this resolves your problem :)  Now, the reverse can also happen to you if a poorly constructed mod is installed after Treasury, it can also prevent error free uninstalls :(
Title: Re: Treasury
Post by: Faust on March 05, 2008, 03:23:01 AM
I got a bit of a problem, any chance that I can change the donate button from paypal, to direct deposit, We in South Africa are not allowed to receive money via paypal, so the idea I had is that it works almost just like the paypal thing, except that when they click on the button it produces a "deposit / eft slip" for the user. I like the fact that treasury keeps the books open for the users.

Any ideas about a quick win would be appreciated
Title: Re: Treasury
Post by: kamu8recon on March 07, 2008, 06:53:37 PM
I am currently using version 2.06 (I havent had the time to install the newer version) I an getting this error message:

Code: [Select]
2: gmmktime() expects parameter 4 to be long, string given
File: /home/asskicke/public_html/forum/Sources/TreasuryAdmin.php
Line: 338

It appears everytime i hit the homepage and it really slows down the load time for the hompage. What did I do wrong?
Title: Treasury v2.09 Released
Post by: Resourcez on March 18, 2008, 09:26:52 AM
Treasury v2.09 Released (http://custom.simplemachines.org/mods/index.php?mod=916)


As usual, BACKUP your Treasury database tables, there are changes by the installer.

Please report any bugs/requests only through the new Bugger System (http://resourcez.biz/index.php?action=bugger) - once a bugger is assigned, a forum topic will be auto-generated.
Title: Re: Treasury
Post by: Bigguy on March 18, 2008, 07:38:41 PM
Is it updated to work with the new beta. ??? I cant get the last version installed at all.
Title: Re: Treasury
Post by: Resourcez on March 19, 2008, 12:49:29 AM
hmm, not yet - I separated versions which means the 2.22 version in Charter Forums does work with SMF2 Beta3p.  I just saw no point in trying to build on shifting sands, especially since it was SMF practice to not release a public beta .....

The downside is that v2.22 for SMF2 only equates to v2.06 for SMF1, until I bring 2.22 up to date.
Title: Re: Treasury
Post by: Bigguy on March 19, 2008, 12:59:21 AM
I will try the one there again then and see what happens.
Title: Re: Treasury
Post by: Bigguy on March 19, 2008, 01:07:43 AM
When trying to install on SMF 2.0 beta 3 (not public) I get this error. It was a clean install of SMF also:

Code: [Select]
Table 'xxxx_smf.smf_treas_config' doesn't exist
File: /home/xxxx/public_html/forum/Packages/temp/install.php
Line: 86
Title: Re: Treasury
Post by: Resourcez on March 19, 2008, 01:36:23 AM
Well, I've deleted the Charter topic now, since I lost permission to modify the topic there, and cannot even initiate a topic in this forum, so you must have grabbed it just in time. Since I can't replace it, it will stay removed - I'm getting weary of my permissions varying here every few months.

I now only have beta 3 public, so I  will test a fresh install and see what turns up.

Title: Re: Treasury
Post by: Bigguy on March 19, 2008, 01:41:09 AM
Ok, thank you.
Title: Re: Treasury
Post by: Resourcez on March 19, 2008, 01:56:56 AM
hmm, same problem on beta3p which means that the db create table function has changed from beta2.1 to beta3.

Seems crazy that a significant function could be changed that much, so I have some investigating to do.

Edit: the tables do exist, but since the table creation function has been changed, the prefix has been doubled up, so they were generated like smf_smf_treas_config.
Title: Re: Treasury
Post by: Resourcez on March 19, 2008, 02:36:08 AM
Sorry for the off-site link, but I'm not prepared to add it to the existing SMF 1.x mod and create confusion there, and submitting a new mod takes about 6 months to a year, so there's no point in me doing that either.  Plus I have no control over an attachment here which would also create confusion.

Since the beta is now public, I no longer feel obliged to withhold Treasury for SMF2 - this download does not require registration (http://resourcez.biz/index.php?action=tpmod;dl=item13).

For anyone tempted to download it for upgrading their sites, please, read the notes - it may save you some grief.

Title: Re: Treasury
Post by: Bigguy on March 19, 2008, 02:38:01 AM
I will give this a shot and see how it goes tomorrow. It is late here right now.
Title: Re: Treasury
Post by: Resourcez on March 19, 2008, 02:43:00 AM
Whilst it doesn't have the bells and whistles of the SMF 1.x versions, it is still very functional, and lays very solid ground for its next release :)
Title: Re: Treasury
Post by: Bigguy on March 19, 2008, 02:44:17 AM
Thats great to hear. Can't wait for the next release to come out. Thanks alot. :)
Title: Re: Treasury
Post by: Bigguy on March 19, 2008, 12:34:20 PM
I just downloaded from your website and now I am geting this error:

Code: [Select]
Table 'xxxx_smfh.smf_smf_treas_donations' doesn't exist
File: /home/xxxxx/public_html/smfhelper/forum/Packages/temp/install.php
Line: 309
Title: Re: Treasury
Post by: Bigguy on March 19, 2008, 12:48:30 PM
As a matter of fact it did install. (maybe because it was installed before) the only error I have now is in the error logs. It is:

Code: [Select]
Undefined offset:  119                                                                                                                                             File: /home/xxxx/public_html/smfhelper/forum/Themes/default/TreasuryAdmin.template.php (eval?)
                            Line: 323                         
Title: Re: Treasury
Post by: Resourcez on March 19, 2008, 07:12:49 PM
Code: [Select]
Table 'xxxx_smfh.smf_smf_treas_donations' doesn't existThat double prefix table is what was being created previously but the installer couldn't find it because it's not coded to find it.

With $smcFunc['db_create_table'] being changed, I corrected that in the file you would have downloaded.  I've just done another test install on a clean SMF2, with no errors?

Since you used the file I linked, that can't be possible, unless there is a difference between b3 and b3p?  I have to code it for b3p since b3 was so short lived.
Title: Re: Treasury
Post by: Bigguy on March 19, 2008, 07:16:14 PM
Even with that error I have it installed on two seperate forums with no errors in the logs at all.
Title: Re: Treasury
Post by: Resourcez on March 19, 2008, 07:18:37 PM
Curiouser and curiouser :o
Title: Re: Treasury
Post by: Bigguy on March 19, 2008, 07:21:02 PM
I thought it was a bit weird myself.
Title: Re: Treasury
Post by: Resourcez on March 21, 2008, 09:41:58 AM
Solved the mysteries:
The template error on line 119 is an oversight by me - I still had $txt[119] instead of $txt['help'].

The double prefix issue is an SMF bug in the db_create_table function that surfaces whenever you try to add an extra field to the table, in this case, the group_id field.

You could add it manually - smallint size 5 not null default 0
Title: Re: Treasury
Post by: Basie on March 21, 2008, 10:17:26 AM
Demo link?
Title: Re: Treasury
Post by: SgtMic on March 21, 2008, 03:40:46 PM
http://resourcez.biz/index.php?board=7.0
Title: Re: Treasury
Post by: Basie on March 21, 2008, 06:29:04 PM
Thanks.
Title: Re: Treasury
Post by: Smoky "Rider" Blue on March 21, 2008, 07:53:53 PM
I was trying to read about the ipn on your site Resourcez, but now cant seam to get there.. I installed the mod with no errors, and im not sure how to fix this error or if its my host or??

Code: [Select]

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/lisa2/public_html/arena/ipntreas.php on line 77
OK!


or do i have something not chmoded right or?? i think i followed the instructions in the read me on my paypal and what to change, but this has me stumpted.. oh and now i can get on your site.. think that was my wifi..  ;)

but if you or anyone could help, thanks!!


eidt: no i cant get on your site due to a db error..  :'(

nevermind it is a hosting issue.. i hope that i can get this fixed  ;)
Title: Re: Treasury
Post by: Bigguy on March 22, 2008, 11:36:22 PM
it's running fine to be honest. Maybe cause the tables were there prior to the upgrade to 2.0 ???

Solved the mysteries:
The template error on line 119 is an oversight by me - I still had $txt[119] instead of $txt['help'].

The double prefix issue is an SMF bug in the db_create_table function that surfaces whenever you try to add an extra field to the table, in this case, the group_id field.

You could add it manually - smallint size 5 not null default 0
Title: Re: Treasury
Post by: Resourcez on March 22, 2008, 11:59:22 PM
If the group_id field is missing, your functionality won't be affected, except for the rare event that you process a refund or reversal, at which time the IPN return will fail i.e. you would need to make a manual entry for that transaction.

It will be a different story for v2.23 which actually needs the field in the normal IPN return and also for the events feature, so I won't be releasing it until SMF release a bug-fixed version.

I could bypass the SMF bug but I don't want to start compensating for a flawed beta system, especially with significant database abstraction changes between every beta so far.
Title: Re: Treasury
Post by: Bigguy on March 23, 2008, 12:51:18 AM
with the next release is would it be better to remove all the database tables and re-install new; or just upgrade. I should also tell you that while the treasury mod is installed right now and running it shows that it is not installed in te package manager, now if this is a fault of the mod or package manager cause of beta versions or whatever I dont know. I will get a couple screenshots though; hold on.
Title: Re: Treasury
Post by: Bigguy on March 23, 2008, 01:02:08 AM
Screens
Title: Re: Treasury
Post by: Smoky "Rider" Blue on March 23, 2008, 06:34:29 AM
my host did fix this feature Resources.. very good mod.. and thanks..  ;)
Title: Re: Treasury
Post by: Resourcez on March 23, 2008, 07:28:56 PM
@SmokyBlue - yes, only a host can fix - I was thinking of adding an extra check, but curl should either work or not work, and I already check for that.  If it was the safe mode issue they fixed, that will solve other issues for you.

@BigGuy - I can only think that is the result of the database errors resulting in remnants, so there may possibly be multiple copies of parts of Treasury.  I would suggest adding the fix to Sources/DbPackages-mysql.php,
http://www.simplemachines.org/community/index.php?topic=229747.0
Then run the install again and remove the duplications from your source files.

Title: Re: Treasury
Post by: mugz on March 25, 2008, 02:02:09 AM
When im trying to install the mod., it says that it installs successfully... but i dont seem to get the treasury icon under messages....
i changed the index.template.php from the themes folder ... but i still dont see anything...I see that it has added a space below the banlist but i still can see the treasury button... i looked at the source code and i see the treasure has been added there too.
any ideas?
Title: Re: Treasury
Post by: Resourcez on March 25, 2008, 02:17:33 AM
As has been repeated very many times, and like the majority of mods, the "button" installs only on the default theme.  For other themes you have to make your own arrangements for the menu bar.
Title: Re: Treasury
Post by: mugz on March 25, 2008, 02:48:18 AM
Yes sir, i did that ... i changed the index.template for my current theme ... and in spite of that i cannot get the treasury to show up...
i know i probably am asking for too much and you might have had several issues of the same nature ... but i would really really appreciate it if you could explain to me what im doing wrong ...

here is what i have done so far ... went to the SMF parser ... uploaded your mod ... and then chose install and the theme option ... it then gave me a couple of places to add lines ...

i added the word 'treasury', and added the other set of lines after the member option ...
i still dont see the button....
now tell me did i do something wrong?
thanks so much inadvance
Title: Re: Treasury
Post by: Smoky "Rider" Blue on March 25, 2008, 04:27:36 AM
that would be hard for anyone to tell you, it depends on which index.template.php. perhaps providing a link to your site, along with other mods, what theme you are using, and is it showing up in the default/core theme. also, did you do your edits correct on the new theme or??

here is a basic tut for adding a button, since im not sure on what theme you are using

http://docs.simplemachines.org/index.php?topic=1032

his mod does install correct for the smf 1.1.4 and works like a charm..  ;) hope this helps you...
Title: Re: Treasury
Post by: mugz on March 25, 2008, 05:03:47 AM
Thanks so much for replying ...
here is the website ...
www.orangepostings..com/forums
the theme i am using is by Kelo panic
i will take a look at the link u posted ... in the meanwhile
thanks

Title: Re: Treasury
Post by: Massyboy on March 25, 2008, 02:02:28 PM
Looks like the site's been hacked.  Anyone know how to make it work (on TP) so it includes subscriptions/recurring payments?  I would look on their site but as I said it can't be accessed

Ta
Title: Re: Treasury
Post by: SgtMic on March 25, 2008, 02:51:55 PM
New site will be up later today.

If I remember correctly, you will need a separate file to get your TP block up and running.

Just keep checking back for more info on the site.
Title: Re: Treasury
Post by: Resourcez on March 25, 2008, 06:33:08 PM
Wow, you some kinda psychic Massyboy?  You can pick a hacked site simply by an inaccessible domain? There's also stuff called hardware failure, and other stuff like damned incompetent hosts.  Like my sig says, don't ever host on Site5.

Recurring payments are scheduled for a later release.
Title: Re: Treasury
Post by: Massyboy on March 25, 2008, 07:09:32 PM
I thought it must have been a hack (I was aware of the problems with your host) as when I attempted to go to the site I could see the directory list with nothing in it leading me to believe that the site was hacked and all files removed.  Didn't mean to get your back up
Title: Re: Treasury
Post by: Resourcez on March 25, 2008, 07:13:11 PM
Well, don't make uninformed, unsolicited and off-topic comments - you were seeing the new host, whilst files were being transferred after the previous host had been down for 36 hours.
Title: Re: Treasury
Post by: Massyboy on March 25, 2008, 07:24:01 PM
Ok, no need to be so bloody rude.  I was asking for some help as I couldn't see your site.  What's so wrong by that?  Hardly off-topic when I was asking for support for the Treasury product
Title: Re: Treasury
Post by: Resourcez on March 25, 2008, 07:32:37 PM
You were making an ill-informed comment about my site being hacked - that is rude!!
Title: Re: Treasury
Post by: Massyboy on March 26, 2008, 05:30:22 AM
It ain't rude.  It was down and it looked the same as when some sites get hacked.  I was just trying to get some support as it was down.  Just because my "diagnosis" was incorrect, doesn't mean you need to flame me like that.  It ain't the end of the world-does it matter if I said it was hacked or the host was mucking about?  At the end of the day, access couldn't be made regardless
Title: Re: Treasury
Post by: SgtMic on March 26, 2008, 10:25:49 AM
Massyboy, has your problem been fixed?
Title: Re: Treasury
Post by: Smoky "Rider" Blue on March 26, 2008, 07:56:55 PM
that is a good idea Resourcez.. and i do appreciate you taking the time to look after this mod.. it works great on both my 1.1.4 with tp and my beta.. and i will put something in your tip jar.. thank you again for good work.. ;)
Title: Re: Treasury
Post by: Massyboy on March 26, 2008, 08:05:01 PM
Yes all is now as I wish.  Managed to get the recurring payments to work with an unsupported workaround
Title: Re: Treasury
Post by: SgtMic on March 26, 2008, 10:54:08 PM
Yes all is now as I wish.  Managed to get the recurring payments to work with an unsupported workaround

Give it a little time and there will be an official, fully supported version. With a lot of bells and whistles. :)
Title: Re: Treasury
Post by: Smoky "Rider" Blue on March 27, 2008, 07:48:10 PM
lol SgtMic, i hope so.. i havent tried it out on the beta yet.. any advise besides backup before i do??  ;)
Title: Re: Treasury
Post by: SgtMic on March 27, 2008, 10:50:22 PM
Read the Readme. lol
Title: Re: Treasury
Post by: Smoky "Rider" Blue on March 28, 2008, 02:47:47 AM
lol  :D ;)
Title: Re: Treasury
Post by: SgtMic on March 28, 2008, 10:27:27 AM
There is one issue with SMF beta 3 public not updating a table correctly. You will need to manually add the "group_id" field.

In the interim, you could just add the group_id field to the smf_treas_donations table - it is smallint, size 5, not null default 0.

As well as smf will create double treasury tables. Just delete them.
Title: Re: Treasury
Post by: madjackson on April 05, 2008, 07:17:13 AM
hi all got a small problem with this mod i'am running smf 1.1.4 with tinyportal and the blackrain v2  theme.
Now everything seams to run ok apart from when i want to access a members profile it returns a fatal error

like this
Quote
Fatal error: Cannot redeclare showdonations() (previously declared in E:\domains\madsnipers.co.uk\wwwroot\forum2\Sources\Profile.php:2971) in E:\domains\madsnipers.co.uk\wwwroot\forum2\Sources\Profile.php on line 3040

I know very little about php so has anyone here had anything like this or got any ideas ?

Thanks
<MAD>Jackson
Title: Re: Treasury
Post by: Bigguy on April 08, 2008, 12:34:57 PM
Seems like the edits for this mod are in the Profile.php file twice. You will have to open the .xml file in the package and find the edits for that file....then open the Profile.php file from your SMF install which can be found in the Sources folder and compare the edits from the .xml file to the ones in the Profile.php file and remove any duplicate code.

NOTE: There are two .xml files in a mod package; I am not talking about the package-info.xml. There will be another one there; sometimes called install.xml or modification.xml. Also (I don't have a link to one yet) but you can run the package through a package parser and get the edits for that particular file that way as well.
Title: Re: Treasury
Post by: antj87 on April 09, 2008, 04:40:02 PM
omg i just read all these post now im confused can i get some basic steps to set up???

i need to know
IPN
PayPal Item Name
PayPal Item Number
Title: Re: Treasury
Post by: antj87 on April 10, 2008, 01:44:29 AM
anyone help me spent 6 hrs now! trying! lol
Title: Re: Treasury
Post by: SgtMic on April 10, 2008, 10:48:41 AM
omg i just read all these post now im confused can i get some basic steps to set up???

i need to know
IPN
PayPal Item Name
PayPal Item Number

What exactly is your question(s)?

There isn't a whole lot to setting this up. Go into Paypal and setting that up per the Treasury Read Me. Everything else is user friendly.
Title: Re: Treasury
Post by: antj87 on April 10, 2008, 06:01:27 PM
i think ive done it no the
IPN
PayPal Item Name
PayPal Item Number
arnt important are they?
Title: Re: Treasury
Post by: SgtMic on April 10, 2008, 11:03:52 PM
Name and number are not vital. Just used as a reference.
IPN needs to be "ipntreas.php" without the quotes.
Title: Re: Treasury
Post by: Matthew Schenker on April 14, 2008, 08:53:33 AM
Good Morning,
This modification looks great, but like others I'm also confused.  I've read all the posts in this discussion, but I just don't understand what the IPN details are all about.

Am I supposed to just leave the IPN entry as is in the configuration screen?  What am I supposed to change, if anything?

Matthew
Title: Re: Treasury
Post by: SgtMic on April 14, 2008, 02:15:00 PM
Here are the only changes you need to make for Paypal. Straight from the read me. Look at #s 2,3 and 4.

The other changes in main config are to set up how you want Treasury to work on your end.

Quote
If you choose to ignore this advice, you are on your own - ask PayPal - they get paid to answer your questions. I don't mean to be rude, but the info is provided for a good reason - so you can help yourself.

If you have problems and do not have full access to the PayPal account profile, DO NOT contact us!

   1. I leave your selection of a PayPal account entirely up to you - I will not provide advice on this issue.
      Sorry, but some things you simply need to research and determine for yourself.
      Yes, I have had a previous unpleasant experience with a user in this regard - no matter what advice I provide, there is always one person who gets it wrong and tries to blame someone else for their mistake.

   2. Treasury requires IPN settings in your PayPal account "Profile".
      • Set 'IPN' to 'On' in "Instant Payment Notification Preferences".
      • This will also require a URL to be entered - anything will do, but not blank.

      The URL you set here is NOT important as Treasury operates from its own Notify and Return URLs which ignore, and are independent of, your PayPal settings.
      • Why? If you already have an IPN setting activated for some other program, it will continue to function for that program.
      • Example? If you have already set your IPN URL so that you can use, say, Paid Subscriptions, then you can leave the URL on PayPal as it is, and still use Treasury.

   3. You should also modify "Payment Receiving Preferences" in your "Profile" area.
      • Check your option for "Block payments sent to me in a currency I do not hold:".
      • You should set this to the second option "No, accept them and convert them...".

      Failure to do this means you will have to manually confirm each payment within your PayPal account and the donation will NOT show on your site.

   4. Treasury settings in "Website Payment Preferences".
      You need to set,
      • Set/Leave 'Auto Return' to 'On', repeat 'On' in "Website Payment Preferences".
      • Set/Leave 'Payment Data Transfer' to 'Off' in "Website Payment Preferences".

   5. Settings in "Currency Balances".
      These shouldn't need changing - PayPal default is fine - a primary currency which is Open and all other currencies Closed.
      If you do not have special reasons for operating with multiple open currencies, DO NOT fiddle!
      If you do have special reasons, you will not receive exchange rate and settle amounts from PayPal for non-primary currencies which you have Open.
      You WILL have to manually edit all Treasury transactions for currencies you receive that are not your Primary Currency!
Title: Re: Treasury
Post by: ivo2296 on April 18, 2008, 02:02:09 PM
Is there way to add the following in forum's footer with the donation button?

Campaign Goal:  $100.00
Due Date: Open
Total Receipts: $25.00
Below Goal: $75.00
Site Currency: USD
25%..............

Thank you!
Title: Re: Treasury
Post by: stanaca on April 19, 2008, 09:59:03 AM
This is a great mod. but paypal is not available for pakistan. can i use moneybookers or another for it.

reply plzz
Title: Re: Treasury
Post by: stanaca on April 19, 2008, 11:32:25 AM
reply plzzzzzzz
Title: Re: Treasury
Post by: SgtMic on April 19, 2008, 08:55:15 PM
reply plzzzzzzz

Please wait 24 hours before you bump a topic.
It may take someone 24 hours to read this and actually have a reply for you.
Title: Re: Treasury
Post by: Matthew Schenker on April 21, 2008, 11:11:45 AM
Good Morning,
OK, I have the Treasury Modification installed, and I put an entry in the Main menu to link to it

But my members are getting this error:
"You can not view Treasury."

Here is the page I am linking to:
http://www.myforum.com/index.php?action=treasury#MakeDonation (http://www.myforum.com/index.php?action=treasury#MakeDonation)

Can someone tell me what I'm doing wrong here?

Thanks,
Matt
Title: Re: Treasury
Post by: weightman on April 21, 2008, 12:55:49 PM
sounds like you need to set the permissions...
Title: Re: Treasury
Post by: SgtMic on April 21, 2008, 02:07:26 PM
What weightman said. :)
Title: Re: Treasury
Post by: Matthew Schenker on April 21, 2008, 07:28:26 PM
SgtMic, weigyhtman,
OK, I found it!  I didn't realize the permissions were set from the usual SMF permissions area and was looking for it as an option inside Treasury!

One more question: my members are asking for a way to have automatic monthly donations.  For example, they might like to have $5 donated every month without having to re-submit the donation each time.  Is there an extension of Treasury that does this?

Thanks for a great modification!

Matt
Title: Re: Treasury
Post by: SgtMic on April 21, 2008, 07:31:50 PM
What version of SMF and Treasury are you using?
Title: Re: Treasury
Post by: weightman on April 21, 2008, 07:33:31 PM
Quote
One more question: my members are asking for a way to have automatic monthly donations.  For example, they might like to have $5 donated every month without having to re-submit the donation each time.  Is there an extension of Treasury that does this?

Hey, that is a pretty good idea for this mod. In the meantime though, I wonder if the subscription mod could get the job done? I haven't played with it: http://custom.simplemachines.org/mods/index.php?mod=413

Title: Re: Treasury
Post by: SgtMic on April 21, 2008, 07:58:37 PM
If you're using SMF 1.1.4, use the subscriptions mod.
If you are using SMF 2.0 b3, subscriptions is built into it.

Treasury has not been set up yet for recurring subscriptions.
But, if you want to add donating members into another membergroup, treasury is set up to do that.
Title: Re: Treasury
Post by: Eclipse16V on May 01, 2008, 03:07:17 PM
Great Mod.

Run it on SMF 2.0 Beta 3.1 Public ? ? ?

Thx
Title: Re: Treasury
Post by: Resourcez on May 01, 2008, 07:27:42 PM
No.  In fact there is a separate version for SMF2 but since beta 3.1 public failed to fix an installer bug in beta 3 public (which they said was resolved), I'm still holding it back.
Title: Re: Treasury
Post by: metallica48423 on May 01, 2008, 07:59:04 PM
which?
Title: Re: Treasury
Post by: Resourcez on May 01, 2008, 08:13:40 PM
Academic now - I've commented here,
http://www.simplemachines.org/community/index.php?topic=229747.new;topicseen#new

It seems many bug fixes are being saved for Beta4 - obviously installer issues weren't on the critical list for 3.1, and very few mods (if any) would have encountered the problem anyway.  I could, but don't intend to, work around the issue - I'll wait until the installer works.
Title: Re: Treasury
Post by: SgtMic on May 02, 2008, 12:06:58 AM
This is a great mod. but paypal is not available for pakistan. can i use moneybookers or another for it.

reply plzz

I believe that at this time, it only works with Paypal.
Title: Re: Treasury
Post by: Daggers on May 02, 2008, 02:44:57 PM
This is a great mod and has worked without a problem during testing :)

At present the Display Name is set as Yes, is there a way to have 'No post as anonymous' set as default?
Title: Re: Treasury
Post by: SgtMic on May 02, 2008, 05:54:26 PM
The donator chooses that option at the time of donating. It's a drop down option.
Title: Re: Treasury
Post by: Daggers on May 02, 2008, 06:03:10 PM
The donator chooses that option at the time of donating. It's a drop down option.

I know it is, but the YES option is set as default, I want the NO option set as default
Title: Re: Treasury
Post by: SgtMic on May 02, 2008, 11:44:53 PM
You could try to recode it. :)
Title: Re: Treasury
Post by: Daggers on May 03, 2008, 04:27:28 AM
You could try to recode it. :)

Why didnt I think of that ....................... oh thats right I'm not a coder which is why I am here asking for some help.
Sgtmic, if you do not know the answer to my question, which was...

How do I set the No option to appear as default?

I would appreciate it if you left well alone

Thanks
Title: Re: Treasury
Post by: SgtMic on May 03, 2008, 01:10:45 PM
No need to be rude.

I saw your post on the other forum. Hopefully it will get resolved.
Title: Re: Treasury
Post by: Resourcez on May 05, 2008, 10:58:35 AM
Treasury v2.10 released.

• package info set for all 1.1.x versions since there is no 1.1.x development path.
• bug fixed for display of Quarterly goals - Bugger #12.
• cURL now an optional selection in PayPal Config section.
• option to add Anonymous donors to groups.
• main config panel restructured to optimize space.
• bug fixed with currency symbol in admin registry.
• bug in TP donation block fixed for display of donation button.
Title: Re: Treasury
Post by: weightman on May 06, 2008, 01:03:30 PM
I went to go uninstall the treasury 2.09 mod on my site and there is no uninstall option, just list files and delete. I have changed all the text strings from treasury to donation. What do you recommend I do to upgrade to the new version?

Thanks
Title: Re: Treasury
Post by: SgtMic on May 06, 2008, 01:58:37 PM
Did you upgrade your forum version without uninstalling Treasury first?
Title: Re: Treasury
Post by: weightman on May 06, 2008, 02:00:03 PM
Yes, from 1.14 to 1.15.
Title: Re: Treasury
Post by: SgtMic on May 06, 2008, 02:36:48 PM
Reinstall 1.1.4.
Then update to 1.1.5 via the package manager. In there is a link to "patch" it.
Title: Re: Treasury
Post by: metallica48423 on May 06, 2008, 02:49:40 PM
no need.

go to 'packages'.  In the URL bar of your browser, add ;version_emulate=1.1.4

then go to that URL. 
Title: Re: Treasury
Post by: Resourcez on May 06, 2008, 07:55:26 PM
For that matter, simply uninstalling 1.1.5 will get you back there - from a personal POV, I uninstall all mods back to basics, then upgrade to 1.1.x and re-install mods.  The only catch occurs if your mods aren't set to under the new 1.1.x.

I never seem to have any issues by playing it safe, provided I don't strike a bad mod.
Title: Re: Treasury
Post by: weightman on May 06, 2008, 08:20:11 PM
Thanks metallica48423, great tip. I'll take the advice to heart about upgrades as well.
Title: Re: Treasury
Post by: Chriss Cohn on May 11, 2008, 06:10:00 AM
Hi, i installed it on 1.1.5 and its working good so far.
Now i have a request/idea. Even though i am NOT using TinyPortal, i would like to use the module it brings, or a custom module.
I use the ad-mod with which you can also include/display whole php-scripts at specified places - is there a possibility to display a module in this way?

Help would be really appreciated!

Best Regards, Christian
Title: Re: Treasury
Post by: livedown on May 11, 2008, 04:13:41 PM
Hi everyone,
                  I have recently installed Treasury Mod. Everything seems to work fine except the IPN thing. I have enabled IPN on my paypal account and have forwarded it to the IPN url respective to my site. But when someone makes a donation it never shows up. It is infact the same currency USD but i dont know why it is not showing up. I tried going to my IPN page but it gave me a "File Not Found" error, but i can see it on the same dir and the permissions are set to 777.
Here is the URL of my IPN. someone please help me! and also i am using fsockopen...
http://www.livedown.us/forum/ipntreas.php?dbg=1
Title: Re: Treasury
Post by: livedown on May 11, 2008, 04:19:23 PM
LOL nvm i changed my permissions to 755 abd the IPNtreas.php worked :D

thanks!

i will let u know about the "usernames not showing up when someone donates"... problem when someone donates.
Title: Re: Treasury
Post by: Matthew Schenker on May 15, 2008, 01:49:57 PM
Good Afternoon,
Sorry, I'm a little confused...

I have been running version 2.10 and it is great!  I just downloaded 2.11.  Do I need to uninstall 2.10 first, then install 2.11?  Just want to confirm.

Thanks,
Matt
Title: Re: Treasury
Post by: SgtMic on May 15, 2008, 02:14:37 PM
Yes. Always uninstall before installing an updated version. Your db will be safe.
Title: Re: Treasury
Post by: Matthew Schenker on May 15, 2008, 02:18:08 PM
SgtMic,
OK, thanks for the reassurance!
Matt
Title: Re: Treasury
Post by: SgtMic on May 15, 2008, 02:20:48 PM
No problem.
Title: Re: Treasury
Post by: Resourcez on May 15, 2008, 06:51:34 PM
Quote from: Treasury ReadMe Un-Install Notes
# You must run Uninstall before upgrading so that all existing Treasury changes and files can be removed.
Note: for theme changes, Uninstall will only modify the default theme.
Any manual changes you made to other themes you must manually reverse yourself.

# Note: Uninstall will deliberately NOT remove the Treasury database tables.
Title: Re: Treasury
Post by: weightman on May 20, 2008, 12:02:49 AM
This last donation I got, an error was generating saying something to the effect that there was an error in the MySQL database related to this mod. I'm sorry I didn't copy and paste it for you. I wasn't too concerned because the money hit my paypal account, the donation is properly displayed in the donation center, and I'm not getting any errors.

I wish you wouldn't put the fake donations in the tables though or at least not have them inappropriate (bar tab), no offense to your wonderful work and mod. Its just that I run a PG site. I'm having a beer right now so don't get me wrong please. But, I deleted those tables in the donations admin area. Could that have caused the error? Also, i really like donations better than treasury. It would be nice not to make the edits, if it could possibly be a checkbox option instead of all the edits and the uninstall and install problems....I know...picky...

Anyway, no worries and thanks very much for a very, very great mod! The recurring donations REALLY sounds wonderful!!!

Thanks
Title: Re: Treasury
Post by: SgtMic on May 20, 2008, 09:13:10 AM
After the mod is installed, just delete those "donations" from Treasury registry. They won't cause an error just deleting them.

Also, i really like donations better than treasury. It would be nice not to make the edits, if it could possibly be a checkbox option instead of all the edits and the uninstall and install problems....I know...picky...

It seems you are talking about 2 different issues here?

1. The mod is called Treasury, hence the tab name.
2. What issues are you having when you have to uninstall and then install?
Any specific files?

Enjoy the cold brew.
Title: Re: Treasury
Post by: weightman on May 20, 2008, 11:32:48 AM
Quote
After the mod is installed, just delete those "donations" from Treasury registry. They won't cause an error just deleting them.

Yea, that is what I did. If I get the error again, I will copy and paste it here.

Quote
It seems you are talking about 2 different issues here?

1. The mod is called Treasury, hence the tab name.
2. What issues are you having when you have to uninstall and then install?
Any specific files?

Not really. No change all the language strings from Treasury to Donations requires replacing them all in the two language files. Then, every time there is an upgrade, you have to restore them to be able to uninstall, then uninstall, then re-install, and then re-edit the language strings. Its a minor nuisance. a checkbox to change it would be nice. :)

Thanks very much
Title: Re: Treasury
Post by: SgtMic on May 20, 2008, 03:26:07 PM
Yeah, it can be a little tedious making those changes. :)
Title: Re: Treasury
Post by: prowayneo on May 20, 2008, 09:33:36 PM
Great MOD i have added it but the thing i would like to know is how can i get it added to a block i have tinny portal on and i add a block and check module and all it brings up is about top 10 posts or top 10 downloads nothing about Treasury all i have is a Treasury tab at the top near members but i would really like it in a Block
Title: Re: Treasury
Post by: SgtMic on May 20, 2008, 09:46:43 PM
What version of SMF and what version of Treasury?
Title: Re: Treasury
Post by: prowayneo on May 20, 2008, 09:55:46 PM
smf 1.1.4 and Treasury 2.11

all i see is this:
Type
module


Downloads: Show x New Files
Downloads: Top x Downloads
Downloads: Top x Views
Downloads: Latest File Uploaded
Downloads: Top File in Downloads
Downloads: Top File in Views
Articles: recently written
Articles: top views
Articles: top comments

but how can i put Treasury in a block ? when i change theme the treasury tab goes the theme i am using is Dreamlike
Title: Re: Treasury
Post by: SgtMic on May 20, 2008, 11:02:04 PM
Download this file. While there, you can also check the forums there for additional help.

http://resourcez.biz/index.php?action=tpmod;dl=item12


ETA: This mod installs only to the default theme. Any other themes and you will have to manually add the code into the appropriate files.
Title: Re: Treasury
Post by: prowayneo on May 20, 2008, 11:48:32 PM
Download this file. While there, you can also check the forums there for additional help.

http://resourcez.biz/index.php?action=tpmod;dl=item12


ETA: This mod installs only to the default theme. Any other themes and you will have to manually add the code into the appropriate files.



that is not good for my Version of SMF i have SMF 1.1.4 i think that is for SMF 2.0

Title: Re: Treasury
Post by: SgtMic on May 21, 2008, 01:15:36 AM
There is no TP for 2.0 beta...

If you clicked on the link, you would have seen this in the description:
Quote
Donation Block for TP/SMF 1.1.x
Specifically for Treasury version 2.08+

Discontinued from Treasury v2.12.
Title: Re: Treasury
Post by: prowayneo on May 21, 2008, 06:28:57 PM
An Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted. 
Title: Re: Treasury
Post by: weightman on May 31, 2008, 12:38:41 AM
The recurring donations feature is an outstanding addition to this most excellent mod.

Thank you very, very, very much for your fine work and contributions. :)
Title: Re: Treasury
Post by: Matthew Schenker on June 04, 2008, 11:00:42 AM
I have been running this modification in my site and love it!  I was very excited to update to 2.12 because recurring donations is one of things I have been waiting for.

But when I tried to uninstall 2.11 (to install 2.12), I got an "Error in Package Installation" message:
./Themes/default/languages/Modifications.english.php ... Test failed

I'm running 1.1.5, and like I said it has been working fine up until now.

Can someone please help me figure this out?

Thanks,
Matt
Title: Re: Treasury
Post by: SgtMic on June 04, 2008, 03:17:05 PM
You will have to remove the Treasury code in your Modifications.english.php manually.
Title: Re: Treasury
Post by: Matthew Schenker on June 04, 2008, 03:20:06 PM
You will have to remove the Treasury code in your Modifications.english.php manually.

SgtMic,
Thanks for posting.  So do I remove the Treasury code from the Modifications.english.php file first, then uninstall the old version, or should I do it the other way around?
Thanks again,
Matt
Title: Re: Treasury
Post by: SgtMic on June 04, 2008, 04:52:54 PM
Either way will work. If you uninstall first, it will just skip over the file with the error. Just remember after making the manual adjustments to re upload the file.  ;)
Title: Re: Treasury
Post by: Resourcez on June 05, 2008, 07:16:16 PM
You stripped my credit - fix your porn site yourself!!!!!
Title: Re: Treasury
Post by: Matthew Schenker on June 06, 2008, 09:25:34 AM
You stripped my credit - fix your porn site yourself!!!!!

Huh?
Title: Re: Treasury
Post by: Matthew Schenker on June 06, 2008, 09:43:44 AM
Either way will work. If you uninstall first, it will just skip over the file with the error. Just remember after making the manual adjustments to re upload the file.  ;)

OK, I got the new version running.
But now I have a problem.  My members no longer have the option of selecting "other" amount to donate?  What happened?

EDIT: I just noticed that the ability to select "other" has been removed from the new version of Treasury.  I like the recurring option, but I cannot live without letting members choose their own amounts to donate.  Unfortunately, I'll have to uninstall the new version.  Why was this very good feature removed?  I don't understand.

I already erased the 2.11 files.  Does anyone still have a copy of it I can use?

Matt
Title: Re: Treasury
Post by: SgtMic on June 06, 2008, 01:34:09 PM
You stripped my credit - fix your porn site yourself!!!!!

Huh?

There were a couple of other posts that are now gone. Disregard.

Look in your packages folder (ftp) you may still have it in there. Unless you deleted it when you uninstalled it.
Title: Re: Treasury
Post by: Matthew Schenker on June 06, 2008, 02:21:46 PM
SgtMic,
Unfortunately, I deleted the 2.11 files when I installed 2.12.
Is there any chance to add the "other" amount option to 2.12?  Why was this removed in 2.12?
Matt
Title: Re: Treasury
Post by: SgtMic on June 06, 2008, 03:48:13 PM
I was trying to find out why. I don't recall off hand.

I'll see if I still have 2.11 somewhere.
Title: Re: Treasury
Post by: Matthew Schenker on June 06, 2008, 04:35:33 PM
I was trying to find out why. I don't recall off hand.

I'll see if I still have 2.11 somewhere.

Thanks, I would really appreciate having the old version back.  My members are already complaining about the lack of an "Other" field.
Matt
Title: Re: Treasury
Post by: SgtMic on June 06, 2008, 05:32:18 PM
I found v2.09. :)

Title: Re: Treasury
Post by: Matthew Schenker on June 07, 2008, 08:56:39 AM
This is bad.  I may have to uninstall Treasury altogether.  And what horrible timing, as I just had a couple of members ready to make large donations to my forum.

Sorry if I sound annoyed, but why in the world would a useful feature be added (recurring) only by sacrificing another essential feature ("other" amount)?  I just don't get it.

Does anyone know how to just run a connection to your PayPal account from your forum without a mod?

Matthew
Title: Re: Treasury
Post by: weightman on June 07, 2008, 10:28:30 AM
Quote
Sorry if I sound annoyed, but why in the world would a useful feature be added (recurring) only by sacrificing another essential feature ("other" amount)?  I just don't get it.

I would guess because separate code would have to be set up for each and every recurring donation amount. I would assume setting up automated recurring donations for a variable amount might be very difficult. Having said that, I would like to see $5, $50, and $100 options added...

Thanks
Title: Re: Treasury
Post by: Resourcez on June 07, 2008, 04:39:33 PM
It's not as if you weren't forewarned.
Treasury v2.12 released.

• recurring donations - optional - aligned with the donation duration chosen in admin - users no longer able to specify some "Other" amount.

The "other" amount was removed for coding convenience - I didn't consider it "essential", given the very wide scope that Treasury features provide.  If having "other" is an absolute must have necessity for a donation system, then you don't need Treasury.  Just uninstall Treasury and delete the database tables as listed in the installation notes.  There are thousands of code samples for simple donation blocks out there, not to mention the existing Donation mod - it doesn't require off-topic responses in this thread.

There should now be 10 donation amount options available - you can simply add extras directly to the smf_treas_targets table through phpmyadmin.  Since the list is now a drop-down, having a much larger number doesn't degrade the aesthetics.
Title: Re: Treasury
Post by: weightman on June 07, 2008, 06:54:20 PM
Quote
There should now be 10 donation amount options available - you can simply add extras directly to the smf_treas_targets table through phpmyadmin.

That's strange. I'm using the newest version and I only have 6 options ($10,$15,$20,$30,$40,$200). If we add more options as you suggest, will that cause uninstall problems when its time to upgrade?

Thanks
Title: Re: Treasury
Post by: Resourcez on June 08, 2008, 12:29:11 AM
You can add as many as you wish - it will have no impact on upgrading.

Just make sure you add each one sequentially - if you only have 6, which I have never had, then your next sets of values will be "don_amount, 7, 110", "don_amount, 8, 120", etc etc.
Title: Re: Treasury
Post by: Matthew Schenker on June 08, 2008, 08:48:55 AM
Well, of course, it's only my opinion that "other" is essential.  I'll just say that of the 75 donations I have received, about half of my supporters used the "other" option.  In a couple of cases, someone made an unusually large donation.  Without the "other" option, anyone wishing to make a very large donation cannot use the Treasury system.

I'm not a programmer, so I won't make assumptions here about the ease of including the "other" option in the code.  However, I'll be most people see the "other" option as a good option.

I know there are donation blocks available, but I don't have TinyPortal installed on my forum.  That's one of the reasons I really want to use the Treasury modification.

Treasury is an excellent modification!  I do hope you reconsider the inclusion of the "other" option.

Matthew
Title: Re: Treasury
Post by: Pragmatist on June 08, 2008, 01:37:43 PM
Great mod--it seems as long as someone is using the default or neutron theme!

Our forum uses the Classic YaBB SE theme--and it appears that Treasury does not supply a button for its use.  A member can see the features of the mod through Profile, but the majority of our users are never going to look there for anything.

How might one enable this for the YaBB theme?
Title: Re: Treasury
Post by: Pragmatist on June 08, 2008, 02:00:06 PM
The first is covered in point 6 of,
index.php?action=treasuryadmin;sa=readme#ModuleSetup

The second is covered by editing
Themes/default/language/Treasury.english.php

Another question--the quote above referred to changing the menu title.  Changing the language file to "Please Donate" only seems to cause a change on the Treasury page menu--nothing happens to the Home page.  This is where I need users to see a "Please Donate" button.  Please advise!
Title: Re: Treasury
Post by: Cobra97 on June 08, 2008, 05:05:21 PM
Is there a way to get the list of members that donated in the Info Center by any chance?  That way there name is on the front page and might donate more often....

Thanks
Title: Re: Treasury
Post by: Matthew Schenker on June 08, 2008, 05:48:21 PM
Nevermind, I have deleted this mod and am using a direct script to PayPal's donation pages.
Matthew
Title: Re: Treasury
Post by: SgtMic on June 09, 2008, 01:23:57 AM
Great mod--it seems as long as someone is using the default or neutron theme!

Our forum uses the Classic YaBB SE theme--and it appears that Treasury does not supply a button for its use.  A member can see the features of the mod through Profile, but the majority of our users are never going to look there for anything.

How might one enable this for the YaBB theme?

As with most mods, it only installs to the Core Default theme. Any others will need to be manually installed and adjusted.
When you change the language file, it changes the "wording" in the main tab area.

@ Cobra97, the simple answer is no. The donators can see their names when they click on the Treasury tab.

@Matthew, good luck with the new script.
Title: Re: Treasury
Post by: Pragmatist on June 09, 2008, 02:09:13 AM
Ahhh, but what language file to change can be tricky! :-*

It would appear to first looks that the forum Home page menu button text would come from treasury.english.php.  Changing the tab names there only affects subsequent pages--the Treasury page itself.  Nothing happens to the Home page.

Inadvertantly, the key was given--where it is necessary to manually edit files for different templates.  I took a look at the required .php edits, and discovered that the file that needs edited to change the Home page tab name is actually modifications.english.php.  Call Treasury whatever you want.  I changed the tab to say * Click Here to Support the Forum *.  This is the message that was needed to send.

Great mod, well thought out and rather complete for donation purposes.  This reply is posted so that others looking to do the same thing can find the info easier.

KEYWORDS:  main page tab, changing Treasury name, change menu title
Title: Re: Treasury
Post by: Resourcez on June 09, 2008, 03:13:12 AM
Most people check the Treasury admin Read Me  ;)
Quote from: Treasury ReadMe
Should you wish to change the name that appears in your menu bar from Treasury to say, Donations, you can edit the value for $txt['treasury_menu'] in,
"Themes/default/languages/Modifications.english.php".

However, it should be noted that you will need to reverse that change before un-install, or you will encounter an error.
Title: Re: Treasury
Post by: Resourcez on June 09, 2008, 03:17:14 AM
Is there a way to get the list of members that donated in the Info Center by any chance?  That way there name is on the front page and might donate more often....
As SgtMic said, the simple answer is no.  Alternatively, you could insert the available SSI function in that area.
Title: Re: Treasury
Post by: Faust on June 13, 2008, 08:15:47 AM
Any chance that this might be adapted to not use paypal, eg EFT transfers, I know the Paypal component is quite integrated, however some countries do not allow paypal.
Title: Re: Treasury
Post by: weightman on June 20, 2008, 05:29:30 PM
Quote
You can add as many as you wish - it will have no impact on upgrading. Just make sure you add each one sequentially - if you only have 6, which I have never had, then your next sets of values will be "don_amount, 7, 110", "don_amount, 8, 120", etc etc.

I finally got around to making these changes. It turns out I did have ten targets in the table but for some reason 4 of them had zeros entered for their values. I changed the values to the donation amounts I wanted to add and everything seems good so far.

Thanks very much
Title: Re: Treasury
Post by: Joomlamz on June 22, 2008, 04:27:25 AM
Nice work
good mod
iam translate portuguese and brazilian update when have time
Code: [Select]
<file name="$languagedir/Modifications.portuguese.php" error="skip">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
//Begin SMF Treasury Text
$txt['treasury_menu'] = 'Tesouro';
$txt['treasury_admin'] = 'Tesouro';
$txt['permissiongroup_treasury'] = 'Tesouro';
$txt['permissionname_view_treasury'] = 'Ver Tesouro';
$txt['permissionhelp_view_treasury'] = 'Define se o membro pode visualizar o Tesouro.';
$txt['cannot_view_treasury'] = 'Você não pode ver Tesouro.';
$txt['permissionname_admin_treasury'] = 'Administrar Tesouro';
$txt['permissionhelp_admin_treasury'] = 'Se o membro está autorizado a administrar Tesouro';
$txt['cannot_admin_treasury'] = 'Você não pode administrar Tesouro.';
$txt['showDonations'] = 'Mostrar Donativos';
//End SMF Treasury Text
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.brazilian.php" error="skip">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
//Begin SMF Treasury Text
$txt['treasury_menu'] = 'Tesouro';
$txt['treasury_admin'] = 'Tesouro';
$txt['permissiongroup_treasury'] = 'Tesouro';
$txt['permissionname_view_treasury'] = 'Ver Tesouro';
$txt['permissionhelp_view_treasury'] = 'Define se o membro pode visualizar o Tesouro.';
$txt['cannot_view_treasury'] = 'Você não pode ver Tesouro.';
$txt['permissionname_admin_treasury'] = 'Administrar Tesouro';
$txt['permissionhelp_admin_treasury'] = 'Se o membro está autorizado a administrar Tesouro';
$txt['cannot_admin_treasury'] = 'Você não pode administrar Tesouro.';
$txt['showDonations'] = 'Mostrar Donativos';
//End SMF Treasury Text
]]></add>
</operation>
</file>

Code: [Select]
<file name="$languagedir/Who.portuguese.php" error="skip">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
//Begin SMF Treasury Strings
$txt['whoall_treasury'] = 'Vendo o <a href="' . $scripturl . '?action=treasury">Tesouro</a>';
//END SMF Treasury Strings
]]></add>
</operation>
</file>
<file name="$languagedir/Who.brazilian.php" error="skip">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
//Begin SMF Treasury Strings
$txt['whoall_treasury'] = 'Vendo o <a href="' . $scripturl . '?action=treasury">Tesouro</a>';
//END SMF Treasury Strings
]]></add>
</operation>
</file>



Treasury.portuguese.php / TreasuryHelp.portuguese and Treasury.brazilian.php/TreasuryHelp.brazilian
attach

Title: Re: Treasury
Post by: Urbanite on July 06, 2008, 07:54:14 AM
Done a site and Google search for Spanish files and nothing turned up, can anyone do a Spanish translation of the necessary files please? :)
 
 
Title: Re: Treasury
Post by: madman71 on July 15, 2008, 03:15:06 PM
Can anyone plz tell me which file to edit to change the color of the Treasury link and make it "fit" in the tab like the others?

This is what it looks like now
 (http://img237.imagevenue.com/loc560/th_49234_untitled_122_560lo.JPG) (http://img237.imagevenue.com/img.php?image=49234_untitled_122_560lo.JPG)

thanks guys.

and props to the mod author :)
Title: Re: Treasury
Post by: ArkServer on July 21, 2008, 01:03:01 PM
I just installed it on a custom theme works fine, thanks!
http://www.engineeringserver.com/forum/treasury.html
i was wondering what the PayPal Item Number is?
Title: Re: Treasury
Post by: Gryphoune on July 21, 2008, 02:04:33 PM
Can anyone plz tell me which file to edit to change the color of the Treasury link and make it "fit" in the tab like the others?

This is what it looks like now
 (http://img237.imagevenue.com/loc560/th_49234_untitled_122_560lo.JPG) (http://img237.imagevenue.com/img.php?image=49234_untitled_122_560lo.JPG)

thanks guys.

and props to the mod author :)


If you're using a custom theme then you have to add the button code  in the index.template for the theme you are using. Most custom themes do not include support for mods so you have to add the code if they require a menu button.
Title: Re: Treasury
Post by: Resourcez on July 21, 2008, 08:32:25 PM
i was wondering what the PayPal Item Number is?
https://www.paypal.com/IntegrationCenter/ic_ipn-pdt-variable-reference.html
Title: Re: Treasury
Post by: Kill Em All on July 24, 2008, 11:19:01 AM
when i install treasury onto my website, it says its installed, but i dont get the treasury link to get it setup? i tried re downloading it to see if it was just a bad download and it wasnt, so what gives?
Title: Re: Treasury
Post by: SgtMic on July 24, 2008, 05:52:00 PM
SMF and Treasury version?
Title: Re: Treasury
Post by: Kill Em All on July 26, 2008, 12:13:06 AM
The SMF is 1.1.5 and the Treasury version is 2.11. I believe these are the latest one of both. Anything else just ask :)
Title: Re: Treasury
Post by: ElectricSquid on July 26, 2008, 11:15:49 PM
For some reason the donations aren't updating from Paypal back to Treasury mod.

I followed the directions for install. Set up paypal as suggested. Set up Treasury as suggested. But for some reason I get no info back from Paypal after I donate through my test user account (w/ a different email address, of coarse)
I've pretty much tried everything I can think of.

PayPal gets the donation, it is accepted, and shows as complete. So at least that part of the transaction is going through.

But without the info comming back from Paypal, Treasury is not putting the test user account in the Site Donors membergroup (as configured to do upon donation), and it is not showing any indication of a donation being made.

I am using Treasury 2.11 on
SMF 1.1.5
Php 5.2.5
MySQL 4.1
Apache 2.2
Windows XpPro

I also am using the Paid Subscriptions mod, but that is for handeling the Gold Memberships, and has no Site Donor payment options. I left that for Treasury to handle.

I have full access to the server and to PayPal as requested in the Treasury read-me file.
Title: Re: Treasury
Post by: ElectricSquid on July 27, 2008, 12:48:15 AM
OK, update.

I got it to work flawlessly as long as the user does not enter their own amount.
If the user enters their own amount, the above reply still happens (or should I say, stuff doesn't happen as it should :P)
Title: Re: Treasury
Post by: tlknowles on July 27, 2008, 08:14:10 AM
I think I have a weird situation.

1. I have 2.11 installed.
When it was first installed, it appeared to be okie doke.
I got no errors during install. And opening up the Treasury Config option seemed to display everything that was supposed to be there.

Ok...so...I go off to do something else knowing that I can come back and configure the mod later.

Now...I go back to Treasury Admin...
And the Tabs ( all except EVENTS ) are not there.
Neither are most of the ...oh...what would you call them?... the entry descriptions.
And, opening the [?] help files opens a reference to various files...not the help files that were there.

So...now...
I open up the manual install info in the Modification section of this site...
And I manually check for all the files..and all the changes...
And...they are all there.

Which brings me to my question.
Anyone know what happened?

I apologize. I know I'm not explaining this correctly.

Should I just 'uninstall' and 'reinstall' a fresh copy?
...and just not worry about what went sour.

And will electing [Uninstall] from the Package handler unistall all the associated changes / files / DB entries?


TIA
tlknowles

UPDATE :: July 28, 2008
Uninstalled - some processes failed, so had to manually uninstall portions. ( No problem )
Re-Installed - everything is peachy keen.

Title: Re: Treasury
Post by: Kill Em All on July 27, 2008, 11:53:32 AM
i dont know much about SMF, lol, or any mods for it, but if i were you, i would try uninstalling and reinstalling, and if that doesnt work, try getting rid of it all together and re-downloading it from the site and installing it. if all fails, i dont know what to tell ya
Title: Re: Treasury
Post by: ElectricSquid on July 27, 2008, 01:58:05 PM
I just found an issue with manually adding a donation to the Treasury Donations tab in the admin panel.

If I manually add a donation for $10:
Gross 10.00
Fee     0.59
Settle  9.41

The way it shows on the treasury page is:
Total Receipts: $100.00
PayPal Fees:      $90.59
Net Balance:        $9.41

I've done this 3 times now just to make sure I wasn't somehow putting the . in the wrong place. My entry is correct.

This is also the only donation in treasury at this time. It's still in testing on my site.
Title: Re: Treasury
Post by: ElectricSquid on July 27, 2008, 02:06:16 PM
Now just because I must tinker with broken stuff...

If I modify the Gross entry to be 1.00 instead of 10.00, then on the treasury page, it shows up correctly as the 10 dollar donation, and all other fields are correct as well.


I'll also add that when a payment is listed directly from (however treasury does it through) paypal, the automatic way, the amounts are correct. This issue I'm reporting is only when a manual entry is listed.

So where do I find the code that controls this bug, and how do I modify it to show the decimal in the correct place?
Title: Re: Treasury
Post by: picture on July 27, 2008, 11:07:27 PM
Great mod, Resourcez. I've search this topic but haven't found an answer to this:

Is there a way to display "this month's current donations progress" on another page of our website using SMF's SSI functions or otherwise? We don't use Tiny Portal and so we are looking for a way to display this info on our global sidebar.

Thanks,
kanter
Title: Re: Treasury
Post by: Kill Em All on July 28, 2008, 03:02:25 PM
i hate to be a pest, but my question has still never been answered about me not getting a treasury link under the members section in admin
Title: Re: Treasury
Post by: picture on July 28, 2008, 05:54:50 PM
when i install treasury onto my website, it says its installed, but i dont get the treasury link to get it setup? i tried re downloading it to see if it was just a bad download and it wasnt, so what gives?
i hate to be a pest, but my question has still never been answered about me not getting a treasury link under the members section in admin

I don't understand your problem, did you check under Admin > Features and Options > Treasury ...? It doesn't install a link on the top level of the Admin sidebar... and you might need to manually add code for index.php?action=treasury to your forum nav bar if you are using a custom theme.
Title: Re: Treasury
Post by: Resourcez on July 28, 2008, 07:17:58 PM
@Kill Em All
You didn't actually ask a question about the Treasury link in admin.
The Treasury ReadMe provides my support forum and FAQ links.
A handful of custom themes have this issue - http://resourcez.biz/index.php?topic=231.0
You should always check whether a mod functions correctly in the "default" theme - that usually provides a clue to your problem.

@Kanter
An SSI function is provided in a later version but, no, not this version.

@∑£ℓ¢†®¡¢ §ợų¡đ
Looks to me as though you haven't strictly followed the guidelines below the manual entry line or you have a wrong figure in one of the entries - there is no bug that I am aware of.
Title: Re: Treasury
Post by: Kill Em All on July 30, 2008, 02:08:39 AM
ok, so i tried it under the original theme, the SMF one, whatever its called(sorry, its a little late, no offense) and the link still doesnt appear.
Title: Re: Treasury
Post by: guit_ar_tist on July 30, 2008, 02:52:54 AM
I installed the Treasury mod and now I have decided to uninstall it (nothing against it, just not good with code and gave up). So I did that, but now, when I click on "members" on my forum website, and then click on a member to see any profile I get this:

"Fatal error: Cannot redeclare showdonations() (previously declared in /home/keagamin/public_html/Sources/Profile.php:2894) in /home/keagamin/public_html/Sources/Profile.php on line 3030"

What do I have to do or what file do I have to delete to get rid of this problem?

My website is www.keagaming.com for reference

To get that code, you have to create an account, go to members and select a member to view in case you need to know.

If you end up creating an account, name yourself TREASURY so we know it's you.
Title: Re: Treasury
Post by: waronyou on August 05, 2008, 04:23:32 AM
How can I remove the errors.

2: Invalid argument supplied for foreach()
File: /home/dirtyp/public_html/forums/Themes/default/languages/Treasury.english.php (main sub template - eval?)
Line: 611

8: Undefined index: topic_tags
File: /home/dirtyp/public_html/forums/Themes/default/languages/Treasury.english.php (main sub template - eval?)
Line: 611



Apply Filter: Only show the errors with the same message
8: Undefined index: thank_you_lock_allowed
File: /home/dirtyp/public_html/forums/Themes/default/languages/Treasury.english.php (main sub template - eval?)
Line: 185
Title: Re: Treasury
Post by: SgtMic on August 05, 2008, 11:01:13 AM
@guit_ar_tist,
Make sure all of the code was removed from the profile.php file.
Title: Re: Treasury
Post by: blondeamon on August 05, 2008, 01:27:13 PM
Excellent mod , i love it. But i have to ask:

If someone donates to Paypal will it now automatically update the donation bar in my site ? Or i have to manually register all new donations by hand in order for the bar to move?

And another thing, it asks somewhere for my IPN. Is this important and where can i find this in my paypal account,which section ? Do i rly need this to be put in Treasury settings?

Really need these answers guys , thanks in advace for the help if you know
Title: Re: Treasury
Post by: Nibogo on August 06, 2008, 08:40:20 PM
Someone have the spanish translation?
Title: Re: Treasury
Post by: Resourcez on August 07, 2008, 02:14:21 AM
@waronyou - unfortunately, SMF sometimes provides a misleading impression of where the error is - Treasury.english.php won't generate those errors.

@blondeamon - Treasury will auto-update the donation bar, provided you are using IPN and have the correct setup in your PayPal account.  Whilst configuring your Paypal account is outside the scope of the mod, there is a comprehensive ReadMe section in your Treasury admin panel.  Should you have issues, most of those have been resolved in the forums here and on my site, along with an FAQ section there.
Title: Re: Treasury
Post by: ninedoors on August 14, 2008, 09:16:26 AM
How would I go about making the registry page my default page rather than the read me page when I click the treasury link in in the admin CP?
Title: Re: Treasury
Post by: Resourcez on August 17, 2008, 08:27:10 PM
Answered here,
http://resourcez.biz/index.php?topic=268.msg1401;topicseen#new
Title: Re: Treasury
Post by: ninedoors on August 22, 2008, 10:05:14 AM
Can someone explain the process for treasury to me?  What I am wondering is if treasury inserts something in the treasury database tables then passes some info to paypal and then the IPN returns the payment info and updates the DB.  Is that right?

Or is it all done thru the IPN?

The reason I am asking is that I have another place on my site where users pay fees for my hockey league and I would like to use treasury to track that instead of donations.  Thanks

Nick
Title: Re: Treasury
Post by: SgtMic on August 22, 2008, 01:44:00 PM
In the not too distant future, there will be a version that will be able to multi task.
You can have an instance for donations, one for subscriptions, one for Hockey League fees.

Title: Re: Treasury
Post by: ninedoors on August 24, 2008, 09:51:23 AM
Is the not to distant future like a couple months or a couple weeks.  Just wondering so I know if it is worth my time to tweak it.

Either way this mod is very well done.  Can't wait to see the new version.
Title: Re: Treasury
Post by: ljprevo on August 24, 2008, 08:03:26 PM
How can I allow all members see the registry, not just ones who donated?
Title: Re: Treasury
Post by: Cadderpidder on August 24, 2008, 09:03:01 PM
I've installed this Mod, but we're using a different theme (heilos_multi11final). It installed into the default just fine, but when I tried to use the parser it is telling me to look for lines of code that aren't even in the files it lists. :(

Can anyone help me?
Title: Re: Treasury
Post by: MoreBloodWine on August 24, 2008, 09:57:16 PM
http://www.choice-online-gaming.com/testingforums/ipntreas.php?dbg=1

I set this up on a default themed testing site to play with, anyway, when I try to test the IPN I get the following.

Edit: I'm gonna assume this is also why none of my sandbox test donations are showing up anywhere on the treasury mod in admin or otherwise. Oh and this is a brand new fresh install with the file freshly downloaded from SMF.

Template Parse Error!
There was a problem loading the /Themes/default/languages/Treasury.english.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
--------------------------------------------------------------------------------

syntax error, unexpected T_STRING
Title: Re: Treasury
Post by: ljprevo on August 25, 2008, 08:13:13 AM
How can I allow all members see the registry, not just ones who donated?

I figured it out.

In the Treasury.php file find this

Code: [Select]
$is_donor = db_affected_rows($userdonor);
if ($is_donor >= 1)

Change the code $is_donor = db_affected_rows($userdonor); to

$is_donor = "1";

Everyone who has access to view the treasury can see the expenses weather they donated or not.
Title: Re: Treasury
Post by: MoreBloodWine on August 26, 2008, 01:59:19 AM
Just over 24 hrs later which means I can BUMP
Title: Re: Treasury
Post by: SgtMic on August 26, 2008, 02:54:23 PM
How can I allow all members see the registry, not just ones who donated?

go to membergroup/ permissions and there is the setting adjustment.



I've installed this Mod, but we're using a different theme (heilos_multi11final). It installed into the default just fine, but when I tried to use the parser it is telling me to look for lines of code that aren't even in the files it lists. :(

Can anyone help me?

Go here (http://resourcez.biz/index.php?action=forum) for help with that theme.


http://www.choice-online-gaming.com/testingforums/ipntreas.php?dbg=1

I set this up on a default themed testing site to play with, anyway, when I try to test the IPN I get the following.

Edit: I'm gonna assume this is also why none of my sandbox test donations are showing up anywhere on the treasury mod in admin or otherwise. Oh and this is a brand new fresh install with the file freshly downloaded from SMF.

Template Parse Error!
There was a problem loading the /Themes/default/languages/Treasury.english.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
--------------------------------------------------------------------------------

syntax error, unexpected T_STRING

Were there any errors upon installing?




Title: Re: Treasury
Post by: ljprevo on August 26, 2008, 03:00:23 PM
There is a setting to allow those who donated to see the registry, not everyone.
Title: Re: Treasury
Post by: SgtMic on August 26, 2008, 06:32:17 PM
What version of SMF and Treasury?
Are talking about the actual register or donations page?
Title: Re: Treasury
Post by: MoreBloodWine on August 26, 2008, 08:19:52 PM
http://www.choice-online-gaming.com/testingforums/ipntreas.php?dbg=1

I set this up on a default themed testing site to play with, anyway, when I try to test the IPN I get the following.

Edit: I'm gonna assume this is also why none of my sandbox test donations are showing up anywhere on the treasury mod in admin or otherwise. Oh and this is a brand new fresh install with the file freshly downloaded from SMF.

Template Parse Error!
There was a problem loading the /Themes/default/languages/Treasury.english.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
--------------------------------------------------------------------------------

syntax error, unexpected T_STRING

Were there any errors upon installing?
No errors before / after install... only errors I seem to find are those in the error log of my server when I try to test the ipntreas.php file and the T_STRING thing. If you click the link for my file you'll see the same T_STRING thing that I do, but these are the errors from my server log. Everything else is fine its just this mod / file thats giving me trouble.

Code: (Server Log Errors) [Select]
[26-Aug-2008 18:17:46] PHP Warning:  Unexpected character in input:  '\' (ASCII=92) state=1 in /home/choiceo2/public_html/testingforums/Sources/Load.php(1762) : eval()'d code on line 20
[26-Aug-2008 18:17:46] PHP Warning:  Unexpected character in input:  ''' (ASCII=39) state=1 in /home/choiceo2/public_html/testingforums/Sources/Load.php(1762) : eval()'d code on line 20
[26-Aug-2008 18:17:46] PHP Warning:  Unexpected character in input:  '\' (ASCII=92) state=1 in /home/choiceo2/public_html/testingforums/Sources/Load.php(1762) : eval()'d code on line 20
[26-Aug-2008 18:17:46] PHP Warning:  Unexpected character in input:  ''' (ASCII=39) state=1 in /home/choiceo2/public_html/testingforums/Sources/Load.php(1762) : eval()'d code on line 20
[26-Aug-2008 18:17:46] PHP Warning:  Unexpected character in input:  '\' (ASCII=92) state=1 in /home/choiceo2/public_html/testingforums/Sources/Load.php(1762) : eval()'d code on line 20
[26-Aug-2008 18:17:46] PHP Warning:  Unexpected character in input:  ''' (ASCII=39) state=1 in /home/choiceo2/public_html/testingforums/Sources/Load.php(1762) : eval()'d code on line 20
[26-Aug-2008 18:17:46] PHP Warning:  Unexpected character in input:  '\' (ASCII=92) state=1 in /home/choiceo2/public_html/testingforums/Sources/Load.php(1762) : eval()'d code on line 20
[26-Aug-2008 18:17:46] PHP Warning:  Unexpected character in input:  ''' (ASCII=39) state=1 in /home/choiceo2/public_html/testingforums/Sources/Load.php(1762) : eval()'d code on line 20
[26-Aug-2008 18:17:46] PHP Warning:  Unexpected character in input:  '\' (ASCII=92) state=1 in /home/choiceo2/public_html/testingforums/Sources/Load.php(1762) : eval()'d code on line 20
[26-Aug-2008 18:17:46] PHP Warning:  Unexpected character in input:  ''' (ASCII=39) state=1 in /home/choiceo2/public_html/testingforums/Sources/Load.php(1762) : eval()'d code on line 20
[26-Aug-2008 18:17:46] PHP Parse error:  syntax error, unexpected T_STRING in /home/choiceo2/public_html/testingforums/Sources/Load.php(1762) : eval()'d code on line 20

Code: (ipntreas.php Test File Errors) [Select]
Template Parse Error!
There was a problem loading the /Themes/default/languages/Treasury.english.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
--------------------------------------------------------------------------------

syntax error, unexpected T_STRING
Title: Re: Treasury
Post by: SgtMic on August 26, 2008, 10:36:30 PM
@MoreBloodWine, go ahead and uninstall via package manager. Then reinstall and let me know how it goes.
Title: Re: Treasury
Post by: MoreBloodWine on August 26, 2008, 11:06:09 PM
@MoreBloodWine, go ahead and uninstall via package manager. Then reinstall and let me know how it goes.
Nothing, it seems the only fix is disabling template eval... I dont know why or how that works but it seems to make the test work.

Now I just need to see if I got this set up right... would you mind trying a donation of a penny please ?

http://www.choice-online-gaming.com/testingforums/index.php?action=treasury
Title: Re: Treasury
Post by: SgtMic on August 26, 2008, 11:40:31 PM
Sent a penny for your thoughts. LOL

Seems to have gone through and redirected me back to your site.
Title: Re: Treasury
Post by: MoreBloodWine on August 26, 2008, 11:43:42 PM
Sent a penny for your thoughts. LOL

Seems to have gone through and redirected me back to your site.
Thx and it appears to have worked, my worrk was using fsock but it appears to be ok and not interfering with my current IPN setup. Also I thought you said you had no cents, I'd hate to take your only one LOL

Edit: NM it was someone else who made the cent comment LOL, but ya it appears to be workin ok. I stil ldont get the whole registry thing though. I mean I read about it but I still dont get it lol
Title: Re: Treasury
Post by: SgtMic on August 26, 2008, 11:59:18 PM
The registry is used to keep track of all incoming and outgoing transactions.

I don't remember if this version tracks outgoing or not. oops.
Title: Re: Treasury
Post by: MoreBloodWine on August 27, 2008, 12:21:36 AM
The registry is used to keep track of all incoming and outgoing transactions.

I don't remember if this version tracks outgoing or not. oops.
I think it does because it mentions something besides expendetures when you have it set to show. Personally I dont think I'll use it.
Title: Re: Treasury
Post by: MoreBloodWine on August 27, 2008, 12:35:48 AM
Question, How change the below so it takes on the look of my forum ? I'm sure there's other parts of treasury admin but the "fix" should be the same for all.

(http://www.choice-online-gaming.com/images/donationsmod.jpg)
Title: Re: Treasury
Post by: SgtMic on August 27, 2008, 02:15:31 AM
If you use FF, download and install the Web Developer add on. It's a great tool to view where to make changes to what.
I'm a little brain tired right now and am of no use. :)
Title: Re: Treasury
Post by: MoreBloodWine on August 27, 2008, 02:24:03 AM
If you use FF, download and install the Web Developer add on. It's a great tool to view where to make changes to what.
I'm a little brain tired right now and am of no use. :)
Heh, I'll just wait til tomorrow when you got your mojo back and ask again. In the meantime I was looking at soemthing thats not making sense. Or just wait til Resourcez gets back on whenever that will be.

http://resourcez.biz/index.php?action=treasury

If you look at that site and I'll use your $10 donation as a sample. It states that after PayPal fees your donation ammounted to $9.36 well I know that PayPal charges 2.9% + $0.30 of all incoming payments so that should ammount to $9.41 after fees not $9.36

Could it be that theres some math problems gon on with the IPN file for treasury or is his account in a country that charges more ?
Title: Re: Treasury
Post by: ninedoors on August 27, 2008, 07:08:57 AM
It probably has to do with the exchange rate from USD or something.  I don't Treasury actually does any math for fees, that is something that is passed back from paypal to treasury in the IPN.

Nick
Title: Re: Treasury
Post by: SgtMic on August 27, 2008, 11:26:40 AM
It's probably the conversion rate like Nick said.

Treasury only records the info it get's from Paypal.
Title: Re: Treasury
Post by: MoreBloodWine on August 27, 2008, 01:58:19 PM
So Sgt, you got your brain back enough to help me with that "look" thing ? ;-p
Title: Re: Treasury
Post by: SgtMic on August 27, 2008, 03:48:38 PM
What version of SMF and Treasury again?

NVM, I just clicked on your link.

Let me see what I can find for you.
Title: Re: Treasury
Post by: SgtMic on August 27, 2008, 04:16:19 PM
Can you enable registration for me on your test site?

That way I can use your theme. All I can see is the default core theme.
Title: Re: Treasury
Post by: MoreBloodWine on August 27, 2008, 05:13:33 PM
What version of SMF and Treasury again?

NVM, I just clicked on your link.

Let me see what I can find for you.
Cool and thx and just to answer even though you peeked lol its 2.11 Treasury and SMF 1.1.5

Default theme is on the test site not my main theme which is on my main site heh. I installed it on my main site though and it appears to be working ok. Click my sig image to goto it if you wana reg, but you shouldnt need to if all you wana do is look at my theme.
Title: Re: Treasury
Post by: SgtMic on August 27, 2008, 05:25:34 PM
Question, How change the below so it takes on the look of my forum ? I'm sure there's other parts of treasury admin but the "fix" should be the same for all.

(http://www.choice-online-gaming.com/images/donationsmod.jpg)

Where is this pic from?
Title: Re: Treasury
Post by: MoreBloodWine on August 27, 2008, 05:34:22 PM
Question, How change the below so it takes on the look of my forum ? I'm sure there's other parts of treasury admin but the "fix" should be the same for all.

(http://www.choice-online-gaming.com/images/donationsmod.jpg)

Where is this pic from?
If you look close at it you'll see its from the Treasury admin, but it does that default look on the registry tab as seen in the pic and on one other tab which is events.
Title: Re: Treasury
Post by: SgtMic on August 27, 2008, 06:08:52 PM
I meant which forum and what theme.

And if I'm correct, you want the "Treasury" and "Reconcile... to be orange?
Title: Re: Treasury
Post by: MoreBloodWine on August 27, 2008, 06:20:30 PM
I meant which forum and what theme.

And if I'm correct, you want the "Treasury" and "Reconcile... to be orange?
Its from my main site and the theme is the WoW-DK theme, and its kinda hard to explain how I want it. You'd have to actually see how the rest of the admin tabs look to get an idea. If we could find out whats enabling the "default" look on those two tabs then disabling it should do the trick.
Title: Re: Treasury
Post by: Resourcez on August 27, 2008, 07:49:43 PM
The problem is with your theme - Treasury uses your theme settings and obviously one of your theme images is a different color.  View the background image concerned and fix it.
Title: Re: Treasury
Post by: MoreBloodWine on August 27, 2008, 08:01:33 PM
The problem is with your theme - Treasury uses your theme settings and obviously one of your theme images is a different color.  View the background image concerned and fix it.
See, thats just the thing... I dont think it is the theme because every other mod and literally every part of my forum displays as you'd expect it to. But sicne all mods install to default that means mod files install to default to, so if a mod file installed to default but is called into my theme then it would inherantly display a default look.
Title: Re: Treasury
Post by: Resourcez on August 27, 2008, 08:16:04 PM
After thousands of copies and installs, what would I know.
Title: Re: Treasury
Post by: MoreBloodWine on August 27, 2008, 08:41:51 PM
After thousands of copies and installs, what would I know.
Well I'm not sayin I know anything just takin guesses. But I feel that would be the most logical explination... just need some more insight on it I suppose. Resourcez would probably be best if he would pop on here.

Edit: Oh wait that was you that replied lol... but you have to have some sort of idea as to whats givin that default look on the two treasury admin tabs. Oh and as for what youd know hopefully more than anyone else since your listed as mod author.
Title: Re: Treasury
Post by: Resourcez on August 27, 2008, 08:54:12 PM
The only obvious variation from your theme is the blue background image - if that's not it, you need to improve your explanation so people don't have to guess the issue.  Help us help you.
Title: Re: Treasury
Post by: MoreBloodWine on August 27, 2008, 09:05:40 PM
The only obvious variation from your theme is the blue background image - if that's not it, you need to improve your explanation so people don't have to guess the issue.  Help us help you.
See, thats just the thing I'm trying to explain it best I can... If you look at the image in its normal size you'll see that the word Treasury is in gray while the background isnt a solid black but more textured. Thats how default looking stuff should look, or look similar to it.

http://www.choice-online-gaming.com/images/donationsmod.jpg
(http://www.choice-online-gaming.com/images/donationsmod.jpg)
Title: Re: Treasury
Post by: Resourcez on August 27, 2008, 09:19:31 PM
I can't help that - it's the standard admin menu, determined by core using your theme settings, not controlled by Treasury.  You need to take that issue up with the themer.
Title: Re: Treasury
Post by: MoreBloodWine on August 27, 2008, 09:22:14 PM
I can't help that - it's the standard admin menu, determined by core using your theme settings, not controlled by Treasury.  You need to take that issue up with the themer.
Ok, well then try to answer me this, why does it only do the "default" look on the registry tab and events tab in the admin of Treasury but no where else ?
Title: Re: Treasury
Post by: Resourcez on August 27, 2008, 09:25:59 PM
I have no idea - I don't get the issue on any decent theme that I use.

I repeat - it is not controlled by Treasury.
Title: Re: Treasury
Post by: MoreBloodWine on August 27, 2008, 09:28:05 PM
I have no idea - I don't get the issue on any decent theme that I use.

I repeat - it is not controlled by Treasury.
As you said befoe what do you know so how can you be so sure its not Treasury. In either case I feel that it is because its actively doing it on some of the menu items but not all. If it was a theme issue I feel it would be doing it on more than those two menus.

Edit: Sorry if I'm coming off like an ass but your first reply was "what do I know" and you almost seem as if your just trying to dismiss this. Now I apologize if I as I already said am coming across like an ass but in either case if this turns out and is proven to be a theme thing and not a mod thing then I'll glady donate $10 to your site. Now I also posted in general 1.1 help and the theme thread askin for help so one way or the other I hope aa "solution" can be found, but hopefully your not so dismissive of other things as you seem to be with this.
Title: Re: Treasury
Post by: Resourcez on August 27, 2008, 09:55:11 PM
There is nothing wrong with Treasury, and there appears to be nothing wrong with that theme - that only leaves your "adjustments".  No-one can second guess what you may have done to the theme or core settings.

The reason I am dismissing it is because, like I have already said, that menu is controlled by SMF core, not Treasury.
Title: Re: Treasury
Post by: MoreBloodWine on August 27, 2008, 10:04:11 PM
There is nothing wrong with Treasury, and there appears to be nothing wrong with that theme - that only leaves your "adjustments".  No-one can second guess what you may have done to the theme or core settings.

The reason I am dismissing it is because, like I have already said, that menu is controlled by SMF core, not Treasury.
Well as far as things Ive done to the theme, I honestly can say nothing except for hand editing in mods. Maybe someone from general hep or the theme can shed some light on this. The weird thing that just really bothers me about this is that its only on two of the 9 menu items for the treasury admin.
Title: Re: Treasury
Post by: Paracelsus on August 28, 2008, 04:42:27 AM
There is nothing wrong with Treasury, and there appears to be nothing wrong with that theme - that only leaves your "adjustments".  No-one can second guess what you may have done to the theme or core settings.

The reason I am dismissing it is because, like I have already said, that menu is controlled by SMF core, not Treasury.
Well as far as things Ive done to the theme, I honestly can say nothing except for hand editing in mods. Maybe someone from general hep or the theme can shed some light on this. The weird thing that just really bothers me about this is that its only on two of the 9 menu items for the treasury admin.

Try to have a look at it with Firebug -> Inspect (FF extension).
Title: Re: Treasury
Post by: MoreBloodWine on August 28, 2008, 08:15:45 AM
There is nothing wrong with Treasury, and there appears to be nothing wrong with that theme - that only leaves your "adjustments".  No-one can second guess what you may have done to the theme or core settings.

The reason I am dismissing it is because, like I have already said, that menu is controlled by SMF core, not Treasury.
Well as far as things Ive done to the theme, I honestly can say nothing except for hand editing in mods. Maybe someone from general hep or the theme can shed some light on this. The weird thing that just really bothers me about this is that its only on two of the 9 menu items for the treasury admin.

Try to have a look at it with Firebug -> Inspect (FF extension).
I guess thats something I need to download... but ya I'll give it a shot I suppose. I just hope either someone who reads this, my general post or the themes thread can figure out what causing the default look on those two menus.

Edit: Ok, I got Firebug downloaded / installed. I see it shows the coding of the page or something like that, Ive just no idea wherre to go form here let alone what to atempt to even look for.
Title: Re: Treasury
Post by: Paracelsus on August 28, 2008, 08:51:04 AM
You have to inspect the elements which are different from the expected and inspect and COMPARE their html (div id or div class) with the ones which are not.
Title: Re: Treasury
Post by: MoreBloodWine on August 28, 2008, 08:53:13 AM
This is from the right window pane of Firebug using inspect element. The code is from the registry tab as shown in the pic.

The first set of code is inspected from the "default" looking part and the second set of code is from inspeacting the normal looking stuff. I think I might have a hang on it but what do I know. Best I can figure is that its doin the default look on part of registry and events because their not "title" windows, I hope that just made sense. I'm just goin by what little I can make out from Firebug.

Edit: The HTML is saying that the funky lookin parts are catbg2's while the "ok" looking parts are titlebg's. So would changing the funky lookin parts <tr calss> to titlebg's fix it ?

Code: (Default Looking Part) [Select]
body, td, th {style.css?fin11 (line 35)
color:#FFFFFF;
font-family:tahoma,sans-serif;
font-size:small;
}
td {html.css (line 242)
display:table-cell;
padding:1px;
text-align:inherit;
vertical-align:inherit;
}
Inherited fromtr.catbg2
.catbg, .catbg2 {style.css?fin11 (line 217)
color:#848284;
font-weight:bold;
}
Inherited fromtable.tborder
table {style.css?fin11 (line 30)
empty-cells:show;
}
table {html.css (line 165)
border-collapse:separate;
border-spacing:2px;
text-indent:0;
}
Inherited fromtd
body, td, th {style.css?fin11 (line 35)
color:#FFFFFF;
font-family:tahoma,sans-serif;
font-size:small;
}
td {html.css (line 242)
text-align:inherit;
}
Inherited fromtable
table {style.css?fin11 (line 30)
empty-cells:show;
}
table {html.css (line 165)
border-collapse:separate;
border-spacing:2px;
text-indent:0;
}
Inherited fromtd
body, td, th {style.css?fin11 (line 35)
color:#FFFFFF;
font-family:tahoma,sans-serif;
font-size:small;
}
td {html.css (line 242)
text-align:inherit;
}
Inherited fromtable
table {style.css?fin11 (line 30)
empty-cells:show;
}
table {html.css (line 165)
border-collapse:separate;
border-spacing:2px;
text-indent:0;
}
Inherited fromtd#bodyarea
body, td, th {style.css?fin11 (line 35)
color:#FFFFFF;
font-family:tahoma,sans-serif;
font-size:small;
}
td {html.css (line 242)
text-align:inherit;
}
Inherited fromtable
table {style.css?fin11 (line 30)
empty-cells:show;
}
table {html.css (line 165)
border-collapse:separate;
border-spacing:2px;
text-indent:0;
}
Inherited fromtd
body, td, th {style.css?fin11 (line 35)
color:#FFFFFF;
font-family:tahoma,sans-serif;
font-size:small;
}
td {html.css (line 242)
text-align:inherit;
}
Inherited fromtable
table {style.css?fin11 (line 30)
empty-cells:show;
}
table {html.css (line 165)
border-collapse:separate;
border-spacing:2px;
text-indent:0;
}
Inherited frombody
body, td, th {style.css?fin11 (line 35)
color:#FFFFFF;
font-family:tahoma,sans-serif;
font-size:small;
}
Inherited fromhtml
:root {ua.css (line 45)
quotes:"“" "”" "‘" "’";
}

Code: (Normal Looking Part (Where the word Treasury is displayed above the menu tabs / links) [Select]
.titlebg, tr.titlebg th, tr.titlebg td {style.css?fin11 (line 186)
background-color:#000000;
background-image:url(images/titlebg.jpg);
color:#848284;
font-style:normal;
font-weight:bold;
}
body, td, th {style.css?fin11 (line 35)
color:#FFFFFF;
font-family:tahoma,sans-serif;
font-size:small;
}
td {html.css (line 242)
display:table-cell;
padding:1px;
text-align:inherit;
vertical-align:inherit;
}
Inherited fromtr.titlebg
.titlebg, tr.titlebg th, tr.titlebg td {style.css?fin11 (line 186)
color:#848284;
font-style:normal;
font-weight:bold;
}
Inherited fromtable.tborder
table {style.css?fin11 (line 30)
empty-cells:show;
}
table {html.css (line 165)
border-collapse:separate;
border-spacing:2px;
text-indent:0;
}
Inherited fromtd
body, td, th {style.css?fin11 (line 35)
color:#FFFFFF;
font-family:tahoma,sans-serif;
font-size:small;
}
td {html.css (line 242)
text-align:inherit;
}
Inherited fromtable
table {style.css?fin11 (line 30)
empty-cells:show;
}
table {html.css (line 165)
border-collapse:separate;
border-spacing:2px;
text-indent:0;
}
Inherited fromtd
body, td, th {style.css?fin11 (line 35)
color:#FFFFFF;
font-family:tahoma,sans-serif;
font-size:small;
}
td {html.css (line 242)
text-align:inherit;
}
Inherited fromtable
table {style.css?fin11 (line 30)
empty-cells:show;
}
table {html.css (line 165)
border-collapse:separate;
border-spacing:2px;
text-indent:0;
}
Inherited fromtd#bodyarea
body, td, th {style.css?fin11 (line 35)
color:#FFFFFF;
font-family:tahoma,sans-serif;
font-size:small;
}
td {html.css (line 242)
text-align:inherit;
}
Inherited fromtable
table {style.css?fin11 (line 30)
empty-cells:show;
}
table {html.css (line 165)
border-collapse:separate;
border-spacing:2px;
text-indent:0;
}
Inherited fromtd
body, td, th {style.css?fin11 (line 35)
color:#FFFFFF;
font-family:tahoma,sans-serif;
font-size:small;
}
td {html.css (line 242)
text-align:inherit;
}
Inherited fromtable
table {style.css?fin11 (line 30)
empty-cells:show;
}
table {html.css (line 165)
border-collapse:separate;
border-spacing:2px;
text-indent:0;
}
Inherited frombody
body, td, th {style.css?fin11 (line 35)
color:#FFFFFF;
font-family:tahoma,sans-serif;
font-size:small;
}
Inherited fromhtml
:root {ua.css (line 45)
quotes:"“" "”" "‘" "’";
}
Title: Re: Treasury
Post by: Paracelsus on August 28, 2008, 08:57:33 AM
Edit: The HTML is saying that the funky lookin parts are catbg2's while the "ok" looking parts are titlebg's. So would changing the funky lookin parts <tr calss> to titlebg's fix it ?

You can try it directly on firebug with a single click on the catbg and write titlebg instead. The saves are just virtual, so no need to worry... if it works you just have to go the "real" code and edit it.
Title: Re: Treasury
Post by: MoreBloodWine on August 28, 2008, 09:04:16 AM
Edit: The HTML is saying that the funky lookin parts are catbg2's while the "ok" looking parts are titlebg's. So would changing the funky lookin parts <tr calss> to titlebg's fix it ?

You can try it directly on firebug with a single click on the catbg and write titlebg instead. The saves are just virtual, so no need to worry... if it works you just have to go the "real" code and edit it.
I'm actually doin it now direct to the file, so heres hoping it works out. I know Ive been a pain in the ass and Ive apologized for that already but even though its admin that no one else see I have this thing where everything has to not really be the same but have similar looks. Just having that one tiny part take on a default look was really irkin me. But back to work... *fingers crossed*
Title: Re: Treasury
Post by: Resourcez on August 28, 2008, 09:13:41 AM
Now that you guys have nicely hijacked this topic, I won't bother providing any more support here.

If people want Treasury support, please go to my site where I have some control over hijacking.
Title: Re: Treasury
Post by: MoreBloodWine on August 28, 2008, 09:14:54 AM
It seems that going into TreasuryAdmin.template.php and changing the catbg2's of the defaulted lookin areas to titlebg's fixed the issue. I suppose the point could be argued either way that it has to do with maybe the css of my theme or the mod itself so I'm just gonna call this one a draw 50/50 and just be happy it's fixed.

catbg2
(http://www.choice-online-gaming.com/images/donationsmod.jpg)

catbg2 changed to titlebg's
(http://www.choice-online-gaming.com/images/donationsmod2.jpg)
Title: Re: Treasury
Post by: MoreBloodWine on August 28, 2008, 09:15:39 AM
Now that you guys have nicely hijacked this topic, I won't bother providing any more support here.

If people want Treasury support, please go to my site where I have some control over hijacking.
Oh for the love of god, we didnt hijack anything, this WAS for support of the mod.

Edit: On a related note for a mod that supposed to be yours you werent doin much in the department of support. Your admittedly were just dismissing me.

Edit2: Paracelsus thank you for the SUPPORT of this mod, it has been appreciated ;-)
Title: Re: Treasury
Post by: Paracelsus on August 28, 2008, 09:18:22 AM
Now that you guys have nicely hijacked this topic, I won't bother providing any more support here.

If people want Treasury support, please go to my site where I have some control over hijacking.

Jesus, I was just trying to help the guy with some basic guidelines... don't get that upset, just keep going with the topic, since the issue seems to be solved - that's good don't you think?
Title: Re: Treasury
Post by: MoreBloodWine on August 28, 2008, 09:24:45 AM
Now that you guys have nicely hijacked this topic, I won't bother providing any more support here.

If people want Treasury support, please go to my site where I have some control over hijacking.

Jesus, I was just trying to help the guy with some basic guidelines... don't get that upset, just keep going with the topic, since the issue seems to be solved - that's good don't you think?
Like he said he was just trying to help, and for all intensive purposes his help was in the support department of this mod. So no need to get all mad at me or him about it because he was giving support for this mod. So its not like we stepped out of bounds here.
Title: Re: Treasury
Post by: żνєя ησνяυżєℓιн on August 28, 2008, 09:36:42 AM
thanks nice one
Title: Re: Treasury
Post by: SgtMic on August 28, 2008, 11:40:54 AM
Glad it's all fixed now.
Title: Re: Treasury
Post by: MoreBloodWine on August 28, 2008, 01:13:31 PM
Glad it's all fixed now.
Thx SgtMic ;-)

One thing I noticed, I judt got my first successful donation in from a member using this mod, and when they choose Anonymous it hyperlinks to their profile in both the TP block and on the Treasury main page. I assume the hyperlinking is by default which BTW is a nice cool touch but shouldnt the hyperlinking be disabled for anonymous bids so when someones donation comes in as Anonymous it's text only ?

The way it is now you can click the Anonymous name and goto their profile. Having the donation show on the profiles Donation page is ok. But I'd like to disable hyperlinking for anonymous donations.
Title: Re: Treasury
Post by: ninedoors on August 28, 2008, 03:35:24 PM
I'm pretty sure the hyperlinking can only been seen by admins but I could be wrong.  In my treasury I can see the link to the profile in my admin account but when I log in under my regular account it just text.

Try to make a regular account and test it.

Nick
Title: Re: Treasury
Post by: SgtMic on August 28, 2008, 04:21:45 PM
It should just be visible to admins.
Title: Re: Treasury
Post by: MoreBloodWine on August 28, 2008, 05:59:08 PM
Ahh, I'll make a test account and check it out, but I rather like the hyperlinking idea that leads to peoples profiles. So like everyone would be able to see it and just have the links disabled for anonymous donations but ya I'll make a test account to check it out.
Title: Re: Treasury
Post by: SgtMic on August 28, 2008, 06:00:45 PM
I just went to the site and cannot click on the anonymous as a guest.
Title: Re: Treasury
Post by: MoreBloodWine on August 28, 2008, 07:21:02 PM
Ya, I saw that myself... I'm gonna see if I can play with the code to show the hyperlink to the profiles for all people then I'll just have to worry about how to disable the linking for Anonymous.
Title: Re: Treasury
Post by: SgtMic on August 28, 2008, 07:54:28 PM
You don't even want admins to see who the anonymous are?
Title: Re: Treasury
Post by: MoreBloodWine on August 28, 2008, 08:07:17 PM
You don't even want admins to see who the anonymous are?
I guess I didnt consider than because if you disable anonymous for one group youd probably disable it for all. But ya I supose that works, I mean if its anonymous I dont really need to know who they are just that someone made an anonymous donation. Plus it wouldnt be hard to figure out who the anonymous donors are. Just need to look at the log or the payment page for PayPal.

Edit: It seems that showing the hyperlinking is easier than I thought... Enabling the permission (Administer Treasury) shows the hyperlinking to all groups with the given permission. But I dont get the whole Administer thing. This is all thats displayed in the ? box...

If the user is allowed to administer Treasury

I mean aside from being able to view the hyperlinking which take you to a members donation page which normally cant be viewed by anyone but a forum administrator what else is a person able to do with that permission enabled ?

If they cant do anything aside from viewing a members donation page with that permission enabled then all that would need to be done at this point is figuring out how to disable the hyperlinking for "anonymous" donators.
Title: Re: Treasury
Post by: MoreBloodWine on August 29, 2008, 03:05:59 PM
In addition to the above, I also ot this question.

When viewing the main treasury page this is how donations show $1.00 (CAD)

I want it to show the same way in my TP block, I tried looking at the code in some of the files but I appear to be missing something. What code outputs the above and what in the DonationsBlock.php file would need to be replaced ?

Hope that made sense, Thx ;-)
Title: Re: Treasury
Post by: SgtMic on August 29, 2008, 04:28:05 PM
Are you trying to make a block look like the Treasury main page?
Title: Re: Treasury
Post by: MoreBloodWine on August 29, 2008, 05:57:14 PM
Are you trying to make a block look like the Treasury main page?
On treasury main page I have a payment that looks like this $1.00 (CAD) but looks like this on the TP block CAD1.00 but I want it to look like the first figure.
Title: Treasury v2.12 Released
Post by: Resourcez on September 08, 2008, 07:57:39 AM

Bug Reports Here (http://resourcez.biz/index.php?action=bugger) :: Support Here (http://resourcez.biz/index.php?board=7.0)
Title: Treasury v2.30 Released - the Power of One
Post by: Resourcez on September 09, 2008, 09:03:41 PM
Multi-SMF version.
The installer will detect which SMF version you are using and install the appropriate Treasury version.

Bug Reports Here (http://resourcez.biz/index.php?action=bugger) :: Support Here (http://resourcez.biz/index.php?board=7.0)
Title: Re: Treasury
Post by: learjet45 on September 28, 2008, 08:18:13 PM
Wonderful mod. Quick question.

Would it be possible to add paypal subscriptions to the treasury page and then get the subscription payments to show under the list of donations>
Title: Re: Treasury
Post by: SgtMic on September 28, 2008, 08:54:22 PM
Wonderful mod. Quick question.

Would it be possible to add paypal subscriptions to the treasury page and then get the subscription payments to show under the list of donations>

A future commercial release will have this available.
Title: Re: Treasury
Post by: JamesD01 on September 30, 2008, 06:01:53 PM
Using SMF 2.0 Beta 4

When installing the package I get this error:

"Table 'elitefunforum.smf_treas_donations' doesn't exist
File: D:\Domains\jamesd01\wwwroot\forum\Packages\temp\install.php
Line: 326"

Please help, many thanks. :)
Title: Re: Treasury
Post by: asiaGPS on October 02, 2008, 03:52:52 AM
I got a problem with mysql syntax:

Entered via phpmyadmin:
INSERT IGNORE INTO smf_treas_config (name, value) VALUES ('receiver_email

Error message:
#1064 - 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 ''receiver_email' at line 1

Board 1.1.6
Database prefix: smf_

Can anyone help please?
Thanks
Title: Re: Treasury
Post by: Adish - (F.L.A.M.E.R) on October 02, 2008, 03:55:21 AM
I have a kind of mod/paypal problem. I have set the currency as GBP and it takes like £17 instead of £5 as made a setting in the mod. As i changed it to USD, the money started transfering as $5. I noticed that, they are taking shipping charge over paypal if GBP is used. I dont know why, can you tell me ? it maybe the mod and maybe paypal. Cant figure out the way.
Title: Re: Treasury
Post by: PhntmBlackIce on October 03, 2008, 09:50:27 AM
ok I recently moved my forum to AdwareSpace free server.  I am using the "Word Theme".  I have SMF 1.1.5  So I went in and tried to do a manual install.

I used this http://custom.simplemachines.org/mods/index.php?mod=916 (http://custom.simplemachines.org/mods/index.php?mod=916)

I went in and added all the "File Edits".  I went into SQL in phpmyadmin and added "Codes".  A couple codes weren't relevant so didn't run them and the last code wouldn't run not sure why.  I then went and moved all the files and still nothing is working any guides, help, anything, please.


Title: Re: Treasury
Post by: genieuk on October 05, 2008, 03:31:44 PM
Hi,

I installed this mod and everything seems great apart from one thing.

I am having difficult into assigning a member to a contributor member once the have made payment.

I want a member who makes a donation to convert for example from a newbie member to a contributor member, Now i have tested it and when member makes payment (immediate payment) it should to what i understand make that member a Contributor member.

Now in my admin panel Members Groups > under Regular Groups i create a Contributor which also has 5 stars and gives them access to the hidden contributor board, now in permissions i when i click on under members for example 1 it shows me the contributor members which is fine but it does not update on there profile or status so they stilll show as newbie for example not a contributor.

I have choose contributor via Treasury and made sure it enabled but why when a newbie member for example donates there status is not upgraded to Contributor? they get access to the hidden board and everything but dont get there status updated.

What am i doing wrong?

Thank you,
Mathew
Title: Re: Treasury
Post by: Jojie on October 07, 2008, 11:43:09 PM
Need help.. i've upgarded from Treasury_1.23.zip to  treasury_2.30.zip it works fine except for block


when i put this in

global $boarddir;
include("$boarddir/treasury/DonationBlock.php");

i get this

Table 'smf_treas_cfg' doesn't exist
File: /xxxxx/DonationBlock.php
Line: 23

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.6, while your database is at version 1.1.2. The above error might possibly go away if you execute the latest version of upgrade.php.
Back

any work around or i must update my database? if so how do i update my database?
Title: Re: Treasury
Post by: Rafferty on October 08, 2008, 06:15:14 AM
Doesn't seen to be much of that around here, when was the last time the creator responded to anyone?
Title: Re: Treasury
Post by: Adish - (F.L.A.M.E.R) on October 08, 2008, 12:29:26 PM
September 09, 2008 i think. Anyone else who can help out here ?
Title: Re: Treasury
Post by: SgtMic on October 08, 2008, 03:04:14 PM
That poster has posted here (http://resourcez.biz/index.php?topic=234.0) for help.
Title: Treasury v2.31 Released
Post by: Resourcez on October 09, 2008, 11:41:27 AM
Treasury v2.31 now released.
Title: Re: Treasury
Post by: genieuk on October 09, 2008, 01:24:08 PM
Hi,

I have this installed. Version 2.30,

Do i have to uninstall previous version first? i used package manager to install v2.30 and not sure if i got to fully uninstall old version then install new or update it somehow?

Thank you,
Mathew
Title: Re: Treasury
Post by: SgtMic on October 09, 2008, 02:00:23 PM
Hi,

I have this installed. Version 2.30,

Do i have to uninstall previous version first? i used package manager to install v2.30 and not sure if i got to fully uninstall old version then install new or update it somehow?

Thank you,
Mathew

Yes, you will have to uninstall 2.30 first. Then install 2.31. You can do both via package manager barring no errors. Those errors most likely will need to be uninstalled manually.
Title: Re: Treasury
Post by: genieuk on October 09, 2008, 02:01:44 PM
ok thank you very much for the quick reply.


Regards,
Mathew
Title: Re: Treasury
Post by: weightman on October 09, 2008, 02:32:40 PM
I would like to upgrade from V2.12 but need to manually uninstall edits for these files and was hoping you could provide instructions for the edits or a link to a parser for the uninstall:

Modifications.english.php
index.template.php
Profile.php
SSI.php

Thanks!
Title: Re: Treasury
Post by: SgtMic on October 09, 2008, 02:55:49 PM
Package Parser (http://www.adrevenueshare.com/parser)
Title: Re: Treasury
Post by: weightman on October 09, 2008, 05:25:39 PM
Thanks! Looks like I have the new version properly installed and working with no errors in the log. But, on the public donations page, none of the past donors are listed while they ARE still listed in the admin donations list. Any way to get them in the public list again?
Title: Re: Treasury
Post by: Adish - (F.L.A.M.E.R) on October 09, 2008, 05:27:20 PM
I have a kind of mod/paypal problem. I have set the currency as GBP and it takes like £17 instead of £5 as made a setting in the mod. As i changed it to USD, the money started transfering as $5. I noticed that, they are taking shipping charge over paypal if GBP is used. I dont know why, can you tell me ? it maybe the mod and maybe paypal. Cant figure out the way.

PROBLEMS !!! HELP !!! :(
Title: Re: Treasury
Post by: SgtMic on October 09, 2008, 07:38:12 PM
I have a kind of mod/paypal problem. I have set the currency as GBP and it takes like £17 instead of £5 as made a setting in the mod. As i changed it to USD, the money started transfering as $5. I noticed that, they are taking shipping charge over paypal if GBP is used. I dont know why, can you tell me ? it maybe the mod and maybe paypal. Cant figure out the way.

PROBLEMS !!! HELP !!! :(

Paypal is taking fees from the donation? If so, it's a Paypal issue. Treasury only records the donations and fees that comes back from Paypal.
Title: Re: Treasury
Post by: SgtMic on October 09, 2008, 07:40:06 PM
Thanks! Looks like I have the new version properly installed and working with no errors in the log. But, on the public donations page, none of the past donors are listed while they ARE still listed in the admin donations list. Any way to get them in the public list again?

Doesn't look like anyone has donated yet this month.
Title: Re: Treasury
Post by: weightman on October 09, 2008, 07:43:43 PM
Yes, but I DID have it set to quarterly goals and there were donations showing. I changed it to monthly since they weren't showing.
Title: Re: Treasury
Post by: Rafferty on October 09, 2008, 07:48:17 PM
Insread of just announcing a new version Resourcez why not try answering a few of our questions here
Title: Re: Treasury
Post by: Adish - (F.L.A.M.E.R) on October 10, 2008, 07:05:00 AM
I dont get it, Why would paypal take fees for this ? any explaination that maybe helpful for me ?
Title: Re: Treasury
Post by: Goodman854 on October 10, 2008, 12:34:04 PM
How do u make it appear on the left side of ur screen on the front page? I have seen people with that.
Title: Re: Treasury
Post by: NEMINI on October 11, 2008, 07:59:03 AM
I dont get it, Why would paypal take fees for this ? any explaination that maybe helpful for me ?
paypal is a business and the goal of every business is to make money.
Title: Re: Treasury
Post by: NEMINI on October 11, 2008, 07:59:37 AM
How do u make it appear on the left side of ur screen on the front page? I have seen people with that.

you need tinyportal.
Title: Re: Treasury
Post by: Adish - (F.L.A.M.E.R) on October 11, 2008, 08:00:23 AM
I have started to hate paypal now. It actually feels like paypal is going to scam the donors..!
Title: Re: Treasury
Post by: genieuk on October 11, 2008, 09:12:17 AM
It is sick,

I was just given a donation of £5 and paypal took 37p from it. Unless you have a basic account which is really restricted you have no option as Paypal takes the money automatically from it.

It terrible when we try and do things for people and when it free aswell and we have to pay costs for receiving donations.

Mathew
Title: Re: Treasury
Post by: antoniosaucedo on October 11, 2008, 12:18:55 PM
Hi everyone, Thanks for this mod, it's great!

I am from México and recently Paypal change for us and now recibe money in $ MXN, I have been searching the way to add this option, but I can't found the file to make the correction.  I only want the $MXN option and erease all others except USD. 

Thanks for your help.
Title: Re: Treasury
Post by: Goodman854 on October 11, 2008, 11:37:14 PM
How do u make it appear on the left side of ur screen on the front page? I have seen people with that.

you need tinyportal.
I here it unstable? Is it? Can it be easily uninstalled?
Title: Re: Treasury
Post by: weightman on October 11, 2008, 11:48:36 PM
FYI, I have the treasury SSI block installed as a Mambo module. So, it also works with Mambo and Orstio's Mambo CMS-SMF bridge. Tinyportal is very cool and I am sure stable however so don't take my mentioning another more comprehensive option as criticism of TP. Portals and CMS both have their uses. Why shouldn't paypal charge for their services? I don't work for free so I don't understand why people should think they should. I hate communism.
Title: Re: Treasury
Post by: Goodman854 on October 12, 2008, 12:52:03 AM
FYI, I have the treasury SSI block installed as a Mambo module. So, it also works with Mambo and Orstio's Mambo CMS-SMF bridge. Tinyportal is very cool and I am sure stable however so don't take my mentioning another more comprehensive option as criticism of TP. Portals and CMS both have their uses. Why shouldn't paypal charge for their services? I don't work for free so I don't understand why people should think they should. I hate communism.
What?
Title: Re: Treasury
Post by: Judgey on October 15, 2008, 07:18:20 AM
Hey i had to install manuly, i dont understand wot the below means, could somone tell me wot i do

Thank u

Code
install.php
This file should not be able to execute standalone. You may have to run the following queries manually.

Query: [Select]
UPDATE {db_prefix}treas_finance SET date_temp = {int:date} WHERE id = {int:fid}
Query: [Select]
ALTER TABLE {db_prefix}treas_finance RENAME {db_prefix}treas_registry
Query: [Select]
UPDATE {db_prefix}settings SET value = {string:val} WHERE variable = {string:var}
Query: [Select]
UPDATE {db_prefix}log_treasury SET log_temp = {int:log}, payment_temp = {int:payment} WHERE id = {int:lid}
Query: [Select]
ALTER TABLE {db_prefix}log_treasury RENAME {db_prefix}log_treasurey
Query: [Select]
SELECT id, UNIX_TIMESTAMP(payment_date) FROM {db_prefix}treas_trans
Query: [Select]
UPDATE {db_prefix}treas_trans SET payment_temp = {int:date} WHERE id = {int:tid}
Query: [Select]
ALTER TABLE {db_prefix}treas_trans RENAME {db_prefix}treas_donations
Title: Re: Treasury
Post by: weightman on October 15, 2008, 09:46:14 AM
Quote
Quote from: weightman on October 11, 2008, 11:48:36 PM

    FYI, I have the treasury SSI block installed as a Mambo module. So, it also works with Mambo and Orstio's Mambo CMS-SMF bridge. Tinyportal is very cool and I am sure stable however so don't take my mentioning another more comprehensive option as criticism of TP. Portals and CMS both have their uses. Why shouldn't paypal charge for their services? I don't work for free so I don't understand why people should think they should. I hate communism.

What?

What part didn't you understand?
Title: Re: Treasury
Post by: Goodman854 on October 15, 2008, 03:36:27 PM
Quote
Quote from: weightman on October 11, 2008, 11:48:36 PM

    FYI, I have the treasury SSI block installed as a Mambo module. So, it also works with Mambo and Orstio's Mambo CMS-SMF bridge. Tinyportal is very cool and I am sure stable however so don't take my mentioning another more comprehensive option as criticism of TP. Portals and CMS both have their uses. Why shouldn't paypal charge for their services? I don't work for free so I don't understand why people should think they should. I hate communism.

What?

What part didn't you understand?

:) :( All of it lol.
Title: Re: Treasury
Post by: Adish - (F.L.A.M.E.R) on October 15, 2008, 03:41:09 PM
Hey i had to install manuly, i dont understand wot the below means, could somone tell me wot i do

Thank u

Code
install.php
This file should not be able to execute standalone. You may have to run the following queries manually.

Query: [Select]
UPDATE {db_prefix}treas_finance SET date_temp = {int:date} WHERE id = {int:fid}
Query: [Select]
ALTER TABLE {db_prefix}treas_finance RENAME {db_prefix}treas_registry
Query: [Select]
UPDATE {db_prefix}settings SET value = {string:val} WHERE variable = {string:var}
Query: [Select]
UPDATE {db_prefix}log_treasury SET log_temp = {int:log}, payment_temp = {int:payment} WHERE id = {int:lid}
Query: [Select]
ALTER TABLE {db_prefix}log_treasury RENAME {db_prefix}log_treasurey
Query: [Select]
SELECT id, UNIX_TIMESTAMP(payment_date) FROM {db_prefix}treas_trans
Query: [Select]
UPDATE {db_prefix}treas_trans SET payment_temp = {int:date} WHERE id = {int:tid}
Query: [Select]
ALTER TABLE {db_prefix}treas_trans RENAME {db_prefix}treas_donations

That maybe cause you need to replace {db_prefix} with your database prefix.
Title: Re: Treasury
Post by: weightman on October 15, 2008, 03:47:12 PM
Quote
Quote from: weightman on Today at 09:46:14 AM

    Quote

        Quote from: weightman on October 11, 2008, 11:48:36 PM

            FYI, I have the treasury SSI block installed as a Mambo module. So, it also works with Mambo and Orstio's Mambo CMS-SMF bridge. Tinyportal is very cool and I am sure stable however so don't take my mentioning another more comprehensive option as criticism of TP. Portals and CMS both have their uses. Why shouldn't paypal charge for their services? I don't work for free so I don't understand why people should think they should. I hate communism.

        What?


    What part didn't you understand?


:) :( All of it lol.

Well, google portal and content management system (CMS) for starters. Portals do some things and CMS's do more. Mambo is a CMS and Orstio has a bridge for it with SMF so members can log in to both sections of your site with one login. SSI allows data about the mod to be displayed on other website pages, like portal pages or CMS pages. Although the block for treasury was made for TP, it works for me as a module in my CMS. Once you got that, google communism. :)
Title: Re: Treasury
Post by: BillyBob31 on October 16, 2008, 08:16:50 AM
With this part:

"This file should not be able to execute standalone. You may have to run the following queries manually."

In file:
install1.php

I get this error.

"Fatal error: Call to undefined function db_query() in /www/free-site-host.com/c/a/l/*blockedforsaftry/htdocs/install1.php on line 14"

How do I correct this so i can run this?
Title: Re: Treasury
Post by: Goodman854 on October 16, 2008, 03:09:24 PM
With this part:

"This file should not be able to execute standalone. You may have to run the following queries manually."

In file:
install1.php

I get this error.

"Fatal error: Call to undefined function db_query() in /www/free-site-host.com/c/a/l/*blockedforsaftry/htdocs/install1.php on line 14"

How do I correct this so i can run this?
Your free site wont support somthing it wants to do. dah.
Title: Re: Treasury
Post by: BillyBob31 on October 16, 2008, 04:02:09 PM
my host is fully customizable seeing i donated now. Had to donate to remove adds and have full access. Soon im paying for the url I want. But how do I make it work properly. cause I read I have to manually do it but idk how
Title: Re: Treasury
Post by: BillyBob31 on October 17, 2008, 08:46:20 AM
Been trying to figure this out for 3 days now. Darn it
Title: Re: Treasury
Post by: Patriot89 on October 22, 2008, 12:47:03 AM
Ok, I installed this mod. It said two things failed. The ./Themes/default/languages/Modifications.english.php and ./Sources/ManagePermissions.php... I looked over it and in the parser it is exactly the same as it is when its completely installed. However, it won't show up anywhere. Not even in the Admin section.

Is there any help on this?
Title: Re: Treasury
Post by: SgtMic on October 22, 2008, 10:14:03 AM
Been trying to figure this out for 3 days now. Darn it

SMF version and Treasury version?

Ok, I installed this mod. It said two things failed. The ./Themes/default/languages/Modifications.english.php and ./Sources/ManagePermissions.php... I looked over it and in the parser it is exactly the same as it is when its completely installed. However, it won't show up anywhere. Not even in the Admin section.

Is there any help on this?

Did you manually install the code in those 2 files? With those errors during install, you will need to install manually.
Title: Re: Treasury
Post by: Baneloc on October 22, 2008, 04:24:49 PM
I just installed this mod, and all seemed well. I have received no errors, and for all purposes it should work.

But the box for people to make donations isn't showing up.

Is it because I have to check off something in the admin panel to make it show?

I've been trying to figure this out for a while, and I'm getting a bit frustrated. Any help would be appreciated.

Title: Re: Treasury
Post by: SgtMic on October 22, 2008, 05:58:30 PM
Baneloc, link to your site?
Title: Re: Treasury
Post by: Baneloc on October 22, 2008, 10:47:38 PM
http://improv.3s1.com
Title: Re: Treasury
Post by: SgtMic on October 23, 2008, 01:05:37 PM
@Baneloc, I can donate to your site. The button is in the top right of the page.

Also, that is not the default theme.  ;)
Title: Re: Treasury
Post by: Baneloc on October 23, 2008, 10:13:50 PM
No the button in the top right has nothing to do with Treasury.
It was added because Treasury wasn't working.

And like you said it's not default theme..
So what can I do to get treasury to work with the theme I have?
Title: Re: Treasury
Post by: SgtMic on October 23, 2008, 11:57:15 PM
Talk to the theme author. He/ she would know best.
Title: Re: Treasury
Post by: smitty1258 on October 24, 2008, 12:40:35 PM
What is the best way to update?

Im am running version 2.08 and want to updated to the newest version, however when I tried uninstalling, I get the following:

Quote
An Error Has Occurred!
Unable to find package file!
Running SMF 1.1.6

Any thoughts/ Ideas?

Thanks in advance
Title: Re: Treasury
Post by: SgtMic on October 25, 2008, 02:14:28 PM
When you updated to 1.1.6, did you uninstall Treasury first?
Title: Re: Treasury
Post by: weightman on October 29, 2008, 01:01:24 PM
Okay, after the last upgrade to the newest version of treasury,  my old donations stopped displaying but now new donations are also not being listed. I just got a donation yesterday. The donor did choose not to display their name, but the donation isn't showing at all, even from an anonymous donor.

Thanks for any help!
Title: Re: Treasury
Post by: DareDevil1990 on November 02, 2008, 03:10:02 AM
hey if my paypal is not verified will this mod work ....and what what type of paypal account is needed for this to work i mean doest it need personal or buisnees ?
Title: Re: Treasury
Post by: learjet45 on November 02, 2008, 08:39:00 AM
I would suggest getting paypal verified. It is very easy, and it can still be a personal account.
Title: Re: Treasury
Post by: SgtMic on November 02, 2008, 10:50:42 AM
Agreed.
Title: Re: Treasury
Post by: RoH on November 07, 2008, 07:57:44 AM
I download from Mod site and installed via package manager.. everything Succesfull

and it still doesnt show up under configuration..

now i cant find it ...where is it?

can you please help me?

i am using SMF 1.1.6 with classic theme that came along forum default theme.

regards,

~RoH
Title: Re: Treasury
Post by: SgtMic on November 07, 2008, 11:13:14 AM
Change back to the core default theme and you will see it. The mod installs to the core theme.
Any other theme will need to make manual changes.
Title: Re: Treasury
Post by: RoH on November 08, 2008, 03:33:04 AM
no use.. changed the theme to forum default.. nothing happened.. still dont see anything ?
plz help
Title: Re: Treasury
Post by: SgtMic on November 09, 2008, 12:16:44 AM
Link?
Title: Re: Treasury
Post by: learjet45 on November 09, 2008, 03:12:47 PM
Tell us if treasury is actually installed. Go to your forum directory and then after index.php, type in "?action=treasury" (without the quotes of course) and see if it actually brings you to a page.
Title: Re: Treasury
Post by: RoH on November 09, 2008, 03:28:37 PM
yes its there..

i get this screen (refer screenshot)
Title: Re: Treasury
Post by: SgtMic on November 09, 2008, 06:23:42 PM
Under configuration, do you see anything called "Donations"?
Are the permissions set per the readme?
Title: Re: Treasury
Post by: Trashcan on November 09, 2008, 06:51:35 PM
sss
Title: Re: Treasury
Post by: SgtMic on November 09, 2008, 07:07:29 PM
You're farther ahead than me.

I'm getting a "session verification" error right off the git go.
Title: Re: Treasury
Post by: Trashcan on November 09, 2008, 08:09:09 PM
SgtMic, I believe your error is due to not having the files that the mod needs to change chimoded to 777.  In other words the permissions are not set correctly on those files so that it can make the changes.
Title: Re: Treasury
Post by: SgtMic on November 09, 2008, 09:25:55 PM
True. When that happens, it brings up a window where you set the user and pass for ftp to do the chmod.
That's where I get the error.
Title: Re: Treasury
Post by: Trashcan on November 09, 2008, 09:30:23 PM
True. When that happens, it brings up a window where you set the user and pass for ftp to do the chmod.
That's where I get the error.
but I think you manually have to go in and chimod those files.  use a ftp program to do that.  I had the same thing and I had to manually find each file the mod was going to change and manaually change the permissions on each file.
Title: Re: Treasury
Post by: SgtMic on November 09, 2008, 11:03:34 PM
Normally you shouldn't have to do that. That is one purpose of that ftp window is if it's needed.
Title: Re: Treasury
Post by: Trashcan on November 10, 2008, 01:47:10 PM
Let me know if you hear of anything.  I posted on the mod creators forum about my issue so let's hope!  I have been able to manually get to some of the screens, but most of the text is not showing.  The mod does not "appear" to be 1.17 compatable.  but again, I am fairy new, so I will just ask for some help and hope it comes ;)
Title: Re: Treasury
Post by: SgtMic on November 10, 2008, 02:37:13 PM
Finally got mine corrected. It installed just fine (finally) on a fresh install of 1.1.7.

Try uninstalling Treasury and then reinstalling.

Let me know if that helps. Something might have gone awry while you were chmodding (a real word?) each individual file.
Title: Re: Treasury
Post by: Exelance on November 10, 2008, 02:50:24 PM
Wow! Great. :)
Thank You.
Title: Re: Treasury
Post by: Trashcan on November 10, 2008, 03:32:59 PM
yeah, unfortunately I have done that. :(
Title: Re: Treasury
Post by: RoH on November 10, 2008, 03:51:35 PM
mine is still not working.. un-installed, deleted, re-installed.. no use..

i cant see donations under configuration..

plz help
Title: Re: Treasury
Post by: SgtMic on November 10, 2008, 04:09:21 PM
@RoH
That picture you attached is not the core default theme.
Make sure you reset the forum to the core default theme.

Title: Re: Treasury
Post by: Trashcan on November 10, 2008, 04:26:43 PM
I think there are permissions errors on my hosting site.  Although I change the permissions, they do not reflect them when trying to install.  It installs, but I don't think things are executed correctly. 
Trying to get info from my hosting folks now.
Title: Re: Treasury
Post by: SgtMic on November 10, 2008, 04:29:34 PM
I think there are permissions errors on my hosting site.  Although I change the permissions, they do not reflect them when trying to install.  It installs, but I don't think things are executed correctly. 
Trying to get info from my hosting folks now.

Keep us posted. It definitely sounds like a permission issue if only parts of the mod are being written to some of the files.
Title: Re: Treasury
Post by: RoH on November 11, 2008, 12:37:55 PM
@RoH
That picture you attached is not the core default theme.
Make sure you reset the forum to the core default theme.

i've tested it in deault theme as well.. it doesnt work and BTW i am using classic theme only.

so i want someone to help me fix it in classic theme itself

Thanks
Title: Re: Treasury
Post by: SgtMic on November 11, 2008, 04:17:13 PM
What themes require what is outside my scope of help. Sorry.
Title: Re: Treasury
Post by: RoH on November 11, 2008, 11:44:30 PM
"outside of my scope"

is it that treasury doesnt work outside default theme ?
Title: Re: Treasury
Post by: SgtMic on November 12, 2008, 12:47:02 AM
Yes, Treasury does work outside of the core default theme.
Treasury, as most mods, are written for the core default theme. All other themes will need to be manually "adjusted" so to speak.
Not all themes are written the same. I know beta4 is trying to work with semantic themes. Classic and Babylon have not been rewritten yet
to be semantic.

Which is why treasury is not fulling showing in your theme.

A search of the forums will help you manually add the mod into the appropriate theme files.

Title: Re: Treasury
Post by: Trashcan on November 12, 2008, 07:25:31 AM
wow, do I feel like a putz.   Wanna know what it was?
After looking, and a clean install of 1.17, I noticed the default language was not english, but english utf8.
Changed it to be just english.
problem fixed.
I get to wear the dunce hat for the week!
Thanks to all for the support
Title: Re: Treasury
Post by: SgtMic on November 12, 2008, 10:13:15 AM
Glad you figured it out.
Title: Re: Treasury
Post by: madman71 on November 16, 2008, 12:57:42 PM
Does anyone know if it's possible to eliminate the "OTHER" option when people donate?
I do not want this option avail.


 (http://img169.imagevenue.com/loc882/th_58413_2008-11-16_095428_122_882lo.jpg)
Title: Re: Treasury
Post by: learjet45 on November 16, 2008, 04:36:34 PM
Under the Treasury admin section in you admin control panel, go to the Main Config part. Down at the bottom on the right, you should see something that says "Users can specify 'Other' amount". Change that to no.
Title: Re: Treasury
Post by: madman71 on November 16, 2008, 06:56:04 PM
man, i sure am blind. 

Thank you :)
Title: Re: Treasury
Post by: TroyG on November 18, 2008, 12:26:21 PM
I have made 3 donations. All 3 are showing pending status. Is this a paypal pending or is there something I need to do for them to show up?
Thanks
TroyG
Title: Re: Treasury
Post by: SgtMic on November 18, 2008, 01:09:53 PM
Does Paypal show them as completed?
Is the ipntreas setup correctly?
Title: Re: Treasury
Post by: TroyG on November 18, 2008, 01:14:12 PM
Paypal does show them completed. Everything else is showing pending.

Is the ipntreas setup correctly? 
 
Do I need to put this in the paypal ipn
http://ultimateaircooled.com/simplemachinesforum/ipntreas.php
 
Title: Re: Treasury
Post by: TroyG on November 18, 2008, 01:37:12 PM
This is what I am showing

  Tax ID Name Show Status Curr. Gross Fee Settle Date Rate Event

 8XY99802T5405654V TroyG Yes Pending USD 10.00   18-11-2008 10:22:16  0

 3U286045Y7283811B TroyG Yes Pending USD 0.22   18-11-2008 10:15:45  0

 6Y1393893R123071S TroyG Yes Pending USD 0.23   18-11-2008 09:07:06  0

 1YV728116G3294354 TroyG Yes Pending USD 0.24   18-11-2008 08:50:29  0

 2CB826790F737291U TroyG Yes Pending USD 0.25   18-11-2008 08:39:35  0



UAC Appreciates Your Support
November Goal: $60.00
Due Date: Nov 30
Total Receipts: $0.00
PayPal Fees: $0.00
Net Balance: $0.00
Below Goal: $60.00
Site Currency: USD

 0%

Debug mode activated

SMF Treasury mod

PayPal Instant Payment Notification script

See below for status:
----------------------------------------------------------------
Opening connection via curl and validating request with PayPal...

OK!

Selecting database......

Executing test query....

PASSED!

PayPal Receiver Email: kingscentral@comcast.net

Is this really your PayPal Email address?
Logging events....

1 event inserted into the log.


  Show Donations 
 Last 10 Donations for TroyG:

•10.00 USD » 18-11-2008 10:22:16 (Pending)
•0.22 USD » 18-11-2008 10:15:45 (Pending)
•0.23 USD » 18-11-2008 09:07:06 (Pending)
•0.24 USD » 18-11-2008 08:50:29 (Pending)
•0.25 USD » 18-11-2008 08:39:35 (Pending)

Total Site Currency: 0.00 - Thank You
USD: 10.94
 
Why is the Treasury not completing the donations?
Title: Re: Treasury
Post by: TroyG on November 18, 2008, 01:39:41 PM
I have also recieved emails from paypal as well as our site saying thanks for the donations.
Title: Re: Treasury
Post by: SgtMic on November 18, 2008, 03:28:24 PM
SMF and Treasury version?

Also double check all the settings per the readme have been done correctly.
Title: Re: Treasury
Post by: TroyG on November 19, 2008, 01:02:56 AM
Treasury 2.31 Just uploaded today from smf

SMF 1.1.7

I have double, triple & triple checked the triple again.
Im going nuts here
Thanks
Troy
Title: Re: Treasury
Post by: TroyG on November 20, 2008, 01:11:06 AM
OK I have it working, but I have to go in and manually change the status from pending to Complete. Doesnt the mod suppose to do that automatic? If so what am I missing here?
Thanks
Troy
Title: Re: Treasury
Post by: Doc.Blade on November 20, 2008, 08:47:29 AM
This appears to be a fantastic mod, i have it working on my test site, but unfortunately it doesnt show up on the theme i want it to work with on my live site.  Site is running SMF 1.1.7, and the 2 live themes are Shiny Blue and Blue Roses.

I dont understand the xml files totally, is there a list of what files need to be put in the theme's directory from the mod download?

What goes into sources, themes, language, etc, etc?

Thank you in advance for any help anyone can offer.

Doc
Title: Re: Treasury
Post by: SgtMic on November 20, 2008, 11:41:49 AM
OK I have it working, but I have to go in and manually change the status from pending to Complete. Doesnt the mod suppose to do that automatic? If so what am I missing here?
Thanks
Troy


I had that happen. I need to remember what the fix was. :)



@Doc.Blade, use this http://resourcez.biz/PackageParser/
Title: Re: Treasury
Post by: Doc.Blade on November 20, 2008, 10:18:12 PM
That is brilliant, will bookmark that page, thank you very much SgtMic, i appreciate your help!

Will post back when i get it all working, got some work to do first (am at work :( ), then i will get the mod finialised on my test site, then my live sites if i get it working properly on my test site.

Thanx again for the link, i really appreciate it!

Doc
Title: Re: Treasury
Post by: psynx on November 22, 2008, 12:12:05 AM
how do i add other currencies?

i am from philippines and our currency is PESO.
Title: Re: Treasury
Post by: Doc.Blade on November 23, 2008, 11:32:22 PM
Just to update, i now have it working perfectly on my Live Site.  Thank you very much for your help SgtMic, i really appreciate it :)
Title: Re: Treasury
Post by: TroyG on November 24, 2008, 01:24:22 AM
OK I have it working, but I have to go in and manually change the status from pending to Complete. Doesnt the mod suppose to do that automatic? If so what am I missing here?
Thanks
Troy

Still looking for help to resolve this
Title: Re: Treasury
Post by: Doc.Blade on November 24, 2008, 01:34:56 AM
Did you follow all the instructions in the ReadMe?  Especially the ones relating to PayPal.

Also, did you click on the following to test in the Admin > Treasury > PayPal tab 


(http://www.docblade.com/files/treasury.jpg)
Title: Re: Treasury
Post by: SgtMic on November 24, 2008, 10:54:39 AM
@Doc.Blade, glad you are up and running. It's a great mod.



OK I have it working, but I have to go in and manually change the status from pending to Complete. Doesnt the mod suppose to do that automatic? If so what am I missing here?
Thanks
Troy

Still looking for help to resolve this


I don't know the answer. If everything is setup correctly, it works.
Something somewhere isn't correct.


Title: Re: Treasury
Post by: Sabbz on November 27, 2008, 03:33:41 PM
Hey, nice mod, but I'm having a slight problem. Isn't there supposed to be a PayPal button or link or something located on the Donations page? I had this mod working on 1.1.5, but then uninstalled it after the 1.1.6 upgrade, but now I'm using 1.1.7 and decided to install it again, only this time, there's no link or button or anything directing the the person donating to Paypal. Have I done something wrong, or overlooked something? Thanks
Title: Re: Treasury
Post by: SgtMic on November 27, 2008, 03:48:40 PM
Theme?
Title: Re: Treasury
Post by: Sabbz on November 27, 2008, 04:09:31 PM
Default + 4 others based off default
Title: Re: Treasury
Post by: SgtMic on November 27, 2008, 07:04:39 PM
This mod installs to the core default.
If you use that theme, can you see the paypal link?
Title: Re: Treasury
Post by: Sabbz on November 27, 2008, 08:39:43 PM
Nope. It doesn't show on any of the themes.

Thanks
Title: Re: Treasury
Post by: Doc.Blade on November 27, 2008, 09:49:16 PM
use this http://resourcez.biz/PackageParser/

I would use this link that SgtMic gave me, and manually check all the files were installed correctly, and that the edits were all dont correctly.  You will also need to do the Template mod manually on the other templates apart from default in the index.template.php file i think from memory.  Sounds like it just hasnt installed properly.  Also, dont forget to check the permissions for each usergroup and make sure you give access to those that you want to have access to the Donations page.

I didnt need to put the files that are supposed to be uploaded to the template into my theme, Blue Rose, but i did need to do the edits to the template file, cant remember which one now, i am pretty sure it was the index.template.php file, it has 2 edits from memory.

Hope this helps :)
Title: Re: Treasury
Post by: Sabbz on November 27, 2008, 10:30:29 PM
Thanks, I'll try that out. But first, I have a question - Are the paypal images supposed to be in the default images folder, or one of the subfolders like english-utf8? I was having a problem with the 'new' gif showing up in topic view and realized that for some reason, the english-utf8 folder was missing from all my themes, so maybe I'm missing others?
Title: Re: Treasury
Post by: Doc.Blade on November 27, 2008, 10:48:29 PM
The Images info is:


Where:

Quote
$imagesdir  - the directory of the default theme images, normally $boarddir/Themes/default/images

With the Blue Rose theme, uses the default for most things, i did not need to put these in the Blue Rose Directory, only the default.
Title: Re: Treasury
Post by: SgtMic on November 27, 2008, 10:50:14 PM
Default language is English. Don't use the ut8 version.


themes/default/images is where the GIFs are located.
Title: Re: Treasury
Post by: Sabbz on November 27, 2008, 11:19:22 PM
Ok, they're all located in the right place. I'll run that package parser now and see what it brings up. Thanks
Title: Re: Treasury
Post by: Sabbz on November 27, 2008, 11:38:12 PM
According tot he package parser, everything is right where it should be. What are the permissions supposed to be set to on the images? Outside of this being the problem, I'm completely and utterly lost. I guess if it's not the permissions, it must be another mod interfering with it?
Title: Re: Treasury
Post by: Doc.Blade on November 28, 2008, 12:22:02 AM
did you check all the edits to make sure all the edits were done correctly too from the parser?

The permissions are for the mod itself, so people can see it.  Just in usergroup permissions, couple of checkboxes there.

Apart from that, there isnt anything else i can offer, i am new to the mod myself.  Soz.
Title: Re: Treasury
Post by: SgtMic on November 28, 2008, 12:24:22 AM
What version of Treasury are you using?
If you install the mod via the package manager, do you have any errors?
Title: Re: Treasury
Post by: Sabbz on November 28, 2008, 12:45:00 AM
did you check all the edits to make sure all the edits were done correctly too from the parser?

The permissions are for the mod itself, so people can see it.  Just in usergroup permissions, couple of checkboxes there.

Apart from that, there isnt anything else i can offer, i am new to the mod myself.  Soz.

Unless I overlooked something, it all looks right to me.

What version of Treasury are you using?
If you install the mod via the package manager, do you have any errors?

v. 2.31 installed through the package manager with no errors.

If this works fine for everyone else, then obviously I've missed something, I just can't figure out what.

Thanks again
Title: Re: Treasury
Post by: SgtMic on November 28, 2008, 01:31:10 PM
@Sabbz, just registered on your site.
Title: Re: Treasury
Post by: Sabbz on November 28, 2008, 01:54:04 PM
Sarge,

Thanks. I activated your account. For some reason, people aren't receiving the validation emails. I guess that's next on the list of things to look into. lol
Title: Re: Treasury
Post by: fmofmpls on November 28, 2008, 03:45:24 PM
I love this mod, but I'm having trouble in understanding how to get a Tiny Portal block installed.

Is this information still correct? http://resourcez.biz/index.php?topic=92.0

If so, it didn't work for me. Upon loading the donation block php file to my root directory, my Tiny Portal and all of it's settings just disappeared!

I quickly deleted the file, and all is well now. But I still want to use this mod as a Tiny Portal block. I noticed the Block configuration tab, but what does it have to do in activating it?
Title: Re: Treasury
Post by: SgtMic on November 28, 2008, 05:08:52 PM
Sabbz, this is what I see at your site. I'm using Firefox.
Title: Re: Treasury
Post by: SgtMic on November 28, 2008, 05:13:49 PM
I love this mod, but I'm having trouble in understanding how to get a Tiny Portal block installed.

Uploading this file to your root shouldn't make anything disappear.

Using Treasury 2.31 and SMF 1.1.7 I assume?
Make sure in your root is a file called DonationBlock.php.

In TP, create a PHP block and enter the following code:
Code: [Select]
global $boarddir;
include("$boarddir/DonationBlock.php");
Title: Re: Treasury
Post by: Sabbz on November 28, 2008, 08:27:32 PM
Sabbz, this is what I see at your site. I'm using Firefox.
Sarge, thanks. I'm guessing now that this is one of the FF addons blocking the images. Now I feel like a complete ass, but at least I know it's not something related to the boards or the server. Thanks again for the help and patience!
Title: Re: Treasury
Post by: SgtMic on November 28, 2008, 09:49:06 PM
At least now you have somewhere to start looking.
Title: Re: Treasury
Post by: fmofmpls on November 28, 2008, 09:49:32 PM
Uploading this file to your root shouldn't make anything disappear.

Got it to work on the second attempt! Thanks for the support! I think I'm in business now!
Title: Re: Treasury
Post by: coucnilhomeswap on November 29, 2008, 07:42:28 AM
i have installed everything as per your instructions but im having probs. namly i cannot execute the SQL queries, whenim in treasury in the config part and try to edit it via the link the following errors occur. below is the link im clicking and then the error that is brings. can any one help. im a bit dumb so make it easy to understand please.

on Treasury Module Setup when i click the link called MODULE this error apears "Fatal error: Function name must be a string in /home/a5512024/public_html/forum/Sources/TreasuryAdmin.php on line 790"

When i click on BLOCK FOT TP USERS i get this "Fatal error: Function name must be a string in /home/a5512024/public_html/forum/Sources/TreasuryAdmin.php on line 870"

When i click on this "Your monthly goals are displayed on the Treasury page." i get this error "Fatal error: Function name must be a string in /home/a5512024/public_html/forum/Sources/Treasury.php on line 50"

help me please.
Title: Re: Treasury
Post by: SgtMic on November 29, 2008, 01:04:05 PM
Module takes you directly to the Main Config area of Treasury.
Block takes you to the Block Config area of Treasury

Maybe try an uninstall and then reinstall.


Did you have any errors upon installing?
What Treasury and what SMF version?
Are you using the default core theme?
Title: Re: Treasury
Post by: evilgeniusxp on November 29, 2008, 03:16:36 PM
hello great mod :D just need to find out what files to edit to get to work with another theme. I have read most of this thread and havent seen anything. please help me :)
Title: Re: Treasury
Post by: SgtMic on November 29, 2008, 03:29:06 PM
http://resourcez.biz/PackageParser/
Title: Re: Treasury
Post by: evilgeniusxp on November 29, 2008, 04:03:35 PM
kiinda worked...

my members section..

// the [member] list button
   if ($context['allow_memberlist'])
      echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '' : '' , '
            <li class="mainNav-members"><a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a></li>' , $current_action == 'mlist' ? '' : '';





the parsers members section

// the [member] list button
   if ($context['allow_memberlist'])
      echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
            </td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


so when i add the code under members from the parser it shows the donate button a bit different lookin and way off to the right.

can you help with this? plus it throws off the top page alignment i think the code for treasury should be formatted like mine but dunno how to
Title: Re: Treasury
Post by: SgtMic on November 29, 2008, 04:16:16 PM
To be honest, you're better off getting help from the theme author.
Title: Re: Treasury
Post by: Negatory on November 29, 2008, 11:41:04 PM
The parser simply shows you the "change methodology" for the default theme - perhaps you should consider applying that "change methodology" to your own theme.
Title: Re: Treasury
Post by: Doc.Blade on November 30, 2008, 10:11:57 PM
hello great mod :D just need to find out what files to edit to get to work with another theme. I have read most of this thread and havent seen anything. please help me :)

use this http://resourcez.biz/PackageParser/

I would use this link that SgtMic gave me, and manually check all the files were installed correctly, and that the edits were all dont correctly.  You will also need to do the Template mod manually on the other templates apart from default in the index.template.php file i think from memory.  Sounds like it just hasnt installed properly.  Also, dont forget to check the permissions for each usergroup and make sure you give access to those that you want to have access to the Donations page.

I didnt need to put the files that are supposed to be uploaded to the template into my theme, Blue Rose, but i did need to do the edits to the template file, cant remember which one now, i am pretty sure it was the index.template.php file, it has 2 edits from memory.

Hope this helps :)

One page back :)

Hope it helps :)
Title: Re: Treasury
Post by: funcouldron on December 01, 2008, 11:09:25 PM
i m using smf2.0b4

at the time of installing  i got following error
*     4.     Execute Modification     ./Sources/ManagePermissions.php     Test failed
Title: Re: Treasury
Post by: SgtMic on December 02, 2008, 03:18:26 PM
You will need to manually add the code into that file.
Title: Re: Treasury
Post by: funcouldron on December 04, 2008, 08:51:14 AM
i m using smf2.0b4 and portamax

http://funcouldron.co.cc/fc

how can i use this block ??
Title: Re: Treasury
Post by: SgtMic on December 04, 2008, 11:07:45 AM
Have you tried to set it up the same as with TP?
So far, Tiny and Simple Portals have been the only 2 tested so far to work with Treasury.

Title: Re: Treasury
Post by: funcouldron on December 04, 2008, 11:39:04 PM
no i didnt tested with tp coz tp is not thr for smf2.0b4

tell me how can i test it for my portamax ,,, and yeh is there any way that i make a php block and put thr a code you give ,,, some thingl ike that will work?
Title: Re: Treasury
Post by: learjet45 on December 04, 2008, 11:56:32 PM
Have you tried to set it up the same as with TP?
So far, Tiny and Simple Portals have been the only 2 tested so far to work with Treasury.
Really? How can I get the block to work with SimplePortal? It would be very nice to have one.
Title: Re: Treasury
Post by: SgtMic on December 05, 2008, 03:36:00 PM
Setting up some test forums now with the different Portals...
Title: Re: Treasury
Post by: funcouldron on December 05, 2008, 10:38:39 PM
hope i realy soon get positive reply .... and onem ore thing ,,, at the end of block i want to add some text and one click here type link ,,, if possible
Title: Re: Treasury
Post by: SgtMic on December 06, 2008, 01:43:32 AM
Simple Portal (http://sgtmic.com/sptest/index.php) Test.

If I could get PortaMX to install, I would do a test forum with it.


Resourcez is working on the changes to implement several portals for the next release of
Treasury. Should be soon.
Title: Re: Treasury
Post by: learjet45 on December 06, 2008, 02:05:49 AM
Does it have to be Simple Porta 2.1.1? I am using Simple Portal Classic 2.0.5 and I would love to have a block like the one on your test site.
Title: Re: Treasury
Post by: funcouldron on December 06, 2008, 03:21:58 AM
here is mod link ,,portamax http://custom.simplemachines.org/mods/index.php?mod=1419

and how to apply it to portamax please tell in detail.... thank you
Title: Re: Treasury
Post by: SgtMic on December 06, 2008, 12:13:37 PM
SP Classic (http://sgtmic.com/spoldtest/index.php) test.

Still can't get Portamx to install. Working on it.
Title: Re: Treasury
Post by: funcouldron on December 06, 2008, 12:16:04 PM
i think it will b best if u give php code so can use in portamax php block ,,coz portamax uses db to store the data ,,i heared tht
Title: Re: Treasury
Post by: learjet45 on December 06, 2008, 01:28:39 PM
SgtMic, what code did you use? I tried to the file on resourcez's site, but I just get an error.

Also, you stream a PBBans server I believe.
Title: Re: Treasury
Post by: SgtMic on December 06, 2008, 01:49:54 PM
SgtMic, what code did you use? I tried to the file on resourcez's site, but I just get an error.

Also, you stream a PBBans server I believe.

Yeah, I saw you over at PBBans. :)

The block has not been released yet. It will be with the release of 2.32.
Title: Re: Treasury
Post by: learjet45 on December 06, 2008, 06:35:26 PM
Ah, alright. Good to know.
Title: Re: Treasury
Post by: fire228 on December 11, 2008, 10:09:50 AM
Damn!!!

I really wanted this mod....It installs fine, but I dont see it anywhere on my forum and there is no link in the admin panel..

Any suggestions?
Title: Re: Treasury
Post by: SgtMic on December 11, 2008, 11:15:38 AM
What theme are you using?
Title: Re: Treasury
Post by: learjet45 on December 11, 2008, 08:45:29 PM
I believe your forum language needs to be set to english under your server settings.
Title: Re: Treasury
Post by: funcouldron on December 12, 2008, 04:55:39 AM
whn will it come for portamax..i m waitinggggggggg :(
Title: Re: Treasury
Post by: Resourcez on December 15, 2008, 04:28:28 AM
Treasury v2.32 will be out this week, but the block for SMF2 portals is already available on resourcez.biz - I've had severe issues after a MB failure and upgrade, so back in business now.
Title: Re: Treasury
Post by: funcouldron on December 17, 2008, 11:11:39 PM
i dowloaded package from there ,, and when i tried to install it give me this message

The package you tried to upload either is not a valid package or has become corrupted.
Title: Re: Treasury
Post by: learjet45 on December 18, 2008, 12:07:33 AM
What version of SMF are you using?
Title: Re: Treasury
Post by: funcouldron on December 18, 2008, 12:10:08 AM
2.0b4
Title: Re: Treasury
Post by: learjet45 on December 18, 2008, 12:22:30 AM
Are you sure you tried to install the correct version?
http://resourcez.biz/index.php?action=tpmod;dl=item13

That is the version you should be using.
Title: Re: Treasury
Post by: Resourcez on December 18, 2008, 01:57:53 AM
The block download is fine - perhaps a browser issue.
Title: Re: Treasury
Post by: funcouldron on December 18, 2008, 04:11:42 AM
i m using portamx with smf
Title: Re: Treasury
Post by: glennk on December 18, 2008, 06:10:22 PM
Quote
Treasury settings in "Website Payment Preferences".
You need to set,
• Set/Leave 'Auto Return' to 'On', repeat 'On' in "Website Payment Preferences".

When I put this setting to on, paypal asks for a return url. What is the return url I should type in here ??


Title: Re: Treasury
Post by: learjet45 on December 18, 2008, 08:15:19 PM
I just set mine to my forum board index. Pretty much your choice.
Title: Re: Treasury
Post by: SgtMic on December 19, 2008, 01:06:31 AM
Quote
Treasury settings in "Website Payment Preferences".
You need to set,
• Set/Leave 'Auto Return' to 'On', repeat 'On' in "Website Payment Preferences".

When I put this setting to on, paypal asks for a return url. What is the return url I should type in here ??




What does it say in the Readme.txt?
Title: Re: Treasury
Post by: aabean on December 22, 2008, 07:58:47 AM
In order to upgrade from 2.11 to 2.31, do I need to uninstall 2.11 first?
Title: Re: Treasury
Post by: SgtMic on December 22, 2008, 01:49:34 PM
In order to upgrade from 2.11 to 2.31, do I need to uninstall 2.11 first?

Yes.
Title: Re: Treasury
Post by: HR on December 23, 2008, 11:17:09 PM
Request: Assist in placement of donormeter beneath news box. Suggested alterations?
Title: Re: Treasury
Post by: badger413 on December 30, 2008, 05:52:01 PM
I have installed the mod manually and everything went well. The only problem I am having is when I click on the DONATIONS button on the menu links it gives me a new page with "Fatal error: Call to undefined function: () in /home/xlllzstx/public_html/Sources/Treasury.php on line 50" Does anybody know how I can fix this?

Thanks!
Title: Re: Treasury
Post by: Resourcez on December 31, 2008, 05:07:52 AM
If you installed it manually i.e. uploaded individual files via FTP, then you will be trying to use the SMF 2.x files which will cause your undefined function errors.

Treasury is now a dual install package - this means there are files like Treasury.php and Treasury1.php, TreasuryAdmin.php and TreasuryAdmin1.php, etc etc - for SMF 1.1.x the installer renames all the abcd1.php files to abcd.php, whereas for SMF 2.x the installer uses the files without "1" appended to the file name.

The simple solution for you would be to rename all the abcd1.php files, removing the "1", and uploading those to relevant directories.

Looks like I'll have to add an extra install note - since the parser doesn't highlight this issue, it means anyone could be tripped up by this subtlety.
Title: Re: Treasury
Post by: ѕησω on December 31, 2008, 09:51:18 AM
great mod resourcez, works like a charm
Title: Re: Treasury
Post by: badger413 on December 31, 2008, 04:15:50 PM
If you installed it manually i.e. uploaded individual files via FTP, then you will be trying to use the SMF 2.x files which will cause your undefined function errors.

Treasury is now a dual install package - this means there are files like Treasury.php and Treasury1.php, TreasuryAdmin.php and TreasuryAdmin1.php, etc etc - for SMF 1.1.x the installer renames all the abcd1.php files to abcd.php, whereas for SMF 2.x the installer uses the files without "1" appended to the file name.

The simple solution for you would be to rename all the abcd1.php files, removing the "1", and uploading those to relevant directories.

Looks like I'll have to add an extra install note - since the parser doesn't highlight this issue, it means anyone could be tripped up by this subtlety.

What I am going to do is delete everything I did manually and re-install it with the upload packages. Will that be better?
Title: Re: Treasury
Post by: SgtMic on December 31, 2008, 07:40:39 PM
If you can use the package manager, it's usually best.
Title: Re: Treasury
Post by: badger413 on January 01, 2009, 03:05:55 AM
it working now!!!


Thanks for your help!
Title: Re: Treasury
Post by: funcouldron on January 01, 2009, 04:24:53 AM
i m little confused ,, ehre is my site funcouldron.co.cc

smf2.0b4 with portamx portal system ,, please give me step by step guide to install it
Title: Re: Treasury
Post by: Resourcez on January 01, 2009, 06:38:21 AM
There's nothing special about PortaMx installations - it's only a portal system attached to SMF, so you just use the SMF package manager.
Title: Re: Treasury
Post by: funcouldron on January 01, 2009, 01:53:23 PM
please tell me how to install this tresury mod then ,,
Title: Modified Package Parser instructions.
Post by: Resourcez on January 01, 2009, 10:32:36 PM
@funcouldron - as I said, use the Package Manager to install, and follow the advice provided - I won't duplicate it here.  You must have used the Package Manager previously.

For those who cannot use the Package Manager for installs and must do it manually:
Use the Package Parser with the amended advice HERE (http://resourcez.biz/index.php?topic=133.msg1835#msg1835).
Title: Treasury v2.32 Released
Post by: Resourcez on January 02, 2009, 03:47:09 AM
Title: Re: Treasury - v2.32
Post by: Judgey on January 02, 2009, 07:03:25 AM
I have installed this b4 worked ace, just tryed on my new forums i keep getting "You can not administer Treasury"

Any help plz :)

EDIT - Sorry was permissions my bad  :-X
Title: Re: Treasury - v2.32
Post by: funcouldron on January 08, 2009, 04:49:05 AM
i  installed it and cofigured it ,, but i m geting this error

Warning: fsockopen() [function.fsockopen]: unable to connect to www.paypal.com:80 (Unknown error) in /www/110mb.com/f/u/n/c/o/u/l/d/funcouldron/htdocs/fc/ipntreas.php on line 102
FAILED to connect to PayPal


this i get when i try to run this

http://4morefun.com/fc/ipntreas.php?dbg=1

and also ther is no log stored ..

onem roe thing how can i use as my one of the block.. i mean what php code is to b entred?
Title: Re: Treasury - v2.32
Post by: Rattler on January 14, 2009, 04:20:50 AM
Installed on our mod laden SMF 1.1.7 core default test forum, works like a charm, due credit given: http://todos-contra-matias.net/forum/index.php/topic,19.msg226.html#msg226

The only problem I had was that the instructions to administer were not really clear, worked stuff out with the help texts at the side of each field, but think if you would describe the setup in a bit more organized way you probably would get a lot less support requests.

This said, great mod, thanks!

Rattler

Title: Re: Treasury - v2.32
Post by: Resourcez on January 15, 2009, 01:40:32 AM
@funcouldron - you seem to have one of those paranoid (or free) hosts who likes to block fsockopen - try setting the cURL option in Treasury admin's PayPal Config section.

@Rattler - it has been gradually compiled over a number of years now, which would contribute to the apparent lack of clarity.  My preference to distinguish between module setup, paypal setup and operational issues probably adds to that.  Someday, when I get time, I shall re-build it :)    However, I suspect that a re-build will be unable to address the major source of support requests.

In the interim, we provide support forums with an FAQ section to deal with regular issues.  I'm glad the help icons did actually help, coz they were a right pita to set up LOL.
Title: Re: Treasury - v2.32
Post by: funcouldron on January 15, 2009, 11:39:26 AM
yes you are right ,, :( but now i got my hosting so i will soon update thr and then make all changes :)
Title: Re: Treasury - v2.32
Post by: shortchange on January 15, 2009, 03:13:29 PM
Treasury appears to function correctly on my site
Quote
Opening connection via curl and validating request with PayPal...
OK!
Logging events....

Code: [Select]
Debug mode activated

SMF Treasury mod

PayPal Instant Payment Notification script

See below for status:
----------------------------------------------------------------
Opening connection via curl and validating request with PayPal...

OK!

Selecting database......

Executing test query....

PASSED!

PayPal Receiver Email: ***@***.***

Is this really your PayPal Email address?
Logging events....

1 event inserted into the log.

----------------------------------------------------------------
If you don't see any error messages, you should be good to go!

All paypal settings are at the suggested settings.

Someone just donated some money, I got emailed the reciept, but it did not update on the site. Any ideas?


Thanks.
Title: Re: Treasury - v2.32
Post by: SgtMic on January 15, 2009, 06:52:34 PM
Any errors in the log?
Title: Re: Treasury - v2.32
Post by: N3RVE on January 18, 2009, 09:28:57 AM
Hey, haven't got time to go through the code but have a small issue with someone's site :)
I tested the module with a default install and the "show donations" button appeared on the profile page, but when I use a custom theme. It doesn't which I understand requires manual modification. What file serves the "show donations" button on the profile page, couldn't find modification to ./Themes/default/Profile.template.php

-[n3rve]
Title: Re: Treasury - v2.32
Post by: Resourcez on January 18, 2009, 10:03:54 AM
Sounds like the custom theme has a Modifications.english.php file which then ignores the default theme adjustments.
Title: Re: Treasury - v2.32
Post by: N3RVE on January 18, 2009, 10:24:34 AM
The forum uses the RocketTheme Versatility2 Red theme, I couldn't find a custom language file.
Would you like to have a look?

-[n3rve]
Title: Re: Treasury - v2.32
Post by: Smoky "Rider" Blue on January 18, 2009, 09:55:28 PM
ok small issue with the rc:

Quote
Table '***.treas_config' doesn't exist
File: ***/Packages/temp/install.php
Line: 27


when upgrading from the beta to rc..  :o
Title: Re: Treasury - v2.32
Post by: Resourcez on January 18, 2009, 11:43:14 PM
I don't know how you managed that - db_create_table, although re-written,  achievs the same result  for RC1 as it did for Beta4, but I have no way of knowing what you are using for SQL or which Treasury version you refer to.

If the table doesn't exist, it creates it - if it does exist, it is updated - works for me under MySQL.

You appear to have some other issue since the db prefix is missing.
Title: Re: Treasury - v2.32
Post by: Smoky "Rider" Blue on January 18, 2009, 11:46:50 PM
lmao!!! well lets see here.. i uploaded the rc files to the site, and hit upgrade..

i then tried to install it, very first one, straight off jump street. ;)

im just reporting the error, nothing has changed on my site and the previous version worked like a champ..

no errors from the previous one no nada.

this one is begging to go away tho..

thats how ;)

think its the 5 version and its the same mod as for the beta, 2.32  8)
Title: Re: Treasury - v2.32
Post by: Resourcez on January 18, 2009, 11:49:32 PM
I suggest you report the SMF2 bug.
Title: Re: Treasury - v2.32
Post by: Smoky "Rider" Blue on January 18, 2009, 11:52:21 PM
hmm bug?? sure can Resources.  :)
Title: Re: Treasury - v2.32
Post by: Resourcez on January 18, 2009, 11:58:06 PM
Sorry, I can't fault it - I upgraded to RC1 and had tested Treasury and DonationsPro, each as re-install, fresh install and upgrade, all within half an hour of RC1 being released, and without even so much as an error log entry for anything - it was that straight forward  - just did it all again and no errors :-\
Title: Re: Treasury - v2.32
Post by: Smoky "Rider" Blue on January 19, 2009, 12:00:36 AM
not a klue here Resources.. so guess i will wait.. no biggie.. it will get sorted  ;)
Title: Re: Treasury - v2.32
Post by: Smoky "Rider" Blue on January 19, 2009, 12:03:24 AM
well that is odd.. even my local (easyphp 2.01 b) is throwing the same error.

Code: [Select]
Table 'test.treas_config' doesn't exist
File: C:\Program Files\EasyPHP 2.0b1\www\pixel\Packages\temp\install.php
Line: 27

and i know its php 5.. so..
Title: Re: Treasury - v2.32
Post by: Resourcez on January 19, 2009, 12:17:09 AM
Nothing to do with PHP version.

It seems my stupid ftp client didn't transfer all files so it was using an older DbPackages-mysql file.

It also seems in their infinite wisdom, the devs have managed top reintroduce an old bug where the prefix was being missed, which means re-coding, yet again.

I'm done with being screwed by every damned beta release so it aint happening soon.
Title: Re: Treasury - v2.32
Post by: Smoky "Rider" Blue on January 19, 2009, 12:23:40 AM
Resources.. i thought rc wasnt beta? and i can wait.. there are other ways around for now..
Title: Re: Treasury - v2.32
Post by: CueBurn on January 19, 2009, 01:11:21 PM
Great mod!  It has installed fine and I'm just sorting out the IPN stuff now as I'm getting an internal server error (I'm hoping I can sort this myself though)...  Will defo make a donation when it's up and running.  Thanks Resourcez ;)

Does anyone know how I can get rid of the tick box and "other" text to the left of the custom amount please?  I'm going to leave how much people want to donate down to them, without any suggestions.  It's not a major issue, but it'll make it look a little neater in my eyes as neither the text box or other text is needed in this instance.

Thanks.
Title: Re: Treasury - v2.32
Post by: NEMINI on January 19, 2009, 08:36:21 PM
server error = file permissions issues.
Title: Re: Treasury - v2.32
Post by: CueBurn on January 20, 2009, 03:19:11 PM
server error = file permissions issues.

You're right and managed to get it sorted, thanks  ;)  From some reason the first time I looked at permission's I thought they were correct, but a second check confirmed they needed changing.

The one thing I'm worried about before I make it live (I don't have another paypal address to check with) is that the return address I need to put into my paypal config is:

www.mywebsite.com/forum/index.php?action=profile

I've seen a couple of people here and on the mod website ask for it, but everyone always points them to the readme.txt in which I can't find any definitive info.  It seems to be an important thing though as quite rightly paypal has asked that the return address confirms that payment has gone though.

Have I got the right URL or should it be something different please?
Title: Re: Treasury - v2.32
Post by: NEMINI on January 21, 2009, 02:51:57 AM
assuming you have SMF installed in /forum/
Code: [Select]
forum/index.php?action=profile should work fine.
Title: Re: Treasury - v2.32
Post by: Jorin on January 21, 2009, 09:56:38 AM
server error = file permissions issues.

Hm, a little hint for me, but no solution. Getting a 500 too when testing the paypal thing. What files or folders must I check for correct permissions?
Title: Re: Treasury - v2.32
Post by: Smoky "Rider" Blue on January 21, 2009, 10:02:35 AM
let me google that! (http://letmegooglethatforyou.com/?q=error+500+)  ;)
Title: Re: Treasury - v2.32
Post by: SgtMic on January 21, 2009, 11:05:36 AM
server error = file permissions issues.

Hm, a little hint for me, but no solution. Getting a 500 too when testing the paypal thing. What files or folders must I check for correct permissions?

In the readme is a section directly related to setting the ipntreas.php to the correct permission.
Title: Re: Treasury - v2.32
Post by: Resourcez on January 21, 2009, 07:36:24 PM
let me google that! (http://letmegooglethatforyou.com/?q=error+500+)  ;)
Indeed, use "error 500 Treasury mod" and you've also got your full answer ;)
Title: Re: Treasury - v2.32
Post by: NHWD on January 22, 2009, 12:56:19 AM
when i installed this and went to the treasury section in admin i got
Unable to load the 'main' template.
same with the treasury tab
Title: Re: Treasury - v2.32
Post by: badger413 on January 24, 2009, 08:25:51 PM
I was installed treasury mod through the upload and it worked just fine installing everything correct. Now, When I click on "treasury under configurations it gives me this error message


"Unable to load the 'main' template."

Also, When I click on "donations" in my menu link it gives me the same error message.

"Unable to load the 'main' template."

Can somebody help me with this please.

Thank you!
Title: Re: Treasury - v2.32
Post by: Resourcez on January 24, 2009, 11:32:38 PM
Check you have the Treasury and TreasuryAdmin templates present in your Themes/default/ directory - you may have server permissions issues which prevented the files being transferred from Packages/temp/

That being the case, first uninstall, then CHMOD Themes/default/ to 0777 and install again.

Perhaps you have Apache 2.x and maybe even mod_suexec compiled.
Title: Re: Treasury - v2.32
Post by: chickenwing on January 26, 2009, 11:37:03 PM
Greetings,,

Have installed the mod and everything works very well.  I do see this message logged into the smf log file though.  I tried to search this thread but didnt find anything.  Any advice would be helpful.  PS,,,smf 1.1.7, running simpleportal.

8: Undefined variable: settings
File: .../html/smf/Sources/DonationBlock.php
Line: 127

Thanks!
Title: Re: Treasury - v2.32
Post by: Resourcez on January 26, 2009, 11:51:18 PM
Already found and fixed (http://resourcez.biz/index.php?action=bugger;op=view;id=33) - not fatal, but annoying nevertheless :)

Title: Re: Treasury - v2.32
Post by: chickenwing on January 27, 2009, 12:20:12 AM
Already found and fixed (http://resourcez.biz/index.php?action=bugger;op=view;id=33) - not fatal, but annoying nevertheless :)

wow,,,thats fast response!  I followed the link and downloaded the new DonationBlock.php file and put it on the server.  now i get the following error:

Fatal error: Call to undefined function: () in .../html/smf/Sources/DonationBlock.php on line 18
 and nothing shows in the block but this error.  Im assuming it is due to SMF 1.1.7 version were are running.

I guess if there is no major issue with the previous error (i.e. just annoying), then I can live with it.

Thanks,,,and we really like the mod!!!


Title: Re: Treasury - v2.32
Post by: NEMINI on January 27, 2009, 01:52:12 AM
chickenwing: which version of treasury are you running?
Title: Treasury v2.33 Released
Post by: Resourcez on January 27, 2009, 02:31:36 AM
Title: Re: Treasury - v2.32
Post by: chickenwing on January 27, 2009, 08:48:55 AM
chickenwing: which version of treasury are you running?

Version 2.32
Title: Re: Treasury - v2.33
Post by: Resourcez on January 27, 2009, 11:18:36 AM
What NEMINI will probably say next is that you probably pulled the wrong block out of downloads.

However, v2.33 will resolve the issue anyway.
Title: Re: Treasury - v2.33
Post by: chickenwing on January 27, 2009, 01:08:58 PM
What NEMINI will probably say next is that you probably pulled the wrong block out of downloads.

However, v2.33 will resolve the issue anyway.

I sure did!  didnt realize there was a diff download for 1.1.7.  Put it on and it works perfect.

Thanks guys!
Title: Re: Treasury - v2.33
Post by: weightman on January 28, 2009, 02:05:39 PM
I see there is a new release, 2.34, though the thread title isn't updated and there is no changelog for the new version. Any reason to upgrade? Any changes to modifications.english.php or index.template.php?

Thanks
Title: Re: Treasury - v2.33
Post by: Resourcez on January 28, 2009, 05:42:56 PM
The changelog is displayed in your Treasury Read me, plus there's a link to the changelog on the Mod page - I had to make a quick change and this topic is the last thing on my mind.
Title: Re: Treasury - v2.33
Post by: TurtleKicker on January 30, 2009, 03:52:04 PM
I am new to SMF and haven't found the answer anywhere in the docs, forums, FAQ or Google:

What's the proper way to upgrade this (or any other) mod? I'm on 2.32.
Title: Re: Treasury - v2.33
Post by: SgtMic on January 30, 2009, 04:40:44 PM
Normal protocol is to uninstall the mod, then install the new one.
Title: Re: Treasury - v2.33
Post by: giz on January 30, 2009, 05:25:56 PM
hi everyone,

i'm having trouble with this mod, i don't understand this part of the mod:

Quote
Code
install1.php
This file should not be able to execute standalone. You may have to run the following queries manually.

is this mysql? if so i get this error when trying the first query:

#1064 - 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 '{$db_prefix}treas_config (
name varchar(25) NOT NULL DEFAULT '0',
value text N' at line 1

giz
Title: Re: Treasury - v2.33
Post by: SgtMic on January 30, 2009, 07:44:43 PM
Are you installing this via the package manager built into SMF?
That is the best way to install this and almost every other mod.
Title: Re: Treasury - v2.33
Post by: giz on January 30, 2009, 07:54:18 PM
how do i do that?

here is one of my forum errors

Table 'theunofficialbr.smf_treas_registry' doesn't exist
File: /customers/theunofficialbromsgroveminiclub.co.uk/theunofficialbromsgroveminiclub.co.uk/httpd.www/forum/smf_1-1-6_install/Sources/TreasuryAdmin.php
Line: 192

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.7, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.
Title: Re: Treasury - v2.33
Post by: giz on January 30, 2009, 07:57:56 PM
ffs

i just spent hours trying to install it manualy and one click it's done

Title: Re: Treasury - v2.33
Post by: SgtMic on January 30, 2009, 10:35:50 PM
That's why there is a package manager. It's a great thing when it functions
properly.
Title: Re: Treasury - v2.33
Post by: coucnilhomeswap on February 04, 2009, 10:37:52 AM
in the paypal config it says i can add my own logo. what folder would i need to place this in. is it Themes/default/images/
Title: Re: Treasury - v2.33
Post by: coucnilhomeswap on February 05, 2009, 09:50:01 AM
hi guys ive just installed this on SMF 2.0 RC1 and when i goto install it it say

"Table 'easyfree_smf.treas_config' doesn't exist
File: /home/easyfree/public_html/Packages/temp/install.php
Line: 27 "

any ideas on how to fix this please. im a total noob
Title: Re: Treasury - v2.33
Post by: SgtMic on February 05, 2009, 11:09:30 AM
It's a problem with the package manager.
Title: Re: Treasury - v2.33
Post by: coucnilhomeswap on February 05, 2009, 11:20:03 AM
can anything be done to fix it
Title: Re: Treasury - v2.33
Post by: SgtMic on February 05, 2009, 11:32:24 AM
SMF can fix it.
Title: Re: Treasury - v2.33
Post by: coucnilhomeswap on February 05, 2009, 11:36:27 AM
how do i go about getting them to fix it
Title: Re: Treasury - v2.33
Post by: SgtMic on February 05, 2009, 12:52:19 PM
Start a new topic in the support section.
Title: Re: Treasury - v2.33
Post by: Smoky "Rider" Blue on February 05, 2009, 01:09:54 PM
hmm it wont install for you??

i went ahead and clicked the install, even tho it bogged out on adding the link in the user profile (display.php) and it went in with not a issue..

now if its playing havoc in my error log, will soon find out.. was too tired last night to finish installing all my mods back so..

but it should still go up..  ;)
Title: Re: Treasury - v2.33
Post by: coucnilhomeswap on February 05, 2009, 01:17:09 PM
Start a new topic in the support section.

What should the title be and what should be included apart from the error
Title: Re: Treasury - v2.33
Post by: SgtMic on February 05, 2009, 02:34:24 PM
Database abstraction layer bug for the package manager. Include the error you are getting as well as from what mod you are trying to install.

I get the same error when I install. Only difference is I was given a fix
to use at my own risk.

That is why I'm not real keen on exactly what the specific fix is.
That title above is a start.
Title: Re: Treasury - v2.33
Post by: Smoky "Rider" Blue on February 05, 2009, 02:38:26 PM
even with the fix.. i really couldnt tell the difference SgtMic.. same error and both times, it still installed.. just have no links for viewing what member gave what..  ;)
Title: Re: Treasury - v2.33
Post by: SgtMic on February 05, 2009, 02:44:48 PM
It's a revised source/packages.mysql file.

I did work for me just to get the mod installed without the table error.

Title: Re: Treasury - v2.33
Post by: Smoky "Rider" Blue on February 05, 2009, 02:55:56 PM
i didnt get the table error either time i tried.. one with the file and one without it ;)

just the display.php didnt have what the mod was called..
Title: Re: Treasury - v2.33
Post by: coucnilhomeswap on February 05, 2009, 03:17:13 PM
well if you do have the fix sgtmic i am willing to take the risk. otherwise i'll just make a post when i can get round to it
Title: Re: Treasury - v2.33
Post by: Bass_Chaz on February 06, 2009, 07:24:35 PM
I KNOW its probably been asked before but I did it again..

I updated to version 2.34 but now I have 2 donation tabs...

Assistance if you please..
Title: Re: Treasury - v2.33
Post by: SgtMic on February 06, 2009, 07:29:46 PM
You have the same duplicated code. Look in subs.php.
Title: Re: Treasury - v2.33
Post by: Bass_Chaz on February 06, 2009, 07:58:29 PM
Disreguard..
Found it...

index template php...
Title: Re: Treasury - v2.33
Post by: SgtMic on February 06, 2009, 08:05:18 PM
Since I don't recall off the top of my head, try the Package parser (http://resourcez.biz/PackageParser/), it will show you which files get modified. 
Title: Re: Treasury - v2.33
Post by: Bass_Chaz on February 06, 2009, 08:08:51 PM
Thanks SgtMic...

I figure if I hang out long enough, Ill figure it out...

I think I did that before too, just could not remember which files were modded...
Title: Re: Treasury - v2.33
Post by: SgtMic on February 06, 2009, 08:46:12 PM
The package parser helps a lot. Good luck.
Title: Re: Treasury - v2.33
Post by: Bass_Chaz on February 06, 2009, 09:21:00 PM
Well, I regret that I have to take this mod out of my system.

I had it running under 1.1.7 and after I updated to 1.1.8, I also updated the Treasury to 2.34 but some how it will not work with the "User Control Panel" that is also installed.
After the treasurey is installed (old or new) when anyone goes to the User CP they get an error.. :(

Last time I had this problem I started from the top and worked my way down until I got it to work but that will take way to log to do this time so I have decided that I will no longer use this mod.

If you have " User CP" on your SMF 1.1.8 and have it working WITHOUT having to unload and reload all the mods, let me know..
Title: Re: Treasury - v2.33
Post by: SgtMic on February 06, 2009, 10:12:11 PM
Lose the CP, It doesn't bring in $$. :)
Title: Re: Treasury - v2.33
Post by: giz on February 09, 2009, 02:15:37 PM
i have a small problem with the link for return site option,
i have told it to go to /Thankyou.html
but it actualy goes to //Thankyou.html;u=1;sa=showdonations
and i get the error
 Not Found
The requested URL /smf_1-1-6_install//Thankyou.html;u=1;sa=showdonations was not found on this server.

i know i have to delete" /  " before thankyou.html but where is the extra code coming from?
Title: Re: Treasury - v2.33
Post by: Bass_Chaz on February 10, 2009, 07:31:46 PM
Lose the CP, It doesn't bring in $$. :)

Well, when dealing with users, it GRAPHICS that draw them. Ease of use.

CP Stays. Treasury out. Easier to just add the Subscriptions mod and put the Donations links from Payal directly on the site anyway.
Title: Re: Treasury - v2.33
Post by: Smoky "Rider" Blue on February 10, 2009, 09:07:02 PM
hmm i have the user cp for now on http://www.houseofsmoky.com

thing is, there is no link to view who donated what, but it really doenst matter, as i do get the notice on who donated.. the subscription is nice, but i really do like Resources mod and wont do a direct link to paypal.. im hanging in for the long run..

now who has my running shorts??  :P
Title: Re: Treasury - v2.33
Post by: NEMINI on February 11, 2009, 01:59:12 AM
Well, I regret that I have to take this mod out of my system.

I had it running under 1.1.7 and after I updated to 1.1.8, I also updated the Treasury to 2.34 but some how it will not work with the "User Control Panel" that is also installed.
After the treasurey is installed (old or new) when anyone goes to the User CP they get an error.. :(

whats the error?  Seriously if given enough information it may get fixed, but with little to no info I guarantee it won't be.  A link to the mod you are using and the version of that mod you have installed is also helpful.
Title: Re: Treasury - v2.33
Post by: giz on February 11, 2009, 03:24:16 PM
i have a small problem with the link for return site option,
i have told it to go to /Thankyou.html
but it actualy goes to //Thankyou.html;u=1;sa=showdonations
and i get the error
 Not Found
The requested URL /smf_1-1-6_install//Thankyou.html;u=1;sa=showdonations was not found on this server.

i know i have to delete" /  " before thankyou.html but where is the extra code coming from?
anyone have an answer for this?
Title: Re: Treasury - v2.33
Post by: Bass_Chaz on February 15, 2009, 10:19:34 AM
Quote
whats the error?  Seriously if given enough information it may get fixed, but with little to no info I guarantee it won't be.  A link to the mod you are using and the version of that mod you have installed is also helpful.

There is a complete database error andI dont remember what the specific error was.

Ive removed Treasury completely from my board and it runs fine.

Ill try it again on my test site when I get the time.

For now, Im using PayPal directly and it works fine for me that way.
Title: Re: Treasury - v2.33
Post by: JaGuR on February 17, 2009, 11:56:14 PM
Quick Question,

When adding a donator to a member group is it possible to automatically remove them from the member group when the time frame runs out ?

Cheers
Title: Re: Treasury - v2.33
Post by: giz on February 18, 2009, 11:55:02 AM
i have a small problem with the link for return site option,
i have told it to go to /Thankyou.html
but it actualy goes to //Thankyou.html;u=1;sa=showdonations
and i get the error
 Not Found
The requested URL /smf_1-1-6_install//Thankyou.html;u=1;sa=showdonations was not found on this server.

i know i have to delete" /  " before thankyou.html but where is the extra code coming from?

help!!!
Title: Re: Treasury - v2.33
Post by: SgtMic on February 18, 2009, 01:10:48 PM
Quick Question,

When adding a donator to a member group is it possible to automatically remove them from the member group when the time frame runs out ?

Cheers

You can set it up that way. In the Main Config, set Group Access Duration Limited to yes.
Title: Re: Treasury - v2.33
Post by: SgtMic on February 18, 2009, 01:12:32 PM
i have a small problem with the link for return site option,
i have told it to go to /Thankyou.html
but it actualy goes to //Thankyou.html;u=1;sa=showdonations
and i get the error
 Not Found
The requested URL /smf_1-1-6_install//Thankyou.html;u=1;sa=showdonations was not found on this server.

i know i have to delete" /  " before thankyou.html but where is the extra code coming from?

help!!!

Use the default: index.php?action=profile
Title: Re: Treasury - v2.33
Post by: giz on February 18, 2009, 02:11:06 PM
i have a small problem with the link for return site option,
i have told it to go to /Thankyou.html
but it actualy goes to //Thankyou.html;u=1;sa=showdonations
and i get the error
 Not Found
The requested URL /smf_1-1-6_install//Thankyou.html;u=1;sa=showdonations was not found on this server.

i know i have to delete" /  " before thankyou.html but where is the extra code coming from?

help!!!

Use the default: index.php?action=profile

i've created a web page which thanks the member for the donation and complies with paypal rules, i thought the mod accepted this kind of thing?

the other problem i have is that the member becomes part of the new group once donated but doesn't receive the benefits such as access to other areas, username colour etc etc i have to delete them from the group and then add them again for changes to take place.
Title: Re: Treasury - v2.33
Post by: SgtMic on February 18, 2009, 05:08:44 PM
When they are added to the new membergroup, it is their secondary, not primary membergroup.

Using the default: index.php?action=profile does not violate any Paypal rules.

Quote
PayPal Return Page
This is the file that users will be returned to when they complete a donation. It is preset, but you may choose to make some customized return of your own. Just make sure you comply with PayPal's requirements for a return page.


Title: Re: Treasury - v2.33
Post by: Resourcez on February 18, 2009, 06:13:17 PM
There was previously an ability to provide your own but that became a can of worms when PayPal strictly defined return page requirements, for users and developers, with the possibility of accounts being cancelled.  I neglected to remove that capability and will rectify that.  There does remain a gray area for anonymous donations.

DonationsPro will still have the same return page but will make provision for some extra text that the site owner can add to that page.
Title: Re: Treasury - v2.33
Post by: giz on February 19, 2009, 04:55:49 PM
so is there any way at all of manualy modifying the package to allow for this?

the page looks too good not to use!

http://forum.theunofficialbromsgroveminiclub.co.uk/smf_1-1-6_install/Thankyou.html
Title: Re: Treasury - v2.33
Post by: Resourcez on February 19, 2009, 06:46:31 PM
There is a mechanism for reporting of bugs.
Title: Re: Treasury - v2.33
Post by: Anub1s on February 26, 2009, 03:10:27 AM
im getting database errors all the time when i try and install on 2.0 rc1

would love this mod but justa aint going to happen :(

anyway its saying every time that the table dosent exist.

i have updated the tables to rc1 which confuses me to why it will not work
Title: Re: Treasury - v2.33
Post by: Resourcez on February 26, 2009, 03:37:20 AM
Your database prefix isn't being picked up - pre-existing tables will still be there.

Treasury is not at fault - it is a bug in the package manager database creation area, a bug that was reported before RC1 was made public, but they went ahead with the release anyway.
Quote from: metallica48423
It's not really a bug in the mod, as far as I can tell.  More like in the actual abstraction layer.

Unfortunately the devs really didn't want to rush out a fix on such an important thing as the abstraction layer and pray that it doesn't cause any further issues.

The nature of the security issues that came up really forced the release, otherwise it would've been fixed before release.

I'm afraid you're stuck with manual installs for any mods which try to use the database functionality that is faulty - only a few mods will be affected, as most don't use that functionality, and some simply bypass the required SMF coding standards.
Title: Re: Treasury - v2.33
Post by: zagrom on March 08, 2009, 04:32:11 AM
I use the Treasury MOD, and I have a situation
where I know people (they go to the same school) who visit my site
and would like to donate, but don't use PayPal so they would like to
give me the money, the problem with this is that they don't show
up on the list of donaters this way, is there a way I can Manually
add there names and add the amounts to the Treasury?

Just ask if you need more information
Title: Re: Treasury - v2.33
Post by: SgtMic on March 08, 2009, 05:23:18 AM
You can manually add donations in the donations tab located in admin.
Title: Re: Treasury - v2.33
Post by: zagrom on March 08, 2009, 05:42:36 AM
You can manually add donations in the donations tab located in admin.
Really now?
I must have looked over that, Ill give it a look then, Thanks  XD

I still cant seem to get i to show a name in the Treasury,
I guess Im doing something wrong XD
Title: Re: Treasury - v2.33
Post by: SgtMic on March 08, 2009, 01:24:35 PM
Make sure you correctly fill in all the info. If you leave something out, it will not work.
Title: Re: Treasury - v2.33
Post by: zagrom on March 08, 2009, 02:34:48 PM
what would I put in for the Tax ID seeing as in this
situation I didnt get a receipt from paypal?
Title: Re: Treasury - v2.33
Post by: SgtMic on March 08, 2009, 04:52:22 PM
Make a unique number every time for that.
Title: Re: Treasury - v2.33
Post by: zagrom on March 08, 2009, 06:44:45 PM
Hmm, odd,
It works sorta,

It shows up in the user profile that the donation
was made and it will show up everywhere else it
need s to except the donation screen, so its does
not move my little bar over.
Title: Re: Treasury - v2.33
Post by: Resourcez on March 08, 2009, 09:31:05 PM
Make sure you correctly fill in all the info. If you leave something out, it will not work.
Naturally, you also entered a date in March, and in the correct format.
Title: Re: Treasury - v2.33
Post by: zagrom on March 09, 2009, 12:11:00 AM
*headdesk* *headdesk* *headdesk*

OMG, I am sorry for such stupidity...
It works, thank you for guiding me through my ignorance  TT.TT



Now all I wonder is how would I change the bar color?

(please don't tell me there is a bar color option I missed to  XD)
Title: Re: Treasury - v2.33
Post by: Resourcez on March 09, 2009, 01:07:09 AM
There is no option - the bar becomes green when you receive donations and turns blue when your target is exceeded.
Title: Errors.....
Post by: Bass_Chaz on March 09, 2009, 05:35:01 PM
I THOUGHT I removed the Treasury mod but now it seems that the index.php is sending this message:

Fatal error: smf_main(): Failed opening required '~~~~~html/nonworking/Sources/TreasuryUpdate.php' (include_path='.:/usr/local/lib/php') in /home/conten~~~~/index.php on line 316

Any advice?

I have tried editing the php file by removing any treasury entries but all I got were more errors.

SMF 1.1.8 with TP and many mods.

I tried the repair settings php also but it didnt fix it.
Title: Re: Treasury - v2.33
Post by: kkattfish on March 10, 2009, 03:48:14 PM
smf 1.1.8
treasury 2.34

installed fine, however i am getting this when clicking to test the ipn in paypal config tab.
Internal Server Error
 
The script /usr/local/psa/home/vhosts/cashassorgrass.com/httpdocs/forum/ipntreas.php cannot be world writable.

 

Tip:  If you are the owner of this site, more info is at the Globat knowledgebase.


I don't know if it is related to the 500 error, but if so how do i do this "Check file permissions for http://www.cashassorgrass.com/forum/ipntreas.php are 644 or 755 (CHMOD to 644 if they are 777 or 666).
"  i don't know how to do this step.  or if it's not related please give me any info that might help.

Thank you,
Title: Re: Treasury - v2.33
Post by: SgtMic on March 10, 2009, 03:50:30 PM
If you have ftp access, you can check the properties of that file there.
Title: Re: Treasury - v2.33
Post by: kkattfish on March 10, 2009, 05:17:13 PM
that was it, thanks man
Title: Re: Treasury - v2.33
Post by: SgtMic on March 10, 2009, 06:34:08 PM
I THOUGHT I removed the Treasury mod but now it seems that the index.php is sending this message:

Fatal error: smf_main(): Failed opening required '~~~~~html/nonworking/Sources/TreasuryUpdate.php' (include_path='.:/usr/local/lib/php') in /home/conten~~~~/index.php on line 316

Any advice?

I have tried editing the php file by removing any treasury entries but all I got were more errors.

SMF 1.1.8 with TP and many mods.

I tried the repair settings php also but it didnt fix it.

When you uninstalled it, there must have been obvious errors.
Then when you manually uninstalled it, you must have also uninstalled other mod code
that was included.
Title: Re: Treasury - v2.33
Post by: b0dyr0ck2006 on March 25, 2009, 12:50:57 PM
Hmm, odd,
It works sorta,

It shows up in the user profile that the donation
was made and it will show up everywhere else it
need s to except the donation screen, so its does
not move my little bar over.

How did you resolve this? I'm having the same issue.

Brilliant mod, except I also have another problem where only admins can see the link. I'm running 1.1.8 with the Dilber theme.

Any help would be appreciated.

Title: Re: Treasury - v2.33
Post by: b0dyr0ck2006 on March 28, 2009, 08:11:20 AM
anybody??
Title: Re: Treasury - v2.33
Post by: hellboy78 on March 30, 2009, 10:00:49 AM
what about install this mod on my adult website with smf,
and use a button that IS NOT paypal, but a normal button that redirect donators to another website,
with no adult content,
so members can donate, and paypal doesn't block me for adult content?

all function should be the same into treasury, just consider to redirect donators to another website to find paypal buttons.

ty
Title: Re: Treasury - v2.33
Post by: SgtMic on March 30, 2009, 10:55:34 AM
@hellboy Just create a "donate" button and link it to the other website.
@b0dyr0ck2006 You need to set the permissions
Title: Re: Treasury - v2.33
Post by: b0dyr0ck2006 on March 30, 2009, 12:39:26 PM
Permissions have been set for all users to access the donations......
Title: Re: Treasury - v2.33
Post by: SgtMic on March 30, 2009, 12:49:32 PM
Try here (http://resourcez.biz/index.php?action=forum) for additional help.
Title: Re: Treasury - v2.33
Post by: hellboy78 on March 31, 2009, 03:39:04 AM
@hellboy Just create a "donate" button and link it to the other website.
@b0dyr0ck2006 You need to set the permissions


treasury should works ???
Title: Re: Treasury - v2.33
Post by: Urbanite on March 31, 2009, 08:42:12 AM
Any plans for a Spanish version of this?
 
Perhaps a clue as to what to insert where to get the donations page to show and I can maybe get some key phrases translated?
 
I have fallen at the first hurdle, I'm using the language drop down selection Mod but cannot get the 'Treasury' tab to show in anything other than English...
 
muchas gracias por su apoyo...
Title: Re: Treasury - v2.33
Post by: SgtMic on March 31, 2009, 10:55:20 AM
@hellboy Just create a "donate" button and link it to the other website.
@b0dyr0ck2006 You need to set the permissions


treasury should works ???

Any plans for a Spanish version of this?
 
Perhaps a clue as to what to insert where to get the donations page to show and I can maybe get some key phrases translated?
 
I have fallen at the first hurdle, I'm using the language drop down selection Mod but cannot get the 'Treasury' tab to show in anything other than English...
 
muchas gracias por su apoyo...


Try here (http://resourcez.biz/index.php?action=forum) for additional help.


:)
Title: Re: Treasury - v2.33
Post by: fmofmpls on April 04, 2009, 12:17:58 PM
Running 1.1.8. Everything's been working fine, but today I received a donation via eCheck and the payment did not show itself anywhere on the block or in the admin area. Isn't there supposed to be a "pending" somewhere on the block or in admin area?  Couldn't find anything in the log either for this transaction.
Title: Re: Treasury - v2.33
Post by: SgtMic on April 04, 2009, 02:27:20 PM
Treasury (I believe) doesn't have the option for e checks yet. Those still need to be manually entered.
Title: Re: Treasury - v2.33
Post by: fmofmpls on April 04, 2009, 07:46:04 PM
Treasury (I believe) doesn't have the option for e checks yet. Those still need to be manually entered.

Gotcha. Thanks for the reply!
Title: Re: Treasury - v2.33
Post by: Resourcez on April 05, 2009, 07:51:06 AM
Actually, eChecks should work - the only issue was with them clearing and being converted to a Completed payment, and that was fixed with v2.12 back in September.

I've just tested again and it works fine.  They don't, nor should they, appear in the block - after all, they are only Pending payments.  However, they will appear in the admin Donations and Log areas, as well as in the Profile summary.

If your PayPal return failed for some reason, then they simply won't appear and, as SgtMic says, you can enter manually.
Title: Re: Treasury - v2.33
Post by: UkGangsta on April 16, 2009, 07:50:49 PM
ipn error.

when i press test ipn i get this following error ive tried changing to curl nada same any 1 have nay ideas how to fix this please.

im using smf 2.0 rc1 with a custom theme and treasury 2.34.

error:
Code: [Select]
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@area51downloads.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_perl/2.0.4 Perl/v5.8.8 Server at www.area51downloads.com Port 80
Title: Re: Treasury - v2.33
Post by: Negatory on April 16, 2009, 08:21:23 PM
The "Internal Server" issue is covered in the Treasury ReadMe section.
Title: Re: Treasury - v2.33
Post by: hellboy78 on April 20, 2009, 01:01:54 PM
how to istall treasury with blacktothefuture theme?

which php I should modify manually?
Title: Re: Treasury - v2.33
Post by: learjet45 on April 20, 2009, 06:57:56 PM
You need to modify the index.template.php file for your theme if it has a custom one.
Title: Re: Treasury - v2.33
Post by: SgtMic on April 20, 2009, 07:52:44 PM
how to istall treasury with blacktothefuture theme?

which php I should modify manually?

Do a search for the package parser.
Title: Re: Treasury - v2.33
Post by: The_Wii_Nes_Boy on April 22, 2009, 07:03:13 AM
Having problems getting this to work on SimplePortal, I have added the correct Donationsblock.php but it still refuses to work.

Keep getting the following errors:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/twnbwor1/public_html/Sources/SPortal1-1.php(3232) : eval()'d code on line

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/twnbwor1/public_html/Sources/SPortal1-1.php(3232) : eval()'d code on line 2

Parse error: syntax error, unexpected $end in /home/twnbwor1/public_html/Sources/SPortal1-1.php(3232) : eval()'d code on line 2
Title: Re: Treasury - v2.33
Post by: SgtMic on April 22, 2009, 03:21:56 PM
Head over to http://resourcez.biz/index.php?action=forum for that.
You can get a little more detailed help from the mod author.
Title: Re: Treasury - v2.33
Post by: The_Wii_Nes_Boy on April 22, 2009, 08:36:12 PM
All is fine I managed to solve the isue myself, thanks anyway.
Title: Re: Treasury - v2.33
Post by: SgtMic on April 22, 2009, 10:51:49 PM
Good to go.
Title: Re: Treasury - v2.33
Post by: Chit-Chat ChatterBox Boss on April 30, 2009, 09:06:41 PM
with the whole display your "username" area .... how do we make it display their "Display Name" and not their "Username"?
Title: Re: Treasury - v2.33
Post by: Goodman854 on May 16, 2009, 12:32:47 PM
What do you mean "Treasury happily co-exists with the Subscriptions mod."? I have both mods I don't notice any thing.
Sorry confused
Title: Re: Treasury - v2.33
Post by: Eclipse16V on May 16, 2009, 01:01:38 PM
Have anyone the german lang. for this mod?
Title: Re: Treasury - v2.33
Post by: SgtMic on May 20, 2009, 03:55:13 PM
What do you mean "Treasury happily co-exists with the Subscriptions mod."? I have both mods I don't notice any thing.
Sorry confused

It means you can use both mods without them being in conflict.
Title: Re: Treasury - v2.34
Post by: amlucent on May 21, 2009, 11:18:22 AM
I am running treasury 2.34 (http://gwgoodolddays.net/forums/index.php?action=treasury).  Everything was working fine.  It seems that after we reached our goal for the month any donations stopped automatically showing up and have to be manually entered.  Have I found a new bug or can you think of anything I may have done wrong?
Title: Re: Treasury - v2.33
Post by: littenburg on May 27, 2009, 06:45:50 PM
ok, installed wonderfully, great mod, i love it  :D except for the fact it put 2 links for donations at the top, i am using the default theme, smf 1.1.9,

gameopp.com
Title: Re: Treasury - v2.33
Post by: Roxor666 on May 30, 2009, 10:10:26 AM
hi,
i got problems with install treasury 2.35 in uprgraded smf 1.1.9. Files was edited, files from zip package was copied. I have only problem with sql querries in phpmyadmin copied from install1.php. If somebody can, take a look at that:

Code: [Select]
CREATE TABLE IF NOT EXISTS smf_treas_registry(
id int( 11 ) unsigned NOT NULL AUTO_INCREMENT ,
date int( 10 ) NOT NULL default '".gmmktime()."',
num varchar( 16 ) NOT NULL ,
name varchar( 128 ) NOT NULL ,
descr varchar( 128 ) NOT NULL ,
amount varchar( 10 ) NOT NULL ,
PRIMARY KEY ( id )
)

MySQL back: Documentation
#1067 - Invalid default value for 'date'

I use Mysql 5.0.51a.
Title: Re: Treasury - v2.33
Post by: Shades. on June 01, 2009, 04:13:08 AM
Just tried to install latest version and got this error:
Code: [Select]
Table 'smfboard.treas_config' doesn't exist
File: /home/content/a/u/c/auctzilla/html/Packages/temp/install.php
Line: 27
Title: Re: Treasury - v2.33
Post by: jossanaijr on June 10, 2009, 10:21:18 PM
Hi,
is it possible (and how if it is) to show in a Simple Portal block?  I did not understand the block setup.
Title: Re: Treasury - v2.33
Post by: Resourcez on June 11, 2009, 04:29:00 AM
The answer is in the Treasury ReadMe section - also http://resourcez.biz/index.php?topic=92.0
Title: Re: Treasury - v2.33
Post by: Tanks on June 11, 2009, 02:30:02 PM
Great mod, but how can i hide the donations tab from guests ?

(http://img44.imageshack.us/img44/3111/sshot7k.jpg)
Title: Re: Treasury - v2.33
Post by: jossanaijr on June 11, 2009, 05:22:33 PM
The answer is in the Treasury ReadMe section - also http://resourcez.biz/index.php?topic=92.0
WOW. Thank you!
Title: Re: Treasury - v2.33
Post by: Negatory on June 11, 2009, 06:06:23 PM
Great mod, but how can i hide the donations tab from guests ?
The ReadMe notes tell you to set permissions - applies for guests too.
Title: Re: Treasury - v2.33
Post by: Tanks on June 12, 2009, 12:27:32 AM
Great mod, but how can i hide the donations tab from guests ?
The ReadMe notes tell you to set permissions - applies for guests too.

Yes i know this. And guests can not access the donation page but hey they can still see the tab. What to do ? :o
Title: Re: Treasury - v2.33
Post by: imno007 on June 13, 2009, 07:54:58 PM
Hi, trying to install this on SMF 2.0 RC1-1 and keeping getting a message that table 'smf.treas_config' doesn't exist, when clearly the table DOES exist. Any suggestions?

Edit: See someone else above having the same problem, but no answer yet.
Title: Re: Treasury - v2.33
Post by: Negatory on June 15, 2009, 05:14:34 AM
Yes i know this. And guests can not access the donation page but hey they can still see the tab. What to do ? :o
In that case, you have a theme problem - it should be checking for permission, like here:
http://resourcez.biz/index.php?topic=155.0
Title: Re: Treasury - v2.33
Post by: Tanks on June 15, 2009, 01:18:41 PM
Yes i know this. And guests can not access the donation page but hey they can still see the tab. What to do ? :o
In that case, you have a theme problem - it should be checking for permission, like here:
http://resourcez.biz/index.php?topic=155.0

Cheers,

But i'm using default theme and Treasury installed with no errors !

Anyway, it's no biggie - only if there was a quick fix for it :)
Title: Re: Treasury - v2.33
Post by: tyty1234 on June 17, 2009, 03:12:49 AM
Hi, trying to install this on SMF 2.0 RC1-1 and keeping getting a message that table 'smf.treas_config' doesn't exist, when clearly the table DOES exist. Any suggestions?

Edit: See someone else above having the same problem, but no answer yet.
This looks like an error in the install.php, because "{db_prefix}treas_config" should exist, but simply "treas_config" does NOT exist, and therefore leaves an error in the installation.

Um, is there a fix to this?
Title: Re: Treasury - v2.33
Post by: Resourcez on June 19, 2009, 12:32:47 AM
It's a bug in the SMF packages installer, specifically DbPackages-mysql.php,  that SMF allowed to propagate in the RC1 distribution.

A modified file is provided on my site which bypasses the bug.
Title: Re: Treasury - v2.33
Post by: Rowdy on June 19, 2009, 07:12:40 PM
I can't find that modified file on your site. The only download I found has the same error on install. Can you post a link to the workaround file?

Thanks
Title: Re: Treasury - v2.33
Post by: Bruno36 on June 30, 2009, 10:18:07 AM
   
1) Place donors in a group does not automatically loved me.
I have every time to add them manually.

2) How do I change the date format in french because all the months are in English.
Title: Re: Treasury - v2.33
Post by: Bruno36 on July 01, 2009, 06:46:27 AM
There is more support for the mod Treasury ? >:(
Title: Re: Treasury - v2.33
Post by: Rowdy on July 01, 2009, 11:26:02 AM
Resourcez's site says the SMF team knows the workaround to make this mod work again(treas_config doesn't exist):

http://resourcez.biz/index.php?topic=385.0

Title: Re: Treasury - v2.33
Post by: Bruno36 on July 01, 2009, 11:30:40 AM
   
Unfortunately I can not register on the site.
^ I do not get the activation email

Your email address needs to be validated before you can login  :(
Title: Re: Treasury - v2.33
Post by: Rowdy on July 02, 2009, 10:03:52 AM
Bump.

Any chance the SMF team could help out here to make this mod work again?

Thanks
Title: Re: Treasury - v2.33
Post by: Resourcez on July 02, 2009, 09:34:11 PM
@Bruno36 - you either have a full inbox or the email has triggered a spam filter - your account activated.
Title: Error installing
Post by: scenerip2k on July 03, 2009, 01:48:08 AM
I got this error when trying to install this on Smf 2.0 rc1:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/content/a/l/e/alexp/html/forum/Sources/TreasuryUpdate.php on line 20
Title: Re: Treasury - v2.33
Post by: scenerip2k on July 03, 2009, 02:27:20 AM
here is another error:

Table 'scenenetwork.scenenetwork_log_treasurey' doesn't exist
File: /home/content/a/l/e/alexp/html/forum/Sources/TreasuryAdmin.php
Line: 1217
Title: Re: Treasury - v2.33
Post by: Bruno36 on July 03, 2009, 02:33:14 AM
@Bruno36 - you either have a full inbox or the email has triggered a spam filter - your account activated.

   
Not any anti-spam to activate
Title: Treasury - v2.36
Post by: Resourcez on July 07, 2009, 06:20:32 AM
Treasury v2.36 Released.
Title: Re: Treasury - v2.36
Post by: Rowdy on July 07, 2009, 12:08:23 PM
Still get this error on install:

Table xxxxxx_smfnew.treas_config' doesn't exist
File: /home/xxxxxx/public_html/smf/Packages/temp/install.php
Line: 27
Title: Re: Treasury - v2.36
Post by: scenerip2k on July 07, 2009, 12:28:47 PM
Database Error
Table 'scenenetwork.scenenetwork_log_treasurey' doesn't exist
File: /home/content/a/l/e/alexp/html/forum/ipntreas.php
Line: 409

Resourcez please helpppppppppppp :(
Title: Re: Treasury - v2.36
Post by: scenerip2k on July 07, 2009, 01:55:13 PM
ok i figure out how to fix the problem with the "table dont exists" i created a test forum for myself and installed Treasury on a new forum then i exported the tables that were missing from the MYSQL database and imported those to the forum i was having problems with. Now everything is working fine!
Title: Re: Treasury - v2.36
Post by: neuikc on July 07, 2009, 02:57:03 PM
Still get this error on install:

Table xxxxxx_smfnew.treas_config' doesn't exist
File: /home/xxxxxx/public_html/smf/Packages/temp/install.php
Line: 27

I get the same error when installing this newest version.
Title: Re: Treasury - v2.36
Post by: scenerip2k on July 07, 2009, 03:46:54 PM
make a test forum like i did & install new copy on it then export the missing tables
Title: Re: Treasury - v2.36
Post by: Rowdy on July 07, 2009, 06:09:08 PM
I tried the export and import solution. No luck. On import, I got something saying duplicate entry, though it did import all the tables apparently. On install, the mod came up with the same error again.
Title: Re: Treasury - v2.36
Post by: imno007 on July 10, 2009, 03:04:06 PM
Well, whoever's fault it is, the bottom line is this mod just doesn't work with 2.0 RC1 - 1-1, right? So maybe it shouldn't be advertised as supporting it?
Title: Re: Treasury - v2.36
Post by: Rowdy on July 10, 2009, 03:07:05 PM
It works for a fresh install, but not forums that were upgraded from 1.19.
Title: Re: Treasury - v2.36
Post by: jezzb on July 13, 2009, 02:56:23 PM
Hi, I am geting this error after instllation completes: Table 'forum.log_treasurey' doesn't exist
Please note how the word treasury is spelled in 'forum.log_treaurey' above. Can this be the source of the problem?

I am running SMF 2.0 rc1-1

Thanks
Jezzb
Title: Re: Treasury - v2.36
Post by: ross85 on July 15, 2009, 08:24:37 PM
Hi,

I am running smf 1.1.10 and just installed this mod. I got no errors on the install and followed the instructions for setting up my paypal account. I even went through and did a donation using my card, I got the money in my paypal account, but nothing was logged in treasury. When I do the ipn test a blank page comes up and nothing happens. There was also no record in my profile that I donated any money. Any suggestions?
Title: Re: Treasury - v2.36
Post by: ɔɔɔɔɔɔuɥoɾ on July 28, 2009, 02:02:33 PM
Ive checks the last few pages and I dont see any info that would suggest this works on SMF 2 RC1.

Does it work on SMF 2 RC1?
Title: Re: Treasury - v2.36
Post by: Rohan_ on July 30, 2009, 12:40:27 PM
Please Tell me how do i hide my email ( Login ) id from the paypal donation page . ...
Title: Re: Treasury - v2.36
Post by: dannys on August 01, 2009, 04:56:28 PM
how can i change a sandbox.paypal.com to paypal.com beacose i dont have a sandbox account!
thanx
Title: Re: Treasury - v2.36
Post by: digit on August 11, 2009, 02:07:46 AM
Ok, I manually installed this using the package parser...  running v 1.1.10

When I try to go into any treasury action, I am getting errors like....

http://www.mysite.com/index.php?action=treasury

Fatal error: Function name must be a string in /Sources/Treasury.php on line 50

http://www.mysite.com/index.php?action=treasuryadmin;sa=configpaypal

Fatal error: Function name must be a string in /Sources/TreasuryAdmin.php on line 847

http://www.mysite.com/index.php?action=treasuryadmin;sa=donations

Fatal error: Function name must be a string in /Sources/TreasuryAdmin.php on line 259

Any idea what's going on?

Thanks in advance.

p.s., I can access http://www.mysite.com/index.php?action=treasuryadmin without any problems, but I do not see any "tabs".

p.p.s., Why do I get the sense that I followed the instructions for smf 2? (even though I followed the package parser instructions for 1.1.10)

I see it's breaking at the point in the source file where it does....
   $cfgset = $smcFunc['db_query']('', '

EDIT - I see that the installer had me move the 2.0 source files....  I just uploaded all the Treasury1.php, TreasuryAdmin1.php, etc files to my sources directory, and VOILA!

It appears to be working.  However - I DO think there is a problem with the mod!

This is what the Package Parser says to move for v 1.1.10



Move the included file "DonationBlock.php" to "./Sources".
Move the included file "Treasury.php" to "./Sources".
Move the included file "TreasuryAdmin.php" to "./Sources".
Move the included file "TreasuryUpdate.php" to "./Sources".
Move the included file "TreasuryReadme.php" to "./Sources".
Move the included file "Treasury.english.php" to "./Themes/default/languages".
Move the included file "Treasury.english-utf8.php" to "./Themes/default/languages".
Move the included file "TreasuryHelp.english.php" to "./Themes/default/languages".
Move the included file "TreasuryHelp.english-utf8.php" to "./Themes/default/languages".
Move the included file "Treasury.template.php" to "./Themes/default".
Move the included file "TreasuryAdmin.template.php" to "./Themes/default".
Move the included file "ts_picker.js" to "./Themes/default".
Move the included file "calnext.gif" to "./Themes/default/images".
Move the included file "calprev.gif" to "./Themes/default/images".
Move the included file "cal.gif" to "./Themes/default/images".
Move the included file "x-click-but04.gif" to "./Themes/default/images".
Move the included file "x-click-but21.gif" to "./Themes/default/images".
Move the included file "treasury_drop.png" to "./Themes/default/images".
Move the included file "treasury_edit.png" to "./Themes/default/images".
Move the included file "ipntreas.php" to "the root directory".



Shouldn't it be.....?


Move the included file "DonationBlock1.php" to "./Sources".
Move the included file "Treasury1.php" to "./Sources".
Move the included file "TreasuryAdmin1.php" to "./Sources".
Move the included file "TreasuryUpdate1.php" to "./Sources".
Move the included file "TreasuryReadme.php" to "./Sources".
Move the included file "Treasury.english.php" to "./Themes/default/languages".
Move the included file "Treasury.english-utf8.php" to "./Themes/default/languages".
Move the included file "TreasuryHelp.english.php" to "./Themes/default/languages".
Move the included file "TreasuryHelp.english-utf8.php" to "./Themes/default/languages".
Move the included file "Treasury.template.php" to "./Themes/default".
Move the included file "TreasuryAdmin.template.php" to "./Themes/default".
Move the included file "ts_picker.js" to "./Themes/default".
Move the included file "calnext.gif" to "./Themes/default/images".
Move the included file "calprev.gif" to "./Themes/default/images".
Move the included file "cal.gif" to "./Themes/default/images".
Move the included file "x-click-but04.gif" to "./Themes/default/images".
Move the included file "x-click-but21.gif" to "./Themes/default/images".
Move the included file "treasury_drop.png" to "./Themes/default/images".
Move the included file "treasury_edit.png" to "./Themes/default/images".
Move the included file "ipntreas.php" to "the root directory".


Title: Re: Treasury - v2.36
Post by: TurtleKicker on August 19, 2009, 09:11:48 PM
Ok something weird happened today. Running Treasury 2.32 w/ SMF 1.1.10

I had been getting donations just fine... most-recent was August 5th. Today I got a Paypal email signifying a Treasury donation, but I didn't get any of the usual Treasury emails and there's no record in Treasury of the donation. What could be causing that?
Title: Re: Treasury - v2.36
Post by: kai920 on August 19, 2009, 11:15:11 PM
*tagged for later reading
Title: Re: Treasury - v2.36
Post by: evolution25 on August 21, 2009, 01:03:28 AM
is there a way i can set it so if you donate this amount you get this group stats
Title: Re: Treasury - v2.36
Post by: Rohan_ on August 21, 2009, 03:55:07 AM
is there a way i can set it so if you donate this amount you get this group stats
Admin > Treasury > Main Config > Place Donors in a group
Title: Re: Treasury - v2.36
Post by: ɔɔɔɔɔɔuɥoɾ on August 22, 2009, 09:49:04 PM
Hi, nice mod works great :)

I just wanted to know if there is a way to make a custom PHP block in portal and have it display the donor list pictured below
(http://i30.tinypic.com/91kq5e.jpg)

If somehow we can extract the code for that part and add it as a custom php block (portal) it would be great thanx :)
Title: Re: Treasury - v2.36
Post by: - danny on August 28, 2009, 10:40:08 PM
i need help with a couple of things.

first, i've this error for as long as i can remember. i've even deleted the file and re-uploaded it, only to get the same thing...

Quote
Apply Filter: Only show the errors with the same message
8: Undefined index: time
File: /home/xxxxxx/public_html/news/Themes/default/languages/Treasury.english.php (main sub template - eval?)
Line: 286

any idea what's causing it? i'm using the Treasury, and manually updated to 2.36, but that didn't seem to fix it.

also, the display block is not updating. members make donations, but their names, nor donations are displayed in the block. you can though, see their donations via their profile. any idea on how to fix this too?
Title: Re: Treasury - v2.36
Post by: - danny on August 30, 2009, 05:42:04 PM
don't mean to bump, but haven't heard anything in a couple of days.

can anyone advise?
Title: Re: Treasury - v2.36
Post by: Grendor on September 12, 2009, 11:18:56 PM
Hello,

This is a post to tell Resourcez that his site is broken. I cant registers as the security features are not working. The letters dont show and the play them feature does not work either. I have tried from 2 different computers and 5 different browsers. So i cant register on his site and since no contact is listed for his site i am posting here. I sent him a mail but either he did not get it or he has not been on lately.

I am posting here as i assum he supports it and checks here often..
Thanks
Grendor
Title: Re: Treasury - v2.36
Post by: Resourcez on September 13, 2009, 08:32:41 AM
Problem fixed - host has been re-configuring permissions.
Title: Re: Treasury - v2.36
Post by: Stigmartyr on September 26, 2009, 06:50:38 PM
How and where can I modify this mod so that donors are not placed in a secondary or additional group, but are placed in the primary group instead?  I have to do this manually now.
Title: Re: Treasury - v2.36
Post by: prettylolita on October 04, 2009, 03:07:27 AM
Some kind of error when I install it on 2.0. On my test site it installed just fine but on the real site it wont. I had not problems with this mode on 1.1.10

I'm getting this message

Table 'yuu646_SMF.treas_config' doesn't exist
File: /home/yuu646/public_html/forum/Packages/temp/install.php
Line: 27

what does that mean and ho can I fix it I really dislike the other donatnion mod. Please help.

~lolita
Title: Re: Treasury - v2.36
Post by: Negatory on October 04, 2009, 11:24:58 PM
http://resourcez.biz/index.php?topic=511.0
Title: Re: Treasury - v2.36
Post by: ɔɔɔɔɔɔuɥoɾ on October 05, 2009, 12:46:04 AM
Some kind of error when I install it on 2.0. On my test site it installed just fine but on the real site it wont. I had not problems with this mode on 1.1.10

I'm getting this message

Table 'yuu646_SMF.treas_config' doesn't exist
File: /home/******/public_html/forum/Packages/temp/install.php
Line: 27

what does that mean and ho can I fix it I really dislike the other donatnion mod. Please help.

~lolita
The error is implying that the database table does not exist, that also seems like the wrong table name, but it could just be your prefix.
Title: Re: Treasury - v2.36
Post by: Resourcez on October 05, 2009, 01:17:49 AM
The answer was given in the link above.

In any event the issue will disappear with SMF2 RC2 which is soon to be publicly released - they appear to have finally fixed their buggy code.
Title: Re: Treasury - v2.36
Post by: akl on October 05, 2009, 01:12:54 PM
I've checked the link provided and links me to a post on SMF forums that is off limits to me  ::)
Can anyone with access paste the contents?
this is the link:
http://www.simplemachines.org/community/index.php?topic=287073.msg1886463#msg1886463
Title: Re: Treasury - v2.36
Post by: Resourcez on October 05, 2009, 06:14:41 PM
The SMF link is just about the bug - the attachment is what you need.
Title: Re: Treasury - v2.36
Post by: Stigmartyr on October 05, 2009, 06:32:27 PM
Ok, since it seems like we're being either blocked or can't get the solution, can someone pretty please PM me details on how to make it so when someone is added to a member group via the Treasury function it is their primary account and not secondary?  I am comfortable with making any manual code edits I need to.

Thanks!!
Title: Re: Treasury - v2.36
Post by: prettylolita on October 05, 2009, 09:14:29 PM
how do I fix it?
Title: Re: Treasury - v2.36
Post by: akl on October 06, 2009, 06:43:09 AM
@Resourcez
I can't find an attachment anywhere. Could you please post it here?
Title: Re: Treasury - v2.36
Post by: Resourcez on October 06, 2009, 06:54:35 AM
I've no intention of posting it here as well as on my site - as with most sites, attachments are only accessible by registered users.

Wait a week or so and you can use SMF2 RC2 - they appear to have fixed their bug.
Title: Re: Treasury - v2.36
Post by: akl on October 06, 2009, 08:57:41 AM
Can I transfer all my data [forum  posts etc] to 2 RC2?
Title: Re: Treasury - v2.36
Post by: Vyache on November 16, 2009, 02:56:07 AM
I get this error under totals under treasury controls,

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 'ORDER BY null
LIMIT 0, 10' at line 5
File: /hsphere/local/home/swimstro/theswimstrongfoundation.org/network/Sources/TreasuryAdmin.php
Line: 378

Why do I get this?
Title: Re: Treasury - v2.36
Post by: lelkins on November 16, 2009, 10:29:22 AM
I've no intention of posting it here as well as on my site - as with most sites, attachments are only accessible by registered users.

Wait a week or so and you can use SMF2 RC2 - they appear to have fixed their bug.
I have RC2 and tried to install Treasury and had the problem with sql table not existing so the problem still exists.
I uploaded the file from your site though and it worked perfectly. Thanks!
Title: Release Treasury v1.01 and v2.01
Post by: Resourcez on November 17, 2009, 05:48:42 AM
Reverted to separate versions:
v1.01 for SMF 1.1.x
v2.01 for SMF 2RC2

Amongst other things, "ORDER by" fixed when viewing totals.

RC2 does not have the "problem with sql table not existing" issue so I'm not sure what that problem was.

I don't provide support here - just advice on releases.
Title: Re: Treasury - v2.36
Post by: Eclipse16V on November 17, 2009, 09:17:06 AM
hmmmm
same Problem with the new version.
 :(
Title: Re: Treasury - v2.36
Post by: Resourcez on November 17, 2009, 09:44:45 AM
Re-adjusted, until they change their minds again.
Title: Re: Release Treasury v1.01 and v2.01
Post by: Vyache on November 17, 2009, 10:51:33 AM
Reverted to separate versions:
v1.01 for SMF 1.1.x
v2.01 for SMF 2RC2

Amongst other things, "ORDER by" fixed when viewing totals.

RC2 does not have the "problem with sql table not existing" issue so I'm not sure what that problem was.

I don't provide support here - just advice on releases.

Hmm not sure,

When I go to the menu with totals and click on it I get that error. It could be because I had this Treasury before. The tables never got removed from the last version, but I do not see why that would be an issue.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: dakpluto on November 20, 2009, 08:31:14 AM
Parse error: syntax error, unexpected T_VARIABLE in ***site address***/ipntreas.php on line 296

It seems to start with the { on line 282 not closing properly, but I can't find the error myself yet.

Without a doubt the error is somewhere in here:

Code: [Select]
{
$updateSQL = $smcFunc['db_query']('', '
UPDATE {db_prefix}treas_donations
SET payment_status = {string:paystat}, mc_fee = {string:payfee}, settle_amount = {string:settle}, exchange_rate = {string:exchange}
WHERE txn_id = '$txn_id',
array(
'paystat' => $payment_status,
'payfee' => $payment_fee,
'settle' => $settle_amount,
'exchange' => $exchange_rate,
)
);
";
dprt($updateSQL.'<br />', _INF);
paypalUpdate($updateSQL);
dprt('SQL echeck cleared = ' . $ResultSQL . '<br />', _INF);
if ($tr_config['group_use'] == 1 && $tr_config['group_id'] > 1) {
dprt(donorGroup($id_member, $custom, $payment_date, $option_seleczion1) . '<br />', _INF);
} else {
dprt('Donor groups not activated.<br />', _INF);
}
}
elseif ($NumDups != 0)

EDIT, ok, I can establish that $updateSQL = $smcFunc['db_query']('', ' is not closing properly.  There is a missing ' that I don't know where it goes.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: dakpluto on November 20, 2009, 08:59:13 AM
Found it!

Change line 296 to:

WHERE txn_id = "$txn_id"',
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: tonnybarros on November 20, 2009, 10:31:52 AM
Would adapt this MOD for the means of payment "Pagseguro"?

http://www.tectonny.com/forum/index.php?action=page;sa=teste
Title: Treasury for SMF 2RC2
Post by: Resourcez on November 21, 2009, 11:11:55 PM
Treasury for SMF 2RC2 updated to v2.02.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: wilsy on November 22, 2009, 03:59:08 AM
Treasury for SMF 2RC2 updated to v2.02.

Thanks for updating this.

I'm getting this error on a clean install of 2RC2

Table 'rewind01_smf1.treas_finance' doesn't exist
File: /home/rewind01/public_html/forum/Packages/temp/install.php
Line: 167
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: ActivePatriot on November 22, 2009, 02:59:26 PM
I'm getting this error

Unknown system variable 'lc_time_names'
File: /home/vg008web10/25/12/3031225/web/forum/Sources/Treasury.php
Line: 97

on a clean install of 2RC2 with Treasury 2.02 installed.

tried uninstalling and reinstalling Treasury, no luck

packages installed previous to Treasury

1. SMF Articles 1.1.2   
2. eNinja - Admin Notes 0.9.1     
3. Contact Form 1.1 
4. Global Headers Footers


Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: justin0305 on November 23, 2009, 01:35:19 PM
Is it possible to display the chart that is on the treasury main page somewhere else on my site as well?  I have tried but have not been able to get it to work.  If someone could help me that would be great!
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: ActivePatriot on November 23, 2009, 03:22:19 PM
I'm getting this error

Unknown system variable 'lc_time_names'
File: ../forum/Sources/Treasury.php
Line: 97

on a clean install of 2RC2 with Treasury 2.02 installed.

tried uninstalling and reinstalling Treasury, no luck

packages installed previous to Treasury

1. SMF Articles 1.1.2   
2. eNinja - Admin Notes 0.9.1     
3. Contact Form 1.1 
4. Global Headers Footers


When I click on the Donations tab, I get this error.
Anyone have any ideas?
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: dakpluto on November 24, 2009, 03:54:00 PM
Is it possible to display the chart that is on the treasury main page somewhere else on my site as well?  I have tried but have not been able to get it to work.  If someone could help me that would be great!

This.

I'd like to be able to do this without having to use a portal.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: justin0305 on November 24, 2009, 05:57:49 PM
Is it possible to display the chart that is on the treasury main page somewhere else on my site as well?  I have tried but have not been able to get it to work.  If someone could help me that would be great!

This.

I'd like to be able to do this without having to use a portal.

Same here! Anyone able to help?
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: LC on December 01, 2009, 06:09:35 PM
I'm getting this error

Unknown system variable 'lc_time_names'
File: ../forum/Sources/Treasury.php
Line: 97

on a clean install of 2RC2 with Treasury 2.02 installed.

tried uninstalling and reinstalling Treasury, no luck

packages installed previous to Treasury

1. SMF Articles 1.1.2   
2. eNinja - Admin Notes 0.9.1     
3. Contact Form 1.1 
4. Global Headers Footers


When I click on the Donations tab, I get this error.
Anyone have any ideas?
Same here. Glad I'm not the only one. :P
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: ArkServer on December 26, 2009, 01:25:45 PM
I keep getting this error when i want to install it:

Table 'x.smf_treas_config' doesn't exist
File: /home/a/public_html/microsoft.com/Packages/temp/install.php
Line: 92
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: Resourcez on December 26, 2009, 11:27:45 PM
@LC
http://resourcez.biz/index.php?topic=516.0

@ArkServer
Shouldn't be happening with SMF2 RC2 which is the only SMF2 release that Treasury supports - can happen with SMF releases prior to RC2 due to a bug in the SMF code.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: Rohan_ on December 27, 2009, 04:24:31 AM
i don't know why you guys having errors .. i installed this mod near about 3 months ago and it's working fine for me on my 1.11 ......... and i also received Donations succesfully
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: LC on December 27, 2009, 10:33:40 PM
@LC
http://resourcez.biz/index.php?topic=516.0

I did see that, but the version I have is MySQL Client API version   5.0.22. So what can I do?

 I would have joined your support forum, but I was having issues with the image verification thing. (Doesn't want to work for me, no idea why.)
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: deciph3red on December 29, 2009, 05:52:07 PM
For some reason donations aren't showing in the block.  This seems to be the second time it just stopped working.

I had this issue in 1.1.11 and had to reinstall treasury.  Now that im on RC2, it all of a sudden stopped working again.

I did receive the donation, but its not showing in the block.

EDIT: he didn't select the "Show i donated box" whenever he donated.  Now that I have accepted it, it shows.  Retard move on behalf of a retard. 

Great plug in thanks guys.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: DasVON on January 13, 2010, 07:01:03 PM
Can I add a donation manually even if it is not a payment thru paypal (for example a bank deposit) if so how ?
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: XtcruleZ on January 27, 2010, 04:35:41 PM
Ok, i have a problem. When someone donates money using the Treasury, i get the money in my Paypal account, but their donation is not displayed anywhere on my forum. Not on the Block on the homepage and not in the AP section of the Treasury either. Any suggestions to get this fixed?

Ok, i got it working properly. The information in the readme is not accurate. In your Paypal Instant Payment Notification settings, the Notification URL MUST be set to point to the "ipntreas.php" file. Once i did that, everything worked. The author needs to update his instructions in the readme file that comes with this Mod. Hope this helps others with this problem.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: dakpluto on February 06, 2010, 12:03:03 PM
Is it possible to display the chart that is on the treasury main page somewhere else on my site as well?  I have tried but have not been able to get it to work.  If someone could help me that would be great!

Just another request for assistance on this if possible :(  Would love to have at the very least the bar, goal, and balance visible on the top of the forums without having to go into the donation menu.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: Resourcez on February 09, 2010, 02:12:10 AM
The information in the readme is not accurate. In your Paypal Instant Payment Notification settings, the Notification URL MUST be set to point to the "ipntreas.php" file. Once i did that, everything worked. The author needs to update his instructions in the readme file that comes with this Mod. Hope this helps others with this problem.
Rubbish - the ReadMe is correct - read it properly.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: shadowcrews on February 14, 2010, 07:56:07 AM
when i make payment i get this error from paypal website

The seller accepts encrypted website payments only. You cannot pay the seller through un-encrypted buttons. Please contact your seller for more details.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: steve51184 on February 14, 2010, 08:15:23 PM
anyway to integrate this into simpleportal as a block?

or show the donatormeter/donation link via html/php that i can include?
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: edi67 on February 15, 2010, 05:53:01 AM
seem to be very very nice
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: edi67 on February 15, 2010, 07:47:04 AM
I've no intention of posting it here as well as on my site - as with most sites, attachments are only accessible by registered users.

Wait a week or so and you can use SMF2 RC2 - they appear to have fixed their bug.

by weeks i trying to register but NEVER received Activation email

you can do something? edi67 my nickname


Weel received activation, downloaded attachment Changed file , but without effectt always same error table dont exist...

please you can write me how create that table manually ? please
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: steve51184 on February 15, 2010, 01:34:29 PM
ok i've done everything the mod say to do to setup but i can't get the donations working/added automatically...

i also don't understand how this mod gets the paypal info anyway as it doesn't use IPn and it doesn't have my paypal account password so how does it know if the donation went through and the fees and donators username etc etc
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: steve51184 on February 15, 2010, 05:13:35 PM
nm i think i've got it... will test it ;)
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: MordyT on February 18, 2010, 03:33:16 AM
Hmm.. I get this when trying to do anything in the admin center....
Method Not Implemented

GET to /admin/ not supported.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: steve51184 on February 18, 2010, 06:52:45 AM
hey all i've got this setup working fine but i'm using an event with the id of 1 and when someone donates it shows in my admin donations page with id 0 so i have to change it to id 1 to show in the users donation/treasury page can this be changed?

and yes i have that event active in my admin cp
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: steve51184 on February 20, 2010, 08:15:25 AM
hey all i've got this setup working fine but i'm using an event with the id of 1 and when someone donates it shows in my admin donations page with id 0 so i have to change it to id 1 to show in the users donation/treasury page can this be changed?

and yes i have that event active in my admin cp

any help on this guys?
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: adbrad on February 21, 2010, 06:12:03 PM
just downloaded and installed on test forum works great so far
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: steve51184 on February 21, 2010, 06:37:01 PM
hey all i've got this setup working fine but i'm using an event with the id of 1 and when someone donates it shows in my admin donations page with id 0 so i have to change it to id 1 to show in the users donation/treasury page can this be changed?

and yes i have that event active in my admin cp

any help with the above PLEASE?

also there not getting added to the group i defined in the admin cp
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: pOwah on March 04, 2010, 07:13:51 AM
Halp!

I have a problem with some donations staying as 'Pending' but others completing fine, and listing on the Treasury page.

Not sure what info to include with my post, so any direction will be greatly apprteaciated :)

Sorry for the somewhat vague post, just hope I can get this sorted - and settle donator's concerns when they see their giving isn't registered :/
Title: No button
Post by: Josh79 on March 07, 2010, 06:44:48 PM
I have set up everything correctly, file permissions and all.

I return a successful test when testing IPN.

No donation button is showing up.  I have default theme with basic css changes. 

http://nativewisdom.net/forum (http://nativewisdom.net/forum)

Where is the button supposed to be?
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: - danny on March 07, 2010, 10:06:44 PM
hey. can someone advise how we're to activate the tp block?

also, i'm currently getting this error:

Code: [Select]
2: include() [<a href='function.include'>function.include</a>]: Failed opening '/home/xxxxx/public_html/treasury/DonationBlock.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
File: /home/xxxxx/public_html/Themes/default/TPBlocks.template.php(48) : eval()'d code
Line: 2

any idea on either?

smf 1.1.11

thanks.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: MordyT on March 08, 2010, 09:24:13 PM
Please tell me this is RC3 Compatible...
Title: Treasury for SMF 1.1.x and 2RC3
Post by: Resourcez on March 09, 2010, 12:23:43 AM
Not RC3 compatible, yet, as there was a change to Profile.php in the new release - update will be released shortly.

Update: Treasury v2.05 for SMF2 RC3 now released - it will only install on RC3.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: MordyT on March 09, 2010, 10:14:59 AM
Thanks!
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: More-to-life on March 10, 2010, 02:11:38 PM
Im a bit confused as it says on the file modified for SMF 2 RC3
On the forum not modified for RC3 & does not install on RC3 (not for that version on install)

Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: - danny on March 10, 2010, 02:21:43 PM
hey. can someone advise how we're to activate the tp block?

also, i'm currently getting this error:

Code: [Select]
2: include() [<a href='function.include'>function.include</a>]: Failed opening '/home/xxxxx/public_html/treasury/DonationBlock.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
File: /home/xxxxx/public_html/Themes/default/TPBlocks.template.php(48) : eval()'d code
Line: 2

any idea on either?

smf 1.1.11

thanks.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: Xarcell on March 11, 2010, 02:10:23 AM
I have a quick question.

In the donations block, I'd like to move th donations image below everything. I looked through the template files but didn't see it.

Any help?
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: LC on March 12, 2010, 07:49:51 PM

The MySQL Client API version to run this seems like a weird requirement for this mod. Even though mine was compatible (MySQL Client API version   5.0.22.) , it still wouldn't function properly.

Oddly enough, I can use the subscriptions feature offered on 2.0 without issue.

Anyway, since there wasn't much information provided by Mod Author's thread on his/her site about this, so I uninstalled this mod. I think I will be using the subscription method for donations and make a custom PHP script for a portal block.

Just a suggestion for those experiencing the same issue as I.

Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: MordyT on March 14, 2010, 03:58:59 AM

The MySQL Client API version to run this seems like a weird requirement for this mod. Even though mine was compatible (MySQL Client API version   5.0.22.) , it still wouldn't function properly.

Oddly enough, I can use the subscriptions feature offered on 2.0 without issue.

Anyway, since there wasn't much information provided by Mod Author's thread on his/her site about this, so I uninstalled this mod. I think I will be using the subscription method for donations and make a custom PHP script for a portal block.

Just a suggestion for those experiencing the same issue as I.


the authors website is a great place to get support. I got my issue solved in a couple days.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: Eclipse16V on March 14, 2010, 07:00:53 AM
I have this error on RC3
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: LC on March 14, 2010, 03:10:57 PM

The MySQL Client API version to run this seems like a weird requirement for this mod. Even though mine was compatible (MySQL Client API version   5.0.22.) , it still wouldn't function properly.

Oddly enough, I can use the subscriptions feature offered on 2.0 without issue.

Anyway, since there wasn't much information provided by Mod Author's thread on his/her site about this, so I uninstalled this mod. I think I will be using the subscription method for donations and make a custom PHP script for a portal block.

Just a suggestion for those experiencing the same issue as I.


the authors website is a great place to get support. I got my issue solved in a couple days.
That's what I was referring to. The answer provided wasn't very specific.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: IdanC on March 16, 2010, 10:24:03 AM
i'm trying to add a new currency - NIS, which even though PayPal supports, it's not one of this great mod's currencies.

so i added this line to the db -
Code: [Select]
INSERT INTO `smf_treas_targets` (`name`, `subtype`, `value`) VALUES ('currency', 'NIS', '₪');
could it be that simple, or i'm living in a fantasy world?
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: Resourcez on March 16, 2010, 07:10:05 PM
If you're using SMF2 RC3, v2.06 makes provision for the NIS - note that PayPal protocol requires that it still be called ILS.  Otherwise,
Code: [Select]
INSERT INTO `smf_treas_targets` (`name`, `subtype`, `value`) VALUES ('currency', 'ILS', '₪');
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: IdanC on March 16, 2010, 07:15:55 PM
thank you so much!

and to offer my humble assistance to any who follows, attached is a Hebrew translation
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: Foreclosurepedia on March 18, 2010, 01:01:20 PM
Halp!

I have a problem with some donations staying as 'Pending' but others completing fine, and listing on the Treasury page.

Not sure what info to include with my post, so any direction will be greatly apprteaciated :)

Sorry for the somewhat vague post, just hope I can get this sorted - and settle donator's concerns when they see their giving isn't registered :/

This is happening for my site as well!  International Brotherhood of Rail Riders (http://ibrr.org/forum) is the site.  SMF 2.0 RC2, Curve Theme.  This is quite a critical issue as we recently implemented your mod and need to know whether or not we can correct this or shop for software.  I implore you to answer at your earliest convenience as the quote shows the issue came up several days ago.  Yes, I tested the connection.  Yes, the amount shows up in PayPal.  Here's the deal on the note about "Waiting on eCheck clearance":  it is already deposited in my PayPal so this would seem to be moot.  Attached is the screenshot.

Added:  Look, I will never have a pending payment.  Is it possible to just remove the coding there so that when money is deposited in PayPal it reconciles to show it in the Treasury?  We are hobos and no one has a check or credit card.  Everything is done via debit cards or monies in PayPal accounts.

Thanx for all ya'll do and I am very sorry if the problem is on my end.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: Foreclosurepedia on March 18, 2010, 05:23:02 PM
Not trying to bump the thread, I just didn't know how to attach another image.  This one is of the log as I thought it might help?  I edited the personal stuff (probably missed some  :D). 

In the worst case scenario can I just go into the Donations area, edit the box that says Pending and type Completed and add the Fee and Settle info and then all will be ok?

Added:  So, I manually edited the entry and it calculated things fine.  Am still curious about the 'Why" behind everything.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: IdanC on March 18, 2010, 06:27:51 PM
hi again,

i noticed that when usernames are in utf-8 (like in hebrew or arabic) then the username passes to PayPal scrambled.

if you could just point me to the place in the code where the username is sent to PayPal, and i'll be happy to post a fix.

thanks!
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: - danny on March 18, 2010, 10:16:09 PM
with reference to the question i asked ealier about the tinyportal / portal block...it's been resolved.

from the support site:

Quote
These instructions apply from Treasury v2.32 with any Portal version for SMF 1.1.x or SMF 2.x that supports the use of PHP blocks, as follows:

Treasury will automatically install the DonationBlock to the Sources directory as part of the package installation, so you just need to add the code to your Portal, or edit existing code.

Create a Portal php block with this code:

Code: [Select]
global $sourcedir;
include("$sourcedir/DonationBlock.php");

Hope that info helps someone...

Cheers.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: Foreclosurepedia on March 19, 2010, 12:40:23 AM
with reference to the question i asked ealier about the tinyportal / portal block...it's been resolved.

from the support site:

Quote
These instructions apply from Treasury v2.32 with any Portal version for SMF 1.1.x or SMF 2.x that supports the use of PHP blocks, as follows:

Treasury will automatically install the DonationBlock to the Sources directory as part of the package installation, so you just need to add the code to your Portal, or edit existing code.

Create a Portal php block with this code:

Code: [Select]
global $sourcedir;
include("$sourcedir/DonationBlock.php");

Hope that info helps someone...

Cheers.

That helped me!!! ;D  Thanx as I can now add a block!
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: Foreclosurepedia on March 30, 2010, 05:56:44 PM
So, my fix was provided by Resourcez on Treasury's support forum.  It is located here (http://resourcez.biz/index.php?topic=594.0).

The support on the site is phenomenal; however, remember to include a screen shot of the log to help them understand what the issue(s) may be.
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: IdanC on April 12, 2010, 08:25:22 AM
i noticed that when usernames are in utf-8 (like in hebrew or arabic) then the username passes to PayPal scrambled.

solved! - http://docs.moodle.org/en/enrol/paypal
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: ukhalik2 on April 13, 2010, 02:53:09 PM
I have a problem,

after choosing the amount of donation, when someone is redirected to paypal site to donate, my email is shown instead of site logo..
and at bottom, it shows text "Return to myemail@yahoo.com" and when i click on it, it leads back to my website, I think it should be the name of website there..

here are the screenshotS!
Title: Re: Treasury for SMF 1.1.x and 2RC2
Post by: Kimmie on April 16, 2010, 10:25:00 PM
I am running SMF 2.0 RC1.2. Is this mod compatible with it? I also noticed that the screenshot from that site shows the information in a TP block. I dont run TP, I use SimplePortal. How will that work?
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: More-to-life on April 25, 2010, 09:24:00 AM
Hi Guys

Do to an error with another mod I had to reinstall smf 2.0 RC3 I also reinstalled Treasury mod but this time it won't work

I setup the permissions so everyone can see & use the treasury but I have no menu button so I typed in the treasury URL & all I got was the smf menu & side bars but the middle of the page was blank (no treasury)
I've tried uninstalling & reinstalling everything
I get no errors in the log

Im running the following mods
Ajax Chat
Pretty urls
Tinyportal
Ad mangement


Before my forum reintall everything worked fine with all these mods so im lost

Any ideas?
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: More-to-life on April 25, 2010, 09:49:28 AM
**SLOVED**

Strange but true it has just appeared after I went into my ftp server & re-freshed the folders :o



Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: DawnsWebDesigns on April 28, 2010, 05:25:13 AM
The package manager hasn't been working.  You have to create a temp dir in your packages folder & chmod it to 777. 

I thought I did it to both my sites running this software but evidently only to one.  I couldn't get it to work w/ this mod.  There's no sql file in this mod package.  I tried to run queries & that didn't work either.

So I decided to add a temp dir & try uploading it again.  Finally it sets up the database (that's all).  I've already uploaded all the files once.  And I've already done all the manual file edits.  However...I can't find the admin button to save my life.  Not in the admin section & not when clicking on donations.  Luckily somebody posted a link to it & I was able to get to it but it'd be a whole lot easier to deal with if there was a link to admin it somewhere.

I uploaded the files again via file manager rather then ftp...in case that was the problem.  That's not the problem.

http://dawnswebdesigns.com/family/forum/

I don't even know if you can see the donation button.  But there's a link to my site in case you need it. :)

Any help would be much appreciated.   :)
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: kichu on May 02, 2010, 01:04:39 AM
How to Show Donation information Box in Tiny Portal Right Side Block ?

Any Code ?
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: Kill Em All on May 02, 2010, 08:57:26 PM
I used this:
http://www.chipin.com/

Just simple HTML code.
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: - danny on June 02, 2010, 10:13:05 PM
hey.

i've had this error for some time, but just now have had time to come and see if i can get support for it.

this is the error message:
Code: [Select]
8: Undefined variable: sc
File: .../public_html/Sources/Subs.php
Line: 2852

line 2852 is this:
Code: [Select]
'treasury_settings' => '<a href="' . $scripturl . '?action=treasuryadmin;sesc=' . $sc . '">' . $txt['treasury_admin'] . '</a>',
any clue what's going on?

thank you in advance.
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: - danny on June 05, 2010, 04:58:28 PM
any help? :-\
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: Bruno36 on June 07, 2010, 03:29:16 AM
hello!

I have an error in my journal, line 1363

http://www.scooter-chinois-4t.com/index.php?action=admin;area=treasury
The database value you're trying to insert does not exist: user_id
Function: donorGroup
Fichier: /home/www/sospc/www/phpbb/Sources/TreasuryAdmin.php
Ligne: 1363

1343:    $isgroup = $smcFunc['db_query']('', '
1344:       SELECT id_group 
1345:       FROM {db_prefix}membergroups
1346:       WHERE id_group = {int:group_id}
1347:       LIMIT 1',
1348:       array(
1349:          'group_id' => $group_id,
1350:       )
1351:    );
1352:    # Check the user is not in a group.
1353:    $requesta = $smcFunc['db_query']('', '
1354:       SELECT additional_groups
1355:       FROM {db_prefix}members
1356:       WHERE FIND_IN_SET({int:donor_group}, additional_groups)
1357:          AND id_member = {int:user_id}
1358:       LIMIT 1',
1359:       array(
1360:          'donor_group' => $group_id,
1361:          'user_id' => $user_id,
1362:       )
==>1363:    );
1364:    $ingroupa = $smcFunc['db_num_rows']($requesta);
1365: 
1366:    $grouplog = '';
1367:    # Do we want anonymous users added to groups?
1368:    if ($tr_config['group_anonymous'] == 0  && $option_seleczion1 == 'No') {
1369:       $grouplog .= $custom.' not added to Donor Group - anonymous disallowed.';
1370:    }
1371:    elseif (empty($isgroup)) {
1372:       $grouplog .= 'Donor group does not exist.<br />';
1373:    }
1374:    elseif ($ingroupa) {
1375:       $grouplog .= $custom . ' is already a Donor group member';
1376:       # If using duration limited
1377:       if ($tr_config['group_duration']) {
1378:          $request2 = $smcFunc['db_query']('', '
1379:             SELECT id 
1380:             FROM {db_prefix}treas_subscribers 
1381:             WHERE user_id = {int:userid} 
1382:                AND group_id = {int:groupid} 
1383:             LIMIT 1',
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: - danny on June 08, 2010, 12:17:25 AM
hey.

i've had this error for some time, but just now have had time to come and see if i can get support for it.

this is the error message:
Code: [Select]
8: Undefined variable: sc
File: .../public_html/Sources/Subs.php
Line: 2852

line 2852 is this:
Code: [Select]
'treasury_settings' => '<a href="' . $scripturl . '?action=treasuryadmin;sesc=' . $sc . '">' . $txt['treasury_admin'] . '</a>',
any clue what's going on?

thank you in advance.

any help? :-\
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: Liam. on June 08, 2010, 12:01:05 PM
Well ~aLEX, did it install fine, without any errors?

It seems like $sc isn't being defined, mind attaching your whole Subs.php?
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: Cory94bailly on June 13, 2010, 02:36:14 AM
I really hope I can get some quick help with this..

(http://gyazo.com/ec084ff786c78ae0813e3177e88ff4f6.png)

I'm getting that while trying to install the mod. I tried uploading multiple times and clicking the 'Install' link multiple times.
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: - danny on June 14, 2010, 12:38:22 AM
Well ~aLEX, did it install fine, without any errors?

It seems like $sc isn't being defined, mind attaching your whole Subs.php?

by all means. if you find out what's causing it, i'd love to know.
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: Bruno36 on June 14, 2010, 03:22:06 AM
Hello!

The dates are in English and not in french
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: Matt.B on June 19, 2010, 12:03:29 PM
hi people are donating but cant see it on the meter

Code: [Select]
Debug mode activated

SMF2 Treasury mod

PayPal Instant Payment Notification script

See below for status:
----------------------------------------------------------------
Curl isn't available.
Opening connection via http and validating request with PayPal...

OK!

Selecting database......

Executing test query....

PASSED!

PayPal Receiver Email: myemail@gmail.com

Is this really your PayPal Email address?
Logging events....

1 event inserted into the log.

----------------------------------------------------------------
If you don't see any error messages, you should be good to go!

when i clicked PayPal IPN notify file
Click here to test IPN ipntreas.php.

 Donate with PayPal!
June Goal: $100.00
Due Date: Jun 30
Total Receipts: $0.00
PayPal Fees: $0.00
Net Balance: $0.00
Below Goal: $100.00
Site Currency: USD

thats what it shows
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: C4G-TK on June 19, 2010, 12:45:55 PM
I just got help for a problem recently at the Author's site.  Support was VERY quick and helpful.  If you need help, I suggest going there.  Sometimes it is difficult to give support in so many areas, but being able to go to keep the support in one place (like the Author's site) is very beneficial.  This way all the answers are found in one place and not scattered amongst other places.  Be sure to read or search for your answer before asking though.

http://resourcez.biz/index.php
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: xReaperx on June 20, 2010, 01:36:08 AM
Is there a treasury that is compatible with Simple portal? I want to add a block on my simple portal for this but i think it is only compatible for TP.
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: C4G-TK on June 20, 2010, 02:18:46 AM
There is a post on their site that tells you what to put in the PHP block for all portals.

Hold on.  I did this earlier today and it worked fine on my RC3 forum with SimplePortal.

http://resourcez.biz/index.php?topic=92.0
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: phxmaximus on June 20, 2010, 12:56:57 PM
Is there a treasury that is compatible with Simple portal? I want to add a block on my simple portal for this but i think it is only compatible for TP.

I run this on my simple portal forum.

www.clan-phx.com
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: sattninja on July 08, 2010, 12:24:06 AM
ok guys i have a problem i installed this and it works great i added a block on my simple portal and it was working fine i used this code

global $sourcedir;
include("$sourcedir/DonationBlock.php");

when i received my first donation it showed everything

(http://i27.tinypic.com/2agnig3.jpg)

as you can see it shows all the info  for the first donation however nothing pertaining the the donation i got today is there but it is listed in the mod so why is it not getting pulled to the block
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: sattninja on July 08, 2010, 12:42:52 AM
ok got  a clue here i looked at the donation in the mod admin section and it shows

Edit
Delete   6GK81714CS419135N   rick   Yes   Pending   CAD   25.00         07/07/2010 20:01:59      0

i would have to think this is the problem i accepted the donation in paypal how do i get it out of pending
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: tRu3_sKiTz0 on July 08, 2010, 10:46:26 AM
Okay, first off thanks for this mod. I have been wanting to add a dynamic donation feature since I started my forum. I have had a paypal acct for a whaile and I put all of the information that I know off ahnd but there are some options and settings that I dont undestand. I just need help setting this up I guess.
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: sattninja on July 08, 2010, 05:55:05 PM
ok i was able to fix it by entering the info manually
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: tRu3_sKiTz0 on July 08, 2010, 09:49:25 PM
yeah and never mind my last post I had to set up the premium acct on paypals end thanks great mod!
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: davyp74 on July 27, 2010, 11:01:53 AM
Hi,
i need to put on my forum page, near the personal avatar, only the progress bar of the donations.

Can anyone help me?
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: IceXaos on July 28, 2010, 01:03:34 AM
Two questions.  How would I add the donation to right of the page using the AD mod, that allows me to use PHP & HTML on a sidebar easy.

2nd, how do I add the user to donor group when they donate if they're in the regular members group?

ty
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: chilly on July 28, 2010, 03:03:53 AM
Got a qustion too. (without having a look at the code yet)
I'd like to have treasury integrated to an integration site I wrote for our forums.
So when the donation is confirmed I'd like to add that info to the users account (special column since I will have to modify it later)
Is there something like SMFs Integration hooks or do I have to modify the treasury code? (If you can give me a hint where to look especially that would be nice)
thanks
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: IceXaos on July 29, 2010, 11:14:53 AM
Got a qustion too. (without having a look at the code yet)
I'd like to have treasury integrated to an integration site I wrote for our forums.
So when the donation is confirmed I'd like to add that info to the users account (special column since I will have to modify it later)
Is there something like SMFs Integration hooks or do I have to modify the treasury code? (If you can give me a hint where to look especially that would be nice)
thanks
The MOD already logs all donations by each user and has a separate section in their profile.
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: chilly on July 30, 2010, 10:19:47 AM
Thats ok ;)
But I need to add some of my own code to the section where the MOD actually gets the confirmation. So I can take that information and add it to my own tables which are used on smf integrated sites. (can't use same table / column
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: MordyT on July 31, 2010, 12:19:06 AM
Anyone using this with SMF 2.0 RC3 and SimpleDesk in standalone mode?
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: chilly on July 31, 2010, 03:39:31 AM
i'm still not sure where treasury gets the confirmation from paypal so I decided to add a new column to the table and mark every row that I checked.
But one question remains: the table {prefix}treas_donations. Does it contain only confirmed donations / refunds?
The queries used for the user profile don't check for the status so i'm wondering if I missed something or there are only confirmed payments in that table
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: dkharp on August 24, 2010, 07:36:05 PM
Hello and thank you for the great mod.

I was wondering how do you get the donation tab to say "contribute" instead of donations?
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: dabears on September 02, 2010, 03:06:48 PM
The only place I could find the word "contribute" was in the /TreasuryReadMe.php file of the mod.  Look for that file in your /Sources directory.

Hopefully that's what your looking for, I do not use this mod so I am not 100% sure.
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: MordyT on September 02, 2010, 06:21:14 PM
Probably going to be in the index.language.php file in Themes / default / languages (obviously replace language with the name of your language)
Title: Re: Treasury - v2.36
Post by: vkot on September 13, 2010, 06:19:25 AM
Treasury v2.36 Released.
  • bug fix for locale setting.
  • some extra language settings defined.

I'm confused, where is the 2.36 version? I don't see it in the simplemachines' mod section, nor in the first message of this thread, nor in resourcez.biz.
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: Resourcez on September 13, 2010, 07:13:07 AM
Sorry friend - dispatched to the dark side - just too hard maintaining one package for both versions of SMF.

SMF Mod Site: http://custom.simplemachines.org/mods/index.php?mod=916
Quote
Changed April 2010:
Note: now separate versions!
  • v1.04 for SMF 1.1.x
  • v2.06 for SMF 2RC3
Simply choose your flavor.
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: vkot on September 23, 2010, 02:57:26 AM
I have already tried installing version 2.06, but when I access the page http://xxxxxxxx/index.php?action=treasury I have this problem:
Code: [Select]
Unknown locale: 'el_GR'
File: /xxxxxxx/Sources/Treasury.php
Line: 97
That's why I was looking for a later version...
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: epfyffer on October 15, 2010, 01:33:25 AM
Hello,

thanks for this really great mod !!

I have a question : I have changed the paypal account address (I got a certain ammount of donations on the X adress, and now I use a new adress Y). I have changed the setting in the paypal log, but i have a problem. The money now comes in the new aco******, it's ok... the name of the donator comes in the block, it's ok... But in the counter, the amount are now blocked to what I get with the first paypal account. I get the money, the name are displayed, but the counter do not display the amounts coming in the new account... !

Any idea ?

Thanks
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: Kat9119 on October 19, 2010, 01:26:30 AM
trying to install this on my local machine to test, however it says it cannot without editing the chmod...well, its on my local machine, I don't think you can do that.

Any way around this to test the mod?
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: TheMortician4 on October 24, 2010, 03:53:54 AM
I am running SMF 1.1.11 with Simple Portal 2.3.2, When I go to apply this mod 1.04, it brings up the FTP system and requests the SMF route. I copy and pasted that route in the field and I get a 505 error that the route does not exist.

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
SimplePortal 2.3.2 © 2008-2010, SimplePortal Page created in 0.621 seconds with 29 queries.
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: anakmacan on October 30, 2010, 02:04:38 AM
Well ~aLEX, did it install fine, without any errors?

It seems like $sc isn't being defined, mind attaching your whole Subs.php?

I have similar problem.
Title: Treasury Module
Post by: ronsbach on October 30, 2010, 04:35:05 PM
I am having a hard time getting this to work on our site. I am using SMF 2.0 RC3 any help would be great. I cant get it to log our donations.
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: lord alibaski on November 01, 2010, 11:19:55 PM
Any chance of updating this m8 to work with SMF 2RC4?

Thanks Lord Alibaski
Title: Treasury for SMF 1.1.x and 2RC4
Post by: Resourcez on November 02, 2010, 07:51:40 PM
Updated for RC4 - v2.08 available in mod download.
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: lord alibaski on November 02, 2010, 08:21:25 PM
Excellent m8 that was quick.

Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: lord alibaski on November 02, 2010, 08:29:59 PM
I forgot to ask

I have version 2.07 installed on 2RC4 will I be ok to just deleted the files

(http://i52.tinypic.com/inh1k3.png)

and then upload version 2.08?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: TheMortician4 on November 05, 2010, 02:28:13 PM
Okay, 1.04 installed fine and the system is working seamlessly....
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Draffi on November 22, 2010, 04:21:37 PM
Hello !

Have somebody a version for SMF RC2 ? It´s gone in the download-area...

(I know, i need to update, but i have a forum with some paid modifications and manual edits, so for me it is not easy - the update)

Thank all in advance.
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Kill Em All on November 23, 2010, 09:08:44 PM
Draffi, this is not the topic to be asking this question. Please look in the downloads section under archives.
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Draffi on November 24, 2010, 05:07:34 PM
@Kill Em All:

Thank you for the reply. I was doing, but under "download => archives" i can find only older version from the great SMF-Forum-Software, but no modifications.

And i was asking "Have somebody a version for SMF RC2 ?". Sorry, was not clear enough for you. I mean "Have somebody a version from this TREASURY Mod for SMF 2 RC2 (mayby on hard-disc or in the "packages"-directory online) for the Forum-software SMF 2 RC2 ?

In this case, i think this is the right place for to ask.

I dont want to install SMF2 RC2, i want this mod.

Please, have somebody a more useful answer ?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Kill Em All on November 24, 2010, 09:23:50 PM
Ah my mistake, there might be one hidden in this topic somewhere as an attachment, but it looks like the mod author took down the version for RC2.
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Kajol on December 30, 2010, 09:57:08 AM
Another question.
Some of my Donators donate money through Bank account because they don't have a Paypal Account.
Is there any possibility to add donations manually?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: AM Woody3 on December 31, 2010, 11:42:02 PM
I am running 1.1.12.  A couple months ago I ran an event.  Ever since that event I haven been able to get it to roll over and reset at the end of the month.  Is there a way to force it to reset?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: MordyT on January 25, 2011, 05:47:04 PM
Another question.
Some of my Donators donate money through Bank account because they don't have a Paypal Account.
Is there any possibility to add donations manually?
Yes, go into the Treasury options and set it yourself.
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: AST3R1X on February 13, 2011, 03:10:06 PM
Hi Resourcez,

I've just installed the treasury mod on a SMF 2 RC 4 site, all is ok and it installed cleanly.

However I am having a problem with the permissions.

I have 2 sub admins who have responsibility for the donation side. They are in their own membergroup with unique permissions. I grant them admin rights to the Treasury mod but they can't see it. The only way I can get them to access the admin of your mod is to grant them full forum admin rights including permissions to the databases etc. Obviously I dont want to open those doors.

Is there a way in which I could allow the sub admins to access the Treasury Admin only?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: gisfreak on February 14, 2011, 03:13:27 AM
when i check in ipntreas.php, i get this :

Code: [Select]
Warning: curl_setopt() [function.curl-setopt]: Invalid curl configuration option in /home/gis4unet/public_html/forum/ipntreas.php on line 70
how to overcome those error ?

 ::)
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: king999 on February 22, 2011, 06:48:38 AM
I want any one donate through this mod how it's possible i want any7 one donate for my site only admin see treasury and my other members get error like you can't view http://www.sharethetrick.com/index.php?action=treasury tell me how to solve this problem
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Kat9119 on March 09, 2011, 01:39:25 AM
I've tried registering for the creators website. Had email activation sent twice, checked my spam folder...still nothing.

I cannot find the following IPN info on the Account area of Pay Pal....therefore i cannot follow the "read me" directions.

Quote
# Treasury requires IPN settings in your PayPal account "Profile":
• Set 'IPN' to 'On' in "Instant Payment Notification Preferences".
• This will also require a URL to be entered - anything will do, but not blank.

The URL you set here is NOT important as Treasury operates from its own Notify and Return URLs which ignore, and are independent of, your PayPal settings.
• Why? If you already have an IPN setting activated for some other program, it will continue to function for that program.
• Example? If you have already set your IPN URL so that you can use, say, Paid Subscriptions, then you can leave the URL on PayPal as it is, and still use Treasury.

# You should also modify "Payment Receiving Preferences" in your "Profile" area:
• Check your option for "Block payments sent to me in a currency I do not hold:".
• You should set this to the second option "No, accept them and convert them...".

Failure to do this means you will have to manually confirm each payment within your PayPal account and the donation will NOT show on your site.

# Treasury settings in "Website Payment Preferences" - you need to set:
• Set/Leave 'Auto Return' to 'On', repeat 'On' in "Website Payment Preferences".
• Set/Leave 'Payment Data Transfer' to 'Off' in "Website Payment Preferences".
If you need to have PDT 'On' for some other reason, you may have to manually add donation data.

# Settings in "Currency Balances" - these should not need changes:
The PayPal default is fine - a primary currency which is Open and all other currencies Closed.
If you do not have special reasons for operating with multiple open currencies, DO NOT fiddle!
If you do have special reasons, you will not receive exchange rate and settle amounts from PayPal for non-primary currencies which you have Open.
You WILL have to manually edit all Treasury transactions for currencies you receive that are not your Primary Currency!

I can't find any of these. I've been looking for hours. Its probably staring me in the face. But I don't see any of these options.

Can anyone help me with this? Do you have to have a special paypal account? I have a "personal" one. Maybe these directions were written before they changed stuff on PayPal? I have no idea. but I'm about ready to pull my hair out lol.
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Bigguy on March 09, 2011, 04:15:39 PM
Have you searched paypal for ipn. ???
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Kat9119 on March 09, 2011, 04:53:10 PM
Have you searched paypal for ipn. ???

Of course. lol. I ended up calling PayPal and they helped me figure it out. It was all hidden because you cannot do it with a personal account. This should be listed somewhere on this mod. But it isn't.

Also, a lot of the areas on the profile over at PayPal have been updated according to the woman I spoke with, so they are renamed. She was very helpful and pointed out to me where to find specifics.

Hope this helps someone else who wants to install it.

Mine works great now!
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Smasher on March 14, 2011, 03:01:48 AM
I have had this mod running great for approximately a month now with no problems until I went to manually add a donation.

When I look up the persons account (Profile Info > Show Donations) it DOES show that the donation was made. The additional group was also changed to "Donator" like it was supposed to. However when you look at the donation page (action=treasury) where it lists who made donations it shows everyone besides this person.

When I did this I added all information like I was supposed to including the Yes to display name.

Any help would be appreciated.
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Kajol on March 17, 2011, 08:19:50 AM
Another question.
Some of my Donators donate money through Bank account because they don't have a Paypal Account.
Is there any possibility to add donations manually?

Yes, go into the Treasury options and set it yourself.

Thanks, but do I find the "options"?
I only have
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Smasher on March 17, 2011, 01:10:41 PM
When you click on "Donations" it will list all of your current donations. Under them there is boxes for you to input manually. Under the "Name" column if you put the users id it will associate that donation to that persons account.

However when I did this it did show the donation and I was able to see it under the persons account BUT it was not showing up for me on the page where it lists who has donated... if you add someone manually can you post back if that shows up for you or not....
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: TheMortician4 on April 05, 2011, 04:19:02 PM
I am trying to install this mod on SMF 1.1.13. I am using the emulation mod to emulate 1.1.12.

When I go to apply the mod, I get to the FTP Information Required screen.

I entered the information, and I get this message;

Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.


Why?

Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: ford1001 on April 17, 2011, 04:07:41 AM
Is it possible for me to remove the "Do you want your username to be shown?" bit? I want all donations to be anonymous
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: samurai-lupin on May 01, 2011, 11:29:55 AM
Hello, I would like to add the avatar of a donator next to his name in the treasury page. Can someone please kindly let me know what code I would need to add? Thank you!

Code: [Select]
if (isset($context['rows_donators']))
{
foreach ($context['rows_donators'] as $donators_rows)
{
if ( $donators_rows['amt'] > 0 )
{
$doname = (strcmp($donators_rows['showname'], 'Yes') == 0) ? $donators_rows['name'] : $txt['treas_anonymous'];
$doname = (($donators_rows['name'] == $context['user']['name'] || allowedTo('admin_treasury')) && $donators_rows['user_id'] > 0) ? '<a href="' . $scripturl . '?action=profile;u=' . $donators_rows['user_id'] . ';sa=showDonations" style="text-decoration:underline;">' . $doname . '</a>' : $doname;

echo '<tr>';
echo '<td valign=middle>xxx Avatar</td>';
echo '<td align="left" valign=middle class="treasurytext"> ';
echo $doname;
echo '</td>';
echo '<td valign=middle class="normaltext">';
if ( $tr_config['don_show_amt'] )
{
echo $donators_rows['symbol'].($donators_rows['currency'] == 'JPY' ? round($donators_rows['amt'],0) : $donators_rows['amt']), ' (', $donators_rows['currency'], ')';
}
echo '</td>';
echo '</tr>';
}
}
}
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Kajol on May 04, 2011, 06:16:51 AM
Thanks Smasher, works great.

I have another question. Since I updated the Simple Portal I don't have the block for the Treasury anymore. I can't remember if there was an individual block for or it or how it worked...
Any idea?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: anakmacan on May 08, 2011, 03:24:01 PM
Hi, great mod btw.. :) I want to know how to add a text behind each donation amount (like in the picture below), is it possible ? what file in database or forum do i need to change and how ? Because i want to give free stuff for certain amount donation, and better free stuff for donation more than x$.
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: shadowdeath on May 08, 2011, 04:18:10 PM
This DOES require a paypal, right?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: MordyT on June 12, 2011, 03:28:25 AM
This DOES require a paypal, right?
Yes

Does this work on 2.0 Gold?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Ilkharnos on June 14, 2011, 04:47:24 PM
Hello. I have a question about uninstall. In Uninstall Notes section of Readme file, it says the following:

Quote
Note: Uninstall will deliberately NOT remove the Treasury database tables.
 For permanent Uninstall you will need to manually DROP these tables from the database:
 - smf_log_treasurey
 - smf_treas_config
 - smf_treas_donations
 - smf_treas_events
 - smf_treas_registry
 - smf_treas_subscribers
 - smf_treas_targets
 (assumes you used smf_ for your prefix)

But I don't know how do I do that. I would be grateful if you can help me.
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: arreferee on June 16, 2011, 12:18:19 AM
I tried to install this mod tonight and received the following errors:

2.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test failed
      1.    Add Before    ./Themes/default/languages/Modifications.english-utf8.php    Test failed

I'm using 2.0.  Any ideas?

Thanks,
arreferee
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: studiowi33 on June 16, 2011, 02:26:41 AM
Hello. I have a question about uninstall. In Uninstall Notes section of Readme file, it says the following:

Quote
Note: Uninstall will deliberately NOT remove the Treasury database tables.
 For permanent Uninstall you will need to manually DROP these tables from the database:
 - smf_log_treasurey
 - smf_treas_config
 - smf_treas_donations
 - smf_treas_events
 - smf_treas_registry
 - smf_treas_subscribers
 - smf_treas_targets
 (assumes you used smf_ for your prefix)

But I don't know how do I do that. I would be grateful if you can help me.

Go to your hosting control panel and enter phpmyadmin. That will take you to your forum database, where you can manually drop "delete" the noted tables. (Just select the checkbox, aat the bottom there is an option to Drop Selected.)

Leaving them there should do no harm tho...
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: anakmacan on June 16, 2011, 05:35:49 PM
I wish there are more payment options to come, like google checkout :)
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: studiowi33 on June 18, 2011, 11:41:42 AM
Hi all--

I'm running 1.1.14 and need some help. I'm using the "Custom Box" mod (it shows text/images at the top of all pages.)
How can I insert a copy of the donormeter (along with goals) into the Custom Box?

Thanks.

-s.w
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Kajol on July 11, 2011, 08:44:18 AM
This DOES require a paypal, right?
Yes

Does this work on 2.0 Gold?

Yes, I have SMF 2.0 Gold and it works great.
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: tectonny on July 21, 2011, 05:27:10 PM
How do I include the money from my parents? Brazil, Real BRL (R$)
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: NickCJ7 on July 23, 2011, 03:11:57 AM
is there any way to make a Simple Portal module?
Title: Re: Treasury for SMF 1.1.x and 2RC4 - HELP DATABASE QUESTION
Post by: SN95Forums on July 29, 2011, 05:05:15 PM
Hey all,

Im having an issue, I exported my database with this deactivated but not un-installed.

What I need to know is what does this modify in my database so I can MANUALLY erase it?

Thanks in advance,
Matt
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Plutuss on August 03, 2011, 06:29:14 PM

Is there any way to add additional currency options, or remove existing ones?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: ChaosEnergy on August 09, 2011, 09:49:01 AM
I have installed it, and entered a donation (how can i tranfer entries from registry to donations...

it does not show paypal fees and correct net balance in overview for users, but internally it is shown
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: TERMINATOR T-101 on September 09, 2011, 02:27:42 AM
hello yesterday when i was trying to insert the details from treasury ==>donation.    i am getting this error.

Quote
The database value you're trying to insert does not exist: user_id

any help please?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Rohan_ on September 18, 2011, 02:33:58 PM
Hello,

I am using this mod from last year.. It was working fine.. But currently I am having some problem.. I got donations and the username of donators is added in the treasury page but in the main Net Balance Box I don't see any update there.. It still shows that there is no donation but the donation is already complete.. Please Help

EDIT:

I Got something interesting.. 1 week ago I had different Paypal Account set in my treasury and everything was working fine... but I changed it to my new account.. And after that day new donations are not appearing on the treasury page.. Even when i add a donation manually it doesn't appear.. And when I Put my old paypal account in treasury settings again and add a manual donation then it updates in the main treasury page..

Why is this happening ?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: anakmacan on September 22, 2011, 08:50:38 AM
The mod doesnt update the page too, a member just made a donation and.... nothing happened although the transaction's completed.
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Rohan_ on September 23, 2011, 01:18:18 AM
yeah same happening with me.. if u put my old paypal email which i have put when installed treasury then the donation page updates normally.. but if the donations goes in different account then the donation page doesnt update even when i add another donation manually..
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: allthumbz on September 26, 2011, 08:32:57 AM

It is linking to PayPal, and I am receiving the donations, BUT:

After installing this, it now lists several private messages even when there are none.

Also, the log of users who contributed is NOT working, nor is the registry feature.

The top button that says DONATE does not go to Paypal, it stays on the same page.

Any ideas what is wrong?


Thanks,

Nelson

Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: vkot on September 29, 2011, 04:59:50 AM
I have already tried installing version 2.06, but when I access the page http://xxxxxxxx/index.php?action=treasury I have this problem:
Code: [Select]
Unknown locale: 'el_GR'
File: /xxxxxxx/Sources/Treasury.php
Line: 97
That's why I was looking for a later version...

Bump!
I still have the same problem, with version 2.10 now... and SMF 2.0.1
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: shaka on October 11, 2011, 08:47:58 PM
Hi guys

got the Mod installed and seems to be ok just 1 small problem

when you click on the Paypal donate icon all you get is a blank page....... any ideas  :-\
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Riater on October 17, 2011, 09:02:22 PM
im having issues with the file permissions so it can relay to paypal, where can i go to find my file permissions for it?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: 5p00f3r on October 18, 2011, 09:20:44 PM
how can i get the Block To show with simple Portal?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Cutter65 on November 01, 2011, 10:14:06 AM
how can i get the Block To show with simple Portal?

Create a custom php block in simple portal and use this code.

Code: [Select]
global $sourcedir, $settings;
include("$sourcedir/DonationBlock.php");
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: CraftyLion on November 12, 2011, 10:00:10 PM
This mod looks very interesting. I was wondering though, does it allow admins to pay commissions to users for various uses? Or does it only apply to donations?
Title: Re: Treasury for SMF 1.1.x and 2RC3
Post by: vkot on November 13, 2011, 05:34:15 AM
I have already tried installing version 2.06, but when I access the page http://xxxxxxxx/index.php?action=treasury I have this problem:
Code: [Select]
Unknown locale: 'el_GR'
File: /xxxxxxx/Sources/Treasury.php
Line: 97
That's why I was looking for a later version...

Bump!
I still have the same problem, with version 2.10 now... and SMF 2.0.1

The solution is:
Comment out the following line in Treasury.php (put // in front of it):
Code: [Select]
$smcFunc['db_query']('', "SET lc_time_names = '$lc_time'", array());
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: phxmaximus on January 27, 2012, 10:55:51 PM
I have treasury on my SMF 2.0 site and I love it, works great and error free. however, I would like the ability to disable or "turn off" the mod when my monthly goal is reached. Is there a way to do this?

Thanks

Justin
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: rootuid on February 13, 2012, 08:11:09 AM
Hi,
I moved host 1 month ago and thought that I had stopped recieving donations. I then discovered I was indeed getting donations however they are not being displayed. The ipntreas.php file wasn't working for the month but it is now.
The transaction log stops when I moved host however donations still continued but were not displayed or logged. Why were they not logged?
How do I get these missing donations to appear ? Thanks.
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Cool_Hand_Luke on February 19, 2012, 06:45:26 PM
I am trying to install Treasury Mod treasurey_v2.10,  I am running SMF 2.0.2

Getting this error:
   Execute Modification    ./Themes/default/languages/Modifications.english.php    Test failed

Everything else passed.

Is there a manual edit I can make to get this installed?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Cool_Hand_Luke on February 27, 2012, 11:46:02 PM
I fixed it.  I had to unistall my template and a small code edit.


Now, how do I add a selection for recurring monthly donations?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: fmofmpls on March 13, 2012, 09:46:38 AM
How do I prevent my eBay auctions payments from showing up as a donation? This never used to be a problem for me until I upgraded my forum and suddenly my ebay payments got intertwined with my forum donations. Any assistance would be greatly appreciated!
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Cool_Hand_Luke on March 24, 2012, 11:02:13 PM
How do I add a selection for recurring monthly donations?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: sandoz on May 29, 2012, 01:05:52 PM
i recently added treasury, but now i notice that only admins can see the donations button, regular members don't see the button
what am i doing wrong?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: ApplianceJunk on May 29, 2012, 01:27:54 PM
You need to give the other groups permission to see it.

Administration Center » Permissions » General Permissions
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Elizabeth II on July 08, 2012, 03:49:33 PM
Hello,

I've installed this mod and it works fine for showing up donations but it seems to log the transactions I make in my Paypal account and it shows up in the Donations link... How can I stop transactions being logged?

Thank you.
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: K33NY on September 01, 2012, 04:00:55 PM
Hello, I seem to get an error of the mod for some reason :S the error statement is :

8192: mktime() [<a href='function.mktime'>function.mktime</a>]: The is_dst parameter is deprecated
line 69

what does this mean?

allso donators doesnt show up on the list after making a donation :S
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Joseph H on September 13, 2012, 11:18:05 AM
I tried the mod, configured everythng. But i noticed it the donate menu button appears only on admin account. Please help, im using glacier theme
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: kim jong il on October 01, 2012, 11:51:31 AM
I installed the mod mid September with no errors.

Question.

It is now Oct. 1st, and the donations from September are still being shown on the block. The new goal total is shown, but the September donations are shown twoards the Oct goal.  How do I correct this?


Also, and less of the problem, the "%" meter of monthly goal is not correctly displayed in the donations recieved progress bar. See attached SS.


EDIT:
Nov. 5, 2012
Removed image. No support given from package developer. While I see there is a "paid" version of this mod, I am not trusting it will be either better or better supported, as to risk the $30 asking price.
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: ApplianceJunk on October 11, 2012, 10:21:09 AM
Is any support provided for this mod anymore?

Anyone know how this information I received from paypal about IPN effects this mod?

Quote

In a bulletin dated October 18, 2011, we announced that we were going to expand the number of IP addresses for www.paypal.com to improve our site’s performance, scalability and availability. As part of this transition, we planned to discontinue support for HTTP 1.0 protocol starting February 1, 2013.

We have recently identified that this change may impact the ability of some of our merchants to perform IPN (Instant Payment Notification) post-back validation or PDT (Payment Data Transfer) posts to www.paypal.com. This happens when the IPN or PDT scripts use HTTP 1.0 protocol and do not include the “Host: www.paypal.com” header in the HTTP request.

Additional Details
Starting February 1, 2013, we will require all incoming requests to have a “Host” header which complies with HTTP 1.1 Specifications. This header was not required under HTTP 1.0. IPN and PDT scripts using HTTP 1.0 may start failing with “HTTP/1.0 400 Bad Request” errors after February 1, 2013, which will result in IPN messages not being validated successfully, or PDT scripts not being able to retrieve transaction information.

Action Required before February 1, 2013
Merchants need to update their IPN and/or PDT scripts to use HTTP 1.1, and include the “Host” header in the IPN postback script.


Thanks,
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: ApplianceJunk on October 27, 2012, 11:27:35 PM
Anyone?
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: K33NY on November 24, 2012, 11:02:43 AM
For those who are wondering if there is any support on Treasury, the guy who made it has a own website fro supoort :) here: http://resourcez.donationspro.com/index.php
Title: Treasury v1.05 and v2.10
Post by: Resourcez on December 01, 2012, 07:37:47 PM
Treasury updated to provide for PayPal's February 2013 changes, some of which may already be affecting some sites.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: mamadmankan on December 12, 2012, 02:16:41 PM
this was recently updated

but im getting this error

INSTALLATIONS ACTIONS FOR "TREASURY"
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: mamadmankan on December 17, 2012, 05:42:39 PM
ok i have a problem

i have everything working but how do i

add the menu on the side of my website like

make a donation and the monthly goals and so on

how do i add it to my websites side bar ??

thanks
Title: Re: Treasury v1.05 and v2.10
Post by: stylusss on December 24, 2012, 11:34:38 AM
Treasury updated to provide for PayPal's February 2013 changes, some of which may already be affecting some sites.

I didn't install the mod through the parser. I parsed it myself. Would it be possible to tell me what it is you changed so that I can make the changes manually? I would really appreciate this.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Gryzor on January 17, 2013, 05:27:06 AM
Just wanted to say - I've been using this for over a year, and it's such a great, great mod...

Thanks so much!!!

[EDIT] Huh, just found a small issue - no formatting possible in Donations Page Text? it doesn't even display line changes?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: OzzyMozzy on January 25, 2013, 01:51:37 AM
I'm getting this error is there something i have to do before i install this mod?

*    9.    Execute Modification    ./Sources/Profile.php    Test failed
      1.    Add After            ./Sources/Profile.php    Test successful
      2.    Add After            ./Sources/Profile.php    Test failed
      3.    Add Before    ./Sources/Profile.php    Test successful
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: jafonseca on January 25, 2013, 01:04:55 PM
The mod works fine, and the payment in paypal works, but the registry in SMF does'nt work and they don't show in the forum, it doesn't update the donators, and it put that nobody has make a payment in donations tab. I have to fill the entries in in donations tab manually to show in 'block' in the portal .Ihave do all the steps, email of paypal acount, autoreturn 'ON? etc... What happens??!!
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: stylusss on January 25, 2013, 07:40:36 PM
The mod works fine, and the payment in paypal works, but the registry in SMF does'nt work and they don't show in the forum, it doesn't update the donators, and it put that nobody has make a payment in donations tab. I have to fill the entries in in donations tab manually to show in 'block' in the portal .Ihave do all the steps, email of paypal acount, autoreturn 'ON? etc... What happens??!!

Did it used to work before?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: jafonseca on January 27, 2013, 11:48:55 AM
The mod works fine, and the payment in paypal works, but the registry in SMF does'nt work and they don't show in the forum, it doesn't update the donators, and it put that nobody has make a payment in donations tab. I have to fill the entries in in donations tab manually to show in 'block' in the portal .Ihave do all the steps, email of paypal acount, autoreturn 'ON? etc... What happens??!!

Did it used to work before?

No, never works.. when the user make the donation and retun to the forum, the page says that they don't have the donation in the registry..
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: stylusss on January 27, 2013, 09:40:25 PM
The mod works fine, and the payment in paypal works, but the registry in SMF does'nt work and they don't show in the forum, it doesn't update the donators, and it put that nobody has make a payment in donations tab. I have to fill the entries in in donations tab manually to show in 'block' in the portal .Ihave do all the steps, email of paypal acount, autoreturn 'ON? etc... What happens??!!

Did it used to work before?

No, never works.. when the user make the donation and retun to the forum, the page says that they don't have the donation in the registry..

Make sure you added the ipns file into the main directory (public_html). It worked perfectly for me from day one. Also, signup to the authors modification forum, the mod author is much more active there.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: digilocker on February 05, 2013, 11:58:02 PM
Please help, i can't install this mod in my forum. i'm currently using SMF 2.04, whenever i try to install it, i can't connect this mod to my ftp server. it gives me 503 login error message, and i'm sure my username and password for my ftp server is the right one cause i've rechecked it over and over.
 
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: OzzyMozzy on February 08, 2013, 12:55:05 AM
I'm getting this error is there something i have to do before i install this mod?

*    9.    Execute Modification    ./Sources/Profile.php    Test failed
      1.    Add After            ./Sources/Profile.php    Test successful
      2.    Add After            ./Sources/Profile.php    Test failed
      3.    Add Before    ./Sources/Profile.php    Test successful

I have manually made the changes to the /source/profile.php file and im still getting the same test fails as above.

Can someone please help, i would really like to get this mod up and working, thanks.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: OzzyMozzy on February 12, 2013, 05:22:49 PM
I'm getting this error is there something i have to do before i install this mod?

*    9.    Execute Modification    ./Sources/Profile.php    Test failed
      1.    Add After            ./Sources/Profile.php    Test successful
      2.    Add After            ./Sources/Profile.php    Test failed
      3.    Add Before    ./Sources/Profile.php    Test successful

I have manually made the changes to the /source/profile.php file and im still getting the same test fails as above.

Can someone please help, i would really like to get this mod up and working, thanks.

Anybody?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: OzzyMozzy on February 25, 2013, 04:17:06 PM
I'm getting this error is there something i have to do before i install this mod?

*    9.    Execute Modification    ./Sources/Profile.php    Test failed
      1.    Add After            ./Sources/Profile.php    Test successful
      2.    Add After            ./Sources/Profile.php    Test failed
      3.    Add Before    ./Sources/Profile.php    Test successful

I have manually made the changes to the /source/profile.php file and im still getting the same test fails as above.

Can someone please help, i would really like to get this mod up and working, thanks.

Anybody?

Can anyone point in the right direction, or is there someone i can contact that would be able to help me?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Kimmie on April 14, 2013, 11:12:27 PM
I'm getting this error is there something i have to do before i install this mod?

*    9.    Execute Modification    ./Sources/Profile.php    Test failed
      1.    Add After            ./Sources/Profile.php    Test successful
      2.    Add After            ./Sources/Profile.php    Test failed
      3.    Add Before    ./Sources/Profile.php    Test successful

I have manually made the changes to the /source/profile.php file and im still getting the same test fails as above.

Can someone please help, i would really like to get this mod up and working, thanks.

Anybody?

Can anyone point in the right direction, or is there someone i can contact that would be able to help me?


You will still see the fails on those files because on normal installation it tries to modify those files itself and it cannot. That is why you have to do those yourself. Finish the install, make your manual edits, then the mod will work just fine.

Remember, if you ever uninstall this, you will have to manually remove the codes you inserted to get the mod fully removed.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: OzzyMozzy on April 16, 2013, 05:26:39 PM
I'm getting this error is there something i have to do before i install this mod?

*    9.    Execute Modification    ./Sources/Profile.php    Test failed
      1.    Add After            ./Sources/Profile.php    Test successful
      2.    Add After            ./Sources/Profile.php    Test failed
      3.    Add Before    ./Sources/Profile.php    Test successful

I have manually made the changes to the /source/profile.php file and im still getting the same test fails as above.

Can someone please help, i would really like to get this mod up and working, thanks.

Anybody?

Can anyone point in the right direction, or is there someone i can contact that would be able to help me?


You will still see the fails on those files because on normal installation it tries to modify those files itself and it cannot. That is why you have to do those yourself. Finish the install, make your manual edits, then the mod will work just fine.

Remember, if you ever uninstall this, you will have to manually remove the codes you inserted to get the mod fully removed.

Thanks Kimmie for the reply. I made the manual changes and it still comes up, so are you saying to go ahead and do the install then make the manual change?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Gryzor on April 17, 2013, 01:15:57 AM
OzzyMozzy, the problem arises from this:

During installation the modification installation scripts does some, erm, modifications to the system files. It does that by looking, for instance, for a certain string and then replacing it with another, or adding something after that string. If the string it's looking for has already been modified by some other script it will give you a 'test failed'.

For instance: it may be looking for a string like

TestString1
TestString2

and it wants to replace it with
TestString1
TestString1.5
TestString2

Now, if some other mod has inserted something between TestString1 and TestString2 the script cannot find the original string, of course. And that's where you have to do it manually.

If you've already made the modification manually then of course the installation script cannot find the original string and will give you a Fail again - it doesn't look for the new string but for the original one...

So yeah, assuming you did the modification by hand correctly, go ahead.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: OzzyMozzy on April 17, 2013, 05:54:08 PM
OzzyMozzy, the problem arises from this:

During installation the modification installation scripts does some, erm, modifications to the system files. It does that by looking, for instance, for a certain string and then replacing it with another, or adding something after that string. If the string it's looking for has already been modified by some other script it will give you a 'test failed'.

For instance: it may be looking for a string like

TestString1
TestString2

and it wants to replace it with
TestString1
TestString1.5
TestString2

Now, if some other mod has inserted something between TestString1 and TestString2 the script cannot find the original string, of course. And that's where you have to do it manually.

If you've already made the modification manually then of course the installation script cannot find the original string and will give you a Fail again - it doesn't look for the new string but for the original one...

So yeah, assuming you did the modification by hand correctly, go ahead.

Thank You so much for that, now i have a better understanding. I'll go ahead and see how i go
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Gryzor on April 18, 2013, 01:39:30 AM
Glad to be of help.

To clarify on my example, some other mod may have modified

TestString1
TestString2

to something like

TestString1
OtherString
TestString2

So your modification now can't fine

TestString1
TestString2

as a whole. The way you do it manually can be:

TestString1
TestString1.5
OtherString
TestString2
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Negatory on April 18, 2013, 08:06:56 AM
To avoid conflict between the needs of various mods, you need to uninstall mods in the reverse sequence that they were installed.

e.g.
Installed mods a b c and d.
To update mod b, you should uninstall mod d, then c, then b - upgrade b, then re-install c and d.

I believe Treasury makes this point in the installation notes.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Arantor on April 18, 2013, 09:18:42 AM
And you can even use Sortable Packages (and Installed Time) (http://custom.simplemachines.org/mods/index.php?mod=2323) to figure out what the uninstallation order should be.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Gryzor on April 18, 2013, 12:08:46 PM
And you can even use Sortable Packages (and Installed Time) (http://custom.simplemachines.org/mods/index.php?mod=2323) to figure out what the uninstallation order should be.

Ooh nice, had no idea, but I guess manual installations may still screw it up.

Darn, how I wish SMF had a better mod system...
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Arantor on April 18, 2013, 01:54:57 PM
The powers that be have made it clear they want to keep the package system being able to apply direct code changes 'for flexibility'.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Gryzor on April 18, 2013, 01:57:35 PM
I'd be down for that, though I'm no developer to understand the finer intricacies it involves - if only it frakking worked! Not much 'flexibility' when you have to dive into the code to make simple things work.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Arantor on April 18, 2013, 02:00:05 PM
As in they don't want to change it at all ;) They'd rather have the flexibility of what they have rather than a less flexible but much more reliable system. There also aren't enough hooks (or a suitable management system) to get the majority of mods away from edits either. It's why I wrote my own from scratch.

But that's getting off topic.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Kimmie on May 17, 2013, 12:03:05 AM
Installed flawlessly, thank you!!


Just one question. I set up a php block on my Simple Portal but am wondering how I can get the scroll bar removed?


Thanks :)

(http://i41.tinypic.com/i53wy8.png)
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: TheListener on May 17, 2013, 12:20:32 AM
how can i get the Block To show with simple Portal?

Create a custom php block in simple portal and use this code.

Code: [Select]
global $sourcedir, $settings;
include("$sourcedir/DonationBlock.php");

Did you use this code Kimmie?

Have a look here too: http://resourcez.donationspro.com/index.php?PHPSESSID=0f86814fea836951198daeeb9811bcfe&

/me also uses the mod and has a scrollbar.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: TheListener on May 17, 2013, 12:23:24 AM
@ Kimmie and any other whom want the scrollbar removed.

Have a look HERE (http://resourcez.donationspro.com/index.php?topic=576.msg2856#msg2856)
Title: Re: Treasury for SMF 1.1.x and 2RC4
Post by: Kimmie on May 17, 2013, 03:48:25 PM
how can i get the Block To show with simple Portal?

Create a custom php block in simple portal and use this code.

Code: [Select]
global $sourcedir, $settings;
include("$sourcedir/DonationBlock.php");

Did you use this code Kimmie?

Have a look here too: http://resourcez.donationspro.com/index.php?PHPSESSID=0f86814fea836951198daeeb9811bcfe&

/me also uses the mod and has a scrollbar.


@ Kimmie and any other whom want the scrollbar removed.

Have a look HERE (http://resourcez.donationspro.com/index.php?topic=576.msg2856#msg2856)


Yes that is the code I used. I will try your suggestion and see if that works, thanks :)



EDIT: that worked, thank you :)
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: TheListener on May 17, 2013, 04:52:08 PM
Quote
Yes that is the code I used. I will try your suggestion and see if that works, thanks :)



EDIT: that worked, thank you :)

Thanks for being my guinea pig.

 :D
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: McFuzz on May 18, 2013, 03:49:24 AM
Hello!

Hope someone can provide a quick pointer - we installed the treasury mod but had some file permission problems that caused it not to display for anyone. That got fixed, but we are missing the Donations button between members and logout (the one that directs to /index.php?action=treasury)... can someone provide a quick pointer as to how to add the button?

Subs.php does have the array...

Code: [Select]
'treasury' => array(
                                'title' => $txt['treasury_menu'],
                                'href' => $scripturl . '?action=treasury',
                                'show' => $context['allow_view_treasury'],
                                'sub_buttons' => array(
                                ),
                        ),


Thanks!
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: TheListener on May 18, 2013, 11:53:13 AM
McFuzz

Any errors on installing the mod?

Theme you use?

Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: MechSpecs on June 17, 2013, 03:55:25 PM
I installed the mod and things seem to be working great (for some of my users)

I have two buttons where people can donate. One is on the master navbar at the top (Home, Forum, Help, Donation blah blah blah) and the other is a button that opens the Donations window in a "target_NEW" thing (it's part of the theme).

Registered Members can donate but it doesn't confirm the donation through the automated return confirmation thing (I set it up according to the instructions) HOWEVER my Moderators can donate and then they get added to a secondary usergroup called Benefactors (which is what I want for anyone who donates).

Are my Registered users missing a permission or something to allow this mod to add them to a secondary usergroup?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: TheListener on June 17, 2013, 06:33:14 PM
Have you checked the permissions?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: MechSpecs on June 17, 2013, 06:50:55 PM
Have you checked the permissions?

Hmmmm....

Registered Users:
View Treasure: CHECKED
Administer Treasury: BLANK

Mod Squad:
View Treasure: CHECKED
Administer Treasury: BLANK

So what else am I missing?

Manage and assign Member Groups <---- does this need to be checked for regular members for the mod to move them between groups?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: TheListener on June 17, 2013, 06:55:03 PM
Have you checked the permissions?


Quote
Manage and assign Member Groups <---- does this need to be checked for regular members for the mod to move them between groups?

It's worth trying.

I would aslso suggest you look HERE (http://resourcez.donationspro.com/index.php?PHPSESSID=2625ae0301eceb826ae30227c29b1b41&) also.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: MechSpecs on June 17, 2013, 07:45:19 PM
Solved it on my own!!!  8)

Needed to set the permission that Registered Users could change usergroups. Mods could, but Registered Users could not.

Once that was done BLAMO everything worked easy peasy
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: TheListener on June 17, 2013, 07:48:22 PM
Solved it on my own!!!  8)

Needed to set the permission that Registered Users could change usergroups. Mods could, but Registered Users could not.

Once that was done BLAMO everything worked easy peasy

Quote
Have you checked the permissions?

I said this for fun then?   ::)
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: MechSpecs on June 17, 2013, 08:12:47 PM
Solved it on my own!!!  8)

Needed to set the permission that Registered Users could change usergroups. Mods could, but Registered Users could not.

Once that was done BLAMO everything worked easy peasy

Quote
Have you checked the permissions?

I said this for fun then?   ::)

Totally!!! Since you didn't specify WHICH permissions (there are like Board Permissions, General Permissions and then Permission Permissions and Membergroup Permissions)...

Dude, tell me to go put out a fire and I do it, tell me to rescue a cat from a tree and I do it, tell me to provide critical incident care to a patient and I do it... Tel me to go and "do something heroic" and my eyes glaze over with that lost look :P

However, thank you for pointing me at the right barn door!!!
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: TheListener on June 17, 2013, 08:16:52 PM
Believe me Mech I had a shock a few weeks back when I saw a female firefighter driving one of the fire engines.

( was so I could get some photos for the forum).

Some off the engines we have are odd looking beasts.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: MechSpecs on June 20, 2013, 03:44:31 PM
Found an interesting side affect in this mod...

In order to get Treasury to automatically promote them from Registered Users to Benefactors, when their donation was confirmed by Paypal, I had to check the little "Manage and Assign Membergroups" tab in the permissions section right?

HOWEVER

If you allow this your members will be able to log into the administration panel and then manage the individual membergroups.

This is a HUGE security hole because they can change the permissions for their existing usergroup or add themselves to others.

Is there a way to allow their promotion WITHOUT them having access to the administration panel?!?!?!
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Sandmansa on August 10, 2013, 08:57:13 PM
I am having a problem with running this mod.  It installs and sets up fine but can't get the treasury page to load.  Other then using smf 2.0.4, are there any other system requirements?  IE: PHP and MySQL versions required?

Here is the error I get..

Code: [Select]
http://www.XXXXX.com/smf/index.php?action=treasury

Database Error: Unknown system variable 'lc_time_names'

File: C:/Program Files/XXX XX XXX/XX/smf/Sources/Treasury.php
 Line: 97

I know my server is old but it does still meet minimum system requirements for smf 2.0.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: azirion on August 20, 2013, 10:10:31 PM
I have just installed this mod and it works like a charm  ;)

I have a couple of questions: How can I change the tab menu title, instead of "Donations" I want it to say it in spanish. Where can I edit it? And the PayPal buttons can I change them too?

Thanks in advance for any help   8)
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: azirion on August 20, 2013, 10:21:33 PM
Ok I found how to change the button image. Now just need to know how to change the tab title?  :)
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: azirion on August 21, 2013, 12:20:05 PM
Did it.... never mind...  8)
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Sandmansa on August 21, 2013, 09:40:13 PM
You know azirion, it might be helpful to others who are having the same issue as you, if you were to explain what you did to correct the problem.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: azirion on August 22, 2013, 12:28:00 AM
Well sure, since no one had never asked I suppose no one has the same issues as I do. But here it goes:

Both button icons are named on the Treasury control panel. I just searched the internet for the ones I wanted to show up, renamed them to the exact name the mod looks them for and uploaded them via FTP to the site.

And the other issue, about changing the tab tittle, I just downloaded the modification.english.php file, searched the tittle text, replaced the text with the one I wanted, then uploaded the file back to its original place and thats it...

Still cant seem to find how to translate some things like "Please select an amount"  and "Choose your Paypal language" and the last one "Many thanks to those who have donated this period". I dont have a clue where that text is hidden  ???  :-\
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Negatory on August 25, 2013, 02:04:56 PM
hmm, could hardly call them hidden - they are exactly where they should be, in the Treasury language files.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Cat McFarlane on August 30, 2013, 12:06:58 PM
Hi, am having the same problem of the donations not updating in the visible box. Noticed helpful answer about giving members access to change groups, but really don't want the security loophole. Is there any way to solve this?

Thanks so much  :)
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: azirion on August 31, 2013, 12:19:00 AM
hmm, could hardly call them hidden - they are exactly where they should be, in the Treasury language files.

Lol thanks! found it!  ;D


Now that people started donating I noticed I have the same problem: There is no update on the box. The username doesn't show up on the list of donors  :( I have to add it manually relying on the email that PayPal sends me... really sucks  :-\  Any help on that please?

Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: azirion on September 01, 2013, 10:52:17 AM
Well I don't know how, but as soon as I translated the words on the language file, the problem has been fixed and the mod is running 100% perfect! ;D
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: hellboy78 on October 14, 2013, 12:52:04 PM
there is version of this mod for CCBILL ?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Bruno36 on January 26, 2014, 04:00:28 AM
Hello!

The mod does not work, when a person makes a gift, it is not displayed in the table donations. Nothing is momérisé.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: PhuriousGeorge on January 27, 2014, 12:30:33 PM
Hello!

The mod does not work, when a person makes a gift, it is not displayed in the table donations. Nothing is momérisé.

You might be able to get some support (search 1st) from the author's page here:
http://resourcez.donationspro.com/

I've had issues in the past as well. It's more than likely regarding your PayPal IPN.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Arantor on January 27, 2014, 12:34:44 PM
Especially if you have the IPN set in your account to point to the subscriptions page...
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Kimmie on February 28, 2014, 08:50:59 PM
I have been using this mod for a few months now. It has worked fine until now. Donations are not showing up, but I am getting them.

(http://i57.tinypic.com/15rxn37.png)

What could be the cause of this?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: MechSpecs on March 04, 2014, 10:03:09 AM
I have wondered this myself as I have been using this mod for over a year on a very active site.

It could be their security settings are set so high that they aren't sending anything back to verify and so it isn't registering with the site. You ARE getting an email from Paypal saying "Blah blah blah donated XYZ" but it isn't being entered into the SMF Treasury Database.

Also, it could be Chrome. I don't know why but I have had more issues with SMF and Chrome users than anything else. Ever.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Kimmie on March 04, 2014, 03:55:49 PM
I had noticed that my mod was 2.11 so I updated it to 2.12 and that still didn't work. I have checked everything on PayPal and everything there is ok (IPN, etc). Everything just stopped in February.

Who's security settings do you mean?


Especially if you have the IPN set in your account to point to the subscriptions page...

According to the author, that should not affect it. Mine worked fine until february with this url.

"The URL you set here is NOT important as Treasury operates from its own Notify and Return URLs which ignore, and are independent of, your PayPal settings.
• Why? If you already have an IPN setting activated for some other program, it will continue to function for that program.
• Example? If you have already set your IPN URL so that you can use, say, Paid Subscriptions, then you can leave the URL on PayPal as it is, and still use Treasury."
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: MechSpecs on March 04, 2014, 04:29:06 PM
I had noticed that my mod was 2.11 so I updated it to 2.12 and that still didn't work. I have checked everything on PayPal and everything there is ok (IPN, etc). Everything just stopped in February.

Who's security settings do you mean?

The individual donating the money. Their browser settings maybe? I know that about 1/3 of my users have this issue. My phone will alert me to a donation from Paypal but when I check the database for Treasury it isn't there and I have to manually enter it into the database for them.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Kimmie on March 05, 2014, 08:55:06 AM
I got my problem fixed. I had to chmod to 755 for it to work right again. It worked fine on 644 with the previous version. Not sure why it didn't work on the new one... but at least it works now.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: MechSpecs on March 05, 2014, 08:12:33 PM
I  just ran into this issue myself on the second site that is using Treasury. I had to CHMOD to 644 but if that stops working than 755 will work indeed.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Kimmie on March 05, 2014, 08:21:34 PM
I  just ran into this issue myself on the second site that is using Treasury. I had to CHMOD to 644 but if that stops working than 755 will work indeed.

Not much help on the mod auth's site, but I posted there letting someone else having the same problem know to try 644. Hopefully the mod auth will fix this. There are a lot of people having the same problem. Having to keep switching means there is definitely a problem with the mod.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: GamePersia on April 01, 2014, 11:52:22 PM
How To Add More currency Options In Shown List ?? :)
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: MechSpecs on April 02, 2014, 05:48:17 PM
I've actually looked at upgrading to the premium version but the authors site is difficult to track down on how to do this etc. Also, will the latest version work with 2.0.7 and existing settings and page layout changes or do I have to make them all over again?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: bros on April 06, 2014, 09:02:21 PM
Anyone else getting Sorry, update info not available. and errors in the error log when accessing treasury through admin panel?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: SaltedWeb on April 19, 2014, 02:06:52 AM
It says update today ?
I already have Treasury    2.12 on my 2.07 was wondering what the update was ?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: SaltedWeb on April 20, 2014, 12:01:53 PM
Hello ???

 ;D
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: ApplianceJunk on April 20, 2014, 12:15:16 PM
The date was updated. ;)
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: SaltedWeb on April 20, 2014, 12:31:05 PM
PayPal IPN notify file
Click here to test IPN ipntreas.php

Shows 403 error any ideas anyone ?

PS ipntreas.php exists in the root directory where the file should be
according to the test.

It installed just fine with no errors on 2.0.7

Yet does not seem to work.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: SaltedWeb on April 24, 2014, 12:20:11 PM

Another question :

Under " PayPal Receiver Email ",   do I have to use my email or can I use the paypal merchant code they provide ?

It seems to work, but have no way to test until someone joins so when I click the donate it goes to pay pal fine .
But wondered about the code ?

Thanks

Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: T3CHN0 on May 21, 2014, 08:38:02 PM
Great mad mate.
Any chance you could add the paypal option for paying through
paypal with either a paypal account and or credit card


ps
just noticed under the button path   /index.php?action=admin;area=treasury
it says Your version is 2.12 -  the latest version 2.10 is Available Here !!!

that's like saying turn right to go left :) just thought you would like to know so you can correct it.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Dumke on June 02, 2015, 08:33:18 AM
Anyway to add more payment methods?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: eldritch1969 on June 03, 2015, 02:53:00 AM
Hi !
Awesome mod ! How can you integrate a block with it on Tiny Portal

I just can't seem to figure it out

Thx
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: wlchase on June 16, 2015, 04:33:16 PM
Anyway to add more payment methods?

Yes, please?

Bill
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: samurai-lupin on August 27, 2015, 04:17:12 PM
Hello,

I have been using your fine Donatons Pro mod for a very longt time on my SMF 1.1.20 board. However starting on July the 20th the auto response from PayPal seems to started to fail. People can still make donations but they no longer get entered into the database as there seems to be a problem with  PayPals autoresposne to ipndopro.php. Thus the donatons of course do not get listed on the site and people do not get moved to the donators membergroup etc.

Is there a fix for this issue?

Thank you and looking forward to hearing from you
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Ataru Moroboshi on September 11, 2015, 10:21:16 AM
Hello.

Paypal is upgrading certificates, IPN endpoints has to be changed?

I really don't know, someone could help me to know if something needs to be changed in that mod?

here's the mail from PayPal


Quote
IMMEDIATE ATTENTION REQUIRED: PayPal service upgrades.

PayPal service upgrades.

Claudio Dagostin,

As we have previously communicated to you, PayPal is upgrading the certificate for www.paypal.com to SHA-256. This endpoint is also used by merchants using the Instant Payment Notification (IPN) product.

This upgrade is scheduled for 30/9/2015; however, we may need to change this date on short notice to you to align to the industry security standard.

You’re receiving this notification because you’ve been identified as a merchant who has used IPN endpoints within the past year. If you have not made the necessary changes, we urge you to do so right away to avoid a disruption of your service!

Because these changes are technical in nature, we advise that you consult with your individuals responsible for your PayPal integration. They will be able to identify what, if any, changes are needed. Please share this email and the hyperlinks below with your technical contact for evaluation.

Testing in the Sandbox is one of the best ways to make sure your integrations work. Sandbox endpoints have been upgraded to accept secure connections by the SHA-256 Certificates.

Full technical details can be found in our Merchant Security System Upgrade Guide. In addition, our 2015-2016 SSL Certificate Change microsite contains a schedule of our service upgrade plan.

Thanks for your patience as we continue to improve our services.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Gryzor on September 11, 2015, 10:23:19 AM
Hm, good catch. I got the email as well but I didn't think to link the info with the forum and what this means for it... hope it doesn't upend things!
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: margarett on September 11, 2015, 10:53:55 AM
http://www.simplemachines.org/community/index.php?topic=539654.0
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Gryzor on September 11, 2015, 10:55:08 AM
Yeah, that doesn't help much I'm afraid...
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: margarett on September 11, 2015, 11:13:33 AM
SMF (like pretty much every other PHP script) uses cURL to connect to PayPal. That relies on some PHP stuff which should handle sha256 properly (assuming that your server isn't very outdated)
If cURL isn't available, then a regular HTTP POST is attempted. This should probably be blocked by PP even today...

Bottom line: it is expected to continue to work.

I don't have one of those IPN things (never used paid stuff in my forums...) so I can't test. But if the changes are just what they say in their message, it should just work ;)
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Gryzor on September 11, 2015, 11:19:56 AM
Thanks Margarett! That's useful :)
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Ataru Moroboshi on September 11, 2015, 12:09:52 PM
Ok Bruno, thanks
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Resourcez on September 12, 2015, 08:35:09 AM
Noted - same email received here.

For those not on servers suitable for SHA-256 (there should be very few), PayPal do allow an alternative that will delay the inevitable until Q3 2016, enough time for you make a change.

I will provide the solution that buys you that time, but you will still need to plan to provide for SHA-256.

And yes, cURL should deal with it, but there are still some stuck with fsockopen.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Ataru Moroboshi on September 14, 2015, 11:32:35 AM
Noted - same email received here.

For those not on servers suitable for SHA-256 (there should be very few), PayPal do allow an alternative that will delay the inevitable until Q3 2016, enough time for you make a change.

I will provide the solution that buys you that time, but you will still need to plan to provide for SHA-256.

And yes, cURL should deal with it, but there are still some stuck with fsockopen.

how do I check if my server is suitable for SHA-256? depends on what?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: margarett on September 14, 2015, 03:11:44 PM
Check phpinfo

What is a phpinfo() file? (http://wiki.simplemachines.org/smf/What_is_a_phpinfo()_file)
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Gryzor on September 16, 2015, 02:51:54 AM
Specifically, look at the Hash section.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Ataru Moroboshi on September 16, 2015, 04:34:01 PM
Quote
hash supportenabled
Hashing Enginesmd2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b fnv132 fnv164 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
   

Should be OK?
   
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: margarett on September 16, 2015, 04:34:49 PM
Yup :)
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Ataru Moroboshi on September 16, 2015, 04:43:56 PM
Wow thanks
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: romanos8 on October 06, 2015, 03:50:17 PM
I want to buy the Pro version but I have some questions:

1-It work with the latest smf version ?

2-Paying with paypal is possible to avoid the waiting time (three days)? I want instant download
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Novice on October 21, 2015, 04:44:16 PM
I want to buy the Pro version but I have some questions:

1-It work with the latest smf version ?

2-Paying with paypal is possible to avoid the waiting time (three days)? I want instant download

I would like to implement this into our site. Is there an updated version to make compatible with 2.0.11or 2.1.0 on the table?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: etn991 on November 15, 2015, 09:48:18 PM
I had this set up and working for 1 year.  Then I stopped receiving IPN's from paypal around October 11 or so.

We made no changes on our end during this time period.  Anyone have any ideas? 

Important information below.

Thanks for your help.
Ed



Site hosted on hostgator
SMF 2.0.11
Treasury 2.12


Doing a "Click here to test IPN ipntreas.php" I get this:

Quote
Debug mode activated

SMF2 Treasury mod

PayPal Instant Payment Notification script

See below for status:
----------------------------------------------------------------
Opening connection via curl and validating request with PayPal...

OK!

Selecting database......

Executing test query....

PASSED!

PayPal Receiver Email: XXXX@XXXX.XXX

Is this really your PayPal Email address?
Logging events....

1 event inserted into the log.

----------------------------------------------------------------
If you don't see any error messages, you should be good to go!

XXXX@XXXX.XXX was the correct email. 
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Miker1029 on November 29, 2015, 12:43:05 PM
Just installed this on SMF 2.0.11 and Looks great!!!

I have a question, I run EZ-Portal, Would there be a way I could add the Who Made Donations to a EZ-Block???

EZ-Block handles HTML and PHP Parsing Blocks so Alls I'd really need is the Code to add.....

Thanks

Mike
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Novice on December 12, 2015, 05:03:42 PM
Just installed this on SMF 2.0.11 and Looks great!!!

I have a question, I run EZ-Portal, Would there be a way I could add the Who Made Donations to a EZ-Block???

EZ-Block handles HTML and PHP Parsing Blocks so Alls I'd really need is the Code to add.....

Thanks

Mike

I get an installation error using the package manager from sources/admin.php and I'm not sure what to do to fix this. Any help you can offer? Our group would really like to use this.
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Miker1029 on December 12, 2015, 05:32:22 PM
Not to be Rude, But, your wanting answers, and not even supplying versions, what your running, what you have installed......

Your really not gonna get answers unless you supply information....

"IT DON"T WORK" is not gonna do it.....

IMO

Mike
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Novice on March 04, 2016, 07:03:55 AM
I want to buy the Pro version but I have some questions:

1-It work with the latest smf version ?

2-Paying with paypal is possible to avoid the waiting time (three days)? I want instant download
Here is the versions from a previous post made here.


I would like to implement this into our site. Is there an updated version to make compatible with 2.0.11or 2.1.0 on the table?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Kindred on March 04, 2016, 08:35:11 AM
Any mod that works with 2.0.x will usually work with any other version of 2.0.x

http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: dadodd on March 17, 2016, 01:01:15 PM
Hello,i like you mod, but i have problem i i am trying to add icon next to "Donations" text in the menu, i can not find anywhere in treasury.php where is it calling for image, and dont know how to add it....can anybody help me?

using vwide theme
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: Ataru Moroboshi on April 12, 2016, 05:30:58 AM
got an issue with last treasury transaction.

usually i got in log something like that:


Code: [Select]
16-01-2016 16:49:06 16-01-2016 16:48:53
Curl isn't available.
Opening connection via http and validating request with PayPal...
OK!
PayPal Verified
Normal transaction
INSERT INTO {db_prefix}treas_donations (id, txn_id, business, item_name, item_number, quantity, invoice, custom, memo, tax, option_name1, option_seleczion1, option_name2, option_seleczion2, payment_status, payment_date, txn_type, mc_gross, mc_fee, mc_currency, settle_amount, exchange_rate, first_name, last_name, address_street, address_city, address_state, address_zip, address_country, address_status, payer_email, payer_status, user_id, currency_symbol, group_id) VALUES ((values))
SQL result = 1
Donor groups not activated or group not selected.
Logging events....

now i got:

Code: [Select]
07-04-2016 16:59:17 07-04-2016 16:59:05
Curl isn't available.
Opening connection via http and validating request with PayPal...
OK!
Logging events....

and no transaction is stored in db, but i can see it in my paypal account.

tried to check IPN and got:

Code: [Select]
12-04-2016 11:01:55 - Debug mode activated
Curl isn't available.
Opening connection via http and validating request with PayPal...
OK!
Selecting database......
Executing test query....
PASSED!
PayPal Receiver Email: xxxxx@yyyyy.org
Logging events....

did paypal change something in transaction feedback?
Title: Re: Treasury for SMF 1.1.x and 2.0.x
Post by: johncarr on June 05, 2016, 02:29:40 AM
I recently installed this on my forum which is 2.0.11 Latest version afaik.

I have no other mods and using default theme.

I had a friend to a test donation, I did receive the funds, but there is nothing is the log file, nor the registry or the donation page.

Any ideas?
Title: Re: Treasury
Post by: LadyLike on August 11, 2017, 07:51:53 AM
Last Modified: Yesterday

This mod was last updated yesterday, yet the latest modified file in the zip was modified back in 2013? There was no changelog posted either. Is this safe to install and use?
Title: Re: Treasury
Post by: LadyLike on August 14, 2017, 12:56:33 AM
Last Modified: Yesterday

This mod was last updated yesterday, yet the latest modified file in the zip was modified back in 2013? There was no changelog posted either. Is this safe to install and use?

BUMP.

What could possibly cause it to say Last Modified: August 10 when there have been no updates? I'd like to use the mod but this is odd.
Title: Re: Treasury
Post by: landyvlad on January 18, 2018, 08:28:54 PM
I found thismod via a search as it seemed the most up to date of donation mods... yet it hasn't been tested for quite a few of the 'latest' versions, and the author hasn't been online since last August so I am assuming this is now a 'dead' mod.
Title: Re: Treasury
Post by: stoneageman on January 19, 2018, 01:12:06 PM
Treasury is working OK for me with no errors. I installed the current version 2.12 in 2016 and the most recent payment I had was 5 weeks ago. This is using SMF 2.0.15 and PHP 7.1.3.
Title: Re: Treasury
Post by: landyvlad on January 20, 2018, 12:20:29 AM
Thanks
Title: Re: Treasury
Post by: Obsydian on January 27, 2018, 10:31:42 PM
I'm using SMF 2.0.15 and downloaded Treasury 2.12. I'm getting this error while going to install:

8.   Execute Modification   ./Sources/Admin.php   Test failed
   1.   Add After   ./Sources/Admin.php   Test successful
   2.   Add After   ./Sources/Admin.php   Test failed

It tells me it's recommended not to install it.  What can I do to ensure this doesn't happen?
Title: Re: Treasury
Post by: Kindred on January 27, 2018, 11:08:25 PM
https://wiki.simplemachines.org/smf/Error_in_mod_installation
Title: Re: Treasury
Post by: landyvlad on January 29, 2018, 02:02:07 AM
Obsydian once you get your head around the info in that link posted by Kindred....

What you need to do is go here:
https://custom.simplemachines.org/mods/index.php?mod=916

In the top right hand corner there is a drop down for manual installation. Drop down and select 2.0.15 and click 'parse'

This shows all the file changes that the package installer is TRYING to make.

As noted in the post kindred linked:
Quote
Be Aware: The code which is listed in the mod instructions is not present in the exact form listed. If it were, the system would have been able to carry out the automatic instruction. This means that you will have to use some intuition to find the code which you are looking for. It may be as simple as a difference in leading spaces, or another mod may have already significantly altered the searched for lines.
 

The errors you have are:
Quote
8.   Execute Modification   ./Sources/Admin.php   Test failed
   1.   Add After   ./Sources/Admin.php   Test successful
   2.   Add After   ./Sources/Admin.php   Test failed

Indicating there are two changes the installer is trying to make - it is able to find/achieve the first one, but not the second one.

When looking at the instructions that the 'parse' process has provided, the relevant portions states:
Quote
./Sources/Admin.php


Find: [Select]
   loadLanguage('Admin');
Add After: [Select]
   
      loadLanguage('Treasury');

Find: [Select]
            'theme' => array(
               'label' => $txt['theme_admin'],
               'file' => 'Themes.php',
               'function' => 'ThemesMain',
               'custom_url' => $scripturl . '?action=admin;area=theme;sa=admin',
               'icon' => 'themes.gif',
               'subsections' => array(
                  'admin' => array($txt['themeadmin_admin_title']),
                  'list' => array($txt['themeadmin_list_title']),
                  'reset' => array($txt['themeadmin_reset_title']),
                  'edit' => array($txt['themeadmin_edit_title']),
               ),
            ),

Add After: [Select]
            'treasury' => array(
               'label' => $txt['treasury_admin'],
               'file' => 'TreasuryAdmin.php',
               'function' => 'treasuryAdmin',
               'permission' => 'admin_treasury',
               'icon' => 'treasury.gif',
               'subsections' => array(
                  'readme' => array($txt['treas_read_me']),
                  'registry' => array($txt['treas_fin_register']),
                  'donations' => array($txt['treas_donations']),
                  'donortotals' => array($txt['treas_donor_totals']),
                  'config' => array($txt['treas_main_config']),
                  'configpaypal' => array($txt['treas_paypal_config']),
                  'configblock' => array($txt['treas_block_config']),
                  'configevents' => array($txt['treas_events']),
                  'translog' => array($txt['treas_transaction_log']),
               ),
            ),

So the system was able to find " loadLanguage('Admin');" and action that, but was not able to find the second section.

So now you need to go into your files (from cpanel file manager is easiest if you can)
SAVE A COPY of the current ./Sources/Admin.php
open/edit the ./Sources/Admin.php  and see if YOU can find the text block concerned.

As also noted in Kindred's link:
Quote
Once you have found the correct section of code, perform the instruction Add before, Add after, or Replace. If the instruction is Replace, you will have to be careful because if another mod has already altered this section of code, simply replacing the code may cause errors in your previously installed mod(s).

Once you have edited the file with the appropriate code, save it, and, if using ftp, upload the altered file to your system.

Hopefully this elaboration will be of help. Of course, the same principle applies to ALL mods not just the Treasury mod.

Good luck.
Title: Re: Treasury
Post by: deciph3red on February 10, 2018, 06:24:17 PM
I've used this mod for YEARS with ZERO issues.  As of the last couple of years we died in activity and i converted our front page to a wordpress site (mostly for news, vs a gaming clan site like it used to be) and as of recently we are actually having a major influx of members in the games we play.

I decided to renew the domain (that is the ONLY difference) and now all of a sudden the block still works (donations are able to be made) however the actual list of contributors is NOT updating.  We have tried it and tested it, and it passes the ipntreas.php test just fine.  I receive everything. . . . just no one sees their name pop up.

Any ideas?
Title: Re: Treasury
Post by: Rock Lee on February 12, 2018, 06:10:21 PM
I've used this mod for YEARS with ZERO issues.  As of the last couple of years we died in activity and i converted our front page to a wordpress site (mostly for news, vs a gaming clan site like it used to be) and as of recently we are actually having a major influx of members in the games we play.

I decided to renew the domain (that is the ONLY difference) and now all of a sudden the block still works (donations are able to be made) however the actual list of contributors is NOT updating.  We have tried it and tested it, and it passes the ipntreas.php test just fine.  I receive everything. . . . just no one sees their name pop up.

Any ideas?

I'm not sure but I think paypal changes things things in its structure so some modifications stopped working, however, does any mark any error or similar in your records?


Regards!
Title: Re: Treasury
Post by: deciph3red on March 09, 2018, 12:43:40 AM
Hi.  I have been using this mod for YEARS and as of recently (last year) i had to go AFK for a while.  After relaunching our site (nothing changed but the domain) the mod still works (i receive the donation) however the block does not update anymore.

I have verified I am on the latest version, and have no idea what to look at next.  I tried to register on the authors site however the forums are so filled with spam i doubt anyone will be able to read it.  Any help would be greatly appreciated.  As stated, it WORKS and I do get the donation.  The block itself simply does NOT update the totals.
Title: Re: Treasury
Post by: BPDFamily.com on March 16, 2018, 05:09:26 PM
New PayPal Requirement

Has anyone made this upcoming required change?  We already have an https site.

Quote
Our records indicate that you still need to make some critical security upgrades to your systems as well. If you see a "YES" next to a security change, your integration must be updated to accept these new security measures by the date specified:

• TLS 1.2 and HTTP/1.1 Upgrade - Complete by June 2018
- Update Needed: No

• IPN Verification Postback to HTTPS - Complete by June 2018
- Update Needed: Yes


• Discontinue Use of GET Method for Classic NVP/SOAP API's - Complete by June 2018
- Update Needed: No

• Merchant API Certificate Credentials Upgrade - Complete by September 2018
• Please note that this may be completed earlier based on the expiration date of your certificate.
- Update Needed: No

More information on the required changes and how to implement them can be found on our 2017-2018 Merchant Security Microsite. (https://www.paypal-notice.com/en/) ~ PayPal
Title: Re: Treasury
Post by: deciph3red on March 17, 2018, 03:40:38 AM
Well I just reinstalled after PortaAMX fixed the mod for SMF.  Install was fine, however when I test ipntreas.php it takes me back to the homepage.  No erroes, no anything.
Title: Re: Treasury
Post by: deciph3red on March 25, 2018, 01:10:26 AM
Well a completely fresh install. . . after adding treasury and installing all seems fine (minus setting the permissions on the ipntreas file. .) how in the hell do I add the block.  There is no donations block in the drop down nor do I see in the ReadMe how to add it.
Title: Re: Treasury
Post by: deciph3red on March 26, 2018, 01:35:56 AM
Update:  Figured it out (sort of).  I reinstalled the forum outside of the WordPress directory as it was before and the host also updated my php version (which it literally already met the recommended requirements).  Copied the quote from the Sources / Donations file, and created the block in PortaMX.  The block now updates when updates are excepted and the ipntreas file tested ok.

So far so good, unfortnately ive reinstalled SMF about 7 times this week with no issues and still can't get captcha working but for some reason this time treasury, the mod, the blocks, the logs, everything seems to be working fine.

Ill try to update once I get more details on WTF exactly they did (the hosted added to the ticket that I was running the correct version of PHP (as listed in my phpinfo file) but it just "stopped working".

Im totally down for suggestions, but wtf just happened?
Title: Re: Treasury
Post by: whoey on August 02, 2018, 09:10:39 AM
recently our totals have been off, it seems to have stopped tallying other currencies with the default USD. In the past it was working fine, and I have no idea what caused this sudden change.  :-\
Title: Re: Treasury
Post by: shoppy on August 29, 2018, 05:56:11 AM
Hi guy's,

I really like this mod and we use it for our membership administration.

But for some time I am looking for the line in the email a member receives after payment.
It is "We are pleased to confirm receipt of your generous donation of ..."

Where can I change this line??
I really looked in all the files that where in the install.

I translated the language files into Dutch but never came across the line above.
Is it generated bij Paypal itself???

Can someone help me please?
Title: Re: Treasury
Post by: Shambles on August 29, 2018, 06:22:53 AM
Quote from: shoppy
...
It is "We are pleased to confirm receipt of your generous donation of ..."

Where can I change this line??
I really looked in all the files that where in the install.

Bet you didn't look in ipntreas.php
Title: Re: Treasury
Post by: shoppy on August 29, 2018, 06:48:19 AM

Bet you didn't look in ipntreas.php

Nope, I didn't
Wasn't expecting it to find here haha.

Thanks a lot for your quick help.

John
Title: Re: Treasury
Post by: kat91119 on December 17, 2018, 11:49:11 AM
Just wanted to post this here, I had 1.0.4 installed for years. All worked well. I haven't been around on my forum much the last 4 years. And I went to set up a new campaign for my users, and noticed that the admin panel for that version had completely been taken over by some Indonesian gambling site. Just a heads up if anyone out there is still running it...hope none of my users got scammed, cause the real donation page looked completely right

I really hope I got rid of the issue...and now don't know if I should bother installing the 1.0.6 or find something else
Title: Re: Treasury
Post by: Gryzor on December 29, 2018, 03:35:47 AM
Did you happen to keep a screenshot??
Title: Re: Treasury
Post by: kat91119 on January 10, 2019, 05:13:44 PM
I don't think I did. I should have. I'm sorry about that. Just alarmed me cause I had no idea until I went to add another campaign that it was messed with. But I can tell you it was only the admin panel of this mod, it was all completely changed, another language which I ended up looking up, and it was completely a gambling site. I'll try to see if I took photos anywhere, or even a link in my history but I don't think I did.
Title: Re: Treasury
Post by: Gryzor on January 11, 2019, 02:40:08 AM
Pity. Mine is fine, but of course it doesn't mean there's no possible vulnerability.
Title: Re: Treasury
Post by: Sir Osis of Liver on March 14, 2019, 05:37:33 PM
Treasury 2.12 install fails in 2.0.15 with this error -

BLOB/TEXT column 'value' can't have a default value
File: /public_html/kotctest/Packages/temp/install.php
Line: 27


Code: [Select]

$cfg_columns = array(
array('name' => 'name', 'type' => 'varchar', 'size' => 25, 'null' => false, 'default' => 0),
array('name' => 'value', 'type' => 'text', 'null' => false, 'default' => ''),
);
$cfg_indexes = array(
array('type' => 'primary', 'columns' => array('name')),
);
$smcFunc['db_create_table']('{db_prefix}treas_config', $cfg_columns, $cfg_indexes, array(), 'update');


Fix?

Title: Re: Treasury
Post by: Arantor on March 14, 2019, 05:41:17 PM
Change to:

Code: [Select]
$cfg_columns = array(
array('name' => 'name', 'type' => 'varchar', 'size' => 25, 'null' => false, 'default' => 0),
array('name' => 'value', 'type' => 'text', 'null' => false),
);
$cfg_indexes = array(
array('type' => 'primary', 'columns' => array('name')),
);
$smcFunc['db_create_table']('{db_prefix}treas_config', $cfg_columns, $cfg_indexes, array(), 'update');
Title: Re: Treasury
Post by: Sir Osis of Liver on March 14, 2019, 05:48:11 PM
Just did that, haven't tried it.  Thanks for the confirmation.

Was another one further down, but it worked.  Is this a mysql problem?
Title: Re: Treasury
Post by: gman123 on March 30, 2019, 06:01:48 PM
EDIT: Nvm I found out i have to uninstall to upgrade.
Title: Re: Treasury
Post by: lord alibaski on September 15, 2019, 01:25:27 PM
This topics not been used for some time but I had to re-open it just hit a small problem

My hosting has just moved me to another server and now I am seeing this when I click on the donations tab, removed forum name because it's private.

Code: [Select]
Database Error
Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column '"""""_forum.smf_treas_donations.custom' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
File: /home/"""""/public_html/Sources/TreasuryAdmin.php
Line: 379

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.15, while your database is at version 2.0. The above error might possibly go away if you execute the latest version of upgrade.php.

Hopefully this can be fixed on the server side but they have changed my password and they haven't sent me my new password yet so can't access whm at the moment.
Title: Re: Treasury
Post by: Thaxos on April 08, 2020, 01:38:39 AM
It looks like this mod is no longer supported to the extent that the ReadMe page that is loaded from the mod creator's website is broken due to that website domain being now up for sale.
Title: Re: Treasury
Post by: Gryzor on April 08, 2020, 05:08:54 AM
Oops that means it'll probably stop working in the near future probably :( That's a shame, anyone can suggest an alternative?
Title: Re: Treasury
Post by: vbgamer45 on April 08, 2020, 12:18:59 PM
Could be updated or forked though license in read says " GNU General Public License as published by
   the Free Software Foundation; either version 2 "