Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 09:55 am EST

Geeklog Forums

All stories on the main page


Status: offline

ShdwRulr

Forum User
Regular Poster
Registered: 09/13/03
Posts: 78
How do I get all the stories from all the topics to not only go to the their page but also to the main home page?
Bla bla bla
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
I can't test this right now, but try the following change in index.php:

delete all of:

Text Formatted Code
// if a topic was provided only select those stories.
if (!empty($topic)) {
    $sql .= " AND tid = '$topic' ";
} elseif (!$newstories) {
    $sql .= " AND frontpage = 1 ";
}

 
 Quote

All times are EST. The time is now 09:55 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content