willpom
Forum Replies Created
-
Thanks @hupe13 for fresh eyes. It was Complianz blocking it.
I got it working on non event pages as it was always in draft preview so Complianz hadn’t kicked in.
Forum: Fixing WordPress
In reply to: Fresh Install – import oldAgain thanks @threadi, I was looking for solutions in the wrong place.
WP7 – sorry my confusion, knew there was a 7 in there somewhere – upgrade from 6.7-6.8.
Safe Mode – WP tools >health check >troubleshooting.
So I delved deeper, used one of my other domain names to set up a clean install of WP. Added just Rank Math and Events Manager.
Still WP tools >export – Forbidden message
og.images won’t display, and get the Forbidden message if using the url in the browser, further digging and if I assigned that image to a post then viewed post, viewed image in new tab, copied that images url into a new browser tab and viewed it would display (a -1024×538 suffix was added), then copied the og.image into a browser tab again (without the suffix) this would now display. Results varied across browsers though.
So looks like a server end thingamajig – I have passed this on to my host’s support so hopefully will get a response soon.
Further investigation on main site into Gutenberg showed it was only not working the in the event post editing. The WP update had overwritten the config which included a command to use Gutenberg for Events Manager; this hadn’t happened before so I was looking in other areas for the fix.Forum: Fixing WordPress
In reply to: Fresh Install – import oldThank you for your response.
Here are some of the problems I have encountered:
1. Rank Math SEO – Social images won’t display when shared to Facebook; just a blank placeholder.
2. Events Manager – Conditional Placeholders – some work some don’t – all worked perfectly before.
3. Gutenberg blocks no longer work – just the classic editor.
4. Several custom scripts (in Code Snippets) will occasionally not function – wasn’t a problem before.I ran a Site Health check and it identified a problem with my DB. The new install of WP 7 had updated my DB to MySQL v10. On restoring from UpDraft it had over written with the old DB MySQL v5 or v6 (can’t remember). So I created a new v10 with my host, exported the old and imported it into the new, and updated the config to point to the new hoping this would solve the issues. It didn’t.
I’ve done various troubleshooting to see if a plugin is causing the problem but even in safe mode the problems persist.
Mid July I have 7 weeks between events so plenty of time to take my site offline to rectify.
When you say the export only downloads text data and not files, I assume this text data will also contain the structure of the posts, links etc? So therefore the 11Gb shouldn’t be the problem then as it’d be ignoring the actual image files?
Hi Marcus.
Yes I did. With just Login with Ajax activated it still displays the error.Yes I’m just adding a function for said functionality.
Login with Ajax gives the option to redirect by user not by specific URLs.
I wanted all logins by users from the pages with the LWA widget to refresh at the same URL.
But not when they were logging in, usually after a password reset, from …/wp-login.php where instead of them being redirected by LWA back to …/wp-login.php I wanted them to go to the home page.
Snippets is just a plugin where you can add bits PHP code and keep them organised. This is the method recommended by Marcus’ other project team – Events Manager to modify the functionality of that plugin. The function doesn’t have to rely on any LWA code.
Exactly as you note, if you added it to the LWA plugin code every time it updated you’d loose you custom code.I have just solved this for myself. I didn’t want a redirect from the plugin on event pages but did for password resets and logins from …/wp-login.php
Spent a good few hours trawling and cobbled this together and it works great. Added it to Snippets.function my_login_redirect( $redirect_to, $request, $user ) { if($host = "https://www.mysite.co.uk/wp-login.php") { $redirect_to = home_url(); return $redirect_to; } } add_filter( 'login_redirect', 'my_login_redirect', 10, 3 );Forum: Plugins
In reply to: [Extensions for Leaflet Map] Help migrating from WP-GPX-MapsIt was the ComplianZ GDPR/Privacy plugin. Even though the wizard set up had OSM cookies listed, in integrations I had to disable a Cookie Blocker which had a placeholder acceptance enabled for OSM, yet the placeholder wasn’t called.
The other OSM plugin mentioned above though worked fine with this setting enabled.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Help migrating from WP-GPX-MapsPS the slope shading doesn’t make sense, it should be between the line and 0% or none at all.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Help migrating from WP-GPX-MapsA live event https://www.pedalution.co.uk/events/levels-lumps-lions-200/
Screenshot of a draft test event https://www.dropbox.com/t/enUsqB23UyeCJ1Ji
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Help migrating from WP-GPX-MapsTest page… I was working on a non event draft page where it displays. If I publish it however, public, private or password it doesn’t display. Tried on Firefox, Edge & Chrome all the same. Deactivated the event leaflet plugin for event location pages, & WP-GPX-Map with no effect.
So I investigated with an event and flipped a test one to draft. It works and parses the #_ATT{Code} correctly.
fitbounds… no GPX track is displayed so there aren’t any bounds to fit; which is set to on in Leaflet Map settings anyway.
As the ‘map’ is in the event template this is all live at the mo so no routes displaying, just my default lat, long for Bristol.
Published test non event page https://www.pedalution.co.uk/leaflet-elevation-test
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Help migrating from WP-GPX-MapsI’m not a coder so that is gobbledy gook to me.
The #_ATT{Code} passes eg. 600bcm which corresponds to a gpx in the correct folder (works fine with WP-GPX-maps).
But even if I put ”/wp-content/uploads/gpx/600bcm.gpx” or the corresponding full URL into the event template it will only show a leaflet map of the default coordinates.
If I test on a new page it will display.
Hi @angelo_nwl
This wasn’t a request but an easy solution for others just requiring manipulation of the publish date to 100 years before the event start date to utilise the inbuilt page navigation at the bottom of some themes. Or alternatively using the published date to order categories etc
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Slider/carouselSee Stonehenge Creations plugin, it works a treat. https://www.stonehengecreations.nl/creations/stonehenge-em-slider/
…had to manually add the txt file.
Many thanks. I thought it may be as simple as that but didn’t want to break anything so thought best to ask. All working now.