Log in

View Full Version : Threads in pms


Boofo
02-24-2004, 05:51 PM
Can anyone please tell me why I can't get this to pull anything in the private.php? What I am trying to do is pull the threads that each user started and I have it listed in the postbit, usernotes, showpost and even the profile, but for some reason I can't pull it to have it show in the pm. Anyone have any ideas I might be missing? ;)

Here's the code I am using:

$yourthreads = $DB_site->query_first("
SELECT COUNT(threadid) AS count
FROM " . TABLE_PREFIX . "thread
WHERE postuserid='".$userid."'
");
$postthreads = $yourthreads['count'];
$postthreads = vb_number_format($postthreads);

and I placed it right ABOVE:

$pm = array_merge($pm, $fromuserinfo);

in the private.php

Boofo
02-25-2004, 04:19 AM
Mods, you can close this thread. Problem is solved. ;)