DesignFirm
Forum Replies Created
-
Forum: Plugins
In reply to: [Expire Users] Errors when user tries to reset passwordSorry, it looks like the code block got messed up. It should be:
4. Paste
$checkuser = get_user_by( 'ID', $user_ID );
into that new line.Forum: Plugins
In reply to: [Expire Users] Errors when user tries to reset passwordHi erix,
Yes, I’ll try to be more specific, but I’m not sure if you’re having the same problem.
1. Make sure you’ve undone the changes you made that “worsened” the situation, or reinstall a fresh copy of the plugin to be sure.
2. In the “expire-users” plugin folder, go into the “includes” folder and open “expire-users.php”. (NOTE: Be sure to open this one, and not the file of the same name in the main “expire-users” folder).
3. Navigate to line 205, where it says
function allow_password_reset( $allow, $user_ID ) {
. Insert the cursor after the curly brace and hit return to create a line break.4. Paste `$checkuser = get_user_by( ‘ID’, $user_ID );’ into that new line.
5. Save the file.
That should do it, assuming that your problem is the same as mine was.
Forum: Plugins
In reply to: [Contact Form 7] Safari 9.x ajax form submitting is not working in v4.8I have the same problem with v4.8 in Safari 9.x. I also tested the Contact Form 7 Ajax test page (https://contactform7.com/why-isnt-my-ajax-contact-form-working-correctly/). It too reloads the page on submission in Safari 9.x.
I downgraded to v4.7 and the ajax submission works again.
Forum: Plugins
In reply to: [Expire Users] Errors when user tries to reset passwordActually, all you have to add is
$checkuser = get_user_by( 'ID', $user_ID );
Forum: Plugins
In reply to: [Expire Users] Expired User + BuddyPressI’m not sure exactly what you’re looking to do, but if you want your expiration settings to be set automatically for Buddypress registrations, you can put this code in your functions.php file:
function expire_users_bp_register_form() { if( class_exists( 'Expire_Users' ) ) { echo '<input type="hidden" name="expire_users" value="auto" />'; } } add_action( 'bp_before_registration_submit_buttons', 'expire_users_bp_register_form' );
It will apply your expiration settings once the user has activated their Buddypress membership.
Forum: Plugins
In reply to: [Invite Anyone] Invitation showing broken link of invitationI just checked, and it’s not saving the change for me either…
Forum: Plugins
In reply to: [Invite Anyone] Invitation showing broken link of invitationI had the same issue. It seems the default text was messed up somewhere along the way.
If you go to the “General Settings” tab for the Invite Anyone plugin, you’ll see at the top, “Replacement patterns for email text fields”. The “PTURL%%” that you’re seeing in the email is in the “Footer Text” field a few fields below that. PTURL%% should be %%ACCEPTURL%%.
I made that change and a link then showed up in the email.
Forum: Plugins
In reply to: [CommentPress Core] Edit comments in place?Okay, I’ll see how it goes. Unfortunately, my code is more pastiche and probably isn’t fit for other human eyes. But if I think I have something useful, I’ll share it.
Forum: Plugins
In reply to: [CommentPress Core] Edit comments in place?Hi Christian,
Thanks for the quick response. I suppose I’ll take a stab at it myself. And if I can’t figure it out, I guess I’ll just have to make a bunch of fake profiles and create a demand for the feature. ??
Regards,
ScottForum: Hacks
In reply to: Adding tags between the image and link in wp_list_bookmarks()Super. Thanks!
Forum: Hacks
In reply to: Adding tags between the image and link in wp_list_bookmarks()Thanks. What do you recommend in the interim? This is being presented to a client this weekend, but won’t be handed off to them for another few weeks. Should I add in your suggested “img_after” argument to the bookmark-template file? Or should I create a separate function? (And if so, how do I do this without causing conflicts?)
Thanks,
Scott