Koby Posted November 10, 2015 Posted November 10, 2015 19 minutes ago, Mike John said: Can you PM me ftp and acp login details to take a closer look? I honestly don't really feel comfortable giving out that information. Is there any way the ability to edit/create goals could be solved otherwise?
Michael.J Posted November 10, 2015 Author Posted November 10, 2015 30 minutes ago, Koby said: I honestly don't really feel comfortable giving out that information. Is there any way the ability to edit/create goals could be solved otherwise? Ok well support will be slower as you'll need to provide feedback on each request. Quote It's showing the total donation history amount as the current amount towards any open goals: Do you have any donation or goal automatic resets in place? Out of all the active goals, the total is exactly $25 right now? Quote Also, when I tried the edit the existing goal in admin cp, it gave me an error: Same error happens when I try to create a new goal. So I can't add or edit goals at all. :/ Please check uploads/logs/ for any sql error logs that might match the donations or donate keywords. Quote and the top donors list just says this (while also saying all donations took place in 1969 o.O) I'm looking into this now as reported elsewhere.
Koby Posted November 10, 2015 Posted November 10, 2015 (edited) Do you have any donation or goal automatic resets in place? No. Out of all the active goals, the total is exactly $25 right now? Yes the only active goal should be the one for $25 Please check uploads/logs/ for any sql error logs that might match the donations or donate keywords. &app=donate&module=goals&controller=goals&do=form&id=20 IPS\Db\Exception 1048: Column 'g_received' cannot be null #0 system/Db/Db.php(784): IPS\_Db->preparedQuery('UPDATE `ipb_kfd...', Array) #1 system/Patterns/ActiveRecord.php(460): IPS\_Db->update('donate_goals', Array, Array) #2 system/Node/Model.php(1895): IPS\Patterns\_ActiveRecord->save() #3 applications/donate/sources/Goal/Goal.php(293): IPS\Node\_Model->save() #4 applications/donate/sources/Goal/Goal.php(267): IPS\donate\_Goal->rebuildGoalStats() #5 system/Node/Model.php(2507): IPS\donate\_Goal->postSaveForm(Array) #6 system/Node/Controller.php(337): IPS\Node\_Model->saveForm(Array) #7 [internal function]: IPS\Node\_Controller->form() #8 system/Dispatcher/Controller.php(85): call_user_func(Array) #9 system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute() #10 applications/donate/modules/admin/goals/goals.php(35): IPS\Node\_Controller->execute() #11 system/Dispatcher/Dispatcher.php(129): IPS\donate\modules\admin\goals\_goals->execute() #12 admin/index.php(13): IPS\_Dispatcher->run() #13 {main} I removed the forum path from each line, but other than that, that is the error. Also I just noticed, but apparently despite giving that error, it was still making the goals. o.o Or at least the test goals are now listed. Edited November 10, 2015 by Koby
Neej Posted November 11, 2015 Posted November 11, 2015 (edited) Hi Mike, I just updated my forum to 4.1 now that you have released the 4.1 Donations app. I only have on minor issue which is that it no longer is putting that nice little green $ icon in the users postContainer if they have donated and make a post to a thread. Have you got a little bit of code that I could just throw in to my Theme HTML/CSS editor in Templates>Forum>front>Topics>postContainer that would add that $ donated symbol to people that have donated? Thanks mate, keep up the good work I love your forms and Donations apps. Edited November 11, 2015 by Joshua Dignam
Michael.J Posted November 12, 2015 Author Posted November 12, 2015 On 10/11/2015, 5:11:49, Koby said: Do you have any donation or goal automatic resets in place? No. Out of all the active goals, the total is exactly $25 right now? Yes the only active goal should be the one for $25 Please check uploads/logs/ for any sql error logs that might match the donations or donate keywords. &app=donate&module=goals&controller=goals&do=form&id=20 IPS\Db\Exception I've confirmed both and will have a fix out next version. If everything goes to plan, I should have that released tomorrow. 21 hours ago, Joshua Dignam said: Have you got a little bit of code that I could just throw in to my Theme HTML/CSS editor in Templates>Forum>front>Topics>postContainer that would add that $ donated symbol to people that have donated? Are you using a different theme by any chance? There was a hook that re-added this in IPB 4.0 but maybe 4.1 messed it up. If you want to add it manually, the code that can be used is here {{if $comment->author()->donate_donations}} <li class="ipsType_light ipsSpacer_top" data-ipsTooltip title="{lang="donor_title"}"> <span class="ipsBadge ipsBadge_small ipsBadge_icon ipsBadge_positive"><i class="fa fa-dollar"></i></span> {lang="member_donor"} </li> {{endif}} JiigSaaw and Koby 2
Koby Posted November 12, 2015 Posted November 12, 2015 Thanks. I'll be sure to grab it if I get the notification of it being updated.
Neej Posted November 13, 2015 Posted November 13, 2015 On 12/11/2015, 12:47:36, Mike John said: Are you using a different theme by any chance? There was a hook that re-added this in IPB 4.0 but maybe 4.1 messed it up. If you want to add it manually, the code that can be used is here {{if $comment->author()->donate_donations}} <li class="ipsType_light ipsSpacer_top" data-ipsTooltip title="{lang="donor_title"}"> <span class="ipsBadge ipsBadge_small ipsBadge_icon ipsBadge_positive"><i class="fa fa-dollar"></i></span> {lang="member_donor"} </li> {{endif}} Thank you Mike. Yes I am using a different theme (Chameleon Dark from ipsfocus.com). You are right, something about upgrading to 4.1 removed the hook. Can confirm your code above is working for me.
Michael.J Posted November 13, 2015 Author Posted November 13, 2015 New version has been released, details of this release below. This release is for IPB 4.1+ only! Several more bug fixes, see bug reports here. Addition of profile tab in donor members profiles.
Koby Posted November 13, 2015 Posted November 13, 2015 (edited) 10 minutes ago, Mike John said: New version has been released, details of this release below. This release is for IPB 4.1+ only! Several more bug fixes, see bug reports here. Addition of profile tab in donor members profiles. Updated, now it doesn't list donation stats at all, and the top donor list still says offline donations. Error logs: Fri, 13 Nov 2015 03:42:17 +0000 (Severity: 0) 159.118.20.29 - http://kametsu.com/index.php?/donate/ Unknown column 'donate_goals.g_show' in 'where clause' SELECT SUM(fees) FROM `[myprefix]donate_users` AS `donate_users` WHERE donate_users.status=? AND donate_goals.g_show=? Array ( [0] => 1 [1] => 1 ) Changed the prefix in the error log as I don't feel like that should be viewed in public, but other than that, it's what the error shows. Edited November 13, 2015 by Koby
Michael.J Posted November 13, 2015 Author Posted November 13, 2015 2 minutes ago, Koby said: Updated, now it doesn't list donation stats at all, and the top donor list still says offline donations. As in zero for both donations and goals totals? Do you have any goal reset or goals set to not show? The total stats will now take into account active goals, donation and goal resets and show the proper amount like they did in IPB 3.4.
Koby Posted November 13, 2015 Posted November 13, 2015 (edited) 4 minutes ago, Mike John said: As in zero for both donations and goals totals? Do you have any goal reset or goals set to not show? The total stats will now take into account active goals, donation and goal resets and show the proper amount like they did in IPB 3.4. No. As in the entire block doesn't even appear at all. Also I get this sometimes when I try to view the donation page: But when you refresh it'll load... and when you view it, see: The block of stats is no where to be found. I don't know if you saw the error log in my last post or not. Edited November 13, 2015 by Koby
Michael.J Posted November 13, 2015 Author Posted November 13, 2015 Can you check your donate_goals database table for the "g_show" field and see if it exists? Just checked again on 2 test boards and that new query works for me still.
Koby Posted November 13, 2015 Posted November 13, 2015 4 minutes ago, Mike John said: Can you check your donate_goals database table for the "g_show" field and see if it exists? Just checked again on 2 test boards and that new query works for me still. It's there. Maybe has something to do with it not working properly with my table prefix? My forum doesn't use the default.
Neej Posted November 13, 2015 Posted November 13, 2015 (edited) I just updated to 3.2.7 to confirm that the g_show table is also there. I am getting the exact same errors as Koby, Donations page breaks and so does any page that has a donations Top/Recent donators widget on it. so I'll be going back to version 3.2.6. I noticed when updating to 3.2.7 it actually put that $Donator postContainer code in, so I had to remove the code manually from postContainer that I had entered earlier. However when reinstalling 3.2.6 it no longer had the $Donator code in there? So maybe it was broken in 3.2.6? Edited November 13, 2015 by Joshua Dignam
Michael.J Posted November 13, 2015 Author Posted November 13, 2015 23 minutes ago, Koby said: Maybe has something to do with it not working properly with my table prefix? My forum doesn't use the default. Should be independent of table prefixes. 16 minutes ago, Joshua Dignam said: I am getting the exact same errors as Koby, Donations page breaks and so does any page that has a donations Top/Recent donators widget on it. so I'll be going back to version 3.2.6. If you've got this live on your site, can I get ftp/acp login details to look through this? 16 minutes ago, Joshua Dignam said: I noticed when updating to 3.2.7 it actually put that $Donator postContainer code in, so I had to remove the code manually from postContainer that I had entered earlier. However when reinstalling 3.2.6 it no longer had the $Donator code in there? So maybe it was broken in 3.2.6? Yes IPB 4.1 changed the hook position, the latest version re-added support for this.
Neej Posted November 13, 2015 Posted November 13, 2015 1 hour ago, Mike John said: If you've got this live on your site, can I get ftp/acp login details to look through this? Sorry I reverted back to 3.2.6 already. I run a backup website to do development on though, I will install it on there and give you ACP and FTP. Will send you a message when it's done. (will have to be sometime tomorrow though)
kkucharsky Posted November 13, 2015 Posted November 13, 2015 Hello @Mike John, I have still this problem (on screen). When I donate I see member as guest not dedicated user... Whats the problem?
Neej Posted November 13, 2015 Posted November 13, 2015 1 hour ago, kkucharsky said: Hello @Mike John, I have still this problem (on screen). When I donate I see member as guest not dedicated user... Whats the problem? Have you setup the paypal account correctly that is to receive the money? You need to go in and add the payment gateway in to the IPN settings. Go to Donations>Payment Gateways. make sure Developer mode is turned off. Make sure the email address listed for your gateway is correct, I'm assuming you are using paypal so the below applies to Paypal, I haven't used any other gateways. See the payment gateway address up the top in bold? You need to add that to the paypal account. To turn on IPN in paypal, login to paypal and on your main page click Seller Preferences Locate the Instant payment notifications and click Update Add the gateway address listed in your Donations and click Recieve IPN Messages (enabled) and then click save.
Koby Posted November 15, 2015 Posted November 15, 2015 Any progress on this? Kind of makes it unusable when most of the time it just shows an error until you refresh
Neej Posted November 15, 2015 Posted November 15, 2015 4 hours ago, Koby said: Any progress on this? Kind of makes it unusable when most of the time it just shows an error until you refresh Can you revert back to 3.2.6? That seems stable to me
kkucharsky Posted November 15, 2015 Posted November 15, 2015 Hello, I have a several question: 1. What if when I'm using a standard account in paypal and skrill, not for business? 2. When I configure my gateway I have 'gateway instruction' in ACP. Skrill requires a secret word, and Paypal requires Paypals IPN to be turned on. So, if I have standard account then I will not have the ability to configure Donate application? I'd like to see every donate in my forum, but actually when I have standard account in Skrill I see: Gateway Email Mismatch despite the fact that the payment on account is added.
Michael.J Posted November 17, 2015 Author Posted November 17, 2015 On 13/11/2015, 8:05:47, kkucharsky said: Hello @Mike John, I have still this problem (on screen). When I donate I see member as guest not dedicated user... Whats the problem? That's still a confirmed bug, just logging "Paypal" instead of the actual donor. That will be fixed in the next version after I overhaul the payments validator. On 15/11/2015, 6:22:52, Koby said: Any progress on this? Kind of makes it unusable when most of the time it just shows an error until you refresh I'm just waiting on some further test cases so I can track the exact cause as this seems to affect some boards and not others seemingly randomly at this point. My aim is to push forward another release again this week. On 16/11/2015, 2:58:40, kkucharsky said: 1. What if when I'm using a standard account in paypal and skrill, not for business? 2. When I configure my gateway I have 'gateway instruction' in ACP. Skrill requires a secret word, and Paypal requires Paypals IPN to be turned on. So, if I have standard account then I will not have the ability to configure Donate application? I'd like to see every donate in my forum, but actually when I have standard account in Skrill I see: Gateway Email Mismatch despite the fact that the payment on account is added. 1/2. I've seen conflicting reports but I do believe that Paypal requires a Premier or Business account to enable IPN support which the Donations app uses. You'll need to check with Skrill as to their policy on API access as I'm not entirely familiar with it as with Paypal. Can you double check your gateway email/id is set to exactly what you have in Skrill as well?
Michael.J Posted November 18, 2015 Author Posted November 18, 2015 On 15/11/2015, 6:22:52, Koby said: Any progress on this? Kind of makes it unusable when most of the time it just shows an error until you refresh Manual patch can be found here until new update is released.
Koby Posted November 18, 2015 Posted November 18, 2015 4 minutes ago, Mike John said: Manual patch can be found here until new update is released. Thanks, that worked. Now if only the top donor list wouldn't show offline donator from 1969.
socceronly Posted November 19, 2015 Posted November 19, 2015 Hi Mike, I just posted this in the Product Feedback area. Not sure if it's something best suited for this module or something Commerce should do. Just an idea. https://community.invisionpower.com/topic/423148-move-or-amount-of-a-commerce-sale-to-a-donation-goal/
Recommended Posts