vbulletin deki gibi her forumun yanında son atılan msj

phpBB 2.0.x sürümleri için yapılmasını istediğiniz veya arayıpta bulamadığınız MODları buraya yazabilirsiniz.
Kilitli
TheScorpion
Kayıtlı Kullanıcı
Mesajlar: 70
Kayıt: 27.02.2006, 14:20
İletişim:

vbulletin deki gibi her forumun yanında son atılan msj

Mesaj gönderen TheScorpion »

Arkadaşlar phpbb için vbulletin deki gibi her forumun yanında son atılan mesajları gösteren bir mod varmı.
Kullanıcı avatarı
LeBron
Kayıtlı Kullanıcı
Mesajlar: 519
Kayıt: 17.01.2006, 12:22
İletişim:

Mesaj gönderen LeBron »

Yeni başlık açmadan önce lüften arama fonksiyonunu kullanalım.
http://www.phpbbturkey.com/viewtopic.ph ... last+topic
TheScorpion
Kayıtlı Kullanıcı
Mesajlar: 70
Kayıt: 27.02.2006, 14:20
İletişim:

Mesaj gönderen TheScorpion »

ama benim aradığım mod bu değilki :( Bu mod zaten benim forumumda kurulu. vbullettindeki gibi her forumun yanında o foruma ait son msjın gösterilmesini istiyorum.

[ resmi görüntülemek için tıklayın ]
Kullanıcı avatarı
CaN_BaKıR
Kayıtlı Kullanıcı
Mesajlar: 459
Kayıt: 17.03.2006, 01:16

Mesaj gönderen CaN_BaKıR »

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

Bu modu kurun... İstediğiniz mod budur...
[ resmi görüntülemek için tıklayın ]
phpBB Nasıl Kurulur
https://www.phpbbturkey.com/viewtopic.php?t=35
Mod Nasıl Kurulur
https://www.phpbbturkey.com/viewtopic.php?t=108

Lütfen Özel Mesaj Atıp Soru Sormayınız !!!
TheScorpion
Kayıtlı Kullanıcı
Mesajlar: 70
Kayıt: 27.02.2006, 14:20
İletişim:

Mesaj gönderen TheScorpion »

tşkler bunu istediğim hale getirebilirim sanırım. Ama bi sorun var. Bu mod easy sub forums modu ile çakışıyor. Birleştirmeyi denedim ama başaramadım. Bu iki modu birleştirebilirmisiniz. Sadece index.php dosyasında sorun oluyor.
Kullanıcı avatarı
CaN_BaKıR
Kayıtlı Kullanıcı
Mesajlar: 459
Kayıt: 17.03.2006, 01:16

Mesaj gönderen CaN_BaKıR »

Her iki moduda kullanıyorum ama bende çakışmıyor.. Çakıştığı yeri bilmeden birleştirmeyi deneyemeyiz.. Çakışan yerleri kopyalarsanız buraya yardımcı olmaya çalışırız...
[ resmi görüntülemek için tıklayın ]
phpBB Nasıl Kurulur
https://www.phpbbturkey.com/viewtopic.php?t=35
Mod Nasıl Kurulur
https://www.phpbbturkey.com/viewtopic.php?t=108

Lütfen Özel Mesaj Atıp Soru Sormayınız !!!
TheScorpion
Kayıtlı Kullanıcı
Mesajlar: 70
Kayıt: 27.02.2006, 14:20
İletişim:

Mesaj gönderen TheScorpion »

aşağıdaki kısım benim index.php dosyamdaki ilgili alan

Kod: Tümünü seç

   // Modified by Easy Sub-Forums MOD

			$sql = "SELECT f.*, p.post_time, p.post_username,  u.username, u.user_id, t.topic_id, t.topic_title
				FROM ((( " . FORUMS_TABLE . " f
				LEFT JOIN " . POSTS_TABLE . " p ON p.post_id = f.forum_last_post_id )
				LEFT JOIN " . USERS_TABLE . " u ON u.user_id = p.poster_id )
				LEFT JOIN " . TOPICS_TABLE . " t ON t.topic_last_post_id = f.forum_last_post_id)
				GROUP BY f.forum_id ORDER BY f.cat_id, f.forum_order";
   // END Modified by Easy Sub-Forums MOD
			break;
	}
	if ( !($result = $db->sql_query($sql)) )
	{
		message_die(GENERAL_ERROR, 'Could not query forums information', '', __LINE__, __FILE__, $sql);
	}

	$forum_data = array();
	while( $row = $db->sql_fetchrow($result) )
	{
		$forum_data[] = $row;
	}
// Added by Easy Sub-Forums MOD

		$attach=$forum_data;
// END Added by Easy Sub-Forums MOD
	$db->sql_freeresult($result);

	if ( !($total_forums = count($forum_data)) )
	{
		message_die(GENERAL_MESSAGE, $lang['No_forums']);
	}

	//
	// Obtain a list of topic ids which contain
mod da ise bu kısmı şu şekilde değiştirmem gerektiği yazıyo.

Kod: Tümünü seç

#
#-----[ BUL ]-----------------------------------------
#

			$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id
				FROM (( " . FORUMS_TABLE . " f
				LEFT JOIN " . POSTS_TABLE . " p ON p.post_id = f.forum_last_post_id )
				LEFT JOIN " . USERS_TABLE . " u ON u.user_id = p.poster_id )
				ORDER BY f.cat_id, f.forum_order";
			break;
	}
	if ( !($result = $db->sql_query($sql)) )
	{
		message_die(GENERAL_ERROR, 'Could not query forums information', '', __LINE__, __FILE__, $sql);
	}

	$forum_data = array();
	while( $row = $db->sql_fetchrow($result) )
	{
		$forum_data[] = $row;
	}

	if ( !($total_forums = count($forum_data)) )
	{
		message_die(GENERAL_MESSAGE, $lang['No_forums']);
	}

	//
	// Obtain a list of topic ids which contain

#
#-----[ BUNUNLA DEGISTIR ]----------------------------------------
#

 		$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id, t.topic_title, t.topic_last_post_id " .
			" FROM ((( " . FORUMS_TABLE . " f " .
			" LEFT JOIN " . POSTS_TABLE . " p ON p.post_id = f.forum_last_post_id )" .
			" LEFT JOIN " . USERS_TABLE . " u ON u.user_id = p.poster_id ) " .
			" LEFT JOIN " . TOPICS_TABLE . " t ON t.topic_last_post_id = p.post_id ) " .
			" ORDER BY f.cat_id, f.forum_order";
		break;
	}
	if ( !($result = $db->sql_query($sql)) )
	{
		message_die(GENERAL_ERROR, 'Could not query forums information', '', __LINE__, __FILE__, $sql);
	}

	$forum_data = array();
	$topic_last_ary = array();
	$i=0;
	while( $row = $db->sql_fetchrow($result) )
	{
		if (!in_array($row['topic_last_post_id'], $topic_last_ary) || $row['topic_last_post_id']==0) {
			$topic_last_ary[i]=$row['topic_last_post_id'];
			$i++;
			$forum_data[] = $row;
		}
	}
	unset($topic_last_ary);
	if ( !($total_forums = count($forum_data)) )
	{
		message_die(GENERAL_MESSAGE, $lang['No_forums']);
	}
	
	//
	// Filter topic_title not allowed to read
	// 
	if ( !($userdata['user_level'] == ADMIN && $userdata['session_logged_in']) ) {
		$auth_read_all = array();
		$auth_read_all=auth(AUTH_READ, AUTH_LIST_ALL, $userdata, $forum_data);
		$auth_data = '';
		for($i=0; $i<count($forum_data); $i++)
		{
			if (!$auth_read_all[$forum_data[$i]['forum_id']]['auth_read']) {
				$forum_data[$i]['topic_title']='';
			}
		}
	}

	//
	// Define censored word matches
	//
	$orig_word = array();
	$replacement_word = array();
	obtain_word_list($orig_word, $replacement_word);

	//
	// Obtain a list of topic ids which contain
Bulmam gereken kısım yukarda verdiğim kısımdır. O bölümdede easy subforums modunun parçaları var. :(
Kilitli

“2.0.x MOD İstekleri” 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