Yetkinforum.com | ©phpBB | Bedava yardımlaşma forumu | Suistimalı göstermek | Bir bloga sahip olmak
ForumAlem

ForumAlem
 
AnasayfaAnasayfa  SSSSSS  AramaArama  Üye ListesiÜye Listesi  Kullanıcı GruplarıKullanıcı Grupları  Kayıt OlKayıt Ol  Giriş yapGiriş yap  

Paylaş | 
 

 Madalyalı Rep sistemi

Aşağa gitmek 
YazarMesaj
KaoS
Admin
Admin
avatar

Mesaj Sayısı : 170
Kayıt tarihi : 02/08/08
Yaş : 29
Nerden : KONYA

MesajKonu: Madalyalı Rep sistemi   Perş. Ağus. 14, 2008 9:48 pm

--------------------------------------------------------------------------------

Kod:
Display.template.php dosyasında


(Bunu bulun)
Code:
echo '
<br />
', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '<br />';
(Bununla değiştirin)
Code:
echo '
<br />
', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '<br />';
if($message['member']['karma']['good'] <= 5) {
echo ' <img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 10) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 20) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 35) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 55) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 80) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 110) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><br /><br />';
}elseif ($message['member']['karma']['good'] <= 145) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 185) {
echo'<img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><img src="' . $settings['images_url'] . '/rep1.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 200) {
echo'<img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 240) {
echo'<img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><br /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 290) {
echo'<img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><br /><img src="'
}
elseif ($message['member']['karma']['good'] <= 345) {
echo'<img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><br /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 405) {
echo'<img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><br /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 470) {
echo'<img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><br /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 540) {
echo'<img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 620) {
echo'<img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><br /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 710) {
echo'<img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><br /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 810) {
echo'<img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><br /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 920) {
echo'<img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><br /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 1040) {
echo'<img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><br /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><img src="' . $settings['images_url'] . '/rep2.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] <= 1200) {
echo'<img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><br /><br />';
}
elseif ($message['member']['karma']['good'] >= 1201) {
echo'<img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><img src="' . $settings['images_url'] . '/madalya.gif" border="0" /><br /><br />';
}
Sayfa başına dön Aşağa gitmek
Kullanıcı profilini gör http://forumalem.turkforumpro.net
 
Madalyalı Rep sistemi
Sayfa başına dön 
1 sayfadaki 1 sayfası

Bu forumun müsaadesi var:Bu forumdaki mesajlara cevap veremezsiniz
ForumAlem :: Programlama Dilleri :: SMF-
Buraya geçin: