Son konu başlığı anasayfada modunda bir sorun var

phpBB 2.0.x sürümleri için MODlar hakkında ihtiyacınız olan desteği buradan sorarak alabilirsiniz.
Kilitli
Kullanıcı avatarı
halil
Kayıtlı Kullanıcı
Mesajlar: 118
Kayıt: 11.07.2006, 21:24
Konum: ankara
İletişim:

Son konu başlığı anasayfada modunda bir sorun var

Mesaj gönderen halil »

http://www.phpbbhacks.com/download/566

linkindeki modu indirdim. Son konu başlığı ana sayfamda gözüküyor ancak forumu ziyaretçilere kapatırsam son başlıkta ana sayfadan kalkıyor.

Oysa bir kaç forumda hem forumun izyaretçilere kapalı olduğu hemde son başlığın anasayfada göründüğünü gördüm.

Bu durumu nasıl düzeltebilirim.
Teşekkürler;
Halil UZCAN

Kısa bir süre sonra sitemi tamamlayacağım ( İnşallah :) )
Kullanıcı avatarı
tuanna
Kayıtlı Kullanıcı
Mesajlar: 48
Kayıt: 25.05.2006, 13:08
İletişim:

Mesaj gönderen tuanna »

Kod: Tümünü seç

Forumlarinizin "Görüntüleme" ve "Okuma" ayarlarini "Kullanici" olarak seçtiginiz 
# zaman, asagidaki kodlarda 3 defa "d.auth_view=0" bulup, bunlardaki "0" olan 
# degeri "1" olarak degistirmelisiniz. Aksi takdirde forumunuzda görüntü alamazsiniz.
#

// Let's add some more code, this will be fun. ;)

$active_topics_sql="SELECT a.topic_id,a.topic_title,  a.topic_replies,  a.topic_last_post_id, c.post_time 
			FROM phpbb_topics a, phpbb_users b, phpbb_posts c, phpbb_forums d 
			where a.topic_last_post_id=c.post_id and b.user_id=c.poster_id 
				and d.forum_id=a.forum_id 
				and d.auth_view=0 
			ORDER BY topic_last_post_id DESC 
			LIMIT 5"; 
$active_topics = $db->sql_query($active_topics_sql); 

$active_topics_sql2="SELECT a.topic_id,a.topic_title,  a.topic_replies,  a.topic_last_post_id, c.post_time 
			FROM phpbb_topics a, phpbb_users b, phpbb_posts c, phpbb_forums d 
			where a.topic_last_post_id=c.post_id and b.user_id=c.poster_id 
				and d.forum_id=a.forum_id 
				and d.auth_view=0 
			ORDER BY topic_replies DESC 
			LIMIT 5"; 
$active_topics2 = $db->sql_query($active_topics_sql2); 

$active_topics_sql3="SELECT a.topic_id,a.topic_title,  a.topic_views, a.topic_replies,  a.topic_last_post_id, c.post_time
			FROM phpbb_topics a, phpbb_users b, phpbb_posts c, phpbb_forums d 
			where a.topic_last_post_id=c.post_id and b.user_id=c.poster_id 
				and d.forum_id=a.forum_id 
				and d.auth_view=0 
			ORDER BY topic_views DESC 
			LIMIT 5"; 
bunu yaptın mı.?
Kilitli

“2.0.x MOD Destek” sayfasına dön

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 2 misafir