[MOD] Welcome on Index / Ana Sayfada Hoşgeldin Karşılaması

[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.
Kullanıcı avatarı
NEFRİT
Uzaklaştırıldı
Mesajlar: 1404
Kayıt: 28.01.2006, 04:15
Konum: DarkKingdom
İletişim:

[MOD] Welcome on Index / Ana Sayfada Hoşgeldin Karşılaması

Mesaj gönderen NEFRİT »

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.

Kod: Tümünü seç

############################################################## 
## 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ı.
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 »

lang_main.php düzenlerken kırmızı yazdığım yeri bu şekilde yaparsanız subsilver teması kullananlarda hoşgeldiniz yazısı tema yazı renginde çıkar...
#
#-----[ AÇ ]------------------------------------------
#

language/lang_english/lang_main.php

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

$lang['Forums_marked_read'] = 'All forums have been marked read';

#
#-----[ ARDINA EKLE ]------------------------------------------
#


$lang['Welcome'] = "<font color=#006699><b>Hoşgeldiniz</b></font>";


#
#-----[ TÜM DEĞŞİKLİKLERİ KAYDET VE DOSYALARI KAPAT ]------------------------------------------
#
[ 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 !!!
YESILEJDER
Kayıtlı Kullanıcı
Mesajlar: 411
Kayıt: 17.02.2006, 22:10
İletişim:

Mesaj gönderen YESILEJDER »

Sunun Bır goruntusunu atsanıza arkadaslar merak ettim :)
DİKKAT!

Sitene Aquamp Medya Player Kurmak Istıyorsan TIKLA
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 »

[ 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 !!!
testtt
Kayıtlı Kullanıcı
Mesajlar: 64
Kayıt: 03.06.2006, 00:04
İletişim:

Mesaj gönderen testtt »

cok güzel oldu sagol

WELCOME yazsini lang_main.php dosyasinda degistirebilirsiniz HOSGELDiN'de yazabilirsiniz
Kullanıcı avatarı
Iceman
Kayıtlı Kullanıcı
Mesajlar: 75
Kayıt: 25.11.2005, 20:29
Konum: İstanbul
İletişim:

Mesaj gönderen Iceman »

güzel bir mod kurdum .. :) ama renk gruplarına uygun hale getirilebilirse daha hoş olur gibi geldi..
Ozan YILDIRIM
Kayıtlı Kullanıcı
Mesajlar: 11
Kayıt: 25.05.2006, 16:20
İletişim:

Mesaj gönderen Ozan YILDIRIM »

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
paylas
Kayıtlı Kullanıcı
Mesajlar: 2
Kayıt: 27.06.2006, 22:56
İletişim:

Hacking attempt!

Mesaj gönderen paylas »

"Hacking attempt!" Düzeltme

$welcome_name = '<a href="' . append_sid("profile.$phpEx?mode=editprofile&" . $userdata['user_id']) . '">' . $userdata['username'] . '</a>';


Yukarıdaki satırı aşağıdakiyle değiştir.

$welcome_name = '<a href="' . append_sid("profile.$phpEx?mode=editprofile) . '">' . $userdata['username'] . '</a>';
Shurup
Ozan YILDIRIM
Kayıtlı Kullanıcı
Mesajlar: 11
Kayıt: 25.05.2006, 16:20
İletişim:

Mesaj gönderen Ozan YILDIRIM »

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
Kullanıcı avatarı
Ares
Kayıtlı Kullanıcı
Mesajlar: 390
Kayıt: 22.06.2006, 23:05
Konum: Mars
İletişim:

Mesaj gönderen Ares »

index.php deki degisikligi hatali yapmissin tekrar gozden gecir..
Kullanıcı avatarı
NEFRİT
Uzaklaştırıldı
Mesajlar: 1404
Kayıt: 28.01.2006, 04:15
Konum: DarkKingdom
İletişim:

Mesaj gönderen NEFRİT »

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ı.
Kullanıcı avatarı
cupra
Kayıtlı Kullanıcı
Mesajlar: 2505
Kayıt: 01.04.2006, 02:33
Konum: smyrna
İletişim:

Mesaj gönderen cupra »

bu modun yeni versiyonu çıkmıştır.

Kod: Tümünü seç

############################################################## 
## 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
Kullanıcı avatarı
NEFRİT
Uzaklaştırıldı
Mesajlar: 1404
Kayıt: 28.01.2006, 04:15
Konum: DarkKingdom
İletişim:

Mesaj gönderen NEFRİT »

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ı.
_MeRt_
Kayıtlı Kullanıcı
Mesajlar: 18
Kayıt: 26.07.2006, 00:38
İletişim:

Mesaj gönderen _MeRt_ »

yeni versiyonda neler farklı olucak?
cyber_turuncu
Kayıtlı Kullanıcı
Mesajlar: 3
Kayıt: 22.07.2006, 23:33
İletişim:

Mesaj gönderen cyber_turuncu »

YAws bir ben anlayamadım heralde şu mod kurma işini.. varmı anlatacak bana şu işi :oops:
Kilitli

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

Kimler çevrimiçi

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