The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
|||
|
|||
![]()
Chen:
It should be. Here is a bit more of the code in question as I have it written into the existing code. Code:
....$lastposttime=$DB_site->query_first("SELECT dateline FROM post WHERE threadid='$threadid' ORDER BY dateline DESC LIMIT ".iif($moderated, '1,1', '1')); // if it's moderated, the post has already been inserted, so we want the one before that if ($bbuserinfo['allemail']==0) { $useremails=$DB_site->query("SELECT user.* FROM subscribethread,user WHERE subscribethread.threadid='$threadid' AND subscribethread.userid=user.userid AND user.userid<>'$userid' AND user.lastactivity>'$lastposttime[dateline]'"); } else { $useremails=$DB_site->query("SELECT user.* FROM subscribethread,user WHERE subscribethread.threadid='$threadid' AND subscribethread.userid=user.userid AND user.userid<>'$userid'"); } $threadinfo[title]=unhtmlspecialchars($threadinfo['title']); $temp = $bbuserinfo['username']; if ($postid) { $postinfo = getpostinfo($postid); $bbuserinfo['username'] = unhtmlspecialchars($postinfo['username']); $bbuserinfo['email'] = unhtmlspecialchars($postinfo['email']); $postemail = $bbuserinfo['email']; } else { if (!$bbuserinfo['userid']) { $bbuserinfo['username'] = unhtmlspecialchars($postusername); $bbuserinfo['email'] = unhtmlspecialchars($postuseremail); $postemail = $bbuserinfo['email']; } else { $bbuserinfo['username'] = unhtmlspecialchars($bbuserinfo['username']); $bbuserinfo['email'] = unhtmlspecialchars($bbuserinfo['email']); $postemail = $bbuserinfo['email']; } } while ($touser=$DB_site->fetch_array($useremails)) { $touser['username']=unhtmlspecialchars($touser['username']); ............................................ Any ideas? Parker |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|