Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 07:20 am EST
Geeklog Forums
"Show only in topic" default
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Text Formatted Code
// Allow / disallow comments to stories by default (can be changed individually for every story)$_CONF['comment_code'] = 0; // 0 = comments enabled, -1 = disabled
There's no such setting for "show in topic only", though. You would have to change that in admin/story.php directly.
bye, Dirk
10
16
Quote
Status: offline
smith
Forum User
Newbie
Registered: 12/08/03
Posts: 5
Thanks for the info Dirk. I changed the default comment mode to disabled OK, but I still can't change the Show on frontpage mode. I have tried changing $A['statuscode'] variable from 1 to 0. but it didn't work. Any other ideas.
-Joe
-Joe
25
14
Quote
grizel
Anonymous
I couldn't get this fix to work, a year later on current version is there anyway to set the deafult to "Show in Topic only" instead of "Show on Frontpage"?
14
12
Quote
Jon Lawrence
Anonymous
Hi,
I'm also unable to get this to work.
I've tried adding $A['frontpage'] = 0; to various areas of story.php but nothing changes.
There must be a way of doing this, but at the moment I can't find it.
I'm also unable to get this to work.
I've tried adding $A['frontpage'] = 0; to various areas of story.php but nothing changes.
There must be a way of doing this, but at the moment I can't find it.
10
14
Quote
Status: offline
jlawrence
Forum User
Chatty
Registered: 12/30/04
Posts: 49
Location:Plymouth, Devon, UK
Ok, I've managed to get this to work at last
I added the following:
$A['frontpage'] = 0;
at lines 190 & 164 of admin/story.php ie after the $A['featured']
This seems to work well. Both stories that need moderating and those that don't appear to be set to 'show in topic only' as default.
Regards,
Jon
www.plymouthcricketclub.com - providing cricket for all ages in the Plymouth area.
I added the following:
$A['frontpage'] = 0;
at lines 190 & 164 of admin/story.php ie after the $A['featured']
This seems to work well. Both stories that need moderating and those that don't appear to be set to 'show in topic only' as default.
Regards,
Jon
www.plymouthcricketclub.com - providing cricket for all ages in the Plymouth area.
11
19
Quote
All times are EST. The time is now 07:20 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