Welcome to Geeklog, Anonymous Wednesday, December 25 2024 @ 11:34 am EST
Geeklog Forums
Unregistered User Comments Accepted but not displayed
BMcDonald
Any ideas?
Thanks
Dirk
bye, Dirk
BMcDonald
I tested it by trying to post a comment without logging in. It accepted the post but didn't display it, just the count. Then I logged in to post it and it accepted it and displayed it so I could delete it. It's pretty straightforward. No strange circumstance.
My site is http://www.KickThemAllOut.com
Dirk
Are you sure you're using the original lib-comment.php and comment.php on your site?
bye, Dirk
BMcDonald
BMcDonald
I just looked at the config file for the millionth time and finally saw what the problem was. I didn't set the comment config to require login before comments. Everything was set to zero. I just put a 1 on 'commentsloginrequired' and it's doing what it's supposed to do.
// +---------------------------------------------------------------------------+
// | MISCELLANEOUS SETTINGS |
// | |
// | These are other various Geeklog settings. The defaults should work OK |
// | for most situations. |
// +---------------------------------------------------------------------------+
// this lets you select which functions are available for registered users only
$_CONF['loginrequired'] = 0; // all of them, if set to 1 will override all else
$_CONF['submitloginrequired'] = 1;
$_CONF['commentsloginrequired'] = 1;
$_CONF['statsloginrequired'] = 0;
$_CONF['searchloginrequired'] = 0;
$_CONF['profileloginrequired'] = 0;
$_CONF['emailuserloginrequired'] = 1;
$_CONF['emailstoryloginrequired'] = 0;
$_CONF['directoryloginrequired'] = 0;
TIM
I found this quote below searching through some of your old posts, however this is for version 1.4.0 or something. I am using 1.5.1 and would think it would be simpler than this.
can I limit it from admin control, configuration or something, if so where, because I have not found the option yet.
thanks, tim
DUH!
I just looked at the config file for the millionth time and finally saw what the problem was. I didn't set the comment config to require login before comments. Everything was set to zero. I just put a 1 on 'commentsloginrequired' and it's doing what it's supposed to do.
// +---------------------------------------------------------------------------+
// | MISCELLANEOUS SETTINGS |
// | |
// | These are other various Geeklog settings. The defaults should work OK |
// | for most situations. |
// +---------------------------------------------------------------------------+
// this lets you select which functions are available for registered users only
$_CONF['loginrequired'] = 0; // all of them, if set to 1 will override all else
$_CONF['submitloginrequired'] = 1;
$_CONF['commentsloginrequired'] = 1;
$_CONF['statsloginrequired'] = 0;
$_CONF['searchloginrequired'] = 0;
$_CONF['profileloginrequired'] = 0;
$_CONF['emailuserloginrequired'] = 1;
$_CONF['emailstoryloginrequired'] = 0;
$_CONF['directoryloginrequired'] = 0;
- 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