.
1- بەڕێوەبەری یانە Hemn Zanko لە کوردستان بە ئمێڵی ( hemn_kurdzhin@yahoo.com ) ..
ژمارەی مۆبایل ( 07812539505 ) .
2- بهڕێوهبهری گشتی ( ReKaN ) له ئهوروپا به ئیمێڵی ( Rekan_uk@hotmail.com ) ، ژماره تهلهفوونی( 00447754007706) .






بابهته گرنگهکانی بهکارهێنانی یانه














farmw brakam wak amana bka
سهرهتا ئهو پهرگانهی ( فایلانهی ) كه ئیشمان پێ دهبێ ئاماده بكه
index.php
viewtopic.php
userlist.php
profile.php.
include/templates/main.tpl
یانیش ستایل شیتهكهت ..
ئێستا با دهست پێ بكهین و ههنگاوه پراكتیكییهكان ئهنجام بدهین ..
index.php بكهرهوه ..
$result = $db->query('SELECT user_id, ident FROM '.$db->prefix.'online WHERE idle=0 ORDER BY ident', true) or error('Unable to fetch online list', __FILE__, __LINE__, $db->error());بگۆڕه بۆ
$result = $db->query('SELECT o.user_id, o.ident, g.g_id, g.g_title FROM '.$db->prefix.'online AS o INNER JOIN '.$db->prefix.'users AS u ON o.user_id=u.id INNER JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id WHERE o.idle=0 ORDER BY o.ident', true) or error('Unable to fetch online list', __FILE__, __LINE__, $db->error());پاشان
$users[] = "\n\t\t\t\t".'<dd><a href="profile.php?id='.$pun_user_online['user_id'].'">'.pun_htmlspecialchars($pun_user_online['ident']).'</a>';
بگۆڕه بۆ
$users[] = "\n\t\t\t\t".'<dd><span class="'.$pun_user_online['g_title'].'"><a href="profile.php?id='.$pun_user_online['user_id'].'">'.pun_htmlspecialchars($pun_user_online['ident']).'</a></span>';
ئهو پهڕگهیه سهیڤ بكه ..
viewtopic.php بكهرهوه
$result = $db->query('SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM '.$db->prefix.'posts AS p INNER JOIN '.$db->prefix.'users AS u ON u.id=p.poster_id INNER JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id LEFT JOIN '.$db->prefix.'online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id='.$id.' ORDER BY p.id LIMIT '.$start_from.','.$pun_user['disp_posts'], true) or error('Unable to fetch post info', __FILE__, __LINE__, $db->error());بگؤره بۆ
$result = $db->query('SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, g.g_title, o.user_id AS is_online FROM '.$db->prefix.'posts AS p INNER JOIN '.$db->prefix.'users AS u ON u.id=p.poster_id INNER JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id LEFT JOIN '.$db->prefix.'online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id='.$id.' ORDER BY p.id LIMIT '.$start_from.','.$pun_user['disp_posts'], true) or error('Unable to fetch post info', __FILE__, __LINE__, $db->error());پاشان
$username = '<a href="profile.php?id='.$cur_post['poster_id'].'">'.pun_htmlspecialchars($cur_post['username']).'</a>';
بگۆڕه بۆ
$username = '<span class="'.$cur_post['g_title'].'"><a href="profile.php?id='.$cur_post['poster_id'].'">'.pun_htmlspecialchars($cur_post['username']).'</a></span>';
ئهو پهڕگهیهشمان تهواو ... سهیڤی بكه
پهڕگهی userlist.php بكهرهوه ...
تێبینی ( لهم پهڕگهیهدا كهمێك كێشهم بۆ دروست بوو له پیشاندانی لیستی ئهندامان ،،، ناوی ئهندامان دووباره دهبوهوه .. تاقی بكهنهوه ئهگهر كێشهتان ههبوو ئهوا پهڕگهی پێشوو بهرز بكهنهوه )
$result = $db->query('SELECT u.id, u.username, u.title, u.num_posts, u.registered, g.g_id, g.g_user_title FROM '.$db->prefix.'users AS u LEFT JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id WHERE u.id>1'.(!empty($where_sql) ? ' AND '.implode(' AND ', $where_sql) : '').' ORDER BY '.$sort_by.' '.$sort_dir.' LIMIT '.$start_from.', 50') or error('Unable to fetch user list', __FILE__, __LINE__, $db->error());بگۆڕه بۆ :
$result = $db->query('SELECT u.id, u.username, u.title, u.num_posts, u.registered, g.g_id, g.g_user_title, g.g_title FROM '.$db->prefix.'users AS u LEFT JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id WHERE u.id>1'.(!empty($where_sql) ? ' AND '.implode(' AND ', $where_sql) : '').' ORDER BY '.$sort_by.' '.$sort_dir.' LIMIT '.$start_from.', 50') or error('Unable to fetch user list', __FILE__, __LINE__, $db->error());پاشان
<td class="tcl"><?php echo '<a href="profile.php?id='.$user_data['id'].'">'.pun_htmlspecialchars($user_data['username']).'</a>' ?></td>
بگۆڕه بۆ
<td class="tcl"><?php echo '<span class="'.$user_data['g_title'].'"><a href="profile.php?id='.$user_data['id'].'">'.pun_htmlspecialchars($user_data['username']).'</a></span>' ?></td>
ئهو پهرگهیهشمان تهواو ئازیزان .. سهیڤی بكهن .
ئێستا پهڕگهی profile.php. بكهرهوه ...
$result = $db->query('SELECT u.username, u.email, u.title, u.realname, u.url, u.jabber, u.icq, u.msn, u.aim, u.yahoo, u.location, u.use_avatar, u.signature, u.disp_topics, u.disp_posts, u.email_setting, u.save_pass, u.notify_with_post, u.show_smilies, u.show_img, u.show_img_sig, u.show_avatars, u.show_sig, u.timezone, u.language, u.style, u.num_posts, u.last_post, u.registered, u.registration_ip, u.admin_note, g.g_id, g.g_user_title FROM '.$db->prefix.'users AS u LEFT JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id WHERE u.id='.$id) or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());بگۆڕه بۆ :
$result = $db->query('SELECT u.username, u.email, u.title, u.realname, u.url, u.jabber, u.icq, u.msn, u.aim, u.yahoo, u.location, u.use_avatar, u.signature, u.disp_topics, u.disp_posts, u.email_setting, u.save_pass, u.notify_with_post, u.show_smilies, u.show_img, u.show_img_sig, u.show_avatars, u.show_sig, u.timezone, u.language, u.style, u.num_posts, u.last_post, u.registered, u.registration_ip, u.admin_note, g.g_id, g.g_user_title, g.g_title FROM '.$db->prefix.'users AS u LEFT JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id WHERE u.id='.$id) or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());ئینجا
<dd><?php echo pun_htmlspecialchars($user['username']) ?></dd>
بگۆڕه بۆ :
<dd><?php echo '<span class="'.$user['g_title'].'"><a href="profile.php?id='.$id.'">'.pun_htmlspecialchars($user['username']).'</a></span>' ?></dd>
ئهو پهڕگهیهشمان تهواو كرد ..
ئێستا كارهكهمان 80 % تهواو بووه ...
شتێكی زۆر بچووك و ئاسان ماوه ..
به تهركیزهوه لهگهڵم بن ..
دوو پهڕگهی ترمان ماوه ..
دهتوانیت تهنها یهكێكیان ههلبژێریت بۆ ئهوهی كۆدهكانی ناوی بگۆریت ...
ئهویش یان include/templates/main.tpl یانیش ستایل شیت .. ( واته ئهو ستایلهی تۆ بهكاری دهبهیت )
من دهستكاری كردنی ستایل شیتم پێ باشتر و ئاسانتره ..
نازانم مهبهستم تێ دهگهن یان نا ..
ئهو ستایلهی بهكاری دههێنن .. واته من ئێستا ستایلی phpbbkurdish بهكار دههێنم ... پهڕگهی phpbbkurdish.css
له فۆلدهری style دهكهیتهوه .... ( لهناو كۆمپیوتهرهكهت جارێ ) ..
تهنها ئهم كۆدانه له كۆتایی ههموو كۆدهكان دادهنێیت .. بهلام ئاگادار به زۆر بهجوانی داینه ..
span.Administrators a:link, span.Administrators a:visited {
color: #ff9900;
font-size: 12px;
}
span.Administrators a:hover {
color: #ff9966;
font-size: 12px;
text-decoration: underline;
}
span.Moderators a:link, span.Moderators a:visited {
color: #009900;
font-size: 12px;
}
span.Moderators a:hover {
color: #00bb00;
font-size: 12px;
text-decoration: underline;
}ئێستا 95% تهواو بووین ..
ماوهتهوه ههندێ روون كردنهوه ..
لهم كۆده تهنها گرووپی بهڕیوهبهر و سهرپهرشتیار ئامادهكراوه ... خۆت دهتوانیت گروپهكان زیاد بكهیت و رهنگیشیان بگۆڕیت ..
تێبینی : ئهوهندهی من بزانم ئهم بۆ ههموو وهشانێكی PunBB دروسته ..
سهركهوتوو بن
له وێبچنه وه هێناومه

زیـــــزۆم
لهسهر هێڵ نییه








ئهوه سهرئێشهی زۆره باوهڕت بێت زۆر زۆری ئهوێت فهرموو ئاوا بیکه زۆر سوک و ئاسانه
Hêwr نووسی:
وهك ههمیشه وشهیهك نیه له بری وتنی سڵاو ، بۆیه له دهستپێكی ئاخاوتندا ههمیشه سڵاو :)
پیشاندانی سهرژمێری بابهتهكان + ڕهنگكردنی گروپهكان زۆر بهئاسانی
دهست دهكهم به ڕونكردنهوهی چۆنیهتی دانانی ئهم پێوهكراوه ،
ئهم پێوهكراوه له بهرواری 2009-09-09 له مالپهڕی punbb نوێكراوهتهوه
ئهم بوخچهیه دابگره له zip پهڕهكان بهێنه دهرهوه و به یه كێك له بهرنامهكانی FTP بهرزیان بكهوه سهر وێبكه
ئهم گۆڕانكاریه دهبێته هۆی ڕێككهوتنی ئهم پێوهكراوه له مهكۆكان
CHMOD ی ئهم پهڕهیهusersonline_config.php بكه به ٧٦٦
index.php بكهوه
بگهڕێ به دوای ئهم كۆدانه له نزیك دیری 162كۆد:
list($stats['total_topics'], $stats['total_posts']) = $db->fetch_row($result);له دوای ئهم كۆدهی بۆ زیاد بكه
كۆد:
// USERSONLINE MOD: include PUN_ROOT."usersonline_config.php"; if ($usersonline_enable) { // Load users online module require PUN_ROOT.'usersonline.php'; } else {له ههمان پهڕه ئهم كۆدانهش ببینهوه له نزیك دیری 225
كۆد:
$footer_style = 'index';له پێشی ئهمهی بۆ زیاد بكه
كۆد:
}ئهم پهڕهیه تهواو
viewtopic.php بكهوه
بكهڕێ به دوای ئهم كۆدانهكۆد:
$username = ''.pun_htmlspecialchars($cur_post['username']).'';بیانگۆڕه به
كۆد:
// USERSONLINE MOD: Apply group color to current poster include PUN_ROOT."usersonline_config.php"; $username = ''.pun_htmlspecialchars($cur_post['username']).'';ئهم پهڕهیهش تهواو
بۆ ڕێك خستنی ڕهنگی گڕوپهكانی بهكار هێنهر برۆ بۆ بهڕێوهبهرایهتی و
Users Online بكهوه له وێ كۆدی ڕهنگهكان بۆ ههر یهكێك له گروپهكانی بهكارهێنهر دابنێ
وه ئهنجامی كۆتایی بهم شێوهیه دهبێت
تێبینی : پێوهكراوی ئامادهبوانی ئهمڕۆ + چالاكترین ٢٠ ئهندام له گهل كاراكردنی ئهم پێوهكراوه له كار دهكهوێت واته دهبێت یه كێكیان بكار بهێنیت ،
به شێوهیهكی ئاسایی دهتوانی ههردوكیان دابمهزرێنیت واته ئهگهرچالاكترین ٢٠ ئهندام و ئامادهبوانی ئهمڕۆت داناوه دهتوانی ئهمهش بهكار بهێنیت ،ئهگهر ئارهزوت له كامیان بو دهتوانی له ههر كاتێكدا یه كێكیان به كاربێنیت .

لهسهر هێڵ نییه








سوپاسی ناوێت براکهم بههیوام سودێکی ههبوبێت
لهسهر هێڵ نییه