Jump to content


Mesharsky | H2K

  • Content Count

  • Joined

  • Last visited

About Mesharsky | H2K

  • Rank
    New Member
  • Birthday 06/05/2000

Profile Information

  • Gender

Recent Profile Visitors

244 profile views
  1. If anyone have problem with curriences in top donors / profile. The problem only exist if you have 2 curriences, for example EURO AND PLN(POLISH ZŁOTY). 1 euro = 4.27 PLN If someone donates 10 EURO, in top donors weekly it says only 10 pln instead of 40.value. And to your profile is added only 10 pln as well. Here is a fix for that. Path to file applications/donate/widgets/donateTopDonors.php Find this foreach ( \IPS\Db::i()->select( array( 'member_id', 'amount' ), 'donate_users', $where ) as $donation ) { if ( !isset( $topDonors[ $donation['member_id'] ] ) ) { $topDonors[ $donation['member_id'] ] = $donation['amount']; } else { $topDonors[ $donation['member_id'] ] += $donation['amount']; } } Change it to this foreach ( \IPS\Db::i()->select( array( 'member_id', 'amount', 'rate' ), 'donate_users', $where ) as $donation ) { $donation['amount'] *= $donation['rate']; if ( !isset( $topDonors[ $donation['member_id'] ] ) ) { $topDonors[ $donation['member_id'] ] = $donation['amount']; } else { $topDonors[ $donation['member_id'] ] += $donation['amount']; } } Those changes you need to apply in profile code and everywhere. To make to work propery. I want to mention the goal update is working fine, just top donors and $ added to your profile is not working good.
  2. Funny, because the problem was caused by nginx, when i was using hybrid mode, or nginx mode it never worked, i was not sure why Hybrid = Static files will work from nginx and dynamic files works from apache When i switched to proxy mode so Proxy = Nginx works as a proxy server in front of apache. .htaccess rules works Everything work now as normall, i don't know if IPS is suitable fully for nginx, so the best way to use it is as the proxy mode.
  3. Hello, when i do test donation via ACP, it creates the topic and everything, but when someone send me donation via donate GOAL, its not working, goal is no updating and nothing happens, topic don't create at all. I get the money, but nothing is happening on the website, i use the latest version. // Got it working.
  • Create New...