Gossamer Forum
Home : Products : DBMan : Customization :

Hi I am new here.

Quote Reply
Hi I am new here.
Hi folks.
I have just downloaded the DBMan script and am having fun with it.

I intend to make a serchable directory service like that of Yahoo, but exclusivly for the UK. I am fairly new to CGI so I feel that I may need some help.

I would like general users to connect to my site, the same way you do on Yahoo and perform searches from the front page with out the need to LOGIN. At the moment, the script needs loggin in, and I do not want that for general users. You dont need to log in to Yahoo!

So if any one can help me, please let me know.
Quote Reply
Re: Hi I am new here. In reply to
Hello AshMan, I'm new to cgi and dbman as well. Here is how I did what you want:

First, make sure you default.cfg file allows default users:

# 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 = 1;

Then, on your home page insert links for each category like:

http://aboutwaikiki.com/cgi-local/dbman/db.cgi?db=default&uid=default&category=Hotel&sb=---&so=ascend&view_records=View+Records

Replace my URL with yours, create a link for each of your categories and your on a roll.

I'm new as well so this is certainly not the only way, and maybe not the best, just the way I figured it out.

Good Luck
Quote Reply
Re: Hi I am new here. In reply to
That great thanks, it works! Smile

I am sure I will have tons of questions later on, but thank you for the moment.

[This message has been edited by AshMan (edited December 25, 1999).]
Quote Reply
Re: Hi I am new here. In reply to
Hi AshMan,

For what you've described, I think the Links script would be better suited to your purposes.

Dan