الويب العربي

الويب العربي (http://www.arabwebtalk.com/index.php)
-   قسم المنتديات (http://www.arabwebtalk.com/forumdisplay.php?f=112)
-   -   هاك ضع رداً + شرح تركيبه (http://www.arabwebtalk.com/showthread.php?t=23842)

سيلفر 17-04-2006 03:34 PM

هاك ضع رداً + شرح تركيبه
 
اليوم أقدم لكم شرح تركيب هاك يتسأل عنه الكثيرون وهو هاك ضع رداً حتى ترى المرفق.

فى البداية خذ نسخة إحتياطية من ملف Attachment.php الموجود فى مجلد المنتدى الرئيسى .




ثم إتبع الشرح بالصور



وإبحث عن::

كود
// check if there is a forum password and if so, ensure the user has it set



وبعد ذلك إذهب إلى لوحة التحكم::-
http://yourdomain.com/vb/admincp/index.php



أضف تمبلت جديد بإسم vbhack
وضع بداخله الكود التالى ::-


كود
$stylevar[htmldoctype]


<
html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<
head>
<
title>$pagetitle</title>
$headinclude
$headinsert
</head>
<
body>
$header<br />
<
br />
<
br /><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center" height="59">
<
tr>
<
td class="tcat" height="19">$vbphrase[vbulletin_message]</td>
</
tr>
<
tr>
<
td class="panelsurround" align="center" height="32">
<!--
<
div style="margin-top:$stylevar[cellpadding]px">
<
input type="submit" class="button" value="$vbphrase[go_back]" accesskey="s" onclick="history.back(1); return false" />
</
div>
-->
&
nbsp;<p><b><font color="#FF0000">نأسف <span lang="ar-sa">نأسف الرجاء الرد على الموضوع للتمكن من تحميل المرفق </span>.</font></b></p>
<
p><b><font color="#FF0000">الأدرة </font></b></td>
</
tr>
</
table>&nbsp;<table cellpadding="0" cellspacing="0" border="0" align="center">
<
tr>
<
td>$forumjump</td>
</
tr>
</
table>
<!-- /
forum jump --><br />
<
br />$footer</body>
</
html>



إنتهى الشرح
__________________

سيلفر 17-04-2006 03:48 PM

واذا حدث خلل فان هذا الكود هو الناقص

ابحث في ملف Attachment.php الموجود فى مجلد المنتدى الرئيسى عن

كود PHP:
// check if there is a forum password and if so, ensure the user has it set



فوقه اضف
كود PHP:
// add post then you can take the attach by rafie
if ( !$vbulletin->db->query_first ( "SELECT postid FROM " . TABLE_PREFIX . "post WHERE userid='".$vbulletin->userinfo[userid]."' AND threadid=$threadinfo[threadid]" ) ) :
eval(
'print_output("' . fetch_template('vbhack') . '");');
endif ;



__________________

lmsat.net 18-04-2006 01:25 AM

تسلم حبيبي سيلفر وهذي للنسخ

3.0.x

مشكور يالغلا وما قصرت

طالب^علم 18-04-2006 04:26 AM

يعطيك الف عافيه اخوي


جميع الأوقات بتوقيت مكة المكرمة. الساعة الآن » 12:43 AM.

Powered by vBulletin
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © ArabWebTalk.Com 2004-2012