Hi! webhost
1??**********Edit member.php
**********FIND
Code:
eval("\$birthday = \"".gettemplat("getinfo_birthday")."\";");
}
**********AFTER THIS,ADD
Code:
$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;
$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;
2??*************editTemplate getinfo
*******FIND
Code:
<tr>
<td bgcolor="#DFDFDF"><normalfont><b>Total Posts:</b></normalfont></td>
<td bgcolor="#DFDFDF"><normalfont>$userinfo[posts] ($postsperday posts per day)</normalfont></td>
</tr>
<tr>
<td bgcolor="#F1F1F1"><normalfont><b>Last Post:</b></normalfont></td>
<td bgcolor="#F1F1F1"><normalfont>$lastpostdate $lastposttime<br><a href="$lastposturl">$lastposttitle</a>$nolastpost</normalfont></td>
</tr>
********AFTER THIS CODE,ADD:
Code:
<tr>
<td bgcolor="#DFDFDF"><normalfont><b>Start Threads:</b></normalfont></td>
<td bgcolor="#DFDFDF"><normalfont>$starts </normalfont></td>
</tr>
<tr>
<td bgcolor="#F1F1F1"><normalfont><b>Personal Views:</b></normalfont></td>
<td bgcolor="#F1F1F1"><normalfont><b>$personal </b></normalfont></td>
</tr>
3??**********Edit SHOWTHREAD.PHP
**********FIND
[CODE] //$post[message].=$post[signature]; [CODE]
**********AFTER THIS,ADD
Code:
// 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;
$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;
4??**********Edit template POSTBIT
*********FIND:
Code:
<smallfont>Registered: $post[joindate]<br>
Location: $post[field2]<br>
Posts: $post[posts]</smallfont></td>
*******replace it with :
Code:
<smallfont>Registered: $post[joindate]<br>
location: $post[field2]<br>
posts: $post[posts]<br>
personalviews:$personal </smallfont></td>
that's all.