[MOD]Hide View Topic Buttons/butonları gizleme v 1.0

[url=http://www.phpbbturkey.com/mods.html:34cnv4ga]phpBB 2.0.x MOD Veritabanımızda[/url:34cnv4ga] yayınlanan ve tarafınızca eklenen tüm yeni phpBB 2.0.x sürümleri için MODların duyuruları buradan yapılmaktadır. MODlar hakkında ihtiyacınız olan desteği lütfen [b:34cnv4ga]2.0.x MOD Destek[/b:34cnv4ga] forumuna başlık açarak sorunuz.
Kilitli
Kullanıcı avatarı
pikachu
Kayıtlı Kullanıcı
Mesajlar: 3062
Kayıt: 16.07.2006, 15:32
Konum: ağandon /
İletişim:

[MOD]Hide View Topic Buttons/butonları gizleme v 1.0

Mesaj gönderen pikachu »

bu mod profil eposta msn vb butonları misafirlerden gizler, böylece bu bilgilere ulaşabilmek için üye olmaları gerekir.


Kod: Tümünü seç

############################################################## 
## MOD Title : Hide Viewtopic Buttons
## 
## MOD Author : Elite Alien ( from www.ClanWarriors.net & www.phpbbhacks.com )
##                                              
## MOD Description : This mod makes it so that a guest can't see the viewtopic profile, aim, ect buttons.
##                  
##                  
## MOD Version : [ 1.0 ] 
## 
## MOD Date : 06 January 2007
## 
## Installation Level : Easy 
## Installation Time :  1 Minutes 
## Files To Edit :      1 files 
## 
##             -viewtopic.php

## Included Files:  n/a 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 
# 
#-----[ OPEN ]------------------------------------------ 
# 
viewtopic.php


# 
#-----[ FIND ]------------------------------------------ 
# 
		$temp_url = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$poster_id");
		$profile_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_profile'] . '" alt="' . $lang['Read_profile'] . '" title="' . $lang['Read_profile'] . '" border="0" /></a>';
		$profile = '<a href="' . $temp_url . '">' . $lang['Read_profile'] . '</a>'; 


# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
		if ($userdata['session_logged_in']) 
        {
		$temp_url = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$poster_id");
		$profile_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_profile'] . '" alt="' . $lang['Read_profile'] . '" title="' . $lang['Read_profile'] . '" border="0" /></a>';
		$profile = '<a href="' . $temp_url . '">' . $lang['Read_profile'] . '</a>';
		}
		else
		{
			$temp_url = "";
			$profile_img = "";
			$profile = "";
		}	
        
        	        
# 
#-----[ FIND ]------------------------------------------ 
# 
		$temp_url = append_sid("privmsg.$phpEx?mode=post&" . POST_USERS_URL . "=$poster_id");
		$pm_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_pm'] . '" alt="' . $lang['Send_private_message'] . '" title="' . $lang['Send_private_message'] . '" border="0" /></a>';
		$pm = '<a href="' . $temp_url . '">' . $lang['Send_private_message'] . '</a>';  


# 
#-----[ REPLACE WITH ]------------------------------------------ 
#		
        if ($userdata['session_logged_in'])
		{		
		$temp_url = append_sid("privmsg.$phpEx?mode=post&" . POST_USERS_URL . "=$poster_id");
		$pm_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_pm'] . '" alt="' . $lang['Send_private_message'] . '" title="' . $lang['Send_private_message'] . '" border="0" /></a>';
		$pm = '<a href="' . $temp_url . '">' . $lang['Send_private_message'] . '</a>';
		}
		else
		{
			$temp_url = "";
			$pm_img = "";
			$pm = "";
		}	
        
        	        
# 
#-----[ FIND ]------------------------------------------ 
#
		if ( !empty($postrow[$i]['user_viewemail']) || $is_auth['auth_mod'] )
		{
			$email_uri = ( $board_config['board_email_form'] ) ? append_sid("profile.$phpEx?mode=email&" . POST_USERS_URL .'=' . $poster_id) : 'mailto:' . $postrow[$i]['user_email'];

			$email_img = '<a href="' . $email_uri . '"><img src="' . $images['icon_email'] . '" alt="' . $lang['Send_email'] . '" title="' . $lang['Send_email'] . '" border="0" /></a>';
			$email = '<a href="' . $email_uri . '">' . $lang['Send_email'] . '</a>';
		}
		else
		{
			$email_img = '';
			$email = '';
		}
		
# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
		if ( !empty($postrow[$i]['user_viewemail']) || $is_auth['auth_mod'] )
		{
            if ($userdata['session_logged_in'])
		    {			
			$email_uri = ( $board_config['board_email_form'] ) ? append_sid("profile.$phpEx?mode=email&" . POST_USERS_URL .'=' . $poster_id) : 'mailto:' . $postrow[$i]['user_email'];

			$email_img = '<a href="' . $email_uri . '"><img src="' . $images['icon_email'] . '" alt="' . $lang['Send_email'] . '" title="' . $lang['Send_email'] . '" border="0" /></a>';
			$email = '<a href="' . $email_uri . '">' . $lang['Send_email'] . '</a>';
		    }
		    else
		    {
				$email_uri = "";
				$email_img = "";
				$email = "";
		    }			
		}
		else
		{
			$email_img = '';
			$email = '';
		}


# 
#-----[ FIND ]------------------------------------------ 
# 
		$www_img = ( $postrow[$i]['user_website'] ) ? '<a href="' . $postrow[$i]['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
		$www = ( $postrow[$i]['user_website'] ) ? '<a href="' . $postrow[$i]['user_website'] . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : '';	


# 
#-----[ REPLACE WITH ]------------------------------------------ 
#									
        if ($userdata['session_logged_in'])
		{		
		$www_img = ( $postrow[$i]['user_website'] ) ? '<a href="' . $postrow[$i]['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
		$www = ( $postrow[$i]['user_website'] ) ? '<a href="' . $postrow[$i]['user_website'] . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : '';
		}
		else
		{
			$www_img = "";
			$www = "";
		}


# 
#-----[ FIND ]------------------------------------------ 
#
		if ( !empty($postrow[$i]['user_icq']) )
		{
			$icq_status_img = '<a href="http://wwp.icq.com/' . $postrow[$i]['user_icq'] . '#pager"><img src="http://web.icq.com/whitepages/online?icq=' . $postrow[$i]['user_icq'] . '&img=5" width="18" height="18" border="0" /></a>';
			$icq_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $postrow[$i]['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
			$icq =  '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $postrow[$i]['user_icq'] . '">' . $lang['ICQ'] . '</a>';
		}
		else
		{
			$icq_status_img = '';
			$icq_img = '';
			$icq = '';
		}


# 
#-----[ REPLACE WITH ]------------------------------------------ 
#						
		if ( !empty($postrow[$i]['user_icq']) )
		{
            if ($userdata['session_logged_in'])
		    {			
			$icq_status_img = '<a href="http://wwp.icq.com/' . $postrow[$i]['user_icq'] . '#pager"><img src="http://web.icq.com/whitepages/online?icq=' . $postrow[$i]['user_icq'] . '&img=5" width="18" height="18" border="0" /></a>';
			$icq_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $postrow[$i]['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
			$icq =  '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $postrow[$i]['user_icq'] . '">' . $lang['ICQ'] . '</a>';
		    }
		    else
		    {
		        $icq_status_img = '';
				$icq_img = "";
				$icq = "";
		    }			
		}
		else
		{
		    $icq_status_img = '';
			$icq_img = '';
			$icq = '';
		}


# 
#-----[ FIND ]------------------------------------------ 
#				
		$aim_img = ( $postrow[$i]['user_aim'] ) ? '<a href="aim:goim?screenname=' . $postrow[$i]['user_aim'] . '&message=Hello+Are+you+there?"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>' : '';
		$aim = ( $postrow[$i]['user_aim'] ) ? '<a href="aim:goim?screenname=' . $postrow[$i]['user_aim'] . '&message=Hello+Are+you+there?">' . $lang['AIM'] . '</a>' : '';	
		

# 
#-----[ REPLACE WITH ]------------------------------------------ 
#					
        if ($userdata['session_logged_in'])
		{		
		$aim_img = ( $postrow[$i]['user_aim'] ) ? '<a href="aim:goim?screenname=' . $postrow[$i]['user_aim'] . '&message=Hello+Are+you+there?"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>' : '';
		$aim = ( $postrow[$i]['user_aim'] ) ? '<a href="aim:goim?screenname=' . $postrow[$i]['user_aim'] . '&message=Hello+Are+you+there?">' . $lang['AIM'] . '</a>' : '';
		}
		else
		{
			$aim_img = "";
			$aim = "";
		}


# 
#-----[ FIND ]------------------------------------------ 
#
		$temp_url = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$poster_id");
		$msn_img = ( $postrow[$i]['user_msnm'] ) ? '<a href="' . $temp_url . '"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
		$msn = ( $postrow[$i]['user_msnm'] ) ? '<a href="' . $temp_url . '">' . $lang['MSNM'] . '</a>' : '';


# 
#-----[ REPLACE WITH ]------------------------------------------ 
#												
        if ($userdata['session_logged_in'])
		{		
		$temp_url = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$poster_id");
		$msn_img = ( $postrow[$i]['user_msnm'] ) ? '<a href="' . $temp_url . '"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
		$msn = ( $postrow[$i]['user_msnm'] ) ? '<a href="' . $temp_url . '">' . $lang['MSNM'] . '</a>' : '';
		}
		else
		{
			$temp_url = "";
			$msn_img = "";
			$msn = "";
		}
		

# 
#-----[ FIND ]------------------------------------------ 
#	
		$yim_img = ( $postrow[$i]['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $postrow[$i]['user_yim'] . '&.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
		$yim = ( $postrow[$i]['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $postrow[$i]['user_yim'] . '&.src=pg">' . $lang['YIM'] . '</a>' : '';


# 
#-----[ REPLACE WITH ]------------------------------------------ 
#			
        if ($userdata['session_logged_in'])
		{		
		$yim_img = ( $postrow[$i]['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $postrow[$i]['user_yim'] . '&.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
		$yim = ( $postrow[$i]['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $postrow[$i]['user_yim'] . '&.src=pg">' . $lang['YIM'] . '</a>' : '';
		}
		else
		{
			$yim_img = "";
			$yim = "";
		}
					      
# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
#         
crazyhacker
Kayıtlı Kullanıcı
Mesajlar: 28
Kayıt: 11.09.2006, 19:26
İletişim:

Mesaj gönderen crazyhacker »

modu yükledim ama onları kaybetmesinin bi anlamı yokki e-mail msn fln üye listesinde hala görünüyor misafirlere
Kullanıcı avatarı
Napster
Kayıtlı Kullanıcı
Mesajlar: 216
Kayıt: 21.02.2006, 19:42
Konum: İstanbul

Mesaj gönderen Napster »

crazyhacker yazdı:modu yükledim ama onları kaybetmesinin bi anlamı yokki e-mail msn fln üye listesinde hala görünüyor misafirlere
Dostum o zaman aşağıdaki modu kurarak ziyaretçilerin üye listesine girmeyi engeller ve görmemesini sağlarsın.

Manage Guest Permissions
http://www.phpbbhacks.com/download/7377
phpBB Fanlarının Buluşma Noktası
http://phpbbfan.ph.funpic.de
Kilitli

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

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Yandex [Bot] ve 3 misafir