{"id":313,"date":"2018-08-10T20:04:09","date_gmt":"2018-08-10T20:04:09","guid":{"rendered":"https:\/\/html5-chat.com\/blog\/?p=313"},"modified":"2018-08-10T20:04:09","modified_gmt":"2018-08-10T20:04:09","slug":"registered-and-guest-users-together","status":"publish","type":"post","link":"https:\/\/html5-chat.com\/blog\/registered-and-guest-users-together\/","title":{"rendered":"Registered and guest users together !"},"content":{"rendered":"\r\n<p class=\"has-regular-font-size\">We have added a new mixed mode to enter the chat.<br \/>For now you could Both mode<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><strong>guest<\/strong> : any one can connect to chat and only have to provide the username and the gender<\/li>\r\n<li><strong>user<\/strong> : before an user connects, user must register and provide his data such gender, email, password<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p class=\"has-background has-very-light-gray-background-color\">We have now a new mode, a <strong>mixed mode<\/strong>, that allows to enter as <strong>user<\/strong> (providing registered username and password), but also as <strong>guest<\/strong>.<\/p>\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1296\" height=\"161\" class=\"wp-image-314\" src=\"https:\/\/html5-chat.com\/blog\/wp-content\/uploads\/2018\/08\/mixed.jpg\" alt=\"mixed mode\" srcset=\"https:\/\/html5-chat.com\/blog\/wp-content\/uploads\/2018\/08\/mixed.jpg 1296w, https:\/\/html5-chat.com\/blog\/wp-content\/uploads\/2018\/08\/mixed-300x37.jpg 300w, https:\/\/html5-chat.com\/blog\/wp-content\/uploads\/2018\/08\/mixed-768x95.jpg 768w, https:\/\/html5-chat.com\/blog\/wp-content\/uploads\/2018\/08\/mixed-1024x127.jpg 1024w\" sizes=\"auto, (max-width: 1296px) 100vw, 1296px\" \/>\r\n<figcaption>mixed mode<\/figcaption>\r\n<\/figure>\r\n<\/div>\r\n\r\n\r\n<h2 class=\"wp-block-heading\">How to activate the mixed mode ?<\/h2>\r\n\r\n\r\n\r\n<p>go your chatadmin, chat config, then choose one of the 3 selections in &#8220;<strong>Enter chat mode<\/strong>&#8221; input select.<\/p>\r\n\r\n\r\n\r\n\r\n\r\n<p><strong>Note:\u00a0<\/strong>This of course is useless if you use the <a href=\"https:\/\/html5-chat.com\/blog\/jwt-a-quicker-and-simpler-version-using-the-html5-service\/\">jwt authentification<\/a>, since in JWT, you can explicitly assign an username, gender and role.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>We have added a new mixed mode to enter the chat.For now you could Both mode guest : any one can connect to chat and only have to provide the username and the gender user : before an user connects, user must register and provide his data such gender, email, password We have now a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":319,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[52,53],"class_list":["post-313","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-features","tag-guest","tag-users"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/posts\/313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/comments?post=313"}],"version-history":[{"count":2,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/posts\/313\/revisions"}],"predecessor-version":[{"id":321,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/posts\/313\/revisions\/321"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/media\/319"}],"wp:attachment":[{"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/media?parent=313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/categories?post=313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/tags?post=313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}