kelsjc
Forum Replies Created
-
Hi @rur165
Yes, thank you so much!!
Forum: Plugins
In reply to: [Admin Menu Editor] Same user role can’t access pluginI just found out the issue. After a deep investigation, found a global css hiding the element for that specific user. Sorry for that, nothing related to your plugin. It craked my head to find that today.
Forum: Plugins
In reply to: [Admin Menu Editor] Same user role can’t access pluginHi @whiteshadow,
I am already the main Admin and I created another WP user with Admin role. The main user I can do anything, but with this second user, I am able to create staff members, but not to insert categories or organize items.
The point is not Bookly because I created a user with same role, so it should be able to do the same thing, right? This is why I guess is something related to Menu Editor.
Forum: Developing with WordPress
In reply to: Log into wordpress accounts within iframe@delanthear check this scenario and let me know if it’s correct
WP1 — (iframed WP2)
On theme/functions.php in WP2
add_action( 'send_headers', 'add_header_xua' ); function add_header_xua() { header( 'Content-Security-Policy: frame-ancestors https://WP2/page' ); } add_action('wp_head', 'iframe_load_setup'); function iframe_load_setup() { // If this is the iframe login page, remove the headers if ( is_page('WP2_PAGE_SLUG') ) { remove_action( 'login_init', 'send_frame_options_header', 10, 0 ); } }
Forum: Developing with WordPress
In reply to: Log into wordpress accounts within iframe@delanthear all this code you put on the functions.php in iframed site, right?
The domain is repeated twice on the first part?
IS this URL from the MAIN site or IFRAMED one?I’m getting conection refused anyway :/
Any idea?
Forum: Developing with WordPress
In reply to: Log into wordpress accounts within iframeHi all
I put this mentioned code on my functions.php and I got the following error:Refused to frame ‘https://mydomain.com/’ because an ancestor violates the following Content Security Policy directive: “frame-ancestors FULL-URL”.
How can I solve this?
Thanks
Forum: Developing with WordPress
In reply to: Log into wordpress accounts within iframeHi @delanthear
I am facing the same issue as you did, tried but still not working.
How u did? Can u tell me step by step?Did you put the code into functions.pho on iframed WP (wp inside) or the WP which hold the page (wp outside)?
function add_header_xua() { header( 'Content-Security-Policy: frame-ancestors FULL-URL' ); } add_action( 'send_headers', 'add_header_xua' );
Also, what else?
Forum: Plugins
In reply to: [Delete Me] HTML tagHi Clint
Finally I got it working! ?? Here are the problems found:
1) I had deactivated and forgot to activated the plugin again (this is why I got only text). Shame! Sorry for that!
2) The link was still missing, blank value. I realise that I was logged as admin and administrators cannot delete themselves. This is not critical but I had no idea what was going on. So would be easier if you put a message like “The link is not available for administrators”
Now I am getting another problem and hope you can give me a light.
I am using the WP Theme Superlist (https://themeforest.net/item/superlist-directory-wordpress-theme/13507181). When the user delete its account, it all goes away except the marker on google maps. So how can I change your code in order to also delete the marker on the map? Can you help me with this issue? Many thanks!
Regards,
Kelson
Forum: Plugins
In reply to: [Delete Me] HTML tagAlso I have put add_filter but still do not work. Should i change the name of “widget_text”?
add_filter( ‘widget_text’, ‘do_shortcode’ );
Tks
Forum: Plugins
In reply to: [Delete Me] HTML tagHi Clint
I used a text widget and wrote [plugin_delete_me /] but still shows me as a text not as a link. Can you please help me?
Thanks
Kelson
Forum: Plugins
In reply to: [Delete Me] HTML tagN/A
- This reply was modified 6 years, 12 months ago by kelsjc.
Forum: Plugins
In reply to: [Delete Me] HTML tagHi Clint
I am trying to use Delete Me in a WP theme. The page i want to use it, the html is constructed by an php array, so i cannot insert the php code on it.
When I use [plugin_delete_me /] directly on the page, i see only the text
[plugin_delete_me /], no link, no label.What is going on, why do i see text? Or…Is there any html code to call this function?
Thanks
Kelson
- This reply was modified 6 years, 12 months ago by kelsjc.