Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 05:53 pm EST

Geeklog Forums

does anyone have a hack to remove from front page?


Status: offline

qwikstreet

Forum User
Junior
Registered: 08/15/02
Posts: 32
Does anyone have a hack that would remove a story from the front page and still keep it in its respected section/topic.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Change the mode for the story from \"Show on Front Page\" to \"Show only in Topic\". bye, Dirk
 Quote

qwik

Anonymous
Right I am aware of that, but is there a way to do them at a whole batch or have it automatically change to \"only in topic\" after say a month.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Text Formatted Code
UPDATE gl_stories SET frontpage = 0 WHERE date <= DATE_SUB(NOW(), INTERVAL 48 HOUR);
... or something along those lines. That would set it for all stories older than 48 hours. bye, Dirk
 Quote

All times are EST. The time is now 05:53 pm.

  • 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