PDA

View Full Version : can any one fix this hack?


alqafelah
06-08-2002, 04:34 PM
hi,

this hack not work on vb 2.2.6 !

can any one fix it ?

also, can you add views of user's thread ?

thanks and sory for bad english .

alqafelah
06-09-2002, 07:50 PM
any idea please ?:(

Scott MacVicar
06-09-2002, 07:55 PM
what is wrong with it?

Scott MacVicar
06-09-2002, 07:57 PM
all i can see is that

$usertherd = $DB_site->query_first("SELECT COUNT(threadid) AS total FROM thread WHERE postuserid=$post[userid]");

needs to be

$usertherd = $DB_site->query_first("SELECT COUNT(threadid) AS total FROM thread WHERE postuserid='$post[userid]'");

alqafelah
06-09-2002, 08:04 PM
thank you PPN .

i am not getting any thing here :

Threads :
Replays :

they are empty !

thank you and sory for bad english again .

alqafelah
06-09-2002, 08:18 PM
thank you very much PPN .. it's fine now :)

now .. can you add views of user thread please ? like this :

Threads : fine
Replays : fine
views : ???

thanks again

Scott MacVicar
06-09-2002, 08:22 PM
The views that the user has done are not logged so you cannot determine how many times they have viewed something.

alqafelah
06-09-2002, 08:52 PM
i'm see that in the past !

i mean views of starter threads .

whatever .. thank you alot for help me :)

Scott MacVicar
06-09-2002, 09:59 PM
$userview = $DB_site->query_first("SELECT SUM(views) AS total FROM thread WHERE postuserid='$post[userid]'");

then $userview[total]