Raised This Month: $32 Target: $400
 8% 

Release Donation Control 3.1.0 [over 1000 donations served!]


Post New Thread Reply   
 
Thread Tools Display Modes
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 04-05-2014 , 11:05   Re: Donation Control 2.0.4 [updated 11-9-13]
Reply With Quote #221

Quote:
Originally Posted by Advokat View Post
I am not a smart man...this has fixed my issue. Plugin appears to be working perfectly. Curious, would there be any potential for a set minimum donation amount? In any case, thanks for all your work, man. It's not that much but hopefully enough for a few beers, on me.

Thanks man, There is currently a $5 minimum if you want to change it, its on line 64 of donate.php
PHP Code:
if ($amount "5") {
    
$amountSmall true;
}else{
    
$amountSmall false;

__________________
nineteeneleven is offline
Advokat
Member
Join Date: Mar 2014
Location: Australia
Old 04-06-2014 , 03:43   Re: Donation Control 2.0.4 [updated 11-9-13]
Reply With Quote #222

Ah, much appreciated. With a tiny bit of fiddling I was able to add different minimums per tier and appropriate warning messages for each.

Last edited by Advokat; 04-06-2014 at 03:52.
Advokat is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 04-06-2014 , 13:19   Re: Donation Control [over 350 donations served!]
Reply With Quote #223

hey everyone please update these files from the latest bitbucket commit

index.php
donate.php
includes/class_lib.php
admin/index.php

i fixed various bugs and a possible exploit.
__________________
nineteeneleven is offline
island55
Senior Member
Join Date: Aug 2010
Location: charleston
Old 04-06-2014 , 15:38   Re: Donation Control 2.1.5 [over 350 donations served!]
Reply With Quote #224

nineteeneleven: in your manual you have a section that says there's a sourcemod directory in your master zip with a plugin in there.. however it's not there?
island55 is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 04-06-2014 , 16:48   Re: Donation Control 2.1.5 [over 350 donations served!]
Reply With Quote #225

Yea I just updated the manual this afternoon. It now uses McKays player analytics plugin instead
__________________
nineteeneleven is offline
Advokat
Member
Join Date: Mar 2014
Location: Australia
Old 04-07-2014 , 03:16   Re: Donation Control 2.1.5 [over 350 donations served!]
Reply With Quote #226

Just in regards to word/text formatting, I noticed that the last of part of msg6, following the group name, was being pushed onto the next line regardless of length of the text. For example, http://imgur.com/a/yYWBy#0, where I've set msg6 as:
Code:
"msg6" : "%s,",
This doesn't seem exclusive to my edited donate.php nor translation though as your demo site also formats the same way: http://i.imgur.com/yPTNOPs.png

It's not in anyway a major concern but I was just wondering if there was an easy fix, kludgey or otherwise.

Last edited by Advokat; 04-07-2014 at 03:20.
Advokat is offline
darkboy245
Senior Member
Join Date: Feb 2014
Old 04-07-2014 , 08:08   Re: Donation Control 2.1.5 [over 350 donations served!]
Reply With Quote #227

I get a blank page when trying logging in to admin cp or donating through paypal.
Help will be appreciated
Sorry for this newbie question but how can I find my API_KEY?

Last edited by darkboy245; 04-07-2014 at 08:50.
darkboy245 is offline
Donski
Senior Member
Join Date: Sep 2012
Old 04-07-2014 , 09:16   Re: Donation Control 2.1.5 [over 350 donations served!]
Reply With Quote #228

Quote:
Originally Posted by darkboy245 View Post
I get a blank page when trying logging in to admin cp or donating through paypal.
Help will be appreciated
Sorry for this newbie question but how can I find my API_KEY?
https://steamcommunity.com/dev/apikey
Donski is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 04-07-2014 , 12:23   Re: Donation Control 2.1.5 [over 350 donations served!]
Reply With Quote #229

Quote:
Originally Posted by Advokat View Post
Just in regards to word/text formatting, I noticed that the last of part of msg6, following the group name, was being pushed onto the next line regardless of length of the text. For example, http://imgur.com/a/yYWBy#0, where I've set msg6 as:
Code:
"msg6" : "%s,",
This doesn't seem exclusive to my edited donate.php nor translation though as your demo site also formats the same way: http://i.imgur.com/yPTNOPs.png

It's not in anyway a major concern but I was just wondering if there was an easy fix, kludgey or otherwise.
try removing the closing </p> tag on line 193 195 and 198 in donate.php

PHP Code:
if(TIERED_DONOR){ 
if (
$tier=="1") {
printf(" "$lang->donate[0]->msg6." ",$group1['name']);
}else{
printf(" "$lang->donate[0]->msg6." ",$group2['name']);
 }
}else{ 
echo 
" ";
 } 
__________________

Last edited by nineteeneleven; 04-07-2014 at 12:24.
nineteeneleven is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 04-08-2014 , 11:11   Re: Donation Control 2.0.4 [updated 11-9-13]
Reply With Quote #230

Quote:
Originally Posted by nineteeneleven View Post
if your not using mckays analytics plugin, try setting player_tracker to false.

Its that way be default as of like last week. Snelvuur pointed that out the other day to me.
This fixed it although I have no idea why that would prevent it from connecting to the database.
Now I just need to figure out an API key..

edit
Found it and now it works.

Last edited by Phaiz; 04-08-2014 at 11:31.
Phaiz is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode