timbergski
Forum Replies Created
-
Thanks but I’ve staged / migrated sites many times before, and I’m familiar with the procedures. Everything in my cloned site work except for the UM plugin bug I’ve reported.
Hello, are you able to help me with this any more? I appreciate that it might be difficult to diagnose, but pointers to where relevant state (corrupted?) might be stored would be appreciated. Thanks.
Thanks, but that doesn’t fix it. The permalink setting correctly shows the new domain. The .htaccess file has been written but does not (of course) mention the domain.
Where else is there state that might have been corrupted? I copied the files along with their ownership and permissions, but maybe that didn’t work somehow and there’s a mismatch elsewhere in the file system?
Forum: Plugins
In reply to: [Boxzilla] Set cookie to disable popupsThanks!
Thanks for the replies. I was able to fix my problem.
Thanks, but those buttons don’t appear in the form when I go to edit it. So you mean: apply CSS fixes, even though the hard-wired layout assumes two buttons? And buttons don’t appear in the list of items I can add to the form. I can do it, but it’s all too hard-wired to make it anything other than a hack.
Yes thanks – with the code in my last response.
To answer my own question (after some web searching):
um_fetch_user( $userId ); $lastLoginTime = um_user( '_um_last_login' );
Thanks, but the link you reference doesn’t provide programming documentation. I don’t know how to look that key up – or in what object for a given WP user ID value. Could you please provide code, or point me at a page with example code?
That’s not working for me (not exactly sure what’s happening but it definitely breaks my code). Does the size have to correspond to the size of one of the stored images?
Thanks. I’d already done that ?? but thought maybe there was a function for doing it. Good to know it won’t change.
Thanks, but that doesn’t work: it returns the contents of the wp_usermeta table for that key, which is just “profile_photo.png”.
When I look at the URL for a user profile picture as displayed in their page, I get something along the lines of:
<my site>/wp-content/uploads/ultimatemember/1/profile_photo-190x190.jpg?1680617169
I was using the “UM()->uploader()->get_upload_base_url()…” variant above because that gets the right answer – but not when the user isn’t logged in.
- This reply was modified 1 year, 7 months ago by timbergski.
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Replace close button (X)Thanks, I’ve done it; the change was very straightforward – well done for making such a customisable system.
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Replace close button (X)Thanks. I don’t have a directory wp-content/mu-plugins currently. Presumably if I create it, and place my new template in it at that location, it won’t be overwritten if I upgrade the plugin?
Thanks Aswin