Kod: Tümünü seç
######################################################################################
## MOD Adı : meslek üye listesinde (orj. Occupation In Memberlist)
## Yazar Orj.: Spinebuster (spinebuster@spinesworld.net)
## Yazar : ******* < N/A > (******* **********) www.**********
## Sürüm : 1.0.0 (phpBB 2.0.x)
##
## Açıklama : Üyenin meslek bilgisini üye listesinde gösterir.
##
## Kurulum zorluğu : kolay
## Kurulum süresi : ~x dk.
##
## Düzenlenen dosyalar (2) : memberlist.php
## templates/subSilver/memberlist_body.tpl
##
######################################################################################
## Yazar Notları:
##
## Spinebuster'in "Occupation In Memberlist" modundan yararlanılarak yapılmıştır.
##
######################################################################################
## Mod Geçmişi:
##
## 05.04.2006|06.35 // v1.0.0
## - Deneme amaçlı ilk sürüm
##
######################################################################################
##
## Bu modu eklemeden önce lütfen dosyaların yedeğini alınız.
##
######################################################################################
#
#
##-----[ AÇ ]-------------------------------------------------------------------------
#
memberlist.php
#
#------[ BUL ]------------------------------------------------------------------------
#
$mode_types_text = array($lang['Sort_Joined'], $lang['Sort_Username'], $lang['Sort_Location'], $lang['Sort_Posts'], $lang['Sort_Email'], $lang['Sort_Website'], $lang['Sort_Top_Ten']);
#
#------[ SATIRİÇİNDE BUL ]------------------------------------------------------------
#
$lang['Sort_Location']
#
#------[ SATIRİÇİNDE, SONRASINA EKLE ]------------------------------------------------
#
, $lang['Occupation']
#
#------[ BUL ]------------------------------------------------------------------------
#
$mode_types = array('joined', 'username', 'location', 'posts', 'email', 'website', 'topten');
#
#------[ SATIRİÇİNDE BUL ]------------------------------------------------------------
#
'location'
#
#------[ SATIRİÇİNDE, SONRASINA EKLE ]------------------------------------------------
#
, 'occupation'
#
#------[ BUL ]------------------------------------------------------------------------
#
'L_FROM' => $lang['Location'],
#
#------[ SONRASINA EKLE ]-------------------------------------------------------------
#
'L_OCCUPATION' => $lang['Occupation'],
#
#------[ BUL ]------------------------------------------------------------------------
#
case 'location':
$order_by = "user_from $sort_order LIMIT $start, " . $board_config['topics_per_page'];
break;
#
#------[ SONRASINA EKLE ]-------------------------------------------------------------
#
case 'occupation':
$order_by = "user_occ $sort_order LIMIT $start, " . $board_config['topics_per_page'];
break;
#
#------[ BUL ]------------------------------------------------------------------------
#
$sql = "SELECT username, user_id, user_viewemail, user_posts, user_regdate, user_from, user_website, user_email, user_icq, user_aim, user_yim, user_msnm, user_avatar, user_avatar_type, user_allowavatar
#
#------[ SATIRİÇİNDE BUL ]------------------------------------------------------------
#
user_allowavatar
#
#------[ SATIRİÇİNDE, SONRASINA EKLE ]------------------------------------------------
#
, user_occ
#
#------[ BUL ]------------------------------------------------------------------------
#
$from = ( !empty($row['user_from']) ) ? $row['user_from'] : ' ';
#
#------[ SONRASINA EKLE ]-------------------------------------------------------------
#
$occupation = ( !empty($row['user_occ']) ) ? $row['user_occ'] : ' ';
#
#------[ BUL ]------------------------------------------------------------------------
#
'FROM' => $from,
#
#------[ SONRASINA EKLE ]-------------------------------------------------------------
#
'OCCUPATION' => $occupation,
#
##-----[ AÇ ]-------------------------------------------------------------------------
#
templates/subSilver/memberlist_body.tpl
#
#------[ BUL ]------------------------------------------------------------------------
#
<th class="thTop" nowrap="nowrap">{L_FROM}</th>
#
#------[ SONRASINA EKLE ]-------------------------------------------------------------
#
<th class="thTop" nowrap="nowrap">{L_OCCUPATION}</th>
#
#------[ BUL ]------------------------------------------------------------------------
#
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.FROM}</span></td>
#
#------[ SONRASINA EKLE ]-------------------------------------------------------------
#
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.OCCUPATION}</span></td>
#
#------[ BUL ]------------------------------------------------------------------------
#
<td class="catBottom" colspan="8" height="28"> </td>
#
#------[ BUNUNLA DEĞİŞTİR ]-----------------------------------------------------------
#
<td class="catBottom" colspan="9" height="28"> </td>
#
##-----[ TÜM DOSYALARI KAYDET/KAPAT ]-------------------------------------------------
#
# SON