meadows19
Forum Replies Created
-
Forum: Plugins
In reply to: [Clarify Password Reset] Just want to clear the generated passwordHello,
Thanks for your reply and help!
So basically, it’s only this one line?
/* Version 1.1 */ /* * Clears the auto-suggested password to avoid confusing users. * */ jQuery( document ).ready( function( $ ) { /* Clear the initial password suggestion from WordPress */ $( '#resetpassform input[name=\'pass1\']' ).attr( 'data-pw', '' ) });
Now I need to use this:
add_action( 'login_enqueue_scripts', array( $this, 'add_scripts' ) );
and this
// Add the JS that does the JQuery/Ajax password field tweaking wp_enqueue_script( 'flizcpr-password-js', plugin_dir_url( __FILE__ ) . 'js/flizcpr-password.js', array( 'jquery' ) // Depends on jquery ); // Make sure that our JS can find the Ajax endpoint, and knows whether // to attempt the browser fix wp_localize_script( 'flizcpr-password-js', 'flizcpr', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ), 'savefix' => get_option( 'flizcpr_savefix' ) ) );
to try and make a custom plugin. I’m going to try and figure that out and hopefully will post back here to let you know how it goes.
Thank you again.
Forum: Plugins
In reply to: [Plugin Logic] Maybe you need to whitelist “.php”Can you just put .php in the “Active on” box for each plugin?
Then it will load that plugin on any page containing “.php”
What do you think?
Forum: Plugins
In reply to: [SparkPost] Embed images in emailsYou can use C:ID method or Base64 method and embed the images in the actual email. So they get sent together, and not served from a remote location.
See more information here: https://sendgrid.com/blog/embedding-images-emails-facts/
Would be excellent if this plugin could also support this. Maybe an option that if the email has any images linked from the website, they can be embedded by CID or Base64 comprressed.
Right, that’s what I guessed.
It should be in the “Transactional” category and disallow choosing recipients.
But it’s been placed in the “WordPress defaults” category instead, and allows recipients.
It’s also the same with the “User Email Changed” notification. I’ve set it to send to Subscribers, but it only sends to the actual user who changed their email address, as if it was a transactional mail.
So I guess the categories have just got a bit muddled up, but it does exactly what I actually wanted (send only to the relavant user), so no complaints from me!
Anyway, thanks again for this wonderful product, and looking forward to the next version!
That’s really strange.
I understand theoretically that’s how it *should* work.
But I’ve set it up exactly like that and it ONLY sends to the user who changed their password. Not to any other subscriber.
Any idea what’s going on?
- This reply was modified 8 years, 2 months ago by meadows19.
Can’t you just use the “User Password Changed” notification but set the recipient to be ‘subscribers’
Then it gets sent to the users themselves, when they change their passwords.
It seems to work for me. Or have I misunderstood something?
Forum: Plugins
In reply to: [Force Login] Whitelist examplesThank you. I’ll give it a try.
Forum: Plugins
In reply to: [Force Login] Whitelist examplesHello
Thank you for your reply and suggestions. I had a go at figuring it out. Does this seem like it would work?/** * Filter Force Login to allow exceptions for specific URLs. * * @return array An array of URLs. Must be absolute. **/ function my_forcelogin_whitelist( $whitelist ) { // whitelist URL if query string contains 'parameter' if( is_home() && (isset($_GET['rcpga-invite-key']) || isset($_GET['crfw_cart_hash'])) ) { $whitelist[] = site_url($_SERVER['REQUEST_URI']); } return $whitelist; } add_filter('v_forcelogin_whitelist', 'my_forcelogin_whitelist', 10, 1);
My other question is: what’s the difference between the Bypass Force Login function and the Whitelist URLs function? And when would I use one or the other?
Thank you once again for this plugin and for your help.
Forum: Plugins
In reply to: [Cart recovery for WordPress] ExtendingSuper impressive that the developer not only replied, but took the request seriously! I’ve bought the plugin just because of that attitude and to show my support.
Forum: Plugins
In reply to: [Indicate External Links] Remove symbol underlineWhat a quick response. Thank you.
The site is blocked for non logged in users, but I’ve made a screenshot:
So far, I’ve managed a workaround by putting this in my custom CSS stylesheet.
/* Make external arrow link bigger and remove underline*/ .extlink sup:after { font-size: 1.5em !important; text-decoration: none !important; }
That removes the underline (and also makes the arrow a little bigger).
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Statistics doesn’t workAre you using Goldhat’s plugin, or the original?
Thanks.Forum: Plugins
In reply to: [SparkPost] From says ‘via sparkpostmail1.com’Thank you. That worked!
Forum: Plugins
In reply to: [SparkPost] From says ‘via sparkpostmail1.com’Same here.
Any answer about how to get rid of this?
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Statistics doesn’t workthank you! that would be helpful
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Statistics doesn’t workNsaral, did you manage to fix the problem? Please let me know!
Thanks!
- This reply was modified 8 years, 3 months ago by meadows19.