Juha Mets?kallas
Forum Replies Created
-
Forum: Plugins
In reply to: [wp-mpdf] How to make PDF open in another window/tab?Ah, got it.
Forum: Plugins
In reply to: [wp-mpdf] How to localise the date formats on the PDF?I didn’t have the patience, so I customised already now. It all went more or less smoothly, but I need one piece of information. How can get the creation date of the PDF version? I want to put into the info box at the end two dates: the publishing date of the post (this already works) and the creation date of the cached PDF.
Forum: Plugins
In reply to: [wp-mpdf] How to localise the date formats on the PDF?Eh, it took me a couple of minutes to realise, that by template you’re referring to, what in the admin side and in the folder structure is labelled as theme. I think, I got the idea [= now I have something to do during the weekend ?? ].
Forum: Reviews
In reply to: [Shortcoder — Create Shortcodes for Anything] A must have pluginI totally agree. This is a killer plugin.
Forum: Plugins
In reply to: [Docxpresso] Calc row heightI got an update from the developer, and that solved the issue.
Forum: Plugins
In reply to: [Docxpresso] Calc row heightDone.
Forum: Plugins
In reply to: [Docxpresso] Calc row heightI made a corresponding table in LibreOffice Writer with a custom row height, and it is displayed correctly. Based on that it seems, that row height is somehow calculated wrongly, when you import a Calc spreadsheet, but not when you import a Writer table.
Since this a simple table with a sum function and it is updated only a couple of times in year, I can live with this work-around.
- This reply was modified 5 years, 10 months ago by Juha Mets?kallas.
Forum: Plugins
In reply to: [Easy Table] There is another row at the bottom on mobile.I have this issue too. There are extra “rows” both above and beneath the table. There seems to be a CSS setting
.table-responsive { ... border: 1px solid #ddd; }
that draws a border around the table, when the display space is narrow enough. You can get rid off them by a custom CSS definition:
.table-responsive { border: none; }
What remains is to figure out, how to get rid off those “<” and “>”, that also appear below the table at narrow width.
- This reply was modified 6 years ago by Juha Mets?kallas.
Forum: Plugins
In reply to: [Contact Form 7] How to hide the floating Google icon?Thanks for the input. Yes,
display: none
results in, that the recaptcha badge and thus the code is not loaded at all, whilevisibility: hidden
will load the badge (and code), but makes it invisible. This is the meaning of the valuesnone
respectivehidden
to the CSS attributesdisplay
andvisibility
.What I ended up doing, was hiding the badge always and putting the by Google required policy & terms text below my contact forms (one for general contact takings and another for GDPR contact takings).
Thanks.
- This reply was modified 6 years, 2 months ago by Juha Mets?kallas.
Forum: Plugins
In reply to: [Shortcoder — Create Shortcodes for Anything] Is the plugin Gutenberg ready?Thank you for your reply. Yes, I know, that the shortcodes themselves will continue to work. As you guessed my concern is about the editor: will it continue to work?
Currently I have a site, where the functionality provided by Shortcoder is vital, and I’m working with another site, that also needs Shortcoder.
Shortcoder is excellent!
Forum: Plugins
In reply to: [Shortcoder — Create Shortcodes for Anything] Bit more logic?You might want to take a look at my reply to
https://www.ads-software.com/support/topic/can-i-make-conditional-with-this-plugin/
Forum: Plugins
In reply to: [Shortcoder — Create Shortcodes for Anything] User rolesI’m maybe late on this, but let me tell about a case I had.
I’m using a calendar plugin, that renders on page a browseable calendar from a subscribed (ics) calendar. You embed the visible calendar by a shortcode, like [calendar id=”123″]. I wanted to display the calendar on a bbPress forum for announcements, but on a bbPress forum shortcodes aren’t run at all for security reasons (and good so).
There are plenty of code snippets, how to enable shortcodes in forum topics and replies, but they enable all codes for all users. Not good.
There are plugins for managing user roles, so I created a role “shortcode-executor” and wrote a tiny plugin, that runs shortcodes only if the page, post, topic or whatever is created by a user with that role.
If you want to develop the idea further, you could perform a check, whether the page, post etc. contains only shortcodes, that begin with “[sc “. Or perhaps mix that with user roles.
I had to take a look at the “WP conditional shortcode” plugin. AFAIK, there are not direct replacements, since this plugin doesn’t provide any other shortcodes besides its own “sc”. Having said that you can create yourself or have someone create for you php code that performs any checks you need to make and embed calls to it in a shortcode.
For instance
[sc name="is_page"]
contains something like
<?php my_is_page("right page","wrong page"); ?>
There is a plugin to write plugins ??
https://www.ads-software.com/plugins/pluginception/
which might come handy.
HTH
- This reply was modified 6 years, 3 months ago by Juha Mets?kallas.
Forum: Plugins
In reply to: [Search Exclude] Erroneously excludes a topic in bbPressHmm, there is something fishy going on…
I am using Ajax Search Lite to have a search that covers both WP and bbPress stuff. That plugin does not now respect the exclusion (yesterday it did respect). In other words it finds the bbPress topic at
https://finnababilejo.fi/forumoj/temo/misfunkctio-2018-11-18/
even if check “Exclude from Search Results”. Perhaps it is caching the crawled results somehow (I just ran the bbPress fixing tool in vain). The topic is a new one, created yesterday.
Anyway the main issue is, that checking “Exclude from Search Results” will remove the topic from the topic listing for that read-only forum. Clearing the check will put the topic back.
Wordpress version: 4.9.8–fi (the newest)
bbPress version: bbPress 2.5.14-6684 (the newest)Forum: Plugins
In reply to: [Table of Contents Plus] [NO_TOC] doesn’t work [SOLVED]I think all shortcodes must be in lowercase always.
And for the record shortcodes do not work in bbPress forums because of security reasons.
- This reply was modified 6 years, 3 months ago by Juha Mets?kallas.