بسم الله الرحمن الرحيم

ما كيفية معرفة من قام بتقييم موضوع؟

هل هناك هاك أو استعلام أو طريقة لذلك في vb 4.0.3
حيث انه يوجد هاك للنسخة vb 3.8.0


هذا استعلام من هاك بس
كود PHP:
SELECT t.votenum AS votenumtr.userid AS useridtr.vote AS voteu.username AS usernameu.usergroupid AS usergroupid
    FROM 
" . TABLE_PREFIX . "thread AS 
أو اللي يقدر يحول هذا الهاك الى النسخة الرابعة فهو انفع
[QUOTE]
<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="ms_whrat_38" active="1">
<title>&#229;&#199;&#22 3; &#227;&#228; &#222;&#199;&#227; &#200;&#202;&#222;&#237;& #237;&#227; &#199;&#225;&#227;&#230;& #214;&#230;&#218;</title>
<description>&#202;&#22 7; &#202;&#218;&#209;&#237;& #200; &#199;&#225;&#229;&#199;& #223; &#200;&#230;&#199;&#211;& #216;&#201; &#200;&#228; &#205;&#209;&#237;&#20 0; - &#212;&#200;&#223;&#20 1; &#211;&#227;&#199; &#206;&#230;&#209;&#221;& #223;&#199;&#228;</description>
<version>3.8.001</version>
<url>http://www.skfn.net</url>
<versioncheckurl>http://www.skfn.net</versioncheckurl>
<dependencies>
</dependencies>
<codes>
</codes>
<templates>
<template name="Who_Rated" templatetype="template" date="1253762884" username="Mosh" version="3.8.001"><![CDATA[<!-- Who Has Rated A Thread v 3.8.001 by Mosh Shigdar, Copyright 2009 -->
<br />
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="tcat" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('who_rate d')"><img id="collapseimg_who_rated " src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_who_rated].gif" alt="" border="0" /></a>
$vbphrase[who_rated_title] : $ratings
</td>
</tr>
</tbody>
<tbody id="collapseobj_who_rated " style="$vbcollapse[collapseobj_who_rated]">
<tr>
<td class="alt1" width="100%"><div class="smallfont">$thread raters</div></td>
</tr>
</tbody>
</table>
<br />
<!-- Who Has Rated A Thread -->
]]></template>
<template name="Who_Rated_User" templatetype="template" date="1253715187" username="Mosh" version="3.8.001"><![CDATA[<a href="member.php?$session[sessionurl]u=$whorated[userid]" rel="nofollow" title="$stars">$whorated[opentag]$whorated[username]$whorated[closetag]</a>]]></template>
</templates>
<plugins>
<plugin active="1" executionorder="5">
<title>Who Has Rated A Thread (1)</title>
<hookname>cache_templates </hookname>
<phpcode><![CDATA[// cache the templates required
if (THIS_SCRIPT == "showthread")
{
$globaltemplates[] = 'Who_Rated';
$globaltemplates[] = 'Who_Rated_User';
}]]></phpcode>
</plugin>
<plugin active="1" executionorder="5">
<title>Who Has Rated A Thread (2)</title>
<hookname>showthread_geti nfo</hookname>
<phpcode><![CDATA[// set number who rated a thread to zero
$ratings = 0;

// find out who rated a thread
$whorated_query = $vbulletin->db->query_read("
SELECT t.votenum AS votenum, tr.userid AS userid, tr.vote AS vote, u.username AS username, u.usergroupid AS usergroupid
FROM " . TABLE_PREFIX . "thread AS t
INNER JOIN " . TABLE_PREFIX . "threadrate AS tr ON t.threadid = tr.threadid
LEFT OUTER JOIN " . TABLE_PREFIX . "user AS u ON tr.userid = u.userid
WHERE tr.threadid = " . intval($threadinfo['threadid']) . "
ORDER BY u.username ASC
");

// loop through the results
while ($whorated = $vbulletin->db->fetch_array($whorated_qu ery))
{
// this will be the same for each result
$ratings = $whorated['votenum'];

// construct the rating stars phase
if ($whorated['vote'] == 1)
{
$stars = construct_phrase($vbphras e['who_rated_x_star'], $whorated['vote']);
}
else
{
$stars = construct_phrase($vbphras e['who_rated_x_stars'], $whorated['vote']);
}

// sort out the usergroup mark up for the current user
$ug = ($whorated['displaygroupid'] > 0 ? $whorated['displaygroupid'] : $whorated['usergroupid']);
$whorated['opentag'] = $vbulletin->usergroupcache[$ug]['opentag'];
$whorated['closetag'] = $vbulletin->usergroupcache[$ug]['closetag'];

// construct the row
eval('$threadraters .= "' . fetch_template('Who_Rated _User') . '" . ", ";');
}

// check if results
if ($threadraters)
{
// if results, remove the last ', '
$threadraters = substr($threadraters, 0, -2);
}
else
{
// if no results, display message
$threadraters = $vbphrase['who_rated_no_ratings'];
}

// spit out the template
eval('$template_hook[\'showthread_after_active users\'] .= "' . fetch_template('Who_Rated ') . '";');]]></phpcode>
</plugin>
</plugins>
<phrases>
<phrasetype name="GLOBAL" fieldname="global">
<phrase name="who_rated_no_rating s" date="1253712304" username="Mosh" version="3.8.001"><![CDATA[&#225;&#227; &#237;&#222;&#230;&#22 7; &#195;&#205;&#207; &#200;&#202;&#222;&#237;& #237;&#227; &#229;&#208;&#199; &#199;&#225;&#227;&#230;& #214;&#230;&#218;]]></phrase>
<phrase name="who_rated_title" date="1253714586" username="Mosh" version="3.8.001"><![CDATA[&#199;&#225;&#195;&#218;& #214;&#199;&#193; &#199;&#225;&#208;&#237;& #228; &#222;&#199;&#227;&#230;& #199; &#200;&#202;&#222;&#237;& #237;&#227; &#229;&#208;&#199; &#199;&#225;&#227;&#230;& #214;&#230;&#218;]]></phrase>
<phrase name="who_rated_x_star" date="1253715299" username="Mosh" version="3.8.001"><![CDATA[&#227;&#211;&#202;&#230;& #236; &#199;&#225;&#202;&#222;& #237;&#237;&#227;: {1} &#228;&#222;&#216;&#20 1;]]></phrase>
<phrase name="who_rated_x_stars" date="1253715311" username="Mosh" version="3.8.001"><![CDATA[&#227;&#211;&#202;&#230;& #236; &#199;&#225;&#202;&#222;& #237;&#237;&#227;: {1} &#228;&#222;&#199;&#21 6;]]></phrase>
</phrasetype>
</phrases>
<options>
</options>
<helptopics>
</helptopics>
<cronentries>
</cronentries>
<faqentries>
</faqentries>
</product>
][/QUOTE
مع خالص الشكر