Gossamer Forum
Home : Products : DBMan : Customization :

Add Page After New User Signup?

Quote Reply
Add Page After New User Signup?
How do I get DBMan to show the add new listing page automatically after a user creates a new account?
Quote Reply
Re: Add Page After New User Signup? In reply to
If you have the userid field set as the $db_key field, at the beginning of sub html_home, add

Code:
%rec = &get_record($db_userid);
if (!%rec) {
&html_add_form;
return;
}



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





Quote Reply
Re: Add Page After New User Signup? In reply to
Can anyone think of any reason why this wouldn't work. I've inserted the code at the beginning of sub html_home and I do have the $db_key set the same as the user id. The field number is 0.
But it doesn't go. The home page comes up instead of the add page.

-Brian
Quote Reply
Re: Add Page After New User Signup? In reply to
As an update, the call to the add form works, if isolated. What seems not to work for me is the phrase

%rec = &get_record($db_userid);

Ideas anyone?