Welcome to Geeklog, Anonymous Tuesday, September 10 2024 @ 04:21 am EDT
Geeklog Forums
Disable anonymous story submissions?
How do I disable the feature to allow anonymous users to post on my site? I looked through the config.php file and there is not such feature to disable anonymous users from posting to the site. Any suggestions?
7
9
Quote
Status: offline
mevans
Forum User
Full Member
Registered: 02/08/04
Posts: 393
Location:Texas
Look in your config.php for the following:
// 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'] = 0;
$_CONF['commentsloginrequired'] = 0;
$_CONF['statsloginrequired'] = 0;
$_CONF['searchloginrequired'] = 0;
$_CONF['profileloginrequired'] = 0;
$_CONF['emailuserloginrequired'] = 0;
$_CONF['emailstoryloginrequired'] = 0;
$_CONF['directoryloginrequired'] = 0;
The $_CONF['submitloginrequired'] is what controls allow anonymous users to submit stories. Set it to 1 and only registered/logged-in users can submit stories.
Thanks!
Mark
Text Formatted Code
// 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'] = 0;
$_CONF['commentsloginrequired'] = 0;
$_CONF['statsloginrequired'] = 0;
$_CONF['searchloginrequired'] = 0;
$_CONF['profileloginrequired'] = 0;
$_CONF['emailuserloginrequired'] = 0;
$_CONF['emailstoryloginrequired'] = 0;
$_CONF['directoryloginrequired'] = 0;
The $_CONF['submitloginrequired'] is what controls allow anonymous users to submit stories. Set it to 1 and only registered/logged-in users can submit stories.
Thanks!
Mark
8
6
Quote
Thx, mevans, i did not see this in the config.php documentation. looks like i spaced it, i guess that's why i need friends. LOL.
7
6
Quote
All times are EDT. The time is now 04:21 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