Gossamer Forum
Home : Products : DBMan : Installation :

User logon

Quote Reply
User logon
DBMan is up & running (hurray!) but now I don't know what to do next. I chose to allow the user to modify own but view all. I am still getting the demo logon screen. How do I get a normal logon/register/etc screen? My files are at www.faithtalk.net/cgi/dbman.
Thanks in advance!
Quote Reply
Re: User logon In reply to
I'm not sure I understand what you want. Is it that you want different text on the login page? You'll need to edit the html.pl file, sub html_login_form to make it say what you want it to say.

You must have renamed your .cfg file to something other than default, because I was unable to access your database with the information you provided.


------------------
JPD





Quote Reply
Re: User logon In reply to
I'm sorry, I did rename it to "jobs." There are still some problems, but the biggest one is getting to the html_signup_form routine. I have now added a page that sends you there, but it goes to an error page saying it cannot locate default.cfg. I'm clearly missing something. My main URL is www.faithtalk.net and I want dbman to be accessed from The Job Connection link. The scripts are in www.faithtalk.net/cgi/dbman/jobs.???
Thank you for your help.I am including the authorization section from jobs.cfg, in case that helps.

Thank you!!!

# Authorization Options
# --------------------------------------------------------
# No Authentication? (1 = "there is no authentication", 0 = "there is authentication")
# If you choose no authentication, then set the permissions of what
# people can do with: @auth_default_permissions below.
$auth_no_authentication = 0;

# The amount of time in seconds that user files are kept in the
# auth directory before the program removes them. 2-6 hours is
# probably a good value.
$auth_time = 21600; # 6 hours (in seconds)

# Enable (1) or disable (0) logging.
$auth_logging = 1;

# Allow a default user? This means you can specify a user via the URL
# and skip the logon process. Use this to allow people to search without
# logging on, but require log in if they want to add/modify/remove etc.
# (1 = "yes", 0 = "no")
$auth_allow_default = 0;

# Default permissions used if there is no authentication, or for a default
# user. (View, Add, Delete, Modify, Admin), 1 = enable, 0 = disable.
@auth_default_permissions = (1,0,0,0,0);

# Allow people to sign up for their own userid/passwords? They will
# receive default permissions.
$auth_signup = 1;

# Permissions a new signup should get.
@auth_signup_permissions = (1,1,1,1,0);

# Registered users: can modify/delete _only_ own records. For this to make
# sense you should set default off or to 1,0,0,0.
$auth_modify_own = 1;

# Registered users: can view _only_ own records. For this to make sense
# you should turn off default permissions.
$auth_view_own = 0;

# Auth user field. This is the field position in the database used for storing
# the userid who owns the record. Set to -1 if not used.
$auth_user_field = 13;

# URL to send user if they chose log off. Leave blank and the script will return to
# the logon prompt (although this only makes sense if you are using authentication).
$auth_logoff = "http://www.faithtalk.net";
Quote Reply
Re: User logon In reply to
The "Register" link on your JobConnection.html page reads

<a href="http://www.faithtalk.net/cgi/dbman/db.cgi?html_signup_form=1">

Change it to

<a href="http://www.faithtalk.net/cgi/dbman/db.cgi?db=jobs&signup_form=1">

and you should be okay. (I just tried that URL and it worked just fine. Smile )


------------------
JPD





Quote Reply
Re: User logon In reply to
Thank you so much! You may want to change the instructions in the readme file. The url for the link does not include "db=jobs&". Of course, maybe everyone else knows to use it. Anyway, thank you :-)
Quote Reply
Re: User logon In reply to
Yes, it is unclear. Alex does need to change it. (Just for the record, I'm a volunteer moderator. I don't work for Gossamer Threads.)

------------------
JPD