Gossamer Forum
Home : Products : DBMan : Customization :

Where or how can new guest sign up?

Quote Reply
Where or how can new guest sign up?
Maybe a dumb question but there is the possibility that guest can sign up so they can add there contribution.
But i can not figure out where it can be done. i checked the permissions, even with JPDeni's configurator, but there is no signupform or a link to the signup_form.
What did I miss?Frown

Quote Reply
Re: Where or how can new guest sign up? In reply to
In sub html_login_form

after your form you can add a link to sign up for an account like the following:

|;
if ($auth_signup) {
print qq|
<CENTER>You can sign up for an account by <a href="$db_script_url?db=$db_setup&signup_form=1">Clicking HERE</a>.</CENTER> |;
}

and add the same link above within:

sub html_login_failure


That should provide the link to your signup form Smile

Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
Quote Reply
Re: Where or how can new guest sign up? In reply to
Dear LoisC;
Thanks for your lines, but.....
I put it where you suggested and a lot of other places where i thought it could be right, but where ever I put it I get dbman to trigger the error-message!
Besides I thought when you set the authorizations right it will popup automaticly when an default user wants to add a record?
I even tried it with JPDeni's configurator but the same things happen!
The only thing I want is
- default users can view everything, but can signup
- signed up users can view, add and modify there own records,
- admin can do everyting he wants.

I thought it could be done by setting the right settings for authorization?
The signup-forms are inside dbman, when will they popup?


Quote Reply
Re: Where or how can new guest sign up? In reply to
In case of making a mistake by adding the mod's I deleted everything and started from scratch. Just downloaded dbman and made it run on the web. But whatever I do, there is no link of the signup_form generated by the script. Is it ment to be that way or are there people out there who have the signup_form generated by the script?....
I really want to know if I have to search on or just have to put a link manually like db.cgi?signupform=1

Quote Reply
Re: Where or how can new guest sign up? In reply to
Hello Foton,

You can simply add a link, such as:

http://domain.com/path/to/db.cgi?db=YourDBName&signup_form=1


Quote Reply
Re: Where or how can new guest sign up? In reply to
Thanks Karen!
That is a really easy way of doing it. Cool
I just put it where I needed it, and voila...it worked.
Thanks again!
(But I'm still amazed that it didn't popup when the authorizations were setup right...)