ts_hamlet
Forum Replies Created
-
Yes, changing the phpBB cookie to .mydomain.org worked perfectly! Thanks ??
Not sure if you’d prefer this as a separate request, but i’d like to link the users (for a single-sign on) but both wordpress users and phpBB users have different id’s. How can i link the two?
Hi, thanks for the quick reply. I have followed all of the above steps and the login loop is still happening.
In phpBB, allow remember me logins is yes, remember me key expiration length is 0 days. WP cache and phpbb cookies deleted frequently.
I am currently testing this on my local machine before pushing to live server, on a virtual host, dev.mydomain.org. So, phpBB cookie is .dev.mydomain.org (although there is no difference if i use dev.mydomain.org (minus the initial dot)). I have also tried setting this to localhost but makes no different to whether i can log into to wordpress or not.
Forum: Plugins
In reply to: Plugin pagesTo be clear – i am looking for a custom bulk action to display the output of a bulk operation in a custom page – but i can’t seem to find a way of loading the custom page in the custom bulk process.
Forum: Plugins
In reply to: [WooCommerce] Adding icon to button in admin orders pageIgnore previous post, the glyph is now showing in the button fine.
The problem i am now having is displaying JUST the icon. At the moment it displays the icon and the link text. The other buttons don’t do this, despite having the link text defined too (and if i leave the text blank in the above array, i lose the data-tip, which i want).
Forum: Plugins
In reply to: [WooCommerce] Adding icon to button in admin orders pageHere is my plugin code to add a new button to the orders page:
function foo_add_my_action($actions, $the_order){ /** * Merge arrays so that our button is first */ $newActions = []; if($the_order->is_paid()){ $newActions['myLink'] = array( 'url' => plugin_dir_url( __FILE__ ) . 'somepage.php?bookId=' . $the_order->id, 'name' => 'my link', 'action' => 'my-link' ); } return array_merge($newActions, $actions); } add_filter( 'woocommerce_admin_order_actions', 'foo_add_my_action', 10, 2);
And the css rule:
.my-link:AFTER{ content: "\f227"; }
…results in a button (that works btw) with the text my-link and a square with F227 in it.
Forum: Plugins
In reply to: [WooCommerce] Adding icon to button in admin orders pageEven with my own stylesheet added, it does not seem to add the icon to the button. Instead i get the button text, with a square box with the unicode or hex code of the icon – so the stylesheet is actually adding the content – just not rendering it as an icon?
Forum: Fixing WordPress
In reply to: Blank editor after updateJust updated to 4.4.2 and problem is still present.
Forum: Fixing WordPress
In reply to: Blank editor after updateWhen i edit the page and get the blank editor, firebug is giving me the following console errors:
ReferenceError: tinymce is not defined
https://mysite.com/wp/wp-admin/post.php?post=75&action=edit
Line 2456ReferenceError: tinyMCE is not defined
https://mysite.com/wp/wp-includes/js/tinymce/langs/wp-langs-en.js?ver=4208-20151113
Line 235ReferenceError: tinymce is not defined
https://mysite.com/wp/wp-admin/post.php?post=75&action=edit
Line 2451Forum: Fixing WordPress
In reply to: Blank editor after updateI have disabled all plugins, and the editor still loads blank (although there is text in the textarea if i highlight it). No change when i change the theme to twenty fifteen.
Forum: Fixing WordPress
In reply to: Add/edit Page – Default screen optionsTo be clear – i am not looking at hiding boxes, simply making sure that certain ones are checked (ticked) by default.
Forum: Fixing WordPress
In reply to: Add/edit Page – Default screen optionsHi, thanks for the reply. I have copied this code into my child-themes functions.php:
add_action('admin_init', 'set_user_metaboxes'); function set_user_metaboxes($user_id=NULL) { // These are the metakeys we will need to update $meta_key['order'] = 'meta-box-order_post'; $meta_key['hidden'] = 'metaboxhidden_post'; // So this can be used without hooking into user_register if ( ! $user_id) $user_id = get_current_user_id(); // Set the default order if it has not been set yet if ( ! get_user_meta( $user_id, $meta_key['order'], true) ) { $meta_value = array( 'side' => 'submitdiv,formatdiv,categorydiv,postimagediv', 'normal' => 'postexcerpt,tagsdiv-post_tag,postcustom,commentstatusdiv,commentsdiv,trackbacksdiv,slugdiv,authordiv,revisionsdiv', 'advanced' => '', ); update_user_meta( $user_id, $meta_key['order'], $meta_value ); } // Set the default hiddens if it has not been set yet if ( ! get_user_meta( $user_id, $meta_key['hidden'], true) ) { $meta_value = array('postcustom','trackbacksdiv','commentstatusdiv','commentsdiv','slugdiv','authordiv','revisionsdiv'); update_user_meta( $user_id, $meta_key['hidden'], $meta_value ); } }
But it seems to make no difference?
Forum: Plugins
In reply to: [Power Menus] improper redirectFurther testing, when there is no secure page set, the problem goes away. But then a user i do not want can see the content i am trying to hide, which makes the plugin quite pointless.
What is it about the secure page that is causing this issue?
Forum: Themes and Templates
In reply to: [Engrave (Lite)] No Pre-Header Menu on Small ScreensI’m still stuck with no solution, if you find one please let me know.
Forum: Themes and Templates
In reply to: [Engrave (Lite)] No Pre-Header Menu on Small ScreensI am having a problem with the dropdown menu not appearing when the viewport is resized when using a child theme. My menu is the Primary Header Menu, and using the parent theme the dropdown menu displays perfectly, but does not appear with a child theme (despite no other files apart from the stylesheet being edited in the child theme).
Any more information available about this? Is it a bug? I couldn’t find anything in the documentation about it so assume it isn’t supposed to happen.