Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
morpheus_75
Involved
Involved



Joined: Oct 07, 2003
Posts: 302

PostPosted: Tue Sep 07, 2004 12:50 pm Reply with quote

I was wondering whether it were possible to display more than 10 news for each topic. What shall I change in order to acjieve this?
 
View user's profile Send private message
morpheus_75







PostPosted: Tue Sep 07, 2004 1:03 pm Reply with quote

Found out. Just find this line:

Code:
$sql = "SELECT sid, catid, title FROM ".$prefix."_stories WHERE topic='$topicid' ORDER BY sid DESC LIMIT 0,10";


And substitute 0,10 (10 news) with 0,15 (15 news) Wink
 
morpheus_75







PostPosted: Tue Sep 07, 2004 1:13 pm Reply with quote

Ok, now I have this question.

When clicking on more, I'd like the rest of the news to be shown.

If I have let's say 15 news in the topic "Php Nuke", the topics index shows only ten of them and then there is a "more" link. But if you click on that link, you don't see the rest of the news (the last five).

How can I do this?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©