Thank you for this hack, I have a problem though, when I try to post a message it wont post for some reason and I get is this error
Quote:
The following errors occurred with your submission:
1. Please complete both the subject and message fields.
2. Please complete both the subject and message fields.
3. Please complete both the subject and message fields.
çok güzel bir mod, eline sağlık, hemen kurdum yalnız birkaç not iletmek istiyorum:
1. add new messageın resmi new thread olmalı şu anda reply (benim sitemde bu buton yanıtla olarak geçiyor örneğin)
2. moderasyon için mail gelse takibi çok daha kolay olurdu.
3. edit ve sil başka kişilerin mesajlarında kayıtsızlar veya yetkisi olmayanlar tarafından da görüntüleniyor. Kullanamıyorlar ama görünmese daha iyi olur, bunları sadece yetkisi olan usergruplar görebilmeli bence.
4. Yeni mesaj yazarken eksik bırakılan alanlar için hata veriyor ama hata kodlarında hangi alan boş kalmış belirtmiyor. [Örneğin şehri veya websitesini yazmadığımda şöyle geliyor hata 1. Mesaj yazmadınız. 2. Mesaj yazmadınız. 3. Mesaj yazmadınız.]
5. Bir de zorunlu olarak girilmesi gereken bu alanları biz belirlesek, çünkü her kullanıcının kendine ait web sitesi olmayabilir.
Teşekkürler.
I also noticed that it grabbed a wrong avatar for my tester.
Does this work with custom avatars? It grabbed an avatar the person does not have.
Ok, I installed this Guestbook on vb 3.7.3 and all seems to be working ok with exception of that it's not showing the right custom avatar. I took a moment and made a couple modifications to the MySQL query in the GuestBook.php file. I've done a few tests and it appears to be working correctly now. This should fix the issue for everyone else however I make no promises. If you would like to try making this same correction, then follow this:
1. Make a copy of your GuestBook.php file then open the orginial in your favorite text editor.
2. Look for the following query which should be around lines 153 - 157:
PHP Code:
SELECT guestbook.id, guestbook.userid, guestbook.yazan, guestbook.sehir, guestbook.site, guestbook.message, guestbook.not, guestbook.tarih, guestbook.baslik, user.avatarid, user.avatarrevision, avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline FROM " . TABLE_PREFIX . "guestbook AS guestbook LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid=guestbook.userid) LEFT JOIN " . TABLE_PREFIX . "avatar AS avatar ON(avatar.avatarid=guestbook.userid) LEFT JOIN " . TABLE_PREFIX . "customavatar AS customavatar ON(customavatar.userid=guestbook.userid)
3. Replace the previously mentioned query, with the one below:
PHP Code:
SELECT guestbook.id, guestbook.userid, guestbook.yazan, guestbook.sehir, guestbook.site, guestbook.message, guestbook.not, guestbook.tarih, guestbook.baslik, user.avatarid, user.avatarrevision, avatarpath, NOT ISNULL( customavatar.userid ) AS hascustomavatar, customavatar.dateline FROM " . TABLE_PREFIX . "guestbook AS guestbook LEFT JOIN " . TABLE_PREFIX . "user AS user ON user.userid = guestbook.userid LEFT JOIN " . TABLE_PREFIX . "avatar AS avatar ON avatar.avatarid = user.avatarid LEFT JOIN " . TABLE_PREFIX . "customavatar AS customavatar ON customavatar.userid = user.userid
4. Save the Guestbook.php and upload it to your server.
It should be working now. If you feel uncomfortable about making edits to the file then feel free to download the attachement.