هاك الستايل المستخدم للعضو
تعديلات الملفات
افتح includes/functions_showthread.php
ابحث
require_once('./includes/functions_bbcodeparse.php'); require_once('./includes/functions_reputation.php');
اسفل منه ضع
// ###################### Start Stylename_from_styleid ####################### function stylename_from_styleid($id) { global $stylechoosercache,$vboptions; if($id==0) $id = $vboptions['styleid']; $cache = $stylechoosercache; foreach($cache as $k1=>$v1) { foreach($v1 as $k2=>$v2) { foreach($v2 as $k3=>$v3) { if($v3['styleid']==$id) { return array($v3['styleid'],$v3['title']); } } } } return array('','UNKNOWN'); }
احفظ الملف وارفعه=====================================
افتح ملف showpost.php
ابحث
$postbits = construct_postbit($post);
فوقه اضف
$useid = ($bbuserinfo['userid']==$post['userid']) ? $bbuserinfo['styleid'] : $post['styleid']; $result = stylename_from_styleid($useid); $post['styleid'] = $result[0]; $post['styletitle'] = $result[1]; unset($result,$useid);
احفظ الملف وارفعه========================================
افتح showthread.php
احفظ الملف وارفعه
$postbits .= construct_postbit($post, $template); if (!empty($parsed_postcache['text']) AND !$stopsaveparsed) { if (!empty($saveparsed)) { $saveparsed .= ','; }
فوقه اضف
$useid = ($bbuserinfo['userid']==$post['userid']) ? $bbuserinfo['styleid'] : $post['styleid']; $result = stylename_from_styleid($useid); $post['styleid'] = $result[0]; $post['styletitle'] = $result[1]; unset($result,$useid);
احفظ الملف وارفعه
if ($threadedmode == 2) // hybrid display mode { $postbits .= construct_postbit($post, $template); } else // threaded display mode {
فوقه اضف
$useid = ($bbuserinfo['userid']==$post['userid']) ? $bbuserinfo['styleid'] : $post['styleid']; $result = stylename_from_styleid($useid); $post['styleid'] = $result[0]; $post['styletitle'] = $result[1]; unset($result,$useid);
احفظ الملف وارفعه====================================
تعديلات القوالب
في البوست بت والبوست بت ليجاسي
ابحث
$vbphrase[age]: $post[age]
اسفل منه ضع
$vbphrase[style]:
$post[styletitle]
العبارات المضافة
افتح اللغات والعبارات اختر التحكم بالعبارات ثم اضافة عبارة جديدة
نوع العبارة: postbit المتغير: style النص: الستايل
انتهى