Gossamer Forum
Home : Products : DBMan : Customization :

Send user to add_form after they sign up

Quote Reply
Send user to add_form after they sign up
I have added the following in the html.pl file:-
sub html_home {
if ($per_add) {
%rec = &get_record($db_userid);
if (!%rec) {
print "Location: $db_script_url?db=users&uid=$db_uid&add_form=1\n\n";
return;
}
}
as described in the FAQ. However when you login with the new userid it just displays the "normal" html_footer and does not load into the add.
Anyone got any clues?
Cheers, Rob

Quote Reply
Re: Send user to add_form after they sign up In reply to
Do newly signed up users get add permissions?

- Mark

Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: Send user to add_form after they sign up In reply to
Mark,
Yup, as the "menu" displays Add User and you can add manually ok (as in loading the add_form).

I am using the &get_email func in sub html_record_form { though, could that be the prob?
Rob

Quote Reply
Re: Send user to add_form after they sign up In reply to
Anyone got a clue?
Please!! Smile
Rob