Mary Wheeler
Forum Replies Created
-
Forum: Plugins
In reply to: [Import and export users and customers] Uploading list and managing passwordsJavier,
What Todd was referencing is a password reset url containing a password reset key versus a simple url that goes to the page where a user can request a password reset.
Password reset url:
http://siteurl.com/wp-login.php?action=rp&key=5mUBMjInHtwKNZY3APX7&login=usernameLost Password URL:
http://siteurl.com/wp-login.php?action=lostpasswordI ran into the same issue, we’d prefer not to send passwords to users directly via email for security reasons, so I actually made the following changes, feel free to use this or discard this as you wish. This utilizes the get_password_reset_key() function.
Added a new email variable **passwordreseturl** and the following code to import-users-from-csv-with-meta/importer.php:
// send mail if( isset( $form_data["sends_email"] ) && $form_data["sends_email"] && $mail_for_this_user ): //Because sending email passwords in plaintext is bad // Generate password reset key. $key= get_password_reset_key( $user_object ); $user_login= $user_object->user_login; $passwordreset_url = network_site_url( 'wp-login.php?action=rp&key=' . $key . '&login=' . rawurlencode( $user_login ), 'login' ); $body_mail = get_option( "acui_mail_body" ); $subject = get_option( "acui_mail_subject" ); $body_mail = str_replace("**loginurl**", "<a href='" . home_url() . "/wp-login.php" . "'>" . home_url() . "/wp-login.php" . "</a>", $body_mail); $body_mail = str_replace("**lostpasswordurl**", wp_lostpassword_url(), $body_mail); $body_mail = str_replace("**passwordreseturl**", $passwordreset_url, $body_mail); $body_mail = str_replace("**username**", $username, $body_mail);- This reply was modified 9 years, 7 months ago by Mary Wheeler.
Forum: Everything else WordPress
In reply to: Widget won’t dragI have this exact same error, it won’t work in Firefox, or IE, here are my specifics:
Firefox V 1.0.7
IE 7.0.5335.5 Beta 2 & 6.0 SP2
Wordpress 2.0.2
Apache V. 1.3 on Red Hat LinuxErrors in Firefox Javascript Console:
Error: Sortable is not defined
Source File: http://www.ransim.net/wp-admin/themes.php?page=widgets/widgets.php
Line: 387Error: cols.map is not a function
Source File: http://www.ransim.net/wp-admin/themes.php?page=widgets/widgets.php
Line: 261—————————————-
I’m having the same issue, i get the four pointed cursor but I can’t drag or drop anything in any browser, the sidebars work properly with the theme and I’m not getting any error, I just can’t edit what shows up dynamically.
Of note, in IE 6.0 I can see the little icons for additional options on some of them, but in firefox and IE 7 I can’t see them at all, and even though i can see them in IE 6.0 clicking on them does nothing.
Thanks! I tried the updated widgets.php for IIS fix I found in another thread that didn’t help at all though.