Log in

View Full Version : POST BIT template HACKS


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

Steve Machol
02-16-2002, 11:36 PM
braheemo88, please go to this (http://www.vbulletin.com/members/vbulletin.org.php) page and enter your username, to show you are licensed. (you will need to use your customer number and password to access that page)
Thank you.