peterdeegan
Forum Replies Created
-
Forum: Plugins
In reply to: [BackWPup – WordPress Backup & Restore Plugin] Reset BackWPUP to defaultsHuzzah! As you suggested, reinstalling the plugin made it forget whatever stuff was confusing it.
After reinstall, we got the Welcome/first time pages. A simple DB backup worked fine and appeared in Backup History.
A few questions:
- how to change the backup save folder to another location than under \uploads\… That folder tree is hard to FTP navigate on our site because there are thousands of images. Ideally we’d like to make a (WP-content)\backwpup\ folder (on the same level as plugins, uploads etc) and put all the backups in there. We’ve tried doing that with Write permissions on the new folder but the plugin reverts to the default setting.
- Is it possible to ‘slow down’ the backup process so it isn’t as much of a burden on CPU or physical memory? We have concerns about the overall load on the site and would like to reduce CPU/memory spikes, even if backups take longer to complete. This might not be possible but thought we’d ask.
Thanks,
Peter Deegan
Forum: Plugins
In reply to: [BackWPup – WordPress Backup & Restore Plugin] Reset BackWPUP to defaultsWe removed the old/legacy jobs – OK.
But there’s no action when we start a simple DB backup, click the green Start button then nothing — no error, no log entries, no Backup History, nothing saved to the folder etc.
Honestly, we’ve put it aside for the moment since there are other more pressing matters. Will let you know when we can return to this matter.
Peter Deegan
Forum: Plugins
In reply to: [BackWPup – WordPress Backup & Restore Plugin] Reset BackWPUP to defaults“ Access legacy jobs” — found it! Thanks.
Will now see if a DB backup will work.
Thanks for the quick reply.
Peter Deegan
Forum: Plugins
In reply to: [SimpleTOC - Table of Contents Block] More detailed end tagI take your point about RegEx and HTML. The code we have is very old and we’ve been happy with things the way they are. To say nothing of the difficulties understanding the DOM model.
But I’ve taken the plunge and added a DOM object. FWIW, this is the code I’m using to remove SimpleTOC block from a posts HTML.
// removes the SimpleTOC block - finds any UL tag with the class=" as shown and remove entire block including nested UL's.
$xpath = new DOMXPath($dom);
foreach($xpath->query('//ul[@class="simpletoc-list"]') as $div) {
$div->parentNode->removeChild($div);
}Not many people will need this, our exporting posts scenario is quite rare.
Danke,
Forum: Plugins
In reply to: [SimpleTOC - Table of Contents Block] Suggestion – save/set defaultsI totally agree — but Lock Reusable Blocks is very useful, especially in multi-author environments where it’s way too easy for a less-savvy author to mess up a RU block.
Frankly, I was surprised locking isn’t in the WordPress core code — but then I expect the developers have many other things on their To Do list <g>.
Peter D/
Forum: Plugins
In reply to: [SimpleTOC - Table of Contents Block] Suggestion – save/set defaultsFurther to Marc’s suggestion of Reusable Blocks — which works like a charm.
I suggest using Lock Reusable Blocks https://ww.wp.xz.cn/plugins/lock-reusable-blocks/ which prevents accidentally changing a reusable block when it’s in a post.
That ensures the block settings aren’t altered unless you really mean it!
Peter Deegan
Forum: Plugins
In reply to: [SimpleTOC - Table of Contents Block] Suggestion – save/set defaultsMarc,
Thanks for that VERY fast reply … 21 minutes! Fantastic!
A reusable block had not occurred to me … works well.
Danke,
Peter Deegan
Forum: Plugins
In reply to: [Easy Table of Contents] Cookies is not definedOK thanks. We’ll continue to look
Regards,
Forum: Plugins
In reply to: [Easy Table of Contents] Cookies is not definedI had to disable EToc … could you have a look now? The error is showing.
https://office-watch.com/2021/two-new-microsoft-office-bundles-coming-in-2021/?nocache=1
Thanks,
Forum: Plugins
In reply to: [Easy Table of Contents] Cookies is not definedForgot to mention … tried some of the obvious/standard JS workarounds — disabled front.min.js in WP-Rocket Javascript deferred.
Alas … not luck
Cheers,
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Formatting by ColumnInformation:
WP-Rocket
Disabling the option: Optimize CSS deliveryhelped get the TablePress Custom CSS to work with the web page.
There’s still caching issues, later changes to Custom CSS don’t appear. But it’s better than what we had … viz nothing!
Thanks again, hope this info might help someone else.
Peter D/
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Formatting by ColumnTobias,
Always good to hear your words of wisdom.
Changing wp-content to another name seems to be a common WP security measure.
WP-Rocket or other caching is always a possibility. I’ll try that and hopefully be able to report back.
Peter D/
Steven,
Thanks for the v quick reply. The external call is a separate PHP page so I just added your snippet near the top of the code and it worked like a charm. No typpos/bgu .
Thanks a lot.
This CSV encoding problem with Excel is a real nuisance … I see there’s lot of discussion and confusion in the forums. I’m writing it up for Office-Watch.com
My suggestion to you, and all developers saving to CSV is to have a UTF-8 BOM export option (or make UTF-8 BOM the default). That’s the same as UTF-8 but with a non-printing marker to indicate the encoding used. With UTF-8 BOM, Excel will import correctly from a direct double-click on the CSV. In the case of TablePress a BOM option should be simple to add and hopefully save a lot of hassle for your customers.
Otherwise, use Get & Transform or Text Import Wizard to select the encoding when importing a CSV.
How does TablePress handle importing CSV with UTF-8 BOM (just curious, not an issue for us)?
Switching to UTF-8 BOM for export and import would help with round-tripping from Excel.
Just €0.02 cents worth <g>.
Peter D/
Belay and ignore my post — false alarm.
The problem wasn’t TablePress … it’s Excel. When TablePress CSV is imported into Excel the Euro and Sterling characters are messed up. Dollar signs are OK.
If we ignore Excel and just export/import CSV with TablePress, all is well. We’ll look at what Excel is doing but that’s a separate issue.
Tobias .. apologies for wasting your time.
Peter Deegan