Raised This Month: $81 Target: $400
 20% 

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 11-08-2013 , 20:31   Re: Donation Control [updated 11-7-13]
Reply With Quote #111

Er because they name is entirely special chars.... I'll see what I can do
__________________
nineteeneleven is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 11-08-2013 , 20:54   Re: Donation Control [updated 11-7-13]
Reply With Quote #112

you can put this after line 93 in the ipn.php untill i figure out a better way. What kinda of characters are those? i have no idea where to begin with that.

PHP Code:

if (empty($username)) {
    
$username=$tools->randomPassword(6);

__________________
nineteeneleven is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 11-08-2013 , 21:23   Re: Donation Control [updated 11-7-13]
Reply With Quote #113

never mind, there is not any real easy way (that i could find) to store all those different special charaters in the database. lol update to 2.0.3



changed files:
class_lib.php

ipn.php

index.php

donate.php

everything in /admin/pages
__________________
nineteeneleven is offline
StayOx
SourceMod Donor
Join Date: Jun 2012
Location: Gliese 581g
Old 11-08-2013 , 21:40   Re: Donation Control [updated 11-7-13]
Reply With Quote #114

Quote:
Originally Posted by nineteeneleven View Post
never mind, there is not any real easy way (that i could find) to store all those different special charaters in the database. lol update to 2.0.3



changed files:
class_lib.php

ipn.php

index.php

donate.php

everything in /admin/pages

are special caracters, if there is a way to set to UTF-8 I think I managed to solve the problem set UTF-8 to be able to make the translations.

http://www.w3schools.com/tags/ref_charactersets.asp
http://en.wikipedia.org/wiki/Character_encoding


just some suggestions

maybe it would be cool to set everything to support UTF-8 with that customizations and translations would be simpler?

Another issue is the time format that are different in each region.


EDIT:

Not solve the problem

PHP Code:
if (empty($username)) {
    
$username=$tools->randomPassword(6);

see the problem
Attached Thumbnails
Click image for larger version

Name:	no_name.png
Views:	243
Size:	76.8 KB
ID:	127643  

Last edited by StayOx; 12-04-2013 at 16:22.
StayOx is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 11-08-2013 , 22:20   Re: Donation Control [updated 11-7-13]
Reply With Quote #115

2.0.3 will at least stop the errors and allow the script to put the user in sourcebans . I don't know much about handling special chars. But I will look into it. I am going to be busy this weekend though so it will be a few day.


Also I can't tell what ur trying to show me in the screenshot.

Edit: if you are trying to track the changes, use the github repo.
__________________

Last edited by nineteeneleven; 11-08-2013 at 22:27.
nineteeneleven is offline
StayOx
SourceMod Donor
Join Date: Jun 2012
Location: Gliese 581g
Old 11-08-2013 , 23:48   Re: Donation Control [updated 11-7-13]
Reply With Quote #116

Quote:
Originally Posted by nineteeneleven View Post
2.0.3 will at least stop the errors and allow the script to put the user in sourcebans . I don't know much about handling special chars. But I will look into it. I am going to be busy this weekend though so it will be a few day.


Also I can't tell what ur trying to show me in the screenshot.

Edit: if you are trying to track the changes, use the github repo.

ok. about the image is that the note of the User name does not appear on the confirmation screen when the name has special characters
StayOx is offline
Dr_Knuckles
AlliedModders Donor
Join Date: Mar 2005
Location: SW Florida
Old 11-09-2013 , 08:36   Re: Donor Control [updated 11-7-13]
Reply With Quote #117

Quote:
Originally Posted by StayOx View Post
Your Admin user must have access to a group of type: "Server Admin Group"
the same group that you defined in config.php > define('SB_ADMINS', 'Administrators');

In SourceBans go to: Admin Panel> Group Settings> Add to Group > Select group type: "Server Admin Group" > Enter with the name of Group "Administrators"
and now choose the flags and immunity that your Donators will have access.
Im so stupid, thanks
__________________
Dr_Knuckles is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 11-09-2013 , 18:03   Re: Donation Control 2.0.4 [updated 11-9-13]
Reply With Quote #118

2.0.4

MAKE SURE YOU RUN admin/install/database_utf8.php, this will update your database to use utf8 instead of latin or whatever.

added logging for server commands that were sent

fixed manual deletion not removeing from ccc database

full support for custom characters

made notification in admin panel hide on click.


This should be the last update for a while
__________________

Last edited by nineteeneleven; 11-09-2013 at 18:12.
nineteeneleven is offline
Dr_Knuckles
AlliedModders Donor
Join Date: Mar 2005
Location: SW Florida
Old 11-09-2013 , 18:34   Re: Donation Control 2.0.4 [updated 11-9-13]
Reply With Quote #119

Gonna go back old school.

+karma!!!
__________________
Dr_Knuckles is offline
StayOx
SourceMod Donor
Join Date: Jun 2012
Location: Gliese 581g
Old 11-09-2013 , 19:20   Re: Donation Control 2.0.4 [updated 11-9-13]
Reply With Quote #120

Quote:
Originally Posted by nineteeneleven View Post
2.0.4

MAKE SURE YOU RUN admin/install/database_utf8.php, this will update your database to use utf8 instead of latin or whatever........
Nice Update, Thanks

Now it is only necessary update the "Collation" on file: install.sql and/or table "donors" to "utf8_general_ci"

I do not know if the plugin track.smx also uses utf-8, so it does not update the "username" on database to another charset.... I'll check

Last edited by StayOx; 11-09-2013 at 19:29.
StayOx 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 06:16.


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