fatal_error yazdı:Arkadaşlar ben bu kod değişikliklerini yaptım fakat üzerinde bi takım değişiklikler yapmak istiyorum.
mesela
şu an ;
Sevgilinize Aşk Mektubu yazın! Süpe... Kayıt Ol veya Giriş Mesajın Tamamını Okumak İstiyorsanız
bu şekilde.
ben bunu ;
Sevgilinize Aşk Mektubu yazın! Süpe...
Mesajın Tamamını Okumak İstiyorsanız Kayıt Ol veya Giriş Yapınız.
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$user_sig_bbcode_uid = $postrow[$i]['user_sig_bbcode_uid'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lettercount = (strlen($message));
if (($userdata['username'] == 'Anonymous') && ($lettercount > 40))
{
$path = __FILE__;
$file = basename ($path);
if ($file != 'portal.php')//needed for portal support, otherwise portal layout will breakout when clips are played.
{
//first check if message has quote in it or a ot, quote box breaks forums layout.
$message = strtolower($message);
$message = str_replace("[quote", "[ quote", $message);
$message = substr(($message), 0, 50).'... <b> '.$lang['GuestWantReadAll'].' <a href="http://'.$board_config['server_name'].$board_config['script_path'].'profile.php?mode=register">'.$lang['Register'].'</a> '.$lang['or'].' <a href="http://'.$board_config['server_name'].$board_config['script_path'].'login.php?redirect=viewtopic.php?t='.$postrow[$i]['topic_id'].'"> </a> <a href="http://'.$board_config['server_name'].$board_config['script_path'].'login.php?redirect=viewtopic.php?t='.$postrow[$i]['topic_id'].'"> '.$lang['Login'].'</b>';
}
}
#
#-----[ OPEN ]------------------------------------------
#
language/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ ADD, BEFORE ]------------------------------------------
#
//Guest read part
$lang['GuestWantReadAll'] = 'Bu Mesajın Tamamını Okuma İstiyorsanız';
$lang['or'] = 'veya';
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
[/syntax][/quote]
Bu şekilde yapabilirsin