{"id":472,"date":"2025-07-03T13:08:15","date_gmt":"2025-07-03T11:08:15","guid":{"rendered":"https:\/\/www.opensmartliving.ro\/?page_id=472"},"modified":"2025-07-05T10:07:30","modified_gmt":"2025-07-05T08:07:30","slug":"register-2-2-2","status":"publish","type":"page","link":"https:\/\/www.opensmartliving.ro\/index.php\/ro\/register-2-2-2\/","title":{"rendered":"\u00cenregistrare"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"472\" class=\"elementor elementor-472\">\n\t\t\t\t<div class=\"elementor-element elementor-element-be675a4 e-flex e-con-boxed e-con e-parent\" data-id=\"be675a4\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f4b3b22 elementor-widget elementor-widget-html\" data-id=\"f4b3b22\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script>\nconsole.log('--- Registration Page: Login Status Message Script Loaded (Romanian Only) ---');\n\nfunction displayRegistrationPageLoginMessage() {\n    const customMessageContainerId = 'registration-logged-in-message'; \/\/ Unique ID for this message div\n    const isUserActuallyLoggedIn = document.body.classList.contains('logged-in'); \/\/ Primary login check\n    let loggedInUserName = null;\n\n    if (isUserActuallyLoggedIn) {\n        \/\/ If logged in, try to get the specific username from the WordPress admin bar\n        const adminBarUserNode = document.querySelector('#wp-admin-bar-my-account .display-name');\n        if (adminBarUserNode) {\n            loggedInUserName = adminBarUserNode.textContent.trim();\n            console.log('Registration Page: Detected logged-in user from admin bar:', loggedInUserName);\n        } else {\n            \/\/ Fallback if admin bar or username not found\n            loggedInUserName = \"User\"; \/\/ Generic placeholder\n            console.warn('Registration Page: User is logged in (body class detected) but specific name not found. Using generic name.');\n        }\n    } else {\n        console.log('Registration Page: User is NOT logged in (body class absent).');\n    }\n\n    let messageDiv = document.getElementById(customMessageContainerId);\n\n    if (isUserActuallyLoggedIn) {\n        \/\/ If user IS logged in, display the message\n        if (!messageDiv) {\n            \/\/ Create the message div if it doesn't exist yet\n            messageDiv = document.createElement('div');\n            messageDiv.id = customMessageContainerId;\n            \/\/ Apply styling\n            Object.assign(messageDiv.style, {\n                padding: '20px',\n                backgroundColor: '#e6ffe6', \/* Light green background *\/\n                border: '1px solid #aaddaa', \/* Green border *\/\n                borderRadius: '8px',\n                textAlign: 'center',\n                fontSize: '1.1em',\n                color: '#333',\n                marginBottom: '20px',\n            });\n\n            \/\/ Try to insert the message div strategically (e.g., above the bbPress shortcode)\n            const shortcodeWidget = document.querySelector('.elementor-widget-shortcode[data-widget_type=\"shortcode.default\"]'); \/\/ Targets Elementor's Shortcode widget\n            const targetContainer = shortcodeWidget ? shortcodeWidget.parentNode : document.querySelector('.elementor-inner-content') || document.body;\n\n            if (targetContainer) {\n                targetContainer.prepend(messageDiv); \/\/ Prepend to the chosen container\n                console.log('Registration Page: Message div created and inserted.');\n            } else {\n                document.body.appendChild(messageDiv); \/\/ Fallback to appending to body\n                console.warn('Registration Page: Could not find optimal insertion point. Appending message to body.');\n            }\n        }\n\n        const nameToDisplay = loggedInUserName || \"User\"; \/\/ Use detected name or generic\n\n        \/\/ MODIFIED: innerHTML to display message in Romanian only\n        messageDiv.innerHTML = `\n            <p>Sunte\u021bi autentificat ca: <strong>${nameToDisplay}<\/strong><\/p>\n        `;\n        messageDiv.style.display = 'block'; \/\/ Ensure the message is visible\n        console.log('Registration Page: Displaying logged-in message in Romanian.');\n\n    } else {\n        \/\/ If user is NOT logged in, ensure the message is hidden\n        if (messageDiv) {\n            messageDiv.style.display = 'none';\n        }\n        console.log('Registration Page: Hiding logged-in message (user not logged in).');\n    }\n}\n\n\/\/ --- Robustness: Ensure the script runs at the right time ---\n\n\/\/ 1. Run the function when the DOM is fully loaded\ndocument.addEventListener('DOMContentLoaded', displayRegistrationPageLoginMessage);\n\n\/\/ 2. Use a MutationObserver on the <body> to detect changes like 'logged-in' class appearing\/disappearing\n\/\/ This is crucial for dynamic updates (e.g., after login\/logout, or Elementor content loading).\nconst observerConfig = { childList: true, subtree: true, attributes: true, attributeFilter: ['class'] }; \/\/ Watch for class changes (like 'logged-in') and general DOM structure\n\nconst mainObserver = new MutationObserver((mutations, obs) => {\n    \/\/ Re-run the display logic if relevant changes occur (body class, admin bar appearance)\n    const bodyClassChanged = mutations.some(mutation => mutation.target === document.body && mutation.attributeName === 'class');\n    const adminBarLoaded = mutations.some(mutation => mutation.type === 'childList' && Array.from(mutation.addedNodes).some(node => node.id === 'wpadminbar'));\n\n    if (bodyClassChanged || adminBarLoaded) {\n        displayRegistrationPageLoginMessage();\n        console.log('Registration Page: DOM change detected by observer, re-checking login status.');\n    }\n});\n\ndocument.addEventListener('DOMContentLoaded', () => {\n    mainObserver.observe(document.body, observerConfig);\n    console.log('Registration Page: MutationObserver started.');\n});\n\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-1dc1403 e-flex e-con-boxed e-con e-parent\" data-id=\"1dc1403\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2b0fd1a elementor-widget elementor-widget-html\" data-id=\"2b0fd1a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style>\n    \/* Styling for the embedded GDPR agreement *\/\n    .gdpr-agreement-container {\n        font-family: Arial, sans-serif;\n        line-height: 1.6;\n        margin-bottom: 20px; \/* Space below this block *\/\n        padding: 20px;\n        background-color: #f9f9f9;\n        border: 1px solid #ddd;\n        border-radius: 8px;\n        box-shadow: 0 2px 4px rgba(0,0,0,0.05);\n    }\n    .gdpr-agreement-container h3 {\n        color: #333;\n        margin-top: 0;\n        margin-bottom: 15px;\n        text-align: center;\n        font-size: 1.3em;\n        border-bottom: 1px solid #eee;\n        padding-bottom: 10px;\n    }\n    .gdpr-agreement-container h4 { \/* This style remains, but the h4 element it targeted is now gone from this specific version *\/\n        color: #555;\n        margin-top: 20px;\n        border-bottom: 1px dashed #ccc;\n        padding-bottom: 5px;\n        font-size: 1.1em;\n    }\n    .gdpr-agreement-container ul {\n        margin-left: 20px;\n        margin-bottom: 15px;\n    }\n    .gdpr-agreement-container p {\n        margin-bottom: 15px;\n    }\n    .gdpr-language-section {\n        \/* No longer needs border-top, padding-top, margin-top as it's the only section *\/\n    }\n    .agreement-statement-gdpr {\n        font-weight: bold;\n        text-align: center;\n        margin-top: 25px;\n        padding-top: 15px;\n        border-top: 2px solid #eee;\n        font-size: 1em;\n        color: #333;\n    }\n    .note-gdpr {\n        font-style: italic;\n        font-size: 0.85em;\n        color: #888;\n        text-align: center;\n        margin-top: 15px;\n    }\n<\/style>\n\n<div class=\"gdpr-agreement-container\">\n    <h3>Reguli Forum & Politica de Confiden\u021bialitate<\/h3>\n\n    <div id=\"gdpr-section-ro\" class=\"gdpr-language-section\">\n        <h5>Reguli Forum<\/h5>\n        <p>Bine a\u021bi venit pe forumul nostru! Pentru a asigura un mediu pozitiv \u0219i productiv pentru to\u021bi, v\u0103 rug\u0103m s\u0103 respecta\u021bi urm\u0103toarele reguli:<\/p>\n        <ul>\n            <li>Fi\u021bi respectuos \u0219i civilizat \u00een toate interac\u021biunile.<\/li>\n            <li>F\u0103r\u0103 spam, promovare excesiv\u0103 sau publicitate.<\/li>\n            <li>Nu posta\u021bi con\u021binut ilegal sau ofensator.<\/li>\n            <li>P\u0103stra\u021bi discu\u021biile relevante pentru subiectele forumului.<\/li>\n            <li>Nu partaja\u021bi informa\u021bii personale despre al\u021bii f\u0103r\u0103 consim\u021b\u0103m\u00e2nt.<\/li>\n            <li>Evita\u021bi limbajul licen\u021bios excesiv sau discursul de ur\u0103.<\/li>\n            <li>Raporta\u021bi orice \u00eenc\u0103lc\u0103ri moderatorilor.<\/li>\n        <\/ul>\n\n        <h5>Politica de Confiden\u021bialitate<\/h5>\n        <p>Confiden\u021bialitatea dvs. este important\u0103 pentru noi. Aceast\u0103 politic\u0103 descrie modul \u00een care colect\u0103m, utiliz\u0103m \u0219i protej\u0103m datele dvs.<\/p>\n        <ul>\n            <li>Colect\u0103m informa\u021biile pe care le furniza\u021bi la \u00eenregistrare (nume de utilizator, e-mail).<\/li>\n            <li>Putem colecta date de utilizare (adresa IP, tipul de browser) pentru \u00eembun\u0103t\u0103\u021birea site-ului.<\/li>\n            <li>Datele dvs. vor fi utilizate pentru a opera \u0219i men\u021bine forumul \u0219i pentru a comunica cu dvs.<\/li>\n            <li>Nu vindem \u0219i nu partaj\u0103m datele dvs. personale cu ter\u021bi f\u0103r\u0103 consim\u021b\u0103m\u00e2ntul dvs. explicit, cu excep\u021bia cazurilor prev\u0103zute de lege.<\/li>\n            <li>Ave\u021bi dreptul de a accesa, modifica sau \u0219terge datele dvs. personale. Contacta\u021bi-ne pentru solicit\u0103ri.<\/li>\n            <li>Implement\u0103m m\u0103suri de securitate rezonabile pentru a v\u0103 proteja datele.<\/li>\n        <\/ul>\n    <\/div>\n\n    <div class=\"agreement-statement-gdpr\">\n        Prin \u00eenregistrare, confirma\u021bi \u00een\u021belegerea \u0219i acceptarea acestor termeni.\n    <\/div>\n\n    <div class=\"note-gdpr\">\n        Datele dvs. vor fi prelucrate \u00een conformitate cu Politica noastr\u0103 de confiden\u021bialitate \u00een scopul furniz\u0103rii serviciilor forumului.\n    <\/div>\n<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-48ce25f e-flex e-con-boxed e-con e-parent\" data-id=\"48ce25f\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ae7bbf7 e-n-tabs-mobile elementor-widget elementor-widget-n-tabs\" data-id=\"ae7bbf7\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;horizontal_scroll&quot;:&quot;disable&quot;}\" data-widget_type=\"nested-tabs.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"e-n-tabs\" data-widget-number=\"182959095\" aria-label=\"File. Deschizi elementele cu tasta Enter sau Spa\u021biu, le \u00eenchizi cu Esc \u0219i navighezi folosind tastele s\u0103ge\u021bi.\">\n\t\t\t<div class=\"e-n-tabs-heading\" role=\"tablist\">\n\t\t\t\t\t<button id=\"e-n-tab-title-1829590951\" data-tab-title-id=\"e-n-tab-title-1829590951\" class=\"e-n-tab-title\" aria-selected=\"true\" data-tab-index=\"1\" role=\"tab\" tabindex=\"0\" aria-controls=\"e-n-tab-content-1829590951\" style=\"--n-tabs-title-order: 1;\">\n\t\t\t\t\t\t<span class=\"e-n-tab-title-text\">\n\t\t\t\tAutentificare\t\t\t<\/span>\n\t\t<\/button>\n\t\t\t\t<button id=\"e-n-tab-title-1829590952\" data-tab-title-id=\"e-n-tab-title-1829590952\" class=\"e-n-tab-title\" aria-selected=\"false\" data-tab-index=\"2\" role=\"tab\" tabindex=\"-1\" aria-controls=\"e-n-tab-content-1829590952\" style=\"--n-tabs-title-order: 2;\">\n\t\t\t\t\t\t<span class=\"e-n-tab-title-text\">\n\t\t\t\t\u00cenregistrare\t\t\t<\/span>\n\t\t<\/button>\n\t\t\t\t<button id=\"e-n-tab-title-1829590953\" data-tab-title-id=\"e-n-tab-title-1829590953\" class=\"e-n-tab-title\" aria-selected=\"false\" data-tab-index=\"3\" role=\"tab\" tabindex=\"-1\" aria-controls=\"e-n-tab-content-1829590953\" style=\"--n-tabs-title-order: 3;\">\n\t\t\t\t\t\t<span class=\"e-n-tab-title-text\">\n\t\t\t\tParol\u0103 uitat\u0103\t\t\t<\/span>\n\t\t<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t<div class=\"e-n-tabs-content\">\n\t\t\t\t<div id=\"e-n-tab-content-1829590951\" role=\"tabpanel\" aria-labelledby=\"e-n-tab-title-1829590951\" data-tab-index=\"1\" style=\"--n-tabs-title-order: 1;\" class=\"e-active elementor-element elementor-element-81a62a1 e-con-full e-flex e-con e-child\" data-id=\"81a62a1\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a671cbf elementor-widget elementor-widget-shortcode\" data-id=\"a671cbf\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<form method=\"post\" action=\"https:\/\/www.opensmartliving.ro\/wp-login.php\" class=\"bbp-login-form\">\n\t<fieldset class=\"bbp-form\">\n\t\t<legend>Log In<\/legend>\n\n\t\t<div class=\"bbp-username\">\n\t\t\t<label for=\"user_login\">Username: <\/label>\n\t\t\t<input type=\"text\" name=\"log\" value=\"\" size=\"20\" maxlength=\"100\" id=\"user_login\" autocomplete=\"off\" \/>\n\t\t<\/div>\n\n\t\t<div class=\"bbp-password\">\n\t\t\t<label for=\"user_pass\">Password: <\/label>\n\t\t\t<input type=\"password\" name=\"pwd\" value=\"\" size=\"20\" id=\"user_pass\" autocomplete=\"off\" \/>\n\t\t<\/div>\n\n\t\t<div class=\"bbp-remember-me\">\n\t\t\t<input type=\"checkbox\" name=\"rememberme\" value=\"forever\"  id=\"rememberme\" \/>\n\t\t\t<label for=\"rememberme\">Keep me signed in<\/label>\n\t\t<\/div>\n\n\t\t<input type=\"hidden\" name=\"g-recaptcha-response\" class=\"agr-recaptcha-response\" value=\"\" \/><script data-jetpack-boost=\"ignore\" data-jetpack-boost=\"ignore\">\r\n                (function() {\r\n                    var siteKey = \"6LeG1HQrAAAAAHqT7gh75rlXXek4KRHrbY9ZdE28\";\r\n                    var refreshTimer = null;\r\n\r\n                    function wpcaptchaSetToken(token) {\r\n                        document.querySelectorAll(\".agr-recaptcha-response\").forEach(function(field) {\r\n                            field.value = token;\r\n                            field.setAttribute(\"data-token-time\", Date.now());\r\n                        });\r\n                    }\r\n\r\n                    function wpcaptchaRefreshToken(callback) {\r\n                        if (typeof grecaptcha === \"undefined\") {\r\n                            if (callback) callback(false);\r\n                            return;\r\n                        }\r\n\r\n                        grecaptcha.ready(function() {\r\n                            grecaptcha.execute(siteKey, { action: \"submit\" }).then(function(token) {\r\n                                wpcaptchaSetToken(token);\r\n                                if (callback) callback(true);\r\n                            });\r\n                        });\r\n                    }\r\n\r\n                    function wpcaptchaStartAutoRefresh() {\r\n                        clearInterval(refreshTimer);\r\n\r\n                        wpcaptchaRefreshToken();\r\n\r\n                        refreshTimer = setInterval(function() {\r\n                            wpcaptchaRefreshToken();\r\n                        }, 90000);\r\n                    }\r\n\r\n                    document.addEventListener(\"submit\", function(e) {\r\n                        var form = e.target;\r\n                        var field = form.querySelector(\".agr-recaptcha-response\");\r\n\r\n                        if (!field) return;\r\n\r\n                        var tokenTime = parseInt(field.getAttribute(\"data-token-time\") || \"0\", 10);\r\n                        var age = Date.now() - tokenTime;\r\n\r\n                        if (field.value && age < 90000) {\r\n                            return;\r\n                        }\r\n\r\n                        e.preventDefault();\r\n\r\n                        wpcaptchaRefreshToken(function(success) {\r\n                            if (success) {\r\n                                form.submit();\r\n                            }\r\n                        });\r\n                    }, true);\r\n\r\n                    window.wpcaptchaRefreshToken = wpcaptchaRefreshToken;\r\n\r\n                    if (document.readyState === \"loading\") {\r\n                        document.addEventListener(\"DOMContentLoaded\", wpcaptchaStartAutoRefresh);\r\n                    } else {\r\n                        wpcaptchaStartAutoRefresh();\r\n                    }\r\n                })();\r\n                <\/script><div id='wpcaptcha-protected-by' style='display: block; clear: both; padding-top: 20px; text-align: center;''>Login form protected by <a target='_blank' href='https:\/\/getwpcaptcha.com\/'>WP Captcha<\/a><\/div><script data-jetpack-boost=\"ignore\" data-jetpack-boost=\"ignore\">\r\n            document.addEventListener(\"DOMContentLoaded\", function() {\r\n                document.querySelector(\"#loginform\").append(document.querySelector(\"#wpcaptcha-protected-by\"));\r\n            });\r\n            <\/script>\n\t\t<div class=\"bbp-submit-wrapper\">\n\n\t\t\t<button type=\"submit\" name=\"user-submit\" id=\"user-submit\" class=\"button submit user-submit\">Log In<\/button>\n\n\t\t\t\n\t<input type=\"hidden\" name=\"user-cookie\" value=\"1\" \/>\n\n\t<input type=\"hidden\" id=\"bbp_redirect_to\" name=\"redirect_to\" value=\"https:\/\/www.opensmartliving.ro\/index.php\/wp-json\/wp\/v2\/pages\/472\" \/><input type=\"hidden\" id=\"_wpnonce\" name=\"_wpnonce\" value=\"c705428fbf\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/index.php\/wp-json\/wp\/v2\/pages\/472\" \/>\n\t\t<\/div>\n\t<\/fieldset>\n<\/form>\n<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div id=\"e-n-tab-content-1829590952\" role=\"tabpanel\" aria-labelledby=\"e-n-tab-title-1829590952\" data-tab-index=\"2\" style=\"--n-tabs-title-order: 2;\" class=\" elementor-element elementor-element-6facadf e-con-full e-flex e-con e-child\" data-id=\"6facadf\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b0e29b1 elementor-widget elementor-widget-shortcode\" data-id=\"b0e29b1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<form method=\"post\" action=\"https:\/\/www.opensmartliving.ro\/wp-login.php\" class=\"bbp-login-form\">\n\t<fieldset class=\"bbp-form\">\n\t\t<legend>Create an Account<\/legend>\n\n\t\t\n\t\t<div class=\"bbp-template-notice\">\n\t\t\t<ul>\n\t\t\t\t<li>Your username must be unique, and cannot be changed later.<\/li>\n\t\t\t\t<li>We use your email address to email you a secure password and verify your account.<\/li>\n\t\t\t<\/ul>\n\t\t<\/div>\n\n\t\t<div class=\"bbp-username\">\n\t\t\t<label for=\"user_login\">Username: <\/label>\n\t\t\t<input type=\"text\" name=\"user_login\" value=\"\" size=\"20\" id=\"user_login\" maxlength=\"100\" autocomplete=\"off\" \/>\n\t\t<\/div>\n\n\t\t<div class=\"bbp-email\">\n\t\t\t<label for=\"user_email\">Email: <\/label>\n\t\t\t<input type=\"text\" name=\"user_email\" value=\"\" size=\"20\" id=\"user_email\" maxlength=\"100\" autocomplete=\"off\" \/>\n\t\t<\/div>\n\n\t\t<input type=\"hidden\" name=\"g-recaptcha-response\" class=\"agr-recaptcha-response\" value=\"\" \/><script data-jetpack-boost=\"ignore\" data-jetpack-boost=\"ignore\">\r\n                (function() {\r\n                    var siteKey = \"6LeG1HQrAAAAAHqT7gh75rlXXek4KRHrbY9ZdE28\";\r\n                    var refreshTimer = null;\r\n\r\n                    function wpcaptchaSetToken(token) {\r\n                        document.querySelectorAll(\".agr-recaptcha-response\").forEach(function(field) {\r\n                            field.value = token;\r\n                            field.setAttribute(\"data-token-time\", Date.now());\r\n                        });\r\n                    }\r\n\r\n                    function wpcaptchaRefreshToken(callback) {\r\n                        if (typeof grecaptcha === \"undefined\") {\r\n                            if (callback) callback(false);\r\n                            return;\r\n                        }\r\n\r\n                        grecaptcha.ready(function() {\r\n                            grecaptcha.execute(siteKey, { action: \"submit\" }).then(function(token) {\r\n                                wpcaptchaSetToken(token);\r\n                                if (callback) callback(true);\r\n                            });\r\n                        });\r\n                    }\r\n\r\n                    function wpcaptchaStartAutoRefresh() {\r\n                        clearInterval(refreshTimer);\r\n\r\n                        wpcaptchaRefreshToken();\r\n\r\n                        refreshTimer = setInterval(function() {\r\n                            wpcaptchaRefreshToken();\r\n                        }, 90000);\r\n                    }\r\n\r\n                    document.addEventListener(\"submit\", function(e) {\r\n                        var form = e.target;\r\n                        var field = form.querySelector(\".agr-recaptcha-response\");\r\n\r\n                        if (!field) return;\r\n\r\n                        var tokenTime = parseInt(field.getAttribute(\"data-token-time\") || \"0\", 10);\r\n                        var age = Date.now() - tokenTime;\r\n\r\n                        if (field.value && age < 90000) {\r\n                            return;\r\n                        }\r\n\r\n                        e.preventDefault();\r\n\r\n                        wpcaptchaRefreshToken(function(success) {\r\n                            if (success) {\r\n                                form.submit();\r\n                            }\r\n                        });\r\n                    }, true);\r\n\r\n                    window.wpcaptchaRefreshToken = wpcaptchaRefreshToken;\r\n\r\n                    if (document.readyState === \"loading\") {\r\n                        document.addEventListener(\"DOMContentLoaded\", wpcaptchaStartAutoRefresh);\r\n                    } else {\r\n                        wpcaptchaStartAutoRefresh();\r\n                    }\r\n                })();\r\n                <\/script>\n\t\t<div class=\"bbp-submit-wrapper\">\n\n\t\t\t<button type=\"submit\" name=\"user-submit\" class=\"button submit user-submit\">Register<\/button>\n\n\t\t\t\n\t<input type=\"hidden\" name=\"action\"      value=\"register\" \/>\n\t<input type=\"hidden\" name=\"user-cookie\" value=\"1\" \/>\n\n\t<input type=\"hidden\" id=\"bbp_redirect_to\" name=\"redirect_to\" value=\"?checkemail=registered\" \/><input type=\"hidden\" id=\"_wpnonce\" name=\"_wpnonce\" value=\"ce6e7515b1\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/index.php\/wp-json\/wp\/v2\/pages\/472\" \/>\n\t\t<\/div>\n\n\t\t\n\t<\/fieldset>\n<\/form>\n<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div id=\"e-n-tab-content-1829590953\" role=\"tabpanel\" aria-labelledby=\"e-n-tab-title-1829590953\" data-tab-index=\"3\" style=\"--n-tabs-title-order: 3;\" class=\" elementor-element elementor-element-12ce634 e-con-full e-flex e-con e-child\" data-id=\"12ce634\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-cd8478f elementor-widget elementor-widget-shortcode\" data-id=\"cd8478f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<form method=\"post\" action=\"https:\/\/www.opensmartliving.ro\/wp-login.php?action=lostpassword\" class=\"bbp-login-form\">\n\t<fieldset class=\"bbp-form\">\n\t\t<legend>Lost Password<\/legend>\n\n\t\t<div class=\"bbp-username\">\n\t\t\t<p>\n\t\t\t\t<label for=\"user_login\" class=\"hide\">Username or Email: <\/label>\n\t\t\t\t<input type=\"text\" name=\"user_login\" value=\"\" size=\"20\" id=\"user_login\" maxlength=\"100\" autocomplete=\"off\" \/>\n\t\t\t<\/p>\n\t\t<\/div>\n\n\t\t<input type=\"hidden\" name=\"g-recaptcha-response\" class=\"agr-recaptcha-response\" value=\"\" \/><script data-jetpack-boost=\"ignore\" data-jetpack-boost=\"ignore\">\r\n                (function() {\r\n                    var siteKey = \"6LeG1HQrAAAAAHqT7gh75rlXXek4KRHrbY9ZdE28\";\r\n                    var refreshTimer = null;\r\n\r\n                    function wpcaptchaSetToken(token) {\r\n                        document.querySelectorAll(\".agr-recaptcha-response\").forEach(function(field) {\r\n                            field.value = token;\r\n                            field.setAttribute(\"data-token-time\", Date.now());\r\n                        });\r\n                    }\r\n\r\n                    function wpcaptchaRefreshToken(callback) {\r\n                        if (typeof grecaptcha === \"undefined\") {\r\n                            if (callback) callback(false);\r\n                            return;\r\n                        }\r\n\r\n                        grecaptcha.ready(function() {\r\n                            grecaptcha.execute(siteKey, { action: \"submit\" }).then(function(token) {\r\n                                wpcaptchaSetToken(token);\r\n                                if (callback) callback(true);\r\n                            });\r\n                        });\r\n                    }\r\n\r\n                    function wpcaptchaStartAutoRefresh() {\r\n                        clearInterval(refreshTimer);\r\n\r\n                        wpcaptchaRefreshToken();\r\n\r\n                        refreshTimer = setInterval(function() {\r\n                            wpcaptchaRefreshToken();\r\n                        }, 90000);\r\n                    }\r\n\r\n                    document.addEventListener(\"submit\", function(e) {\r\n                        var form = e.target;\r\n                        var field = form.querySelector(\".agr-recaptcha-response\");\r\n\r\n                        if (!field) return;\r\n\r\n                        var tokenTime = parseInt(field.getAttribute(\"data-token-time\") || \"0\", 10);\r\n                        var age = Date.now() - tokenTime;\r\n\r\n                        if (field.value && age < 90000) {\r\n                            return;\r\n                        }\r\n\r\n                        e.preventDefault();\r\n\r\n                        wpcaptchaRefreshToken(function(success) {\r\n                            if (success) {\r\n                                form.submit();\r\n                            }\r\n                        });\r\n                    }, true);\r\n\r\n                    window.wpcaptchaRefreshToken = wpcaptchaRefreshToken;\r\n\r\n                    if (document.readyState === \"loading\") {\r\n                        document.addEventListener(\"DOMContentLoaded\", wpcaptchaStartAutoRefresh);\r\n                    } else {\r\n                        wpcaptchaStartAutoRefresh();\r\n                    }\r\n                })();\r\n                <\/script><div id='wpcaptcha-protected-by' style='display: block; clear: both; padding-top: 20px; text-align: center;''>Login form protected by <a target='_blank' href='https:\/\/getwpcaptcha.com\/'>WP Captcha<\/a><\/div><script data-jetpack-boost=\"ignore\" data-jetpack-boost=\"ignore\">\r\n            document.addEventListener(\"DOMContentLoaded\", function() {\r\n                document.querySelector(\"#loginform\").append(document.querySelector(\"#wpcaptcha-protected-by\"));\r\n            });\r\n            <\/script>\n\t\t<div class=\"bbp-submit-wrapper\">\n\n\t\t\t<button type=\"submit\" name=\"user-submit\" class=\"button submit user-submit\">Reset My Password<\/button>\n\n\t\t\t\n\t<input type=\"hidden\" name=\"user-cookie\" value=\"1\" \/>\n\n\t<input type=\"hidden\" id=\"bbp_redirect_to\" name=\"redirect_to\" value=\"https:\/\/www.opensmartliving.ro\/index.php\/ro\/register-2-2-2\/?checkemail=confirm\" \/><input type=\"hidden\" id=\"_wpnonce\" name=\"_wpnonce\" value=\"22d9fb67f5\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/index.php\/wp-json\/wp\/v2\/pages\/472\" \/>\n\t\t<\/div>\n\t<\/fieldset>\n<\/form>\n<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Reguli Forum &#038; Politica de Confiden\u021bialitate Reguli Forum Bine a\u021bi venit pe forumul nostru! Pentru a asigura un mediu pozitiv \u0219i productiv pentru to\u021bi, v\u0103 rug\u0103m s\u0103 respecta\u021bi urm\u0103toarele reguli: Fi\u021bi respectuos \u0219i civilizat \u00een toate interac\u021biunile. F\u0103r\u0103 spam, promovare excesiv\u0103 sau publicitate. Nu posta\u021bi con\u021binut ilegal sau ofensator. P\u0103stra\u021bi discu\u021biile relevante pentru subiectele forumului&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_theme","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_uag_custom_page_level_css":"","_kad_post_transparent":"","_kad_post_title":"hide","_kad_post_layout":"fullwidth","_kad_post_sidebar_id":"","_kad_post_content_style":"unboxed","_kad_post_vertical_padding":"hide","_kad_post_feature":"hide","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"class_list":["post-472","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u00cenregistrare - Open Smart Living<\/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:\/\/www.opensmartliving.ro\/index.php\/ro\/register-2-2-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u00cenregistrare - Open Smart Living\" \/>\n<meta property=\"og:description\" content=\"Reguli Forum &#038; Politica de Confiden\u021bialitate Reguli Forum Bine a\u021bi venit pe forumul nostru! Pentru a asigura un mediu pozitiv \u0219i productiv pentru to\u021bi, v\u0103 rug\u0103m s\u0103 respecta\u021bi urm\u0103toarele reguli: Fi\u021bi respectuos \u0219i civilizat \u00een toate interac\u021biunile. F\u0103r\u0103 spam, promovare excesiv\u0103 sau publicitate. Nu posta\u021bi con\u021binut ilegal sau ofensator. P\u0103stra\u021bi discu\u021biile relevante pentru subiectele forumului....\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.opensmartliving.ro\/index.php\/ro\/register-2-2-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Open Smart Living\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-05T08:07:30+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.opensmartliving.ro\\\/index.php\\\/ro\\\/register-2-2-2\\\/\",\"url\":\"https:\\\/\\\/www.opensmartliving.ro\\\/index.php\\\/ro\\\/register-2-2-2\\\/\",\"name\":\"\u00cenregistrare - Open Smart Living\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.opensmartliving.ro\\\/#website\"},\"datePublished\":\"2025-07-03T11:08:15+00:00\",\"dateModified\":\"2025-07-05T08:07:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.opensmartliving.ro\\\/index.php\\\/ro\\\/register-2-2-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.opensmartliving.ro\\\/index.php\\\/ro\\\/register-2-2-2\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.opensmartliving.ro\\\/index.php\\\/ro\\\/register-2-2-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.opensmartliving.ro\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u00cenregistrare\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.opensmartliving.ro\\\/#website\",\"url\":\"https:\\\/\\\/www.opensmartliving.ro\\\/\",\"name\":\"Open Smart Living\",\"description\":\"Where your home awakens\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.opensmartliving.ro\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.opensmartliving.ro\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.opensmartliving.ro\\\/#organization\",\"name\":\"Open Smart Living\",\"url\":\"https:\\\/\\\/www.opensmartliving.ro\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.opensmartliving.ro\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.opensmartliving.ro\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/logo-removebg.png\",\"contentUrl\":\"https:\\\/\\\/www.opensmartliving.ro\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/logo-removebg.png\",\"width\":500,\"height\":500,\"caption\":\"Open Smart Living\"},\"image\":{\"@id\":\"https:\\\/\\\/www.opensmartliving.ro\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u00cenregistrare - Open Smart Living","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:\/\/www.opensmartliving.ro\/index.php\/ro\/register-2-2-2\/","og_locale":"en_US","og_type":"article","og_title":"\u00cenregistrare - Open Smart Living","og_description":"Reguli Forum &#038; Politica de Confiden\u021bialitate Reguli Forum Bine a\u021bi venit pe forumul nostru! Pentru a asigura un mediu pozitiv \u0219i productiv pentru to\u021bi, v\u0103 rug\u0103m s\u0103 respecta\u021bi urm\u0103toarele reguli: Fi\u021bi respectuos \u0219i civilizat \u00een toate interac\u021biunile. F\u0103r\u0103 spam, promovare excesiv\u0103 sau publicitate. Nu posta\u021bi con\u021binut ilegal sau ofensator. P\u0103stra\u021bi discu\u021biile relevante pentru subiectele forumului....","og_url":"https:\/\/www.opensmartliving.ro\/index.php\/ro\/register-2-2-2\/","og_site_name":"Open Smart Living","article_modified_time":"2025-07-05T08:07:30+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.opensmartliving.ro\/index.php\/ro\/register-2-2-2\/","url":"https:\/\/www.opensmartliving.ro\/index.php\/ro\/register-2-2-2\/","name":"\u00cenregistrare - Open Smart Living","isPartOf":{"@id":"https:\/\/www.opensmartliving.ro\/#website"},"datePublished":"2025-07-03T11:08:15+00:00","dateModified":"2025-07-05T08:07:30+00:00","breadcrumb":{"@id":"https:\/\/www.opensmartliving.ro\/index.php\/ro\/register-2-2-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.opensmartliving.ro\/index.php\/ro\/register-2-2-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.opensmartliving.ro\/index.php\/ro\/register-2-2-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.opensmartliving.ro\/"},{"@type":"ListItem","position":2,"name":"\u00cenregistrare"}]},{"@type":"WebSite","@id":"https:\/\/www.opensmartliving.ro\/#website","url":"https:\/\/www.opensmartliving.ro\/","name":"Open Smart Living","description":"Where your home awakens","publisher":{"@id":"https:\/\/www.opensmartliving.ro\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.opensmartliving.ro\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.opensmartliving.ro\/#organization","name":"Open Smart Living","url":"https:\/\/www.opensmartliving.ro\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.opensmartliving.ro\/#\/schema\/logo\/image\/","url":"https:\/\/www.opensmartliving.ro\/wp-content\/uploads\/2025\/06\/logo-removebg.png","contentUrl":"https:\/\/www.opensmartliving.ro\/wp-content\/uploads\/2025\/06\/logo-removebg.png","width":500,"height":500,"caption":"Open Smart Living"},"image":{"@id":"https:\/\/www.opensmartliving.ro\/#\/schema\/logo\/image\/"}}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"opensmartliving","author_link":"https:\/\/www.opensmartliving.ro\/index.php\/author\/opensmartliving\/"},"uagb_comment_info":0,"uagb_excerpt":"Reguli Forum &#038; Politica de Confiden\u021bialitate Reguli Forum Bine a\u021bi venit pe forumul nostru! Pentru a asigura un mediu pozitiv \u0219i productiv pentru to\u021bi, v\u0103 rug\u0103m s\u0103 respecta\u021bi urm\u0103toarele reguli: Fi\u021bi respectuos \u0219i civilizat \u00een toate interac\u021biunile. F\u0103r\u0103 spam, promovare excesiv\u0103 sau publicitate. Nu posta\u021bi con\u021binut ilegal sau ofensator. P\u0103stra\u021bi discu\u021biile relevante pentru subiectele forumului....","_links":{"self":[{"href":"https:\/\/www.opensmartliving.ro\/index.php\/wp-json\/wp\/v2\/pages\/472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.opensmartliving.ro\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.opensmartliving.ro\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.opensmartliving.ro\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.opensmartliving.ro\/index.php\/wp-json\/wp\/v2\/comments?post=472"}],"version-history":[{"count":16,"href":"https:\/\/www.opensmartliving.ro\/index.php\/wp-json\/wp\/v2\/pages\/472\/revisions"}],"predecessor-version":[{"id":563,"href":"https:\/\/www.opensmartliving.ro\/index.php\/wp-json\/wp\/v2\/pages\/472\/revisions\/563"}],"wp:attachment":[{"href":"https:\/\/www.opensmartliving.ro\/index.php\/wp-json\/wp\/v2\/media?parent=472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}