February 04 2012 15:35:50
Languages
Navigation
Friends & Affiliates
Roadmap
[N] Error log like in P...
[N] Submit photo - Subc...
[N] Warnings - who can ...
[N] [edit profile]Save ...
[N] Moving panels with ...
[N] Forum thread deform...
[N] Thumbnails in downl...
[N] [Locale German] New...
[N] Warnings only for a...
[N] Different avatar sizes
Users Online
· Guests Online: 8

· Members Online: 0

· Total Members: 464
· Newest Member: Erikutis
Last Seen Users
· dalem20:28:30
· Erikutis22:36:07
· videry 1 day
· inflames 1 day
· SilverAngel 2 days
· jebajseti 2 days
· outchorn 2 days
· uygarozan 4 days
· deejay-erik 5 days
· DJSimse 5 days

Login
 Username  Password  
View Thread: Warnings
Who is here? 2 Guests
 Print Thread
Warnings
K-braun
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:
img823.imageshack.us/img823/8207/warnings.png

I tried that in some languages.
 
slaughter
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
Yes, I have two reasons for forum and other, and I cannot choose no one.
 
K-braun
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^x
Joined: Always

  
K-braun
Jaunelis, fixed that:

Open file: warning.php

Find: (line: 71-75)
Download source  Code
if(WARN_K == "USER") {
   define("WARN_KIND", "Other");
} else {
   define("WARN_KIND", "Forum");
}




Change to:
Download source  Code
if(WARN_K == "USER") {
   define("WARN_KIND", "".$locale['PDWA527']."");
} else {
   define("WARN_KIND", "".$locale['PDWA526']."");
}


  x 1
 
slaughter
well, I think it is better to change those lines:
administration/warnings/1.php

Lines 79-80:

Download source  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
Why you not fixed that in v0.08.01?
 
slaughter
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
Before update.
Everything working now.
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Warnings Suspected Bugs and Errors 2 21-03-2010 19:55
Share this thread
URL:
BB-Code:
HTML:
AddThis:
Share |
Render time: 0.15 seconds - 104 Queries 831,060 unique visits