| Author | Message |
Kral
91 posts |
#7445 2007-10-19 23:03 GMT |
|
Özel pm leri silmek için bi eklenti varmı yani 3 gün önce atılmış pm otamatikmen silinsin 3 gün geçtiği için otamatik kendiligindne silinsin |
|
Kaan
2,041 posts |
#7463 2007-10-20 13:40 GMT |
|
Eklentide yapılabilir.
- 1 Yıldan eski özel mesajları sil (Arşiv bölümü dahil). - Arşive alınmamış 6 aylık özel mesajları sil (gelen kutusu). - 3 aydan eski özel mesajları sil. php-MyAdmin'e girip sorguları çalıştırın. "SQL" : Code: DELETE FROM sed_pm WHERE pm_date < UNIX_TIMESTAMP(NOW()) - 86400 * 365; DELETE FROM sed_pm WHERE pm_date < UNIX_TIMESTAMP(NOW()) - 86400 * 180 AND pm_state=1; DELETE FROM sed_pm WHERE pm_date < UNIX_TIMESTAMP(NOW()) - 86400 * 90 AND pm_state=0; OPTIMIZE TABLE sed_pm; Not: Alıntı. |
|
Kral
91 posts |
#7465 2007-10-20 14:50 GMT |
|
Code: Error SQL query: DELETE FROM sed_pm WHERE pm_date < MySQL said: #1054 - Unknown column 'lt' in 'where clause' Error SQL query: UNIX_TIMESTAMP(NOW()) - 86400 * 10 MySQL said: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UNIX_TIMESTAMP(NOW()) - 86400 * 10' at line 1 Error SQL query: DELETE FROM sed_pm WHERE pm_date < MySQL said: #1054 - Unknown column 'lt' in 'where clause' Error SQL query: UNIX_TIMESTAMP(NOW()) - 86400 * 3 AND pm_state=1 MySQL said: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UNIX_TIMESTAMP(NOW()) - 86400 * 3 AND pm_state=1' at line 1 Error SQL query: DELETE FROM sed_pm WHERE pm_date < MySQL said: #1054 - Unknown column 'lt' in 'where clause' Error SQL query: UNIX_TIMESTAMP(NOW()) - 86400 * 3 AND pm_state=0 MySQL said: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UNIX_TIMESTAMP(NOW()) - 86400 * 3 AND pm_state=0' at line 1 Hata verdi |
|
> 1 <
Benzer konular (Similar topics) #BETA
| Konular | Mesajlar | Son Yazar | Güncelleme |
| Özel mesajlar yardım!!! | 9 | SessizCrew | 200 Gün |
| Son Mesajlar | 5 | EmreArdic | 238 Gün |
| Mesajlar Düzenlenmiyor | 11 | Kripteks | 476 Gün |
| Mesajlar[ Okunma ] Son Gönderen | 8 | mert | 457 Gün |
| Bosch'tan İyimser Mesajlar | 1 | KonuMatik | 120 Gün |




