Welcome to Geeklog, Anonymous Saturday, May 18 2024 @ 09:47 pm EDT

Geeklog Forums

New story default no show on main page


xavi0r

Anonymous
I noticed that if I give basic story access to members when they submit a story it show on the main page by default. Is there a way to make it not show there by default. I've looked at config.php and cannot see anything that changes this. Thanks
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
There is no such option, but you could add it in function storyeditor() in admin/story.php after the line that reads
Text Formatted Code
} elseif ($mode == "edit") {
    $A['frontpage'] = 0;
 

After that change, all new stories would default to "Show only in topic".

bye, Dirk
 Quote

All times are EDT. The time is now 09:47 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