Community Forum

Please read the intro before joining/posting. Thank you.

If you have questions about our software, chances are this forum has the answers.

You'll need to register before you can post on the forum to ask your question or to answer another one. A reply will be posted to each and every question that is asked so there is no need to double post or bump your post. We'll do our best to answer promptly, but in some cases it may take a day or two. If you bump your post, it may be removed. Bear with us and we'll get your question answered quickly.

Here are a few tips to help you to get your questions answered more rapidly.

IMPORTANT: Posts in English only. We don't employ translators and we'll be unable to understand your message properly and will probably delete it.
SOFTWARE: Each software has it's own forum. Software here is NOT supported. Posts about this software will be deleted. Supported software questions ONLY please.
SEARCH: Use the search option to see if your question has been answered on the forum before now or if there is an answer in the documentation of your software.
PERSONAL SUPPORT: If you have purchased a commercial version of any software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
LINKS: Any links posted are not clickable (to deter spammers) and must be copied / pasted into your browser address bar.

            

You are not logged in.

LastnamePosts in the Maian Responder forum by RigPa
RigPa
22-09-2018 17:40:18

For convenience of the user I dont want them to fill BOTH first and last name. Only first name. I cant just omit NM2 field in the POST signup form so what can I do instead?

RigPa
30-09-2018 17:54:03

Thanks.

Still get this when signing up though:

Signup Errors
Please include a first and last name

RigPa
13-01-2019 20:24:21

I changed line 135 also ($_POST['nm2'] = ' ';):

    $_POST['em'] = (isset($_GET['em']) ? $_GET['em'] : (isset($_POST['em']) ? $_POST['em'] : ''));
    $_POST['nm'] = (isset($_GET['nm']) ? $_GET['nm'] : (isset($_POST['nm']) ? $_POST['nm'] : ''));
    // $_POST['nm2'] = (isset($_GET['nm2']) ? $_GET['nm2'] : (isset($_POST['nm2']) ? $_POST['nm2'] : ''));
    $_POST['nm2'] = ' ';
    // For CleanTalk..
    if ($SETTINGS->ctenable == 'yes' && $SETTINGS->ctapi) {
    $_POST['ct_ts'] = date('Y');

RigPa
18-01-2019 10:29:33

It does but I can't change the info of the sign up inside Maian (name & email) without getting an error that lastname can't be empty. But I do not plan to change user info anyway so it does not matter to me. (IF I might need to change info I can do it directly in the DB table - or find the relevant code and change it accordingly.)

100% Free SoftwareSoftware Versions, Development, Docs & UpgradesHostingNewsletter
Made with in the U.K & Hong Kong

Free PHP Scripts / Responsive PHP Scripts / Lightweight PHP Scripts / White Label PHP Scripts