Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 09:55 pm EST
Geeklog Forums
Registered Users cannot submit articles.
Rosamunda
Anonymous
Hello all!
I´m having a bit of truble figuring out how to avoid anyone writing except the administrators...
I want to show the articles only to registered users... but I want to avoid registered users to write anything also.
Can I do that with Geeklog? I thing I can... I only don´t know how...
Your help would be very much appreciated!
Thanks in advance!
Rosamunda
I´m having a bit of truble figuring out how to avoid anyone writing except the administrators...
I want to show the articles only to registered users... but I want to avoid registered users to write anything also.
Can I do that with Geeklog? I thing I can... I only don´t know how...
Your help would be very much appreciated!
Thanks in advance!
Rosamunda
24
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Rosamunda: Can I do that with Geeklog?
You could hide the "contribute" link, but Geeklog will not prevent anyone from submitting an article if they go directly to the submit.php.
bye, Dirk
7
24
Quote
Status: offline
Robin
Forum User
Full Member
Registered: 02/15/02
Posts: 725
Quote by Dirk:You could hide the "contribute" link, but Geeklog will not prevent anyone from submitting an article if they go directly to the submit.php.
How about removing submit.php at all? If nobody's allowed to write except administrators then this file is dispensable.
Geeklog Polish Support Team
6
7
Quote
Status: offline
tstockma
Forum User
Full Member
Registered: 07/22/03
Posts: 169
Rosamunda, I glanced thru the config.php file for 1.3.11, and found this:
// +---------------------------------------------------------------------------+
// | 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'] = 0;
$_CONF['commentsloginrequired'] = 0;
$_CONF['linksloginrequired'] = 0;
$_CONF['pollsloginrequired'] = 0;
$_CONF['calendarloginrequired'] = 0;
$_CONF['statsloginrequired'] = 0;
$_CONF['searchloginrequired'] = 0;
$_CONF['profileloginrequired'] = 0;
$_CONF['emailuserloginrequired'] = 0;
$_CONF['emailstoryloginrequired'] = 0;
I haven't tried these, perhaps this will let you disable non-logged-in users from submitting.
I'm not sure anything in here will prevent logged-in users from submitting, the previous suggestion of taking "submit" away from your menu and other places is good, although if your users are savvy enough to GL to directly enter the "submit.php" URL you'll still get some.
Depending on your skills, you could rename "submit.php" to something different and that'll cut down on more...you could conceivably move it to a new sub-directory, password protected with .htaccess, and that'd begin to bring in Apache's password-protect abilities on running the script.
As for disabling non-logged-in-visitors from reading stories, I haven't tested this, but I believe in the admin screens for each Topic, you can disable "anonymous" from having read access.
HTH
Tom
www.southparkcity.com
// +---------------------------------------------------------------------------+
// | 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'] = 0;
$_CONF['commentsloginrequired'] = 0;
$_CONF['linksloginrequired'] = 0;
$_CONF['pollsloginrequired'] = 0;
$_CONF['calendarloginrequired'] = 0;
$_CONF['statsloginrequired'] = 0;
$_CONF['searchloginrequired'] = 0;
$_CONF['profileloginrequired'] = 0;
$_CONF['emailuserloginrequired'] = 0;
$_CONF['emailstoryloginrequired'] = 0;
I haven't tried these, perhaps this will let you disable non-logged-in users from submitting.
I'm not sure anything in here will prevent logged-in users from submitting, the previous suggestion of taking "submit" away from your menu and other places is good, although if your users are savvy enough to GL to directly enter the "submit.php" URL you'll still get some.
Depending on your skills, you could rename "submit.php" to something different and that'll cut down on more...you could conceivably move it to a new sub-directory, password protected with .htaccess, and that'd begin to bring in Apache's password-protect abilities on running the script.
As for disabling non-logged-in-visitors from reading stories, I haven't tested this, but I believe in the admin screens for each Topic, you can disable "anonymous" from having read access.
HTH
Tom
www.southparkcity.com
9
12
Quote
Rosamunda
Anonymous
Thanks! I could successfully avoid unregistered people to read the articles.
And for safety purposes I´ve renamed the submit file
Thanks!!!!!
Rosamunda
And for safety purposes I´ve renamed the submit file
Thanks!!!!!
Rosamunda
9
8
Quote
Status: offline
knuff
Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
Quote by Rosamunda:
And for safety purposes I´ve renamed the submit file
And for safety purposes I´ve renamed the submit file
Just keep in mind that if you remove the submit.php some additional features like submitting links or events won´t work either and you will have to clean up the templates to remove the broken links.
Also it´s not because you can submit a story, it will show up automatically as a submission still needs to be approved or rejected.
In addition if you would include a e.g. forum for your users to "talk" you could use one of the available hacks to move a submission to the forum.
Not so sure it will be an advantage to remove submit.php
Still think Dirk´s solution is the cleanest.
Just my
Boris
Vanrillaer.com - our Family Portal
7
9
Quote
Rosamunda
Anonymous
Thanks Boris! I think you´re right...
10
8
Quote
All times are EST. The time is now 09:55 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