Ross Wintle
Forum Replies Created
-
No, we’re not using the private function – we’ve just edited some roles with it.
Interestingly, I got a response from http://mysite.com/wp-json that included references to the core endpoints, and it turns out that I’d forgotten that I’d installed the WP REST API plugin to get the core endpoints visible AND I’d installed the old deprecated v1, not the current v2.
I’ve now got the correct version 2 of the WP REST API plugin installed and Jetpack is working.
Thanks for helping me through – and sorry for taking up your time.
Forum: Plugins
In reply to: [Login Widget With Shortcode] Logout redirect doesn’t workThanks for the response. That’s kinda what I would expect to happen to be honest. If I install two plugins that both do redirect on logout then I’m probably doing something wrong. But sounds like you’ve had problems in the past.
Perhaps having “always redirect logout” as an option would make this work for everyone?
I’ve already added the code to my theme. Thanks for the tip though.
Forum: Plugins
In reply to: [Select 2 Post Selector] Not workingHi there,
Thanks for having a go at using my plugin.
There aren’t any setting here. This plugin is intended for use by developers who can integrate the fancy dropdowns into other parts of WordPress using code.
Examples of how to integrate this pluign with your own code are given here: https://wordpress.org/plugins/select2-post-selector/other_notes/
I suspect you probably want something much easier to use for related posts. Try some of the plugins listed in this search: https://wordpress.org/plugins/search.php?q=related+posts
If you still think you need help with THIS plugin then drop me another line with more detail about what you have done and where it’s going wrong, and I’ll see if I can help.
Thanks
Forum: Plugins
In reply to: [Theme My Login] Reset Passsword Issue // May 2016I actually fixed this to use HTML code. I’m not sure if it was @jfarthing84’s intention to use HTML markup or leave link interpretation to the email client. In any case, here’s what I put in class-theme-my-login.php:
$message = '<p>'; $message .= __( 'Someone requested that the password be reset for the following account:', 'theme-my-login' ) . "\r\n\r\n"; $message .= network_home_url( '/' ) . "\r\n\r\n"; $message .= '</p>'; $message .= '<p>'; $message .= sprintf( __( 'Username: %s', 'theme-my-login' ), $user_login ) . "\r\n\r\n"; $message .= '</p>'; $message .= '<p>'; $message .= __( 'If this was a mistake, just ignore this email and nothing will happen.', 'theme-my-login' ) . "\r\n\r\n"; $message .= '</p>'; $message .= '<p>'; $message .= __( 'To reset your password, visit the following address:', 'theme-my-login' ) . "\r\n\r\n"; $url = network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ); $message .= '<a href="' . $url . '">' . $url . "</a>\r\n"; $message .= '</p>';Forum: Plugins
In reply to: [Theme My Login] Reset Passsword Issue // May 2016This looks like an issue with the email template code.
Fix is on line 1163 of
theme-my-login/includes/class-theme-my-login.php(from version 6.4.4) which should be something like:$message .= network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . "\r\n";(There’s some additional markup which is making the link inside invalid HTML – there may be other more appropriate ways to fix this)
I appreciate the overall change and re-brand. This will be good for the plugin in the long run. I get why it happened.
But WOW – this was bad for users.
- NOTHING in the plugin changelog to say that this happened.
- It was a MINOR 0.0.x release. I get that it didn’t change any functionality, but a larger version number bump might have drawn attention to what you just did.
- A green monster icon appeared in my Dashboard menu without notification. A MONSTER?! I TOTALLY freaked out.
At the very least, update the changelog in the README to say what’s happened. Please.
Forum: Plugins
In reply to: [wpMandrill] Will this plugin work with MailChimp transactional?Think I answered my own question. This from the transition FAQ’s at https://mandrill.zendesk.com/hc/en-us/articles/217467117-Mandrill-MailChimp-Transition-FAQs:
Will my current set-up continue to work?
Aside from requiring sending domains to be properly configured, these changes will not affect any integrations with Mandrill. Any existing API keys will continue to work, and our API endpoints and functionality aren’t changing. Other features such as webhooks, subaccounts, and inbound email processing also won’t require any changes.
Forum: Fixing WordPress
In reply to: Problems with get_avatar()Hi @pajohns
The
get_avatar()function is both filterable (you can hook a filter function to it) and pluggable (you can replace it entirely with a function in a plugin), so there’s lots of opportunity for the output to get mangled. I’d ask what plugins you have installed and if any of them might be modifying the avatar output.Do you get the same poor quality output if you disable all your plugins?
Ross
Forum: Fixing WordPress
In reply to: WP as a document distribution and display systemHi Andrew,
WordPress Download Manager is a good, free plugin that sounds like it will do what you need.
https://wordpress.org/plugins/download-manager/
Ross
Conversely, if your site runs on a sub-domain, such as blog.mywebsite.com then you should be allowed a from email address on the top-level domain, such as me@mywebsite.com
The comparison is the wrong way around. You need to get the domain from the email address and ensure that that is at the END of the website’s domain.
The last line should probably be something like:
return substr($site_domain, - (strlen($email_arr[1]))) === $email_add[1];I’ve not tested this code, but it’s an idea that may work.
Oh, and you should probably test that the
explode()works as well before accessing$email_arras an array;explode()can return false!Of course, it’s possible that the email address could be from a subdomain and the website on the main domain.
Perhaps we just need to rethink this whole thing through again?
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] register_http_request_failedGood to know you’ve got it working! Mine is definitely a networking issue. Really odd. Think wordpress.com must be blocking an IP range or something.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] register_http_request_failedI’m getting the same IP(s) on my DO droplet as I’m getting in other places. My DO droplet is already using Google’s DNS. DNS resolution is fine
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] register_http_request_failedCorrect. It’s ICMP. Which could be specifically blocked. But I wouldn’t be trying to ping and traceroute it if HTTP was working. A manual HTTP to port 80 times out too. The ping and traceroute were diagnostic attempts.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] register_http_request_failedThanks @jeronemo. That’s a good tip. If I can’t make any sort of connection to wordpress.com then changing from HTTP to HTTPS isn’t going to make a difference though.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] register_http_request_failedI’m having this same issue on a DO Droplet. See: https://www.digitalocean.com/community/questions/wordpress-jetpack-connection-issues-can-t-connect-to-anything-on-wordpress-com
Can you connect to your server and try pinging wordpress.com to see if you can connect? Wondering if something is blocking it on my network.