Hide WWW links from users not Logged In

Eklentiler ile ilgili gelişmeler. Yeni modlar, güncellemeler.

Hide WWW links from users not Logged In

İleti sabri ünal 25.09.2006, 13:47

Mod adı: Hide WWW links from users not Logged In
verisyon: 1.0.0
Yazarı: Kevin
Modun işlevi: giriş yapmamış üyelerden www linklerini gizleme yazar...

mesajlar, özel mesajlar, üye listesindeki ve profil görüntülemedeki linkler giriş yapmamış üyelere görünmez...

Kod: Tümünü seç
##############################################################
## MOD Title: Hide WWW links from users not Logged In
## MOD Author: Kevin < N/A > (N/A) http://www.tacktech.com
## MOD Description: This is a simple program to Hide WWW links from users not Logged In
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 5 Minutes
## Files To Edit: memberlist.php, privmsg.php,
viewtopic.php, includes/usercp_viewprofile.php
## Included Files: (N/A)
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes: Hide WWW links from users not Logged In
##############################################################
## MOD History:
##
##   2006-09-23 - Version 1.0.0
##      - Hide WWW Links When User Not Logged
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
memberlist.php

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

#
#-----[ BEFORE, ADD ]------------------------------------------
#
if ( $userdata['session_logged_in'] )
{

#
#-----[ FIND ]------------------------------------------
#
$www = ( $row['user_website'] ) ? '<a href="' . $row['user_website'] . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : ';

#
#-----[ AFTER, ADD ]------------------------------------------
#
}
else
{
$www_img = '&nbsp;';
$www = '&nbsp;';
}

#
#-----[ OPEN ]------------------------------------------
#
privmsg.php

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

#
#-----[ BEFORE, ADD ]------------------------------------------
#
if ( $userdata['session_logged_in'] )
{

#
#-----[ FIND ]------------------------------------------
#
$www = ( $privmsg['user_website'] ) ? '<a href="' . $privmsg['user_website'] . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : ';

#
#-----[ AFTER, ADD ]------------------------------------------
#
}
else
{
$www_img = '&nbsp;';
$www = '&nbsp;';
}

#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php

#
#-----[ 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>' : ';

#
#-----[ BEFORE, ADD ]------------------------------------------
#
if ( $userdata['session_logged_in'] )
{

#
#-----[ FIND ]------------------------------------------
#
$www = ( $postrow[$i]['user_website'] ) ? '<a href="' . $postrow[$i]['user_website'] . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : ';

#
#-----[ AFTER, ADD ]------------------------------------------
#
}
else
{
$www_img = '&nbsp;';
$www = '&nbsp;';
}

#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_viewprofile.php

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

#
#-----[ BEFORE, ADD ]------------------------------------------
#
if ( $userdata['session_logged_in'] )
{

#
#-----[ FIND ]------------------------------------------
#
$www = ( $profiledata['user_website'] ) ? '<a href="' . $profiledata['user_website'] . '" target="_userwww">' . $profiledata['user_website'] . '</a>' : '&nbsp;';

#
#-----[ AFTER, ADD ]------------------------------------------
#
}
else
{
$www_img = '&nbsp;';
$www = '&nbsp;';
}

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

Cvp: Hide WWW links from users not Logged In

İleti Romantizma 25.09.2006, 18:14

sabri abi bu modu su şekilde yapabilirmiyiz!...

MEsela siteye üye olan herhangi birisi başka bir kullanıcının profiline girdiğinde e-posta simgesini görüo ve tıklayınca mail adresi çıkıyor!!Ben bu işlevi üyelerin yapmasını istemiyorum!Bunun için bir mod var mı??
Romantizma
Üye
Üye
 
İleti: 1
Kayıt: 10.09.2006, 11:31

İleti fatihbaz 25.09.2006, 21:19

teşekkürler sabriünal,hide moddan sıkılmıştım artık :)
Kullanıcı avatarı
fatihbaz
Üye
Üye
 
İleti: 870
Kayıt: 25.11.2005, 12:26
Konum: Kahramanmaraş

Cvp: Hide WWW links from users not Logged In

İleti kelkirpi 04.11.2006, 15:21

Süpersin, tam aradığım sağolasın.. :+1:
kelkirpi
Üye
Üye
 
İleti: 4
Kayıt: 04.11.2006, 14:21

Cvp: Hide WWW links from users not Logged In

İleti kelkirpi 05.11.2006, 12:46

kelkirpi yazdı:Süpersin, tam aradığım sağolasın.. :+1:

Derkeeeenn.. kurdum çalışmadı iyi mi :D
kelkirpi
Üye
Üye
 
İleti: 4
Kayıt: 04.11.2006, 14:21


Duyurular & Güncellemeler



Kimler çevrimiçi

Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir