gpspake
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Bulk delete all media uploads- thousands of images@poundsixzeros, that’s one of the plugins I tried. It can’t handle this many images.
I have this same problem. I’ve never been able to get the “Delete posts that are no longer present in your file” option to work.
Steps to reproduce:
1. Import items from CSV file.
2. Confirm that items were imported successfully.
3. Delete all but 25 items from CSV and re-import with identical saved import settings.
4. All originally imported items are still present.Additional details:
– Importing to woo commerce custom post type and using the woo all import plugin
– Original import is ~50k products, second import is 25Forum: Plugins
In reply to: [WordPress REST API (Version 2)] Get featured image from "List Posts" resultsOk, figured out that I need to add the embed param to my url so it ended up looking like this: https://site.com/wp-json/wp/v2/posts?categories=59&per_page=5&_embed
this allows me to get the image url with response[i][_embedded][https://api.w.org/featuredmedia][0][source_url]
Seems kinda clunky but that’ll do. It might be a good idea to provide an option to move the featured image higher up in the tree or make this clearer in the docs.It looks like someone forked the plugin for that very reason: https://www.ads-software.com/plugins/better-rest-api-featured-images/
Forum: Plugins
In reply to: [WordPress REST API (Version 2)] Get featured image from "List Posts" resultsI read this which is basically the same question but unless I’m mistaken, because the featured media link is another api url, I’d have to do a separate call to get the link to the actual image. https://www.ads-software.com/support/topic/featured-image-288?replies=2
Forum: Networking WordPress
In reply to: multisite network with non-wp site at domainOk, I figured out… you can manually change the url from the site edit screen. Here’s more info in a blog post I wrote up about this.
Forum: Networking WordPress
In reply to: multisite network with non-wp site at domainI’ve had a little bit of luck working on this locally but I’m still not out of the water…
my dilemma… I need to set up multisite with subdomains under a domain that is not part of the network? So basically, we have our main site: mainsite.com
and we want to set up a network with subdomains like site1.mainsite.com and site2.mainsite.com.mainsite.com, however is not a WordPress site and is not part of the network. so If I set the network up under multisite.mainsite.com, then new sites subdomains are created with that as the subdomain like: site1.multisite.mainsite.com
but if I set the current site to mainsite.com, then all of the network admin links break because they point to our main non-wp site.
So, here’s what I’ve done, which kinda works (I’m doing everything locally with my hosts file so I won’t know for sure until I get it on a dev box) …
– First I pointed mainsite.com to my local ip in my hosts file and set the network up under mainsite.com
– Next I successfully created two sites. multisite.mainsite.com and site1.mainsite.com, through the network admin panel
– Then, I changed the ‘current site’ in wp-config.php from mainsite.com to multisite.mainsite.com and I removed mainsite.com from my hosts file.
– Now, I can go to mainsite.com and land on our primary website; I can go to site1.mainsite.com and land on the wordpress site on the network; and I can access the network-admin-section under multisite.mainsite.com
– The problem is, since the current site is multisite.mainsite.com, if I try to add a new site to the network, the domain will be site3.multisite.mainsite.com instead of the intended site3.mainsite.comSo I still haven’t found the correct solution here but this might help explain my problem a little better
Forum: Plugins
In reply to: [UTHSC WPCAS] CAS server Single Logout(SLO) handlerHey @alexanoid, sorry for misunderstanding (also for the delay; I’m not getting email notifications for some reason. I’ll make sure to look in to that)
I’ll admit, I’m not familiar with that feature but I’ll talk to our cas server admin to see if he is. If it’s something simple, I’d be glad to add it.
The project is also on github if you’d like to submit a PR directly: https://github.com/uthsc/UTHSC-WPCAS
Forum: Plugins
In reply to: [UTHSC WPCAS] CAS server Single Logout(SLO) handler@alexanoid1, yeah. If you log out of WordPress, it logs you out of CAS.
logout method is here
that method is hooked in to wp_logout here(Sidenote: The “needs work” in the comments there just refers to the logout with redirect option that I was having some trouble with so nothing to worry about there. By default, you will still be logged out of CAS any time you log out of WordPress.)
Forum: Plugins
In reply to: [UTHSC WPCAS] database configuration resets when pulling repolorenzoromagnoli, sorry for the delay here. Hmmm… I’m not sure how pulling from github would cause any of the options in the database to change unless, perhaps, it were de-activated and re-activated; it will, however, overwrite your certificate, which has bitten me a few times when I’ve pulled it down and forgotten to replace the cert.
Forum: Plugins
In reply to: [UTHSC WPCAS] UTHSC WPCAS plugin doesn't work with CAS 4.1.xGreat to hear it’s working for you alexanoid1, Thanks!
Forum: Plugins
In reply to: [CAS Maestro] Redirect Loop Pt. 2Well, CAS is a tricky beast.
Forum: Plugins
In reply to: [CAS Maestro] Redirect Loop Pt. 2Treydock, If I recall correctly, my issue was due to a plugin conflict with WP User Frontend. You may want to try deactivating your plugins and see if you can get it to work on its own.
I think the root cause has to do with cookies not being able to keep session data.
Forum: Plugins
In reply to: [CAS Maestro] Redirect Loop Pt. 2This appears to be a server config or plugin conflict issue so I’m going to resolve it for the time being so it’s not just sitting here open.
I’m not really sure what the root cause might be so if you have any ideas based on that log, I’d love to hear. I’m pretty sure it’s related to a plugin – possibly a caching plugin but I can’t be sure until I kick things around some more. It could also be an htaccess rule or something – which are often modified by caching plugins.
I’m going to try to isolate this redirect problem and I’ll post if I discover why it’s happening.
Forum: Plugins
In reply to: [CAS Maestro] Redirect Loop Pt. 2Just an FYI, I deactivated all plugins and activated the 2014 theme. Same results.
Forum: Plugins
In reply to: [CAS Maestro] Redirect Loop Pt. 2Sent my log file via email.