![]() |
Ill need the $newsquery lines please.
|
$newsquery = "SELECT thread.*, post.*";
$newsquery .= " FROM thread,post"; $newsquery .= " WHERE post.threadid=thread.threadid"; $newsquery .= " AND thread.forumid=$newsforums"; $newsquery .= " GROUP BY thread.threadid"; $newsquery .= " ORDER BY thread.dateline DESC"; $newsquery .= " LIMIT $newsitems"; sorry bout' that :) |
Quote:
$newsquery .= " FROM thread,post"; $newsquery .= " WHERE post.threadid=thread.threadid"; $newsquery .= " AND thread.forumid=$newsforums"; $newsquery .= " GROUP BY thread.threadid"; $newsquery .= " ORDER BY thread.dateline DESC"; $newsquery .= " LIMIT $newsitems"; ^^ Hrm, thats the one i use, and it works fine. Might just want to try reuploading the file. |
No problem about that either, just the newsbit template doesnt tell you much.
|
I've a problem with the query showing ups thread titles & post text.
OpNEWS doesn't display the right pagetext if there're more than 1 post in the thread. am I the only one with problems like this ? :confused: thanks pier |
ok, something is REALLY screwey, i changed the 0 back to a 1(actually, i re copied the script) and its still displating the last comment instead of the news...this is quite odd. Any ideas?
|
I dont get this problem.
Ill look into it, give me a day. |
Quote:
|
That is REALLY strange.
I have this script running, here and it works fine. Really weird. Im actually working on another problem atm, so could you pls post a copy of the news.php file in here(just use [php] tags) Thanks! |
PHP Code:
|
All times are GMT. The time now is 08:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|