Welcome to Geeklog, Anonymous Wednesday, October 09 2024 @ 11:45 am EDT
Geeklog Forums
Suggestion for next release: Global disable of comments
Status: offline
Hrekum
Forum User
Newbie
Registered: 06/03/03
Posts: 11
Hi Dirk et al
I really, really would like to see an option in the config.php file to disable comments on a site. Given the power of the forums, I want members to put their expressions in there instead. Maybe if someone has a hack for a redirect on the comments to the forums? I have read the other two remarks on disabling comments.
Cheers!
Chris
8
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Hrekum:I really, really would like to see an option in the config.php file to disable comments on a site.
Text Formatted Code
// Allow / disallow comments to stories by default (can be changed individuallyfor every story)
$_CONF['comment_code'] = 0; // 0 = comments enabled, -1 = disabled
11
9
Quote
Status: offline
sideswipe
Forum User
Newbie
Registered: 10/28/04
Posts: 5
Sorry to dig up an old thread, but...
I've set this to -1 in my config in 1.3.11 and it doesn't disable the comments.
The links are still shown - it says "login required" for anon. users, once logged in I can still comment.
Help?
I've set this to -1 in my config in 1.3.11 and it doesn't disable the comments.
The links are still shown - it says "login required" for anon. users, once logged in I can still comment.
Help?
14
13
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
It's only the default setting for new stories, i.e. it doesn't change the settings for existing stories.
This could be done with a simple SQL request, though:
bye, Dirk
This could be done with a simple SQL request, though:
Text Formatted Code
UPDATE gl_stories SET commentcode = -1;bye, Dirk
12
10
Quote
Status: offline
sideswipe
Forum User
Newbie
Registered: 10/28/04
Posts: 5
Thanks Dirk - you're a pro!
My only other question is...
// Show the number of stories in a topic in Topics Block
$_CONF['showstorycount'] = 0;
I'm still getting the story count in the block. Is there sometihng else I need to change?
My only other question is...
// Show the number of stories in a topic in Topics Block
$_CONF['showstorycount'] = 0;
I'm still getting the story count in the block. Is there sometihng else I need to change?
12
16
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Are you sure what you're seeing now is the story count? Per default, it shows something like (11/1) where the first number is the story count and the second is the submission count. If you switch off the story count, it would still show the submission count. You can disable that in config.php, too.
bye, Dirk
bye, Dirk
12
9
Quote
boris
Anonymous
all right, but how can i disable comment count in the older stories section?
cheers!
boris
cheers!
boris
14
12
Quote
All times are EDT. The time is now 11:45 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