candell
Forum Replies Created
-
Forum: Plugins
In reply to: [Frontend Reset Password] ERROR: Something went wrong with that!Did anyone find a cause/solution?
Forum: Networking WordPress
In reply to: User role stay logged in across multisiteThank you, will give it a go.
Forum: Developing with WordPress
In reply to: Order by rand onlyI found it, they had installed a plugin called “Post Types Order” to allow them to drag and drop posts. Setting the priority allows the posts to be random on all pages but the page they want to manually order via that plugin.
Thanks for the help
Forum: Developing with WordPress
In reply to: Order by rand onlyThanks folks, I have caching turned off on those pages. What would you suggest for the ‘large priority argument’?
Forum: Developing with WordPress
In reply to: Image sizes helpThanks, scaling is exactly what I needed to hear and have it sorted now.
Forum: Developing with WordPress
In reply to: Modify title tag on specific templateHi Joy
It was the priority, thank you for the suggestion 🙂
Forum: Plugins
In reply to: [WooCommerce] NO Pre-selected shipping optionThank you, the Stack snippets worked perfectly. My Google skills failed me on that occasion.
Forum: Everything else WordPress
In reply to: PDF ThumbnailThat’s awesome thanks, for anyone reading this in the future, the process is thus (for Gutenberg);
- Select an image block
- Enter Media Library (do not try to upload at this point)
- Now choose to upload file
- Click insert to page button
- You now have a thumbnail of the pdf on the page
- Click the link icon in the block editor and select ‘Media File’ to link to the full pdf
You can’t upload the pdf’s beforehand as they won’t show up in the media library when you use the Image block and this process is a little faffy but it seems like the best solution until the File block has thumbnail support.
Forum: Plugins
In reply to: [Frontend Reset Password] Stop Admin EmailThanks Richard.
Forum: Developing with WordPress
In reply to: get_users multiple meta keysOMG, I didn’t notice either. Thanks, that is working 🙂
Forum: Fixing WordPress
In reply to: Prevent sharing login infoHi
I tried a few plugins for the concurrent login but they aren’t very reliable as it was kicking myself out of the website, using the same computer with the same static IP. I ended up turning it off as I had lots of people who genuinely could not log in. There were also others who used a laptop then used a tablet/mobile at the same location (same IP) who would be locked out.
I might try 2FA next but again it isn’t stopping sharing of acccounts, just makes it more of a PITA.
Ideally we need a reliable solution that logs the IP on first visit and only prevents other IP’s from using the same credentials. Obvuosly there will be some people who genuinely need unlocking such as those who may log in at work and again at home but these will be the minority for my website.
If you find anything yourself, please let me know 🙂
Forum: Developing with WordPress
In reply to: get_users multiple meta keysThank you for the reply, I want to show users who do have a value set under offer.
I changed your ‘compare’ => ‘NOT EXISTS’, to ‘compare’ => ‘EXISTS’,
Here’s the generated query, it seems to be ignoring order by
SELECT wpsc_users.* FROM wpsc_users INNER JOIN wpsc_usermeta ON ( wpsc_users.ID = wpsc_usermeta.user_id ) INNER JOIN wpsc_usermeta AS mt1 ON ( wpsc_users.ID = mt1.user_id ) WHERE 1=1 AND ( wpsc_usermeta.meta_key = 'business' AND ( mt1.meta_key = 'offer' ) ) ORDER BY user_login ASCwhereas it should be ordering by ‘business’ which is a meta field.
Forum: Developing with WordPress
In reply to: get_users multiple meta keysHi
Thanks for the help, unfortunately it isn’t ordering by business still.
Forum: Fixing WordPress
In reply to: Prevent sharing login infoThanks Jan
Forum: Developing with WordPress
In reply to: Custom Post Type with new user role oddityEDIT/UPDATE
I have just noticed that when the user has no product, above the Bulk Actions and All dates dropdowns are the filters
All | Published
When the user add a product of their own, this now shows
All | Mine | Published
and shows just their own, which is why I am seeing what I seeing in my initial post. They can always select all to see all users posts.
How do I remove this ALL view, so if they have no posts, it will show 0 and not all?