{"id":385,"date":"2020-10-03T15:58:50","date_gmt":"2020-10-03T12:58:50","guid":{"rendered":"https:\/\/vira.mahavira-ananda.ro\/?page_id=385"},"modified":"2025-02-17T20:14:44","modified_gmt":"2025-02-17T18:14:44","slug":"camp-registration","status":"publish","type":"page","link":"https:\/\/vira.mahavira-ananda.ro\/en\/camp-registration\/","title":{"rendered":"Camp registration"},"content":{"rendered":"<p>In order to use the <strong>REGISTRATION CODE<\/strong> please follow the <strong>one-time registration process<\/strong>, at the beginning, that consists of the following steps on this page:<\/p>\n<ol>\n<li><strong>Enter the access code received by email<\/strong> (eg <strong>MVIRA3MKJT4W<\/strong>). This code will be used only once at registration.<\/li>\n<li><strong>Enter the personal e-mail address<\/strong> to which you received the registration code (eg maria.popescu@gmail.com).<\/li>\n<li>Validate that your personal <strong>email address was entered correctly<\/strong>.<\/li>\n<li><strong>Enter a password<\/strong> that you will choose when registering. Remember this password. We recommend that you do not use your email account password.<\/li>\n<li><strong>Check<\/strong> that you have read the <strong>Terms and conditions of access<\/strong> (can be consulted on the site at the time of registration).<\/li>\n<li><strong>Click to confirm<\/strong> the registration process (Sign Up button).<\/li>\n<li>You will receive a personal <strong>confirmation email<\/strong> that the registration was successful.<\/li>\n<li>Enjoy this spiritual event!<\/li>\n<\/ol>\n<p><form id=\"register-form\">\n    <div class=\"row\">\n        <div class=\"col text-center mw-100\" style=\"padding-bottom: 15px;\"><input id=\"input-email\" type=\"email\" class=\"form-control-lg mw-100\" placeholder=\"Introduceti Email\" required style=\"width: 90%; padding-left: 10px;\" \/><\/div>\n    <\/div>\n    <div class=\"row\">\n        <div class=\"col text-center mw-100\" style=\"padding-bottom: 15px;\"><input id=\"input-reemail\" type=\"email\" class=\"form-control-lg mw-100\" placeholder=\"Reintroduceti Email\" required style=\"width: 90%; padding-left: 10px;\" \/><\/div>\n    <\/div>\n    <div class=\"row\">\n        <div class=\"col text-center mw-100\" style=\"padding-bottom: 15px;\"><input id=\"input-password\" type=\"password\" class=\"form-control-lg mw-100\" placeholder=\"Parola\" required style=\"width: 90%; padding-left: 10px;\" \/><\/div>\n    <\/div>\n    <div class=\"row\">\n        <div class=\"col text-center mw-100\" style=\"padding-bottom: 15px;\"><input id=\"input-repassword\" type=\"password\" class=\"form-control-lg mw-100\" placeholder=\"Reintroduceti Parola\" required style=\"width: 90%; padding-left: 10px;\" \/><\/div>\n    <\/div>\n    <div class=\"row\">\n        <div class=\"col text-center mw-100\" style=\"padding-bottom: 15px;\"><input id=\"input-cod\" type=\"text\" class=\"form-control-lg mw-100\" placeholder=\"COD\" required style=\"width: 90%; padding-left: 10px;\" \/><\/div>\n    <\/div>\n    <div class=\"row\">\n        <div class=\"col text-center mw-100\" style=\"padding-bottom: 15px;\"><input type=\"submit\" class=\"form-control-lg text-center mw-100 btn btn-primary\" name=\"Trimite\" value=\"Trimite\" required style=\"width: 90%;\" \/><\/div>\n    <\/div>\n<\/form>\n\n<script>\n\t\t\t\t\tlet msgs = {};\n\t\t\t\t\t\t\n\n    jQuery.noConflict();\n    jQuery(document).ready(function ($) {\n\t$('#input-cod').keyup(function() {\n              $(this).val($(this).val().replace(\/[^a-zA-Z0-9\\s]\/g,''));\n        });\n\n        $('#register-form').submit(function (e) {\n            e.preventDefault();\n\n            if ($('#input-email').val() != $('#input-reemail').val()) {\n\t\t\t\tif (msgs[\"mismatch_email\"]) {\n\t\t\t\t\talert(msgs[\"mismatch_email\"]);\n\t\t\t\t} else {\n                \talert(\"Emailurile nu coincid\");\n\t\t\t\t}\n                return;\n            }\n\n            if ($('#input-password').val() != $('#input-repassword').val()) {\n\t\t\t\tif (msgs[\"mismatch_password\"]) {\n                    alert(msgs[\"mismatch_password\"]);\n                } else {\n                    alert(\"Parolele nu coincid\");\n                }\n                return;\n            }\n            \n            let password = $('#input-password').val();\n            password = password.trim();\n            \n            if (password.length < 8) {\n\t\t\t\tif (msgs[\"password_length\"]) {\n                    alert(msgs[\"password_length\"]);\n                } else {\n                alert(\"Parola prea scurta, minim 8 caractere\");\n                }\n                return;\n            }\n\n            $.post(\"\/cursuri-register-signup\", {\n                'email': $('#input-email').val(),\n                'password': password,\n                'cod': $('#input-cod').val(),\n                'skip_membership': ''\n            }, function (ret) {\n                if (!ret.success) {\n\n\t\t\t\t\tif (ret.data && ret.data.err_code &&  msgs[ret.data.err_code]) {\n                    \talert(msgs[ret.data.err_code]);\n\t\t\t\t\t} else {\n                    \talert(ret.data.message);\n\t\t\t\t\t}\n                    return;\n                }\n\n                document.location = '\/succes-deplin\/';\n                \/*\n                 if (ret.data.redirect) {\n                 document.location = '\/' + ret.data.redirect + '\/';\n                 } else {\n                 document.location = '\/acces-cursuri\/';\n                 }\n                 *\/\n\n            }, 'json');\n        });\n    });\n<\/script>\n [\/mepr-hide]   \u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to use the REGISTRATION CODE please follow the one-time registration process, at the beginning, that consists of the following steps on this page: Enter the access code received by email (eg MVIRA3MKJT4W). This code will be used only once at registration. Enter the personal e-mail address to which you received the registration code [&hellip;]<\/p>\n","protected":false},"author":1826,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-385","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/vira.mahavira-ananda.ro\/en\/wp-json\/wp\/v2\/pages\/385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vira.mahavira-ananda.ro\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/vira.mahavira-ananda.ro\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/vira.mahavira-ananda.ro\/en\/wp-json\/wp\/v2\/users\/1826"}],"replies":[{"embeddable":true,"href":"https:\/\/vira.mahavira-ananda.ro\/en\/wp-json\/wp\/v2\/comments?post=385"}],"version-history":[{"count":10,"href":"https:\/\/vira.mahavira-ananda.ro\/en\/wp-json\/wp\/v2\/pages\/385\/revisions"}],"predecessor-version":[{"id":21617,"href":"https:\/\/vira.mahavira-ananda.ro\/en\/wp-json\/wp\/v2\/pages\/385\/revisions\/21617"}],"wp:attachment":[{"href":"https:\/\/vira.mahavira-ananda.ro\/en\/wp-json\/wp\/v2\/media?parent=385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}