johanlinnarsson
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Post Duplicator] Duplicate content.No ElwoodP. I thought for a while it had with cache, but that was not the problem. When it occurs, the script loadtime seems to take extra long time to execute when clicking on publish. In my stagingenvironment, I can’t reproduce the issue. I have tried different php-versions in cpanel etc.
There has been alot going on recently, so I have not gotten the time to investigate this further. I will publish more tomorrow and see How it goes.
I’ll let you know any findings.
Regards Johan
Forum: Plugins
In reply to: [Multisite Post Duplicator] Duplicate content.It occured today again in production. I did not encounter this issue in my stagingenvironment (but i have now made a clone of the productionsite to stage). I will make further tests from there and let you know about any findings.
Thanks again for great support and the great work with the plugin!
Awesome MagicStick! You are a hero! ??
Thanks for quick reply. I run php 7.1. So I should not be affected? ??
Forum: Plugins
In reply to: [Multisite Post Duplicator] ACF and images.Hello again.
Just to inform I wiped the whole database and made a completely fresh multisite-installation. I can unfortunately still not use the ACF imagefield. Images is not beeing copied.
Maybe it’s an subdomain issue that causes this? Any thoughts? ??
Kind regards
JohanForum: Plugins
In reply to: [Multisite Post Duplicator] ACF and images.Thanks for the help. Maybe the problem is a cause of that MDP is not 100% compatible with subdomain setups?
I have updated the permalink structure for every multisite. If it’s a permalink issue, could the problem be that the main administration is found at: stage.site.com/administration and I try to post to othersite.anotherdomain.com?
I have the exact same permalink structure selected for every site.
Kind regards
Johan- This reply was modified 7 years, 5 months ago by johanlinnarsson.
Forum: Plugins
In reply to: [Multisite Post Duplicator] ACF and images.Is it supposed that the image from the image-field is to be copied over to the selected multisites?
Thanks for all the help. ??
Kind regards
JohanForum: Plugins
In reply to: [Multisite Post Duplicator] ACF and images.I have just found out that I have “succeeded” copying an image. The problem I get is that the image URL is: https://site1.site.com/wp-content/uploads/sites/2/2017/07/?p=102
So it seems it copied something, but the image is not found in the image library.
And in the image description, it seems that I get content from another field. I will try to delete the whole ACF fileds and start over and see if there is any issues the the existing setup.
- This reply was modified 7 years, 5 months ago by johanlinnarsson.
Forum: Plugins
In reply to: [Multisite Post Duplicator] ACF and images.Thanks for the quick response. I have checked twice that the fields in ACF has been synced. I have tried to resave the settings and renamed the imagefields. Maybe I should check in the database for any clues?
Forum: Plugins
In reply to: [Multisite Post Duplicator] Update post status on linked posts?Thank you MagicStick. That works perfectly. For your notice (it’s not an issue for me) when a post or page is deleted linked post is deleted as well. So far soo good. When you permanently delete a post, it will not be permanently deleted on the other multisite blogs.
No issue for me, but just want to inform you about this ??
All the best to you!
Regards
JohanForum: Plugins
In reply to: [Multisite Post Duplicator] Update post status on linked posts?Hello MagicStick.
Tried your code now. It seems to work nearly perfect. When I change poststatus, everything works great. But when I try to delete I get the following:
Fatal error: Cannot use object of type stdClass as array in /home/xxx/public_html/wp-content/themes/mytheme/functions.php on line 83
It’s still a great start. Any suggestions how to fix this? Line 83 is this piece of code:
switch_to_blog($linked_post[‘destination_id’]);The post is deleted from the main site despite the error, but on the other sites the post is published to, the post remains intact and is not deleted.
Thanks for all the help.
Kind regards
Johan ??- This reply was modified 7 years, 7 months ago by johanlinnarsson.
Forum: Plugins
In reply to: [Multisite Post Duplicator] Update post status on linked posts?Thank you MagicStick. I’ll test it tomorrow and Let you know how the code works. Cheers ??
I think it would be an awesome feature to add the posibilities to delete posts or change poststatus. I understand that it needs som thinking and take your time on this.
Btw I’m going to translate it to Swedish. ??
Forum: Plugins
In reply to: [Yoast SEO] Duplicate URLs in Sitemap XMLHello. I have this issue also. I have tried to change theme and disabled all the plugins in my stage environment. I do not have any cache activated.
In my case one URL is found 5 times in my sitemap. Renaming header or permalink doesn’t seem to affect and even if it’s deleted completely, the 5 links is still available.
Indeed this is strange. Where is this sitemap stored on the server? Or is it stored in the database?
Kind regards
JohanForum: Plugins
In reply to: [Contact Form DB] Display between dates?I manage to get it to work. While debugging I hade this shortcode on the page:
[cfdb-datatable form=”Kontaktformul?r 1″ show=”Submitted,your-name,your-email,your-subject,your-message,submit_time” filter=”submit_time>2015-07-13&&submit_time<2015-07-13″ orderby=”Submitted”]Underneath the shortcode I hade other values that seems to trigger and made the shortcode not working:
submit_time>2015-07-12&&submit_time<2015-07-14
submit_time>14:25:03&&submit_time<14:27:26When all those values was removed everything worked. ??
Forum: Plugins
In reply to: [Contact Form DB] Display between dates?Thank you for quick reply Michael. Impressive! ??
I will take a deeper look at your second link later.
I have tried this shortcode:
[cfdb-datatable form=”Kontaktformul?r 1″ show=”Submitted,your-name,your-email,your-subject,your-message,submit_time” filter=”submit_time>2015-07-13&&submit_time<2015-07-13″ orderby=”Submitted”]It doesn’t show anything? I’m testing this out and only have posts made today from Contact from 7, that’s why I’m selecting from todays date only and I assume it should work?
If I remove the filter attribute, everything is displayed nicely.
Kind regards
Johan