Przesunięty przez: joli 29-06-2009, 18:40 |
[Problem] Z?a kolejnosc userów w ... |
Autor |
Wiadomość |
Marciano

Posty: 20
|
Wysłany: 30-11-2007, 21:22 [Problem] Zła kolejnosc userów w ...
|
|
|
Cóż próbowałem juz synchrionizacji useó ale to nie pomogło wiec sie pytam. Mam zła kolejnosc userów przy opisie: Przez ostatnie 24 godziny byli na forum
tu daje screena problemu;
ma moze ktoś pomysł lub wie jak to mozna naprawic ;P |
|
|
|
 |
Gadatliwa Kasia
|
|
|
|
JrQ-

Pomógł: 147 razy Posty: 1387
|
Wysłany: 30-11-2007, 21:39
|
|
|
Userzy sortowani są wg zezwoleń, a nie wg kolorku :] |
|
|
|
 |
Marciano

Posty: 20
|
Wysłany: 30-11-2007, 22:15
|
|
|
ale mi chodzi by userzy byli sortowani alfabetycznie a nie wedługo kolorków |
|
|
|
 |
koziolek


Pomógł: 675 razy Posty: 1925
|
Wysłany: 01-12-2007, 10:17
|
|
|
w pliku index.php w liniach 624-628 zmień Kod: | $sql = "SELECT user_id, username, user_level, user_jr, user_session_time, user_allow_viewonline
FROM " . USERS_TABLE . "
WHERE user_id > 0
AND user_session_time >= $time_to_show
ORDER BY user_level = 1 DESC, user_jr DESC, user_level = 2 DESC, user_level = 0 DESC, username"; | na Kod: | $sql = "SELECT user_id, username, user_level, user_jr, user_session_time, user_allow_viewonline
FROM " . USERS_TABLE . "
WHERE user_id > 0
AND user_session_time >= $time_to_show
ORDER BY username"; |
|
_________________ #4 /xg.xrybvmbx.jjj//:cggu |
|
|
|
 |
Marciano

Posty: 20
|
Wysłany: 01-12-2007, 21:55
|
|
|
dziex działa dobrze a czy dało by sie tak by admini byli i modzi na poczatku a userzy w kolejnosci ?? tak tylko sie pytam |
|
|
|
 |
JrQ-

Pomógł: 147 razy Posty: 1387
|
Wysłany: 01-12-2007, 22:19
|
|
|
Przecież tak jest w standardzie ! |
|
|
|
 |
Marciano

Posty: 20
|
Wysłany: 01-12-2007, 22:55
|
|
|
ae teraz po tejzmianie mam wszystkich alfabetycznie a przed zmiana nowi userzy nie byli alfabetycznie ;/ moze to cos z tego że przenosiłem forum na inny serwer ?? |
|
|
|
 |
Kampi

Pomógł: 4 razy Posty: 63
|
Wysłany: 18-05-2010, 21:17
|
|
|
Czy da się zrobić tak żeby tylko admini i jadmini byli na początku listy, a reszta alfabetycznie - niezależnie czy jest to bot, czy dany user jest moderatorem czy też nie? |
|
|
|
 |
Gadatliwa Kasia
|
|
|
|
Ferguss
Posty: 17
|
Wysłany: 07-12-2010, 22:50
|
|
|
Ma ktoś rozwiązanie? |
|
|
|
 |
|