Welcome, Guest. Please Login or Register.
November 25, 2024, 09:49:55 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Ssi News « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Ssi News  (Read 318 times)
James Bone
Jr. Member
**
Posts: 62


Fly Baby........Fly

WWW
Ssi News
« on: September 29, 2003, 02:09:33 PM »
Reply with quote

YaBB SE Version: 1.5.4
PHP Version: 4.3.2
MySQL Version: 4.0.x
Server Platform: Windows
Link to Forum: http://community.quattix.net

Problem Description:
how can i make the recent topics function just show the recent ones from a certain board? say like a news board.

James
Logged

Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:Ssi News
« Reply #1 on: September 29, 2003, 09:18:55 PM »
Reply with quote

look in SSI.php for the "function recentTopics ()" then inside the function, you will see the query to grab the topics.. it looks like this:


WHERE t.ID_TOPIC=m.ID_TOPIC
AND b.ID_BOARD=t.ID_BOARD
AND c.ID_CAT=b.ID_CAT


Just add to it


AND t.ID_BOARD=X


Where X = the ID number of the board you want to display.
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
James Bone
Jr. Member
**
Posts: 62


Fly Baby........Fly

WWW
Re:Ssi News
« Reply #2 on: September 30, 2003, 08:48:09 AM »
Reply with quote

THanks so much!
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Ssi News « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.036 seconds with 20 queries.