Kawah Buku
Forum Replies Created
-
Again @robert681, that’s great news. Can’t wait for this update to come into plugin’s simple setting. I really love this 2FA plugin because of its simplicity.
Hi @carmpocalypse and @robert681,
Thank you to you both. I really appreciate it. After a few tweaks, I found a way to insert the additional tab on My Account in
functions.php
.I name that tab ‘Security’ and the link will be https://example.com/account/security as their endpoint URL.
Anyone who wants to use this code may rewrite ‘security’ to any term they prefer.
// ADD SECURITY TAB ON MY ACCOUNT add_action( 'init', 'register_security_endpoint'); /** * Register New Endpoint. * * @return void. */ function register_security_endpoint() { add_rewrite_endpoint( 'security', EP_ROOT | EP_PAGES ); } add_filter( 'query_vars', 'security_query_vars' ); /** * Add new query var. * * @param array $vars vars. * * @return array An array of items. */ function security_query_vars( $vars ) { $vars[] = 'security'; return $vars; } add_filter( 'woocommerce_account_menu_items', 'add_security_tab' ); /** * Add Security tab in my account page. * * @param array $items myaccount Items. * * @return array Items including New tab. */ function add_security_tab( $items ) { $items['security'] = 'Security'; return $items; } add_action( 'woocommerce_account_security_endpoint', 'add_security_content' ); /** * Add content to the Security tab. * * @return string. */ function add_security_content() { echo "<h1>Security</h1>"; echo 'With two-factor authentication, also called 2-Step Verification, you can add an extra layer of security to your account in case your password is stolen. After you set up two-factor authentication, you can sign in to your account with your password and your phone.'; echo do_shortcode('[wp-2fa-setup-form show_preamble="false"]'); }
- This reply was modified 2 years, 4 months ago by Kawah Buku.
Hi @zorem, thanks!
Forum: Plugins
In reply to: [TikTok] Blank page when click on TikTokDear @tiktokforbusiness, to be honest, I am almost giving up on figuring out what more I could do to ensure this plugin works. I attached all the docs as you requested for your reference.
1. Video: https://drive.google.com/file/d/1Fxu7L83m1qDUM84fvsrQN3iwEjaxeRLEy_eZRw36/view?usp=sharing
2. Extension screenshot: https://drive.google.com/file/d/1lWPmwrocomezoLnSJ5mKnBpGbnJawuOR/view?usp=sharing
3. Pop-up setting screenshot: https://drive.google.com/file/d/1KJv-jxfgNqCw4afIWCNoh43Jvq0fOvHK/view?usp=sharing
4. Cookies setting screenshot: https://drive.google.com/file/d/1strFF7GUUTeaK8O6fvgp6GCz7UshDWmg/view?usp=sharing
5. Security setting screenshot: https://drive.google.com/file/d/1e525nuBxvs7WEt8WT979UrgOwyH7paIo/view?usp=sharing
6. Logs: https://drive.google.com/file/d/1rPin8S8siwvvI2s__U_gQchCFTAPFnxl/view?usp=sharing
I really hope all these could reveal something that we miss looked before.
Forum: Plugins
In reply to: [TikTok] Blank page when click on TikTokHi @tiktokforbusiness, we don’t have any ad blocker installed on our computer and browser.
Forum: Plugins
In reply to: [TikTok] Blank page when click on TikTok@tiktokforbusiness is there any update on this issue from your team?
Forum: Plugins
In reply to: [TikTok] Blank page when click on TikTokHere is the video screenshot as you requested: https://drive.google.com/file/d/1zJhUJTpyjP0L5oWG_56YzBCsMvK17HbG/view?usp=sharing
Forum: Plugins
In reply to: [TikTok] Blank page when click on TikTokI even tried using a different browser (first, Chrome, then later Firefox). The result is still the same.
Forum: Plugins
In reply to: [TikTok] Blank page when click on TikTokHi @tiktokforbusiness, I tried your suggestion using Incognito without blocking any cookies, plus cleaning all caches (even my browser history). And it turns out is still the same. When I click the TikTok tab, it loads for some time, and later it just blanks.
Forum: Plugins
In reply to: [TikTok] Blank page when click on TikTokHi @tiktokforbusiness, we already set “Allow all cookies” on our browser. Yet the problem persists. Is there any way to solve this?
Forum: Plugins
In reply to: [TikTok] Where is this plugin located on wp-adminThis problem was solved; however, a new problem arose. When I click on the TikTok extension, there is nothing–just a blank canvas. Something not loading, I supposed. Should I continue writing about this problem in this thread or should I create a new thread for this?
Forum: Plugins
In reply to: [TikTok] Where is this plugin located on wp-admin@jpry thanks a lot. The first option is working. I think maybe because the new navigation on WooCommerce made certain extensions hides. I just reverted back to normal navigation and it worked.
Forum: Plugins
In reply to: [TikTok] Where is this plugin located on wp-adminWe used version 6.5.0 for WooCommerce
This is the tracking link and the example: https://teleport.delivery/track?tracking_number=TP488518819178940MY