Profilde Üyelerin Son Mesaj Konularını Görmesi
|
#1982 |
|
|
Kaan
User is:
Posts: 2772
Meslek: Serbest Meslek
Age: 43
|
Alıntı Hakl?s?n acele edince hi? bi?ey d?zg?n olmuyor.. Uygualama bu kadar basit.. system/core/users/users.profile.inc.php yi a??yoruz alttakini buluyoruz.. Kod: $out['subtitle'] = $L['Profile']; Alt?na Ekliyoruz.. Kod: ///////////////////////////////////////// if (!$cfg['disable-forums']) { $sqlp = sed_sql_query("SELECT p.fp_id, p.fp_updated, t.ft_title, t.ft_id, s.fs_id, s.fs_title, s.fs_category FROM $db_forum_posts p, $db_forum_topics t, $db_forum_sections s WHERE fp_posterid='".$urr['user_id']."' AND p.fp_topicid=t.ft_id AND p.fp_sectionid=s.fs_id GROUP BY t.ft_id ORDER BY fp_updated DESC LIMIT 20"); if (sed_sql_numrows($sqlp)==0) { $user_postsp = $L['None']; } else { while ($row = sed_sql_fetcharray($sqlp)) { $user_postsp .= (sed_auth('forums', $row['fs_id'], 'R')) ? date($cfg['formatmonthdayhourmin'], $row['fp_updated'] + $usr['timezone'] * 3600)." : ".sed_build_forums($row['fs_id'], $row['fs_title'], $row['fs_category'])." ".$cfg['separator']." <a href=\"forums.php?m=posts&p=".$row['fp_id']."#".$row['fp_id']."\">".sed_cc($row['ft_title'])."</a><br />" : ''; } } } /////////////////////////////////////////// Alttakini buluyoruz.. Kod: $t->assign(array( Alt?na Ekliyoruz.. Kod: "USERS_PROFILE_LATESTPOSTS" => $user_postsp, Kaydet kapat.. skins/skinsad?/users.profile.tpl yi a??yoruz ve uygun yere alttaki etiketi ekliyoruz.. {USERS_PROFILE_LATESTPOSTS} son mesaj 13 dakika ?nce Demo i?in Profilinize Bakabilirsiniz.. Bu mesaj Kaan tarafından 2010-03-14 10:45 GMT, 6010 Gün önce düzenlendi. |
Emlak, Oto Galeri, Rent A Car, ?iir, Edebiyat Script Sipari?lerinizi Verebilirsiniz. Detaylar ??in: kaan@ntka.org Seditio 170 ?ndir Capte M?zik ?ndir Seditio Toolbar ?ndir |













