wpublish2
Forum Replies Created
-
This video is old, but shows the features I need (Resources, Persons, Ranges, etc):
Now I see, The Vendor Registration page depends on WCFM Membership plugin and is created automatically. No worries, I got it solved, thanks.
Forum: Plugins
In reply to: [One Click Demo Import] Too many requests – pt-ocdi/plugin_page_setup filterThanks Gregor, that is solved.
Regards!
Forum: Plugins
In reply to: [One Click Demo Import] Too many requests – pt-ocdi/plugin_page_setup filterThis issue happened to me and my customer, in different servers. I don’t have any access to the server of my customer, so I think this fail will happen on any server.
Yes, it works, thank you so much Marc and Harshad!
Hi Marc,
I think a filter after this will do the job:
public function create_tasks_for_preload_site_urls($type) {
$urls = $this->get_site_urls();
$urls = apply_filters(‘wpo_filter_preload_urls’, $urls);Thank you.
Forum: Plugins
In reply to: [Safe SVG] Consider turn ‘sanitize’ function publicHi Daryll, thanks by your time. For example, I’m a developer and my theme has static SVG files included, they are used to compose the theme design and some icons. The theme allows users to add new SVG files to this folder if they wish, or upload it via WordPress. So it would be helpful to programmatically open SVG files with PHP and filter the content with your plugin. I was looking the secure list of attributes to SVG files via wp_kses and the list is huge.
Cheers, Eduardo
Forum: Plugins
In reply to: [One Click Demo Import] Display preview image even if only one import optionMaybe it can be useful to other people. I created a secondary demo import:
// Dumb install option that will be hidden, because OCDI needs a second // install option to display the preview image. Without this, OCDI shows only an 'Import Demo Data' button array( 'import_file_name' => 'Hidden import', 'local_import_file' => $data_path_full . 'import-demo-data.xml', 'local_import_widget_file' => $widgets_file_full, 'local_import_customizer_file' => $menu_file_full, 'import_preview_image_url' => $preview_image, ),
And I properly ‘injected’ this inline CSS on WordPress admin:
.js-ocdi-gl-item-container .ocdi__gl-item.js-ocdi-gl-item + div { display: none !important; }
- This reply was modified 6 years, 4 months ago by wpublish2.
Forum: Plugins
In reply to: [One Click Demo Import] Force second install attemptHi, thanks for this awesome plugin.
I’ve configured the demo files to my theme, thanks to the instructions of the official page on Github. In my case, after some import tests, I found that I always get a 500 error on first install. But if I refresh the page and try to import again, it install everything as I need. So I wonder, is there some way to automatically force a second install attempt if the first install fails?
Just adding info: in last case, a Javascript solution to force a second install is acceptable, like: if 500 error, click again on certain button to restart install proccess, hide the error and etc.
Cheers,
EduardoForum: Plugins
In reply to: [One Click Demo Import] Force second install attemptJust adding info: in last case, a Javascript solution to force a second install is acceptable, like: if 500 error, click again on certain button to restart install proccess, hide the error and etc.