Warnings
K-braun
Posted on 10-06-2010 23:31
Offline
Admin
Posts: 138
Joined: 12.03.10
Gender: male
Warnings:
I create warnings reason, but when I want register a warning to user I cannot choose the warning reason.
Reasons is created, but when I want to choose that in reasons place is nothing.
Screen:
I tried that in some languages.
slaughter
Posted on 12-06-2010 14:43
Offline
Head Developer
Super Admin
Posts: 1090
Joined: 28.12.09
Gender: male
Warnings:
At the moment there are 2 "kinds" of warnings:
1 kind is for forum posts only and 1 kind for general warnings.
Did you create warning reasons for both types?
I guess, this warning system needs to be improved...
K-braun
Posted on 12-06-2010 15:05
Offline
Admin
Posts: 138
Joined: 12.03.10
Gender: male
Warnings:
Yes, I have two reasons for forum and other, and I cannot choose no one.
K-braun
Posted on 12-06-2010 23:20
Offline
Admin
Posts: 138
Joined: 12.03.10
Gender: male
Warnings:
paslaptinga, founded the correction.
In locale/warning.php I have translated reasons categories..
Forum -> Forumas
Other -> Kita
So, when you change it back:
Forumas -> Forum
Kita -> Other
Everything is working. You can choose the reason.
x 1
Advertising Bot Posted on 04-02-2012 15:35
Bot Agent Posts: n^xJoined: Always
K-braun
Posted on 13-06-2010 21:54
Offline
Admin
Posts: 138
Joined: 12.03.10
Gender: male
Warnings:
Jaunelis, fixed that:
Open file: warning.php
Find: (line: 71-75)
Code if(WARN_K == "USER") {
define("WARN_KIND", "Other");
} else {
define("WARN_KIND", "Forum");
}
Change to:
Code if(WARN_K == "USER") {
define("WARN_KIND", "".$locale['PDWA527']."");
} else {
define("WARN_KIND", "".$locale['PDWA526']."");
}
x 1
slaughter
Posted on 14-06-2010 13:57
Offline
Head Developer
Super Admin
Posts: 1090
Joined: 28.12.09
Gender: male
Warnings:
well, I think it is better to change those lines:
administration/warnings/1.php
Lines 79-80:
Code <option".($kind == "Forum" ? " selected='selected'" : "")." value='Forum' >".$locale['PDWA526']."</option>\n
<option".($kind == "Other" ? " selected='selected'" : "")." value='Other' >".$locale['PDWA527']."</option>\n
I will fix this in SVN next weekend.
Thanks!
Edited by slaughter on 14-06-2010 13:58
K-braun
Posted on 22-06-2010 13:24
Offline
Admin
Posts: 138
Joined: 12.03.10
Gender: male
Warnings:
Why you not fixed that in v0.08.01?
slaughter
Posted on 22-06-2010 13:48
Offline
Head Developer
Super Admin
Posts: 1090
Joined: 28.12.09
Gender: male
Warnings:
K-braun wrote:
Why you not fixed that in v0.08.01?
It was fixed in REV 426:
http://www.xp-dev...ings/1.php
Did you add the reasons before the Update or after?
If you add the reasons after the update, they should work now.
If you added the reasons before the Update, try to delete them, and add them again. Then it must work.
K-braun
Posted on 22-06-2010 18:38
Offline
Admin
Posts: 138
Joined: 12.03.10
Gender: male
Warnings:
Before update.
Everything working now.