braheemo88
02-16-2002, 09:04 PM
I am a NEW member...
I liked this beautiful forum that contains a lot of vb information...
so I started with some hacks...
the POST_BIT template hacks
I will give u these hacks except the hack (counting thread&reply)
1-showing the member NO.
2-how many people read his THREADS
3-showing the average of his posts per day
4-showing the member EMAIL
5-Showing the member visits
and now we begin
HACK NO 1: SHOWING THE MEMBER NO.
open the template {postbit}:
find $post[posts]
after it add:
<br>Member No : $post[userid]
finish
---------------------------
HACK NO 2:HOW MANY PEOPLE READ HIS THREADS:
will be in an attachment TXT
---------------------------
HACK NO 3: SHOWING THE AVERAGE OF HIS POSTS PER DAY:
open the template {postbit}:
find $post[posts]<br>
after it add:
Average of Posts : $postsperday<br>
finish
----------------------------
HACK NO 4: SHOWING THE MEMBER EMAIL:
open the template {postbit}:
find $post[posts]<br>
after it add:
Email :<br><font face="times new roman" size="1">$post[email]</font><br>
finish
----------------------------
HACK NO 5: SHOWING THE MEMBER VISITS:
open : showthread.php
find :
$onlinestatus="";
}
after it add:
$personal0 = $DB_site->query_first("
SELECT SUM(views) AS personalviews FROM thread WHERE postuserid='$userinfo[userid]' AND open!='10'");
$personal= 2*$userinfo[posts]+$personal0[personalviews];
if ($personal0 == ""):
$personal0 = "0";
endif;
open the template postbit:
find
$post[posts]
after it add:
<br>
Visits : $personal
finished
I liked this beautiful forum that contains a lot of vb information...
so I started with some hacks...
the POST_BIT template hacks
I will give u these hacks except the hack (counting thread&reply)
1-showing the member NO.
2-how many people read his THREADS
3-showing the average of his posts per day
4-showing the member EMAIL
5-Showing the member visits
and now we begin
HACK NO 1: SHOWING THE MEMBER NO.
open the template {postbit}:
find $post[posts]
after it add:
<br>Member No : $post[userid]
finish
---------------------------
HACK NO 2:HOW MANY PEOPLE READ HIS THREADS:
will be in an attachment TXT
---------------------------
HACK NO 3: SHOWING THE AVERAGE OF HIS POSTS PER DAY:
open the template {postbit}:
find $post[posts]<br>
after it add:
Average of Posts : $postsperday<br>
finish
----------------------------
HACK NO 4: SHOWING THE MEMBER EMAIL:
open the template {postbit}:
find $post[posts]<br>
after it add:
Email :<br><font face="times new roman" size="1">$post[email]</font><br>
finish
----------------------------
HACK NO 5: SHOWING THE MEMBER VISITS:
open : showthread.php
find :
$onlinestatus="";
}
after it add:
$personal0 = $DB_site->query_first("
SELECT SUM(views) AS personalviews FROM thread WHERE postuserid='$userinfo[userid]' AND open!='10'");
$personal= 2*$userinfo[posts]+$personal0[personalviews];
if ($personal0 == ""):
$personal0 = "0";
endif;
open the template postbit:
find
$post[posts]
after it add:
<br>
Visits : $personal
finished