{"id":766,"date":"2024-04-11T08:18:06","date_gmt":"2024-04-11T08:18:06","guid":{"rendered":"http:\/\/somia.com.au\/topics\/log-in"},"modified":"2024-04-11T08:18:06","modified_gmt":"2024-04-11T08:18:06","slug":"log-in","status":"publish","type":"page","link":"https:\/\/somia.com.au\/zh\/topics\/log-in\/","title":{"rendered":"Log In"},"content":{"rendered":"<p><div class=\"ctdb-login-form-wrapper\"><div class=\"ctdb-header \" data-form-id=\"ctdb-login-wrap\"><h3 class=\"ctdb-h3\">Log in<\/h3><\/div><div class=\"ctdb-header \" data-form-id=\"ctdb-registration-wrap\"><h3 class=\"ctdb-h3\">Register<\/h3><\/div>\r\n\t\t\t<div id=\"ctdb-login-wrap\" class=\"ctdb-form-section active-section\">\r\n\r\n\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t<form id=\"ctdb_login_form\" class=\"ctdb-form\" action=\"\" method=\"post\">\r\n\r\n\t\t\t\t\t<fieldset>\r\n\t\t\t\t\t\t<p>\r\n\t\t\t\t\t\t\t<label for=\"ctdb_user_login\">Username<\/label>\r\n\t\t\t\t\t\t\t<input name=\"ctdb_user_login\" id=\"ctdb_user_login\" class=\"required\" type=\"text\" \/>\r\n\t\t\t\t\t\t<\/p>\r\n\t\t\t\t\t\t<p>\r\n\t\t\t\t\t\t\t<label for=\"ctdb_user_pass\">Password<\/label>\r\n\t\t\t\t\t\t\t<input name=\"ctdb_user_pass\" id=\"ctdb_user_pass\" class=\"required\" type=\"password\" \/>\r\n\t\t\t\t\t\t<\/p>\r\n\t\t\t\t\t\t<p>\r\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"ctdb_login_nonce\" value=\"7750d0b7af\" \/>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ctdb_login_submit\" type=\"submit\" value=\"Log in\" \/>\r\n\t\t\t\t\t\t\t\t<\/p>\r\n\t\t\t\t\t<\/fieldset>\r\n\r\n\t\t\t\t<\/form>\r\n\r\n\t\t\t\t<p><a href=\"https:\/\/somia.com.au\/wp-login.php?action=lostpassword&redirect_to=https%3A%2F%2Fsomia.com.au%2Fzh%2Ftopics%2Flog-in%2F%3Faction%3Dpasswordrequest\">Lost password?<\/a>\r\n\t\t\t\t<p>\r\n\r\n\t\t\t<\/div>\r\n\r\n\r\n\t\t\t<div id=\"ctdb-registration-wrap\" class=\"ctdb-form-section \">\r\n\r\n\t\t\t\t\r\n\t\t\t\t<form id=\"ctdb_registration_form\" class=\"ctdb-form\" action=\"\" method=\"POST\">\r\n\r\n\t\t\t\t\t<fieldset>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>\r\n\t\t\t\t\t\t\t\t\t\t\t<label for=\"ctdb_user_login\">Username<span id=\"ctdb_user_login-response\" class=\"validation-response\"><\/span><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t<input name=\"ctdb_user_login\" id=\"ctdb_user_login\" class=\"required ctdb_user_login\" type=\"text\" value=\"\" \/>\r\n\t\t\t\t\t\t\t\t\t\t<\/p>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>\r\n\t\t\t\t\t\t\t\t\t\t\t<label for=\"ctdb_user_email\">Email<span id=\"ctdb_user_email-response\" class=\"validation-response\"><\/span><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t<input name=\"ctdb_user_email\" id=\"ctdb_user_email\" class=\"required ctdb_user_email\" type=\"email\" value=\"\" \/>\r\n\t\t\t\t\t\t\t\t\t\t<\/p>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>\r\n\t\t\t\t\t\t\t\t\t\t\t<label for=\"ctdb_user_first\">First Name<span id=\"ctdb_user_first-response\" class=\"validation-response\"><\/span><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t<input name=\"ctdb_user_first\" id=\"ctdb_user_first\" class=\"required ctdb_user_first\" type=\"text\" value=\"\" \/>\r\n\t\t\t\t\t\t\t\t\t\t<\/p>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>\r\n\t\t\t\t\t\t\t\t\t\t\t<label for=\"ctdb_user_last\">Last Name<span id=\"ctdb_user_last-response\" class=\"validation-response\"><\/span><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t<input name=\"ctdb_user_last\" id=\"ctdb_user_last\" class=\"required ctdb_user_last\" type=\"text\" value=\"\" \/>\r\n\t\t\t\t\t\t\t\t\t\t<\/p>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>\r\n\t\t\t\t\t\t\t\t\t\t\t<label for=\"ctdb_user_pass\">Password<span id=\"ctdb_user_pass-response\" class=\"validation-response\"><\/span><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t<input name=\"ctdb_user_pass\" id=\"ctdb_user_pass\" class=\"required ctdb_user_pass\" type=\"password\" value=\"\" \/>\r\n\t\t\t\t\t\t\t\t\t\t<\/p>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>\r\n\t\t\t\t\t\t\t\t\t\t\t<label for=\"ctdb_user_pass_confirm\">Password again<span id=\"ctdb_user_pass_confirm-response\" class=\"validation-response\"><\/span><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t<input name=\"ctdb_user_pass_confirm\" id=\"ctdb_user_pass_confirm\" class=\"required ctdb_user_pass_confirm\" type=\"password\" value=\"\" \/>\r\n\t\t\t\t\t\t\t\t\t\t<\/p>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"ctdb-check-humanity-wrapper\">\r\n\t\t\t\t\t\t\t\t<label>Are you a human?<\/label>\r\n\t\t\t\t\t\t\t\t<input name=\"ctdb_check_humanity\" value=\"no\" type=\"radio\" \/> No<br \/>\r\n\t\t\t\t\t\t\t\t<input name=\"ctdb_check_humanity\" value=\"yes\" type=\"radio\" \/> Yes\t\t\t\t\t\t\t<\/p>\r\n\t\t\t\t\t\t\t\t\t\t\t\t<p>\r\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"ctdb_page\" value=\"register\" \/>\r\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"ctdb_register_nonce\" value=\"2cefbb6c85\" \/>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"submit\" value=\"Register Your Account\" \/>\r\n\t\t\t\t\r\n\t\t\t\t<\/p>\r\n\r\n\t\t\t\t<p>\r\n\t\t\t\t\t<span id=\"ctdb_user_form-response\" class=\"validation-response\"><small>Please make sure all required fields are filled out.<\/small><\/span>\r\n\t\t\t\t<\/p>\r\n\t\t\t\t\t<\/fieldset>\r\n\r\n\t\t\t\t\t<script>\r\n\t\t\t\t\t\t\/\/ Do inline validation for username\r\n\t\t\t\t\t\tjQuery(document).ready(function($) {\r\n\t\t\t\t\t\t\t$(this).parents('form').find('#ctdb_user_form-response').hide();\r\n\t\t\t\t\t\t\t\/\/ On focusout so that we only evaluate inputs once completed\r\n\t\t\t\t\t\t\t\/\/ Send current so that we only evaluate current input\r\n\t\t\t\t\t\t\t$('#ctdb-registration-wrap input').on('focusout', function() {\r\n\t\t\t\t\t\t\t\t$(this).parents('form').find('#ctdb_user_form-response').hide();\r\n\t\t\t\t\t\t\t\tvar required = 'false';\r\n\t\t\t\t\t\t\t\tif ($(this).hasClass('required')) {\r\n\t\t\t\t\t\t\t\t\trequired = 'true';\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\/\/ Clear the field validation each time\r\n\t\t\t\t\t\t\t\tvar validateID = $(this).attr('id');\r\n\t\t\t\t\t\t\t\t$(this).removeClass('valid invalid');\r\n\t\t\t\t\t\t\t\t$('#' + validateID + '-response').html('');\r\n\t\t\t\t\t\t\t\tvar data = {\r\n\t\t\t\t\t\t\t\t\t'action': 'ajax_validation',\r\n\t\t\t\t\t\t\t\t\t'current': $(this).attr('id'),\r\n\t\t\t\t\t\t\t\t\t'val': $(this).val(),\r\n\t\t\t\t\t\t\t\t\t'required': required,\r\n\t\t\t\t\t\t\t\t\t'login': $('.ctdb_user_login').val(),\r\n\t\t\t\t\t\t\t\t\t'email': $('#ctdb-registration-wrap #ctdb_user_email').val(),\r\n\t\t\t\t\t\t\t\t\t'pass': $('#ctdb-registration-wrap #ctdb_user_pass').val(),\r\n\t\t\t\t\t\t\t\t\t'confirm': $('#ctdb-registration-wrap #ctdb_user_pass_confirm').val(),\r\n\t\t\t\t\t\t\t\t\t'security': \"f5f5cc0da9\",\r\n\t\t\t\t\t\t\t\t\t'dataType': 'json'\r\n\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t\t$.post(ajaxurl, data, function(response) {\r\n\t\t\t\t\t\t\t\t\tresponse = JSON.parse(response);\r\n\t\t\t\t\t\t\t\t\tfor (var i = 0; i < response.length; i++) {\r\n\t\t\t\t\t\t\t\t\t\tif (response[i]['status'] == 'error') {\r\n\t\t\t\t\t\t\t\t\t\t\tvar id = response[i]['id'];\r\n\t\t\t\t\t\t\t\t\t\t\t$('.' + id).removeClass('valid');\r\n\t\t\t\t\t\t\t\t\t\t\t$('.' + id).addClass('invalid');\r\n\t\t\t\t\t\t\t\t\t\t\t$('#' + id + '-response').html('<small> - ' + response[i]['message'] + '<\/small>');\r\n\t\t\t\t\t\t\t\t\t\t} else if (response[i]['status'] == 'ok') {\r\n\t\t\t\t\t\t\t\t\t\t\tvar id = response[i]['id'];\r\n\t\t\t\t\t\t\t\t\t\t\t$('.' + id).removeClass('invalid');\r\n\t\t\t\t\t\t\t\t\t\t\t$('.' + id).addClass('valid');\r\n\t\t\t\t\t\t\t\t\t\t\tif (response[i]['message']) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t$('#' + id + '-response').html('<small> - ' + response[i]['message'] + '<\/small>');\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t\t\t$('#' + id + '-response').html('');\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t$('#ctdb_registration_form').submit(function(event) {\r\n\t\t\t\t\t\t\t\tif ($(this).find('input.invalid').length > 0) {\r\n\t\t\t\t\t\t\t\t\t$(this).find('#ctdb_user_form-response').show();\r\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t<\/script>\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t<\/form>\r\n\t\t\t<\/div><!-- .ctdb-form-section .-->\r\n\r\n\t\t<\/div><!-- .ctdb-login-form-wrapper --><script>\r\n\t\t\t\t\tjQuery(document).ready(function($){\r\n\t\t\t\t\t\t$(\".ctdb-header\").on(\"click\",function(){\r\n\t\t\t\t\t\t\tid = $(this).data(\"form-id\");\r\n\t\t\t\t\t\t\t$(\".ctdb-header\").removeClass(\"active-header\");\r\n\t\t\t\t\t\t\t$(this).addClass(\"active-header\");\r\n\t\t\t\t\t\t\t$(\".ctdb-form-section\").removeClass(\"active-section\");\r\n\t\t\t\t\t\t\t$(\"#\"+id).addClass(\"active-section\");\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t});\r\n\t\t\t\t<\/script> <\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":763,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","footnotes":""},"class_list":["post-766","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Log In - Somia<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/somia.com.au\/zh\/topics\/log-in\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Log In - Somia\" \/>\n<meta property=\"og:url\" content=\"https:\/\/somia.com.au\/zh\/topics\/log-in\/\" \/>\n<meta property=\"og:site_name\" content=\"Somia\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/somia.com.au\\\/topics\\\/log-in\\\/\",\"url\":\"https:\\\/\\\/somia.com.au\\\/topics\\\/log-in\\\/\",\"name\":\"Log In - Somia\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/somia.com.au\\\/#website\"},\"datePublished\":\"2024-04-11T08:18:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/somia.com.au\\\/topics\\\/log-in\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/somia.com.au\\\/topics\\\/log-in\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/somia.com.au\\\/topics\\\/log-in\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/somia.com.au\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/somia.com.au\\\/en\\\/topics\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Log In\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/somia.com.au\\\/#website\",\"url\":\"https:\\\/\\\/somia.com.au\\\/\",\"name\":\"Somia\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/somia.com.au\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/somia.com.au\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/somia.com.au\\\/#organization\",\"name\":\"Somia\",\"url\":\"https:\\\/\\\/somia.com.au\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/somia.com.au\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/somia.com.au\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/\u7ea2_\u753b\u677f-1-1-1-edited-2.png\",\"contentUrl\":\"https:\\\/\\\/somia.com.au\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/\u7ea2_\u753b\u677f-1-1-1-edited-2.png\",\"width\":1588,\"height\":1059,\"caption\":\"Somia\"},\"image\":{\"@id\":\"https:\\\/\\\/somia.com.au\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Log In - Somia","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/somia.com.au\/zh\/topics\/log-in\/","og_locale":"zh_CN","og_type":"article","og_title":"Log In - Somia","og_url":"https:\/\/somia.com.au\/zh\/topics\/log-in\/","og_site_name":"Somia","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/somia.com.au\/topics\/log-in\/","url":"https:\/\/somia.com.au\/topics\/log-in\/","name":"Log In - Somia","isPartOf":{"@id":"https:\/\/somia.com.au\/#website"},"datePublished":"2024-04-11T08:18:06+00:00","breadcrumb":{"@id":"https:\/\/somia.com.au\/topics\/log-in\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/somia.com.au\/topics\/log-in\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/somia.com.au\/topics\/log-in\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/somia.com.au\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/somia.com.au\/en\/topics\/"},{"@type":"ListItem","position":3,"name":"Log In"}]},{"@type":"WebSite","@id":"https:\/\/somia.com.au\/#website","url":"https:\/\/somia.com.au\/","name":"Somia","description":"","publisher":{"@id":"https:\/\/somia.com.au\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/somia.com.au\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/somia.com.au\/#organization","name":"Somia","url":"https:\/\/somia.com.au\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/somia.com.au\/#\/schema\/logo\/image\/","url":"https:\/\/somia.com.au\/wp-content\/uploads\/2024\/09\/\u7ea2_\u753b\u677f-1-1-1-edited-2.png","contentUrl":"https:\/\/somia.com.au\/wp-content\/uploads\/2024\/09\/\u7ea2_\u753b\u677f-1-1-1-edited-2.png","width":1588,"height":1059,"caption":"Somia"},"image":{"@id":"https:\/\/somia.com.au\/#\/schema\/logo\/image\/"}}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"trp-custom-language-flag":false},"uagb_author_info":{"display_name":"\u7d22\u7c73\u4e9a","author_link":"https:\/\/somia.com.au\/zh\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":null,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/somia.com.au\/zh\/wp-json\/wp\/v2\/pages\/766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/somia.com.au\/zh\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/somia.com.au\/zh\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/somia.com.au\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/somia.com.au\/zh\/wp-json\/wp\/v2\/comments?post=766"}],"version-history":[{"count":0,"href":"https:\/\/somia.com.au\/zh\/wp-json\/wp\/v2\/pages\/766\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/somia.com.au\/zh\/wp-json\/wp\/v2\/pages\/763"}],"wp:attachment":[{"href":"https:\/\/somia.com.au\/zh\/wp-json\/wp\/v2\/media?parent=766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}