[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.
Bu mod ile forumunuzun ana sayfasında siteye giriş yapan (login olan) üyeye hoş geldiniz denilmektedir. Örneğin üyenin ismi DEMO ise forumda Hoş geldiniz DEMO yazısı çıkacaktır. Hem basit hemde güzel bir mod bir kaç dk içnde kurabilirsiniz.
##############################################################
## MOD İSMİ: Welcome on Index
## MOD YAZARI: Cherokee Red < cherokeered@blueyonder.co.uk > (Kenny Cameron)
http://mrikasu.com/cherokeered
## MOD AÇIKLAMASI: Shows a welcome message on the index page. If the member is registered/logged in, it will show the username - which will also be a link to the users profile. If the user is not logged in/registered, then the username will display as guest and will be a link to the register
page :)
## MOD VERSİYONU: 1.0.0
##
## KURULUM SEVİYESİ : BASİT
## KURULUM SÜRESİ : YAKLAŞIK 3 DK
## EDİTLENECEK DOSYALAR: templates/subSilver/index_body_body.tpl
## index.php
## language/lang_english/lang_main.php
## Included Files: n/a
##############################################################
## Author Notes:
##
## I originally thought this this MOD up myself withought knowing that a similar MOD existed -
http://www.phpbbhacks.com/download/2316 - by hafiz mohd. But I had already started writing my
version when I found this. I have used some parts of hm's code, but I removed quite a bit. I
would like to thank hafiz though, as his MOD helped me to perfect mine.
##
##############################################################
## MOD History:
##
## 2004-10-03 - Version 1.0.0
## - mod created
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ AÇ ]------------------------------------------
#
index.php
#
#-----[ BUL ]------------------------------------------
#
'body' => 'index_body.tpl')
);
#
#-----[ ARDINA EKLE ]------------------------------------------
#
if ($userdata['user_id'] != '-1')
{
$welcome_name = '<a href="' . append_sid("profile.$phpEx?mode=editprofile&" . $userdata['user_id']) . '">' . $userdata['username'] . '</a>';
}
else
{
$welcome_name = '<a href="' . append_sid("profile.$phpEx?mode=register&") . '">' . $lang['Guest'] . '</a>';
}
#
#-----[ BUL ]------------------------------------------
#
'FORUM_LOCKED_IMG' => $images['forum_locked'],
#
#-----[ ARDINA EKLE ]------------------------------------------
#
'L_NAME_WELCOME' => $lang['Welcome'],
'U_WELCOME_NAME' => $welcome_name,
#
#-----[ AÇ ]------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ BUL ]------------------------------------------
#
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
#
#-----[ ARDINA EKLE ]------------------------------------------
#
<tr>
<td><span class="gen">
{L_NAME_WELCOME} {U_WELCOME_NAME}<br />
</td>
</tr>
#
#-----[ AÇ ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ BUL ]------------------------------------------
#
$lang['Forums_marked_read'] = 'All forums have been marked read';
#
#-----[ ARDINA EKLE ]------------------------------------------
#
$lang['Welcome'] = "<b>Welcome back</b>";
#-----[ TÜM DEĞŞİKLİKLERİ KAYDET VE DOSYALARI KAPAT ]------------------------------------------
#
# EoM
Özellerden kullanıcılara reklam yaptığım için sayın yöneticim beni uzaklaştırdı.
Modu kurdum fakat bir sorun var . Hoşgeldiniz yazısının yanında çıkan kullanıcı ismine tıklandığında üyenin profiline gitmesi gerekirken ," Hacking attempt!" diye bir yazı çıkıyor .bunu nasıl düzeltebiliriz
Parse error: syntax error, unexpected T_STRING in /usr/home/zipkinci/public_html/forum/index.php on line 28Soylediğini yapınca yukarıdaki hatayı veriyor
Ozan YILDIRIM yazdı:Modu kurdum fakat bir sorun var . Hoşgeldiniz yazısının yanında çıkan kullanıcı ismine tıklandığında üyenin profiline gitmesi gerekirken ," Hacking attempt!" diye bir yazı çıkıyor .bunu nasıl düzeltebiliriz
Demekki cracker tracker ile çakışma yapıyor.
Özellerden kullanıcılara reklam yaptığım için sayın yöneticim beni uzaklaştırdı.
##############################################################
## MOD Title: Welcome on Index
## MOD Author: cherokee red < mods@cherokeered.co.uk > (Kenny Cameron) http://www.cherokeered.co.uk
## MOD Description: Shows a welcome message on the index page. If the member is registered/logged in, it will show the username - which will also be a link to the users profile. If the user is not logged in/registered, then they will be invited to register on the forums.
page :)
## MOD Version: 1.0.4b
##
## Installation Level: Easy
## Installation Time: ~3 Minutes
## Files To Edit: templates/subSilver/index_body.tpl
## index.php
## language/lang_english/lang_main.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:
##
## To upgrade this MOD from previous version, please see the upgrade file in the contrib folder :)
##
## Dutch Language support can also be found there
##
##############################################################
## MOD History:
##
## 2004-10-03 - Version 1.0.0
## - mod created
##
## 2004-10-03 - Version 1.0.1
## - mod updated: missing semi-colon's added in
##
## 2004-10-03 - Version 1.0.2
## - mod updated: link output in address bar fixed. was showing 'profile&2' instead of 'profile&u=2'
##
## 2004-10-03 - Version 1.0.3
## - mod updated: speprate messages now show for guests and registered users. Also typo in 'files to edit' list fixed (~Romil). Also added Dutch and German language support, which can be found in the contrib folder (TKF2).
##
## 2006-04-29 - Version 1.0.4
## - mod updated: small bug in the guest register link
## - changed the guest message text/layout
## - updated Dutch language support (TKF2/cherokee red)
##
## 2006-05-05 - Version 1.0.4b
## - mod updated: minor text/template edits
## - fixed extra '&' in register link (1.0.4a)
## - fixed register link to comply with MOD standards ( POST_USERS_URL )
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------
#
'body' => 'index_body.tpl')
);
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Welcome on Index - cherokee red
if ($userdata['user_id'] != '-1')
{
$welcome_reg = '<b><a href="' . append_sid("profile.$phpEx?mode=editprofile&" . POST_USERS_URL . "=" . $userdata['user_id']) . '">' . $userdata['username'] . '</a></b>';
}
else
{
$welcome_guest = '<a href="' . append_sid("profile.$phpEx?mode=register") . '">' . $lang['Welcome_Register'] . '</a>';
}
#
#-----[ FIND ]------------------------------------------
#
'FORUM_LOCKED_IMG' => $images['forum_locked'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_WELCOME_REG' => $lang['Welcome'],
'U_WELCOME_REG' => $welcome_reg,
'L_WELCOME_GUEST' => $lang['Welcome2'],
'U_WELCOME_GUEST' => $welcome_guest,
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<!-- BEGIN switch_user_logged_in -->
<td><span class="gen">
{L_WELCOME_REG} {U_WELCOME_REG}<br />
</td>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<td><span class="gen">
{L_WELCOME_GUEST} {U_WELCOME_GUEST}<br />
</td>
<!-- END switch_user_logged_out -->
</tr>
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
$lang['Forums_marked_read'] = 'All forums have been marked read';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['Welcome'] = "<b>Thanks for logging in </b>";
$lang['Welcome2'] = "<b>Welcome Guest, have you thought about </b>";
$lang['Welcome_Register'] = "<b>Registering?</b>";
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Ozan YILDIRIM yazdı:Modu kurdum fakat bir sorun var . Hoşgeldiniz yazısının yanında çıkan kullanıcı ismine tıklandığında üyenin profiline gitmesi gerekirken ," Hacking attempt!" diye bir yazı çıkıyor .bunu nasıl düzeltebiliriz
Arkadaşın verdiği en son versiyon modu kur o zaman sorun belki düzelebilir.
Özellerden kullanıcılara reklam yaptığım için sayın yöneticim beni uzaklaştırdı.