Juha Mets?kallas
Forum Replies Created
-
Forum: Plugins
In reply to: [Page Builder by SiteOrigin] Lost translationsJep, there are many moving parts here, so I’m not sure which plays what role in my issues.
Forum: Plugins
In reply to: [Page Builder by SiteOrigin] Lost translationsThe issue persists. While there seem to be issues with WP 5.3 update (which I was dumb enough to install today [read: more issues]), this issue predates that. I’m suspecting, that there is something, how the theme bundles your plugin.
Addendum:
I quickly read through WP 5.3 date/time changes. I don’t think, that they apply, because the strings “weeks”, “hours” etc. no longer get translated.- This reply was modified 5 years, 3 months ago by Juha Mets?kallas.
- This reply was modified 5 years, 3 months ago by Juha Mets?kallas. Reason: corrected a typo
Forum: Plugins
In reply to: [Better Search Replace] Plugin stopped working todayMe too.
I can run dry runs against all other tables (even in the same run) except “posts”. To top it all that table is even very modest sized, less than 15 MB. I’ve done the same as Netz, tried setting “max page size” as low as possible, but still vain. I’ve run the BBPress repair tool.
The site is mainly a forum one with WordPress 5.2.2, BBPress 2.5.14 plus several plug-ins. BSR has previously worked.
My goal:
I plan to change the address structure, but before actually doing it I want to have some idea how extensive the change could be.Forum: Plugins
In reply to: [Table of Contents Plus] Umlaut in Sidebar WidgetHave you tried to write the header with
ü
in the first place? Yes, I know it’s clumsy and sucks, but blame IBM, which in the beginning of the computer era forgot what the I stands for.- This reply was modified 5 years, 5 months ago by Juha Mets?kallas.
Forum: Plugins
In reply to: [Easy Footnotes] Use a different shortcode?Thorned,
There is a plug-in called Shortcoder, that allows you easily write shortcodes. Perhaps you could use it to wrap the shortcode of Easy Footnotes.
Forum: Plugins
In reply to: [wp-mpdf] How to disable for a certain post?Hello!
I finally found time to resolve this.
- Download and install the plugin Advanced Custom Fields.
- Create a custom field with title
Disable PDF
and namedisable_pdf
with a type of True/False. This will give you an extra field in the posts editor. Don’t make it mandatory nor set it to default. This ensures, that the field doesn’t mess with your existing posts. - Go to your template and locate the code snippet
<?php if(function_exists(‘mpdf_pdfbutton’))
.
Replace it and only it with<?php if(function_exists('mpdf_pdfbutton') && !get_field('disable_pdf'))
. - Locate the certain post for which you want to disable the pdf creation. Check the
Disable PDF
. Save and take a look at the posts page.
Forum: Plugins
In reply to: [Table of Contents Plus] TOC+ does not work on bbPress topicsI would say, that this boils down to your needs. I came quickly up with some scenarios. There are probably others.
Allow TOC always for some users
Put the shortcode into the appropriate location in your template. Consult your template’s documentation (it could be something like
single.php
). Use DV Shortcode Whitelist to enable your shortcode for one of the built-in user roles or create a new one and add your users to it.Allow TOC always for all users
Same as above but select in the DV plugin all.
Allow TOC sometimes for some users
Instruct your special users, how to add your shortcode into a topic.
- This reply was modified 5 years, 8 months ago by Juha Mets?kallas.
Forum: Plugins
In reply to: [Table of Contents Plus] TOC+ does not work on bbPress topicsShibaa,
There is nothing wrong with TOC, it’s just in bbPress topics and replies all (i.e. not just those of TOC) shortcodes are disabled by default. This is a security feature, since permitting all shortcodes on bbPress forums is a major security risk. While by googling you can easily find code to enable turn off this feature, I strongly recommend against it. What I have done, is to utilise two plugins:
– Shortcoder by Aakash Chakravarthy
– DV Shortcode Whitelist by EgemenerdUse the first to create your own shortcode for a TOC shortcode, possibly with some parameters. Then use the second to allow this custom shortcode on bbPress forums. This way you can have a table-of-contents without compromising security.
Disclaimer:
While not otherwise involved in either plugin, I gave the idea of DV Shortcode Whitelist to Egemenerd. Neither developer has given me any money nor compensated me in any way. Au contraire I’ve donated to both projects.Forum: Plugins
In reply to: [wp-mpdf] Non-Latin, non-Cyrillic characters are not shownThis is something, that I quite can’t understand. We have lived in Unicode world a long time, and Unicode has almost all imaginable glyphs there are (yes, I know, that the Klingon alphabet isn’t part of Unicode). Yet there are in circulation font sets, which lack glyphs. I would imagine, that nobody creates a font from scratch, but takes an existing and modifies it. That is I take ,say, a Times New Roman font set (with all grlyps) and make my modifications (e.g. I tilt all umlauted characters), publish it under a new name Juha’s Times New Roman. Now if someone uses it, they get my tilted umlauted characters but also the original Arabic, Burmese, Persian etc. characters in Times New Roman style. Maybe I have misunderstand how this font thing works.
Ok, verzeih mir meinen Ausbruch. My site uses Noto from Google, and that seems to contain all the above mentioned. Rather than downloading all those to my site how can I specify, that when creating PDFs use those Google online fonts remotely? IIUC there is an API for this.
- This reply was modified 5 years, 9 months ago by Juha Mets?kallas.
- This reply was modified 5 years, 9 months ago by Juha Mets?kallas.
Forum: Plugins
In reply to: [wp-mpdf] How to disable for a certain post?Ok, when I have time, I try to figure out a general solution.
Forum: Plugins
In reply to: [wp-mpdf] How to create white space into PDF?Rather than tweaking the source I ended up tweaking my code. Simply added some
between the links.- This reply was modified 5 years, 9 months ago by Juha Mets?kallas.
Forum: Plugins
In reply to: [Shortcoder — Create Shortcodes for Anything] Use custom shortcode names?If you have a plugin name conflict, i.e. there is another plugin, that uses the same shortcode
sc
, please let us know and notify the author of this plugin.If this is just for some inconvenience reason, well, you can always copy & paste.
Having said that, there is a plugin called pluginception, which makes writing new simple plugins very easy. Install it and create your plugin
divider
and make it to do the job or to call[sc name=”divider”]
.Forum: Plugins
In reply to: [Shortcoder — Create Shortcodes for Anything] User RolesMy answer might come late for you, but for the record…
Allowing shortcodes for any other than admins creates a security risk. There are more secure ways.
Create a custom permission role and modify the site code, so that when the author of page/post/forum topic/forum response/what-ever has that permission, the shortcode gets evaluated. You can hone this by limiting the right to certain shortcodes. Lot of work.
Or you download a plugin, that does this for you. While I found a couple, they are no longer maintained (and some even don’t work any longer). From my hint a plugin-writer wrote one, so you might take a spin with it.
Disclaimer: I am not getting any profits from that plugin.
Forum: Plugins
In reply to: [Easy Footnotes] not working on mobileIt is a general limitation (i.e. not limited to this plugin nor to WordPress) of mobile devices, that hovering doesn’t work. Hovering simply doesn’t exist on touch screens, and therefore you must have an alternative method to that functionality.
Forum: Plugins
In reply to: [wp-mpdf] How to localise the date formats on the PDF?Ok, not a show stopper. Thanks for the info.