Oh,thank you.
I have this feature a month ago.
look this:
http://tsing.com/vb/showthread.php?threadid=1742
But in my before post here ,I didn't re-release it.
To reach this feature,just do some edit in showthread.php as done in member.php,postbit as getinfo.
but you have done it.
in my forum I have release it at 05-21-2001 10:36 AM
http://tsing.com/vb/showthread.php?threadid=836
this is the post in Chinese:
?? 1 ?? [RELEASE personal glamour FOR VB2]
???ľ??Ǹ???????HACK???????ߣ?ztsky????
??ͳ??һ????Ա?Ƿ???????????̳????????̳?ܵ???ע? ̶ȣ?????????Ա??????????????룬???и????????? ?ԣ?????̳???ֿ??ԣ??о???ֵҲ???ԡ?
????VB??̳????????????????
http://www.vbulletin.com/forum/show...?threadid=17116
??ʾ
????ת?أ???ע??????~??
1???? member.php
????eval("\$birthday = \"".gettemplat("getinfo_birthday")."\";");
}
????????
// Find out how many threads this user has started
$startcount = $DB_site->query_first("SELECT COUNT(title) AS starts FROM thread WHERE postuserid='$userinfo[userid]' AND open!='10'");
$starts = $startcount[starts];
if ($starts == ""):
$starts = "0";
endif;
// end Find threads
// Find out how much personal glamour does this user has
$personal0 = $DB_site->query_first("
SELECT SUM(views) AS personalviews FROM thread WHERE postuserid='$userinfo[userid]' AND open!='10'");
$activity01= $userinfo[posts]-$starts;
$activity02= $starts;
$activity03= $personal0[personalviews];
$personal= 3*$activity02+2*$activity01+$activity03;
if ($personal2 == ""):
$personal2 = "0";
endif;
// end Findhow much personal glamour
2???༭ Ĥ?? User Info Display Templates ?е?getinfo
??
<tr>
<td bgcolor="#efefef"><normalfont>????????:</normalfont></td>
<td bgcolor="#efefef"><normalfont>$userinfo[posts] (ÿ?? $postsperday ??)</normalfont></td>
</tr>
??????
<tr>
<td bgcolor="#f7f7f7"><normalfont>????????:</normalfont></td>
<td bgcolor="#f7f7f7"><normalfont>$starts</normalfont>
</td></tr>
<!-- User personal glamour-->
<tr>
<td bgcolor="#efefef"><normalfont>????????</normalfont></td>
<td bgcolor="#efefef"><normalfont>$personal</normalfont>
</td>
</tr>
<!-- End User personal glamour -->
3???? SHOWTHREAD.PHP
????//$post[message].=$post[signature];
?ں???????
// Find out how many threads this user has started
$startcount = $DB_site->query_first("SELECT COUNT(title) AS starts FROM thread WHERE postuserid='$userinfo[userid]' AND open!='10'");
$starts = $startcount[starts];
if ($starts == ""):
$starts = "0";
endif;
// end Find threads
// Find out how much personal glamour does this user has
$personal0 = $DB_site->query_first("
SELECT SUM(views) AS personalviews FROM thread WHERE postuserid='$userinfo[userid]' AND open!='10'");
$activity01= $userinfo[posts]-$starts;
$activity02= $starts;
$activity03= $personal0[personalviews];
$personal= 3*$activity02+2*$activity01+$activity03;
if ($personal2 == ""):
$personal2 = "0";
endif;
// end Findhow much personal glamour
4???????? POSTBIT
??
????: $post[field2]<br>
????????: $post[posts]</smallfont></td>
??Ϊ
????: $post[field2]<br>
????????: $post[posts]<br>
????????:$personal </smallfont></td>