The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need help with a query
I have a few query issues:
The query below returns zero rows, but if I remove the last three lines it works fine. Specifically is the last AND on the query. Code:
SELECT user.userid, user.usergroupid, user.posts, access.forumid, userfield.field5 FROM user LEFT JOIN userfield ON userfield.userid = user.userid LEFT JOIN access ON access.userid = user.userid AND access.forumid IS NULL WHERE (user.usergroupid = 70 OR user.usergroupid = 71 OR user.usergroupid = 87) AND (user.posts >= 150) AND (user.joindate <= NOW()-1209600) AND (user.lastactivity > NOW()-2419200) ORDER BY user.lastactivity DESC LIMIT 25 Here's the the full code: PHP Code:
Here's the error I get: Code:
Cannot access empty property in /home/username/public_html/includes/cron/request.php on line 12 Code:
$auser = $db->query_read(" |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|