Advertisement:

Author Topic: Treasury  (Read 362446 times)

Offline romanos8

  • Semi-Newbie
  • *
  • Posts: 34
Re: Treasury for SMF 1.1.x and 2.0.x
« Reply #1020 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

Offline Novice

  • Jr. Member
  • **
  • Posts: 120
Re: Treasury for SMF 1.1.x and 2.0.x
« Reply #1021 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?
« Last Edit: October 21, 2015, 05:23:11 PM by Novice »

Offline etn991

  • Newbie
  • *
  • Posts: 9
Re: Treasury for SMF 1.1.x and 2.0.x
« Reply #1022 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. 

Offline Miker1029

  • Jr. Member
  • **
  • Posts: 165
  • Gender: Male
    • http://www.facebook.com/428239094034539 on Facebook
    • https://plus.google.com/+Android-x86Net/about on LinkedIn
    • @AndroidX86Forum on Twitter
    • Android - X86 Forums
Re: Treasury for SMF 1.1.x and 2.0.x
« Reply #1023 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

Offline Novice

  • Jr. Member
  • **
  • Posts: 120
Re: Treasury for SMF 1.1.x and 2.0.x
« Reply #1024 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.

Offline Miker1029

  • Jr. Member
  • **
  • Posts: 165
  • Gender: Male
    • http://www.facebook.com/428239094034539 on Facebook
    • https://plus.google.com/+Android-x86Net/about on LinkedIn
    • @AndroidX86Forum on Twitter
    • Android - X86 Forums
Re: Treasury for SMF 1.1.x and 2.0.x
« Reply #1025 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

Offline Novice

  • Jr. Member
  • **
  • Posts: 120
Re: Treasury for SMF 1.1.x and 2.0.x
« Reply #1026 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?

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 59,297
  • Gender: Male
    • Kindred-999 on GitHub
Re: Treasury for SMF 1.1.x and 2.0.x
« Reply #1027 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
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline dadodd

  • Newbie
  • *
  • Posts: 3
Re: Treasury for SMF 1.1.x and 2.0.x
« Reply #1028 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

Offline Ataru Moroboshi

  • Semi-Newbie
  • *
  • Posts: 90
Re: Treasury for SMF 1.1.x and 2.0.x
« Reply #1029 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?

Offline johncarr

  • Newbie
  • *
  • Posts: 2
Re: Treasury for SMF 1.1.x and 2.0.x
« Reply #1030 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?

Offline LadyLike

  • Newbie
  • *
  • Posts: 3
Re: Treasury
« Reply #1031 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?

Offline LadyLike

  • Newbie
  • *
  • Posts: 3
Re: Treasury
« Reply #1032 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.

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 915
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: Treasury
« Reply #1033 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.
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.

Offline stoneageman

  • Semi-Newbie
  • *
  • Posts: 23
Re: Treasury
« Reply #1034 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.

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 915
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: Treasury
« Reply #1035 on: January 20, 2018, 12:20:29 AM »
Thanks
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.

Offline Obsydian

  • Semi-Newbie
  • *
  • Posts: 20
Re: Treasury
« Reply #1036 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?

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 59,297
  • Gender: Male
    • Kindred-999 on GitHub
Re: Treasury
« Reply #1037 on: January 27, 2018, 11:08:25 PM »
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 915
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: Treasury
« Reply #1038 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.
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.

Offline deciph3red

  • Jr. Member
  • **
  • Posts: 110
    • ClanGOAT
Re: Treasury
« Reply #1039 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?