الرئيسية | الشروط والقوانين | سياسة الخصوصية | اتصل بنا | الأرشيف | RSS |
يمنع منعا باتا وضع موضوع إعلاني |
|
تطويــــر المنتديــ VB3 ـات هاكات :: تمبلتات :: اكواد |
|
أدوات الموضوع |
#1
|
||||
|
||||
هاك جديد لمعرفه الستايل المستخدم من قبل العضو في مشاركاته
السلام عليكم اخواني الكرم اليكم هذا الهاك :- كود:
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); كود:
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if> كود:
<div>$vbphrase[style]: <a href="index.php?styleid=$post[styleid]">$post[styletitle]</a></div>
|
03-09-2006, 04:57 PM | رقم المشاركة : 2 | |
|
يسلمووووووو الايادى ياذوق |
|
|
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
|
|
المواضيع المتشابهه | ||||
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
تنويه : تغيير أسم المستخدم | VIP | منتدى استراحـة الاعـضاء | 49 | 10-07-2006 04:59 PM |
::::::::::من المستحيل:::::::: | الفيلسوفه | منتدى استراحـة الاعـضاء | 16 | 27-05-2006 11:49 AM |
مطلوب هذا الستايل q8 | مـجـرد قـلـم | ستايلات المنتديــ VB3 ـات | 2 | 31-08-2005 03:58 PM |
ذالك هو المستحيل | مـــلاك | المنـتدى العـام | 5 | 25-07-2005 07:09 PM |
الساعة الآن 08:13 AM
|