save_registration.naml
<override_macro name="save_registration">
<n.catch_exception. id="save-block">
<n.set_local_user.get_registration registration_key="[n.get_parameter name='key'/]" email="[n.email_field.value/]" />
<n.if.is_null.local_user>
<then>
<h1><t>Registration Failed</t></h1>
<p><t>Please make sure you are using the same browser that you used to fill in the registration request.</t></p>
<p><t>You can try <n.register_link.>registering again</n.register_link.> or contact <n.support_link/>.</t></p>
</then>
<else>
<n.local_user.register/>
<n.set_var. name="next_url">
<n.get_next_url_from_registration registration_key="[n.get_parameter name='key'/]" />
</n.set_var.>
<h1><t>Registration Confirmed</t></h1>
<p><t>Congratulations! You have successfully registered to the <t.subject.root_node.subject/>.</t></p>
<t>Please click on the link below to be taken to a page where you can log in and then introduce yourself and your truck.</t>
<t>Once you've done that and admin will make you a "member", at which time you are free</t>
<t> to post in any other section of the forum. However, that step may take a few hours as it is a</t>
<t>manual process. But we will reply to your post in your introduction thread to let you know when that happens.</t>
<div style="background-color:#FFFADB;border:#EDDD79 solid 1px;margin:1.2em 0;padding:.5em">
<a href="https://forum.garysgaragemahal.com/template/NamlServlet.jtp?macro=new_topic&node=135">Log In And Post Introduction</a>
</div>
<n.local_user.after_registration/>
</else>
</n.if.is_null.local_user>
</n.catch_exception.>
<n.if.has_exception for="save-block">
<then>
<h1><t>Registration Failed</t></h1>
<br />
<n.handle_exception. for="save-block">
<n.comment.>
fill in as needed
</n.comment.>
</n.handle_exception.>
</then>
</n.if.has_exception>
</override_macro>
<override_macro name="save_registration">
<n.catch_exception. id="save-block">
<n.set_local_user.get_registration registration_key="[n.get_parameter name='key'/]" email="[n.email_field.value/]" />
<n.if.is_null.local_user>
<then>
<h1><t>Registration Failed</t></h1>
<p><t>Please make sure you are using the same browser that you used to fill in the registration request.</t></p>
<p><t>You can try <n.register_link.>registering again</n.register_link.> or contact <n.support_link/>.</t></p>
</then>
<else>
<n.local_user.register/>
<n.set_var. name="next_url">
<n.get_next_url_from_registration registration_key="[n.get_parameter name='key'/]" />
</n.set_var.>
<h1><t>Registration Confirmed</t></h1>
<p><t>Congratulations! You have been registered to <t.subject.root_node.subject/>.</t></p>
<t>Please click on the link below to be taken to the New Members Start Here page where you</t>
<t>are to read the guidelines and then start a new thread/topic <u>in that folder</u> to introduce yourself</t>
<t>and your truck. Once you've done that you are free to post in any other section of the forum.</t>
<div style="background-color:#FFFADB;border:#EDDD79 solid 1px;margin:1.2em 0;padding:.5em">
<a href="https://forum.garysgaragemahal.com/template/NamlServlet.jtp?macro=new_topic&node=135">Log In And Post Introduction</a>
</div>
<n.local_user.after_registration/>
</else>
</n.if.is_null.local_user>
</n.catch_exception.>
<n.if.has_exception for="save-block">
<then>
<h1><t>Registration Failed</t></h1>
<br />
<n.handle_exception. for="save-block">
<n.comment.>
fill in as needed
</n.comment.>
</n.handle_exception.>
</then>
</n.if.has_exception>
</override_macro>
<override_macro name="save_registration">
<n.catch_exception. id="save-block">
<n.set_local_user.get_registration registration_key="[n.get_parameter name='key'/]" email="[n.email_field.value/]" />
<n.if.is_null.local_user>
<then>
<h1><t>Registration Failed</t></h1>
<p><t>Please make sure you are using the same browser that you used to fill in the registration request.</t></p>
<p><t>You can try <n.register_link.>registering again</n.register_link.> or contact <n.support_link/>.</t></p>
</then>
<else>
<n.local_user.register/>
<n.set_var. name="next_url">
<n.get_next_url_from_registration registration_key="[n.get_parameter name='key'/]" />
</n.set_var.>
<h1><t>Registration Confirmed</t></h1>
<p><t>Congratulations! You have been registered to <t.subject.root_node.subject/>.</t></p>
<t>Please click on the link below to be taken to the New Members Start Here page where you</t>
<t>are to read the guidelines and then start a new thread/topic <u>in that folder</u> to introduce yourself</t>
<t>and your truck. Once you've done that you are free to post in any other section of the forum.</t>
<div style="background-color:#FFFADB;border:#EDDD79 solid 1px;margin:1.2em 0;padding:.5em">
<a href="https://forum.garysgaragemahal.com/template/NamlServlet.jtp?macro=new_topic&node=135">Log In And Post Introduction</a>
</div>
<n.local_user.after_registration/>
</else>
</n.if.is_null.local_user>
</n.catch_exception.>
<n.if.has_exception for="save-block">
<then>
<h1><t>Registration Failed</t></h1>
<br />
<n.handle_exception. for="save-block">
<n.comment.>
fill in as needed
</n.comment.>
</n.handle_exception.>
</then>
</n.if.has_exception>
</override_macro>
<override_macro name="save_registration">
<n.catch_exception. id="save-block">
<n.set_local_user.get_registration registration_key="[n.get_parameter name='key'/]" email="[n.email_field.value/]" />
<n.if.is_null.local_user>
<then>
<h1><t>Registration Failed</t></h1>
<p><t>Please make sure you are using the same browser that you used to fill in the registration request.</t></p>
<p><t>You can try <n.register_link.>registering again</n.register_link.> or contact <n.support_link/>.</t></p>
</then>
<else>
<n.local_user.register/>
<n.set_var. name="next_url">
<n.get_next_url_from_registration registration_key="[n.get_parameter name='key'/]" />
</n.set_var.>
<h1><t>Registration Confirmed</t></h1>
<p><t>Congratulations! You have successfully registered to the <t.subject.root_node.subject/>.</t></p>
<t>Please click on the link below to be taken to a page where you can log in and post an introduction of yourself and your truck.</t>
<t>Once you've done that an admin will make you a "member", at which time you are free</t>
<t> to post in any other section of the forum. However, that step may take a few hours as it is a </t>
<t>manual process. But we will reply to your post in your introduction thread to let you know when that happens.</t>
<div style="background-color:#FFFADB;border:#EDDD79 solid 1px;margin:1.2em 0;padding:.5em">
<a href="https://forum.garysgaragemahal.com/template/NamlServlet.jtp?macro=new_topic&node=135">Log In And Post Introduction</a>
</div>
<n.local_user.after_registration/>
</else>
</n.if.is_null.local_user>
</n.catch_exception.>
<n.if.has_exception for="save-block">
<then>
<h1><t>Registration Failed</t></h1>
<br />
<n.handle_exception. for="save-block">
<n.comment.>
fill in as needed
</n.comment.>
</n.handle_exception.>
</then>
</n.if.has_exception>
</override_macro>