Forum Replies Created

Viewing 13 replies - 166 through 178 (of 178 total)
  • Plugin Contributor Daryll Doyle

    (@enshrined)

    Thanks Chuck,

    I’ll take a look at this tonight and push up a fix for it then update here when that’s done ??

    Thanks for the report!

    Cheers,
    Daryll

    Plugin Contributor Daryll Doyle

    (@enshrined)

    Hi Michael,

    Sorry for the late reply.

    As long as plugins use the standard WP upload process then this plugin should sanitise them as it just hooks into the uploader.

    Cheers,
    Daryll

    Plugin Contributor Daryll Doyle

    (@enshrined)

    Hi Chuck,

    What sort of formatting do you mean? As in the plugin is adding whitespace to the SVG?

    Cheers,
    Daryll

    This seems to work for me in the new ACF Pro. Although it could probably use some checking over

    add_action('admin_footer', function() {
    
    	$screen = get_current_screen();
    	if ( $screen->base == 'post' ) {
    		echo '
    		<!-- ACF Merge Tabs -->
    		<script>
    		var $firstBox;
    			jQuery(document).ready(function(){
    				var $boxes = jQuery("#postbox-container-2 .postbox .acf-tab-group").closest(".inside");
    
    				if ( $boxes.length > 1 ) {
    
    				    $firstBox = $boxes.first();
    
    				    $boxes.not($firstBox).each(function(){
    					    jQuery(this).children(".acf-field:not(.acf-tab-wrap)").addClass("hidden-by-tab").appendTo($firstBox);
    					    jQuery(this).children(".acf-tab-wrap").children("ul").children("li").removeClass("active").appendTo($firstBox.children(".acf-tab-wrap").children("ul"));
    					    jQuery(this).closest(".postbox").remove();
    				    });
    
    				}
    			});
    
    		</script>';
    	}
    
    });
    Plugin Contributor Daryll Doyle

    (@enshrined)

    Thanks! That focuses on SVGs made by WordPress which pose less of a security risk than user uploaded SVGs, which this plugin aims to help with. That said, thanks for letting me know!

    Thread Starter Daryll Doyle

    (@enshrined)

    Hi Tara,

    Thanks for your insights, unfortunately this didn’t fix the issue as I had already tried those steps.

    It seems that the problem was in my varnish cache, for some reason after disabling varnishd and setting my apache config back to listen on port 80, when I accessed wp-admin, it informed me I needed a DB update and went about it perfectly.

    Not sure why varnish was playing up but there you go.

    Cheers,
    Daryll

    Plugin Author Daryll Doyle

    (@enshrined)

    Hi Niels,

    I’m not sure where your host gets it’s information but I must say I don’t agree with them! Unfortunately, there isn’t a lot of we can do about them disabling it other than asking them to enable it for you.

    Pulling the widget into another widget won’t work as it’s the fetching of the feed that’s the problem, not displaying it. That said, I have added another level of fallback into version 1.1.1. I’m not overly hopeful but if you want to give it another try then feel free.

    I hope you find a solution to your problem.

    Cheers,
    Daryll

    Plugin Author Daryll Doyle

    (@enshrined)

    Hi Niels,

    Unfortunately due to the way the plugin works, I don’t think there is a workaround for this issue. Using PHP to get the content is fairly standard and I can’t see any reason for your host to block this functionality.

    Using an iFrame isn’t an option for this plugin due to the way it works. An iFrame is basically a window through to the site that’s being requested, we don’t want to see what’s being requested, we need the information back in the PHP to format etc.

    Whilst I may find a workaround for this in the future, this isn’t a problem that I plan to fix in the near future.

    For now, I would suggest asking your hosting provider to open up this content to the whitelist.

    Sorry for any disappointment this may cause and do let me know if I can help you in any other way.

    Cheers,
    Daryll

    Plugin Author Daryll Doyle

    (@enshrined)

    I see. I don’t think it’s a conflict then. That error usually comes when the feed can’t be retrieved by the plugin.

    I uses two methods of accessing the feed, Curl and file_get_contents as a fallback.

    Can you confirm that you’re running version 1.1?

    Plugin Author Daryll Doyle

    (@enshrined)

    Hmm, how strange. I’ve added your feed to my dashboard and that seems to be working completely fine: https://i.imgur.com/2omNj1B.png

    This means it’s definitely the Dashboard Custom Feed plugin having issues, rather than the admin version.

    Are you seeing any PHP errors anywhere when you have WP_DEBUG set to true? Alternatively, are there any other plugins running that may be conflicting with adding widgets to the dashboard?

    Plugin Author Daryll Doyle

    (@enshrined)

    Hi Niels,

    Your feed from the admin plugin seems to be working, see: https://deklinkers.eu/dcf/feed/

    I have spotted an issue in the Dashboard Custom Feed plugin when Curl isn’t enabled on the server and have just pushed an update for this fix.

    As for the Base URL, for you this will be: https://deklinkers.eu/

    Do let me know if any of this helps.

    Cheers,
    Daryll

    Plugin Author Daryll Doyle

    (@enshrined)

    Hi Niels,

    Would it be possible for you to supply me with the URL of the site you have the Admin plugin installed on?

    This way I can have a look into the issue!

    Cheers,
    Daryll

    Plugin Author Daryll Doyle

    (@enshrined)

    Hi,

    If your WordPress installation is in the root of your domain (as it usually is), the base URL would just be https://mywebsite.com/

    Try that and let me know if that solves the problem!

    Cheers,
    Daryll

Viewing 13 replies - 166 through 178 (of 178 total)