redcocker
Forum Replies Created
-
Forum: Plugins
In reply to: [POST2PDF Converter] [Plugin: POST2PDF Converter] displaying post meta dataHi, novic7 san
To get post meta data and insert it into your post, you can add the following code into post2pdf-converter-pdf-maker.php(around line 371).
$key_value = get_post_meta($post_id, 'YOUR_KEY', true); $content = $content + $key_value;
or
$key_value = get_post_meta($post_id, 'YOUR_KEY', true); $content = $key_value + $content;
Ref.: https://codex.www.ads-software.com/Function_Reference/get_post_meta
Hi, cdr09 san
About Image ratio, how to set a bigger image? I need a big logo, and wit 0.8 ratio bottom of the image is truncated.
Please go to setting panel.
And you can find “Logo width” option in “Header logo” section.Hi, wussyib san, Coksnuss san
Please try to re-install Development Version.
You can find new setting options in the setting panel.
Hi, artc1209 san
Please try to re-install Development Version.
You can find new setting options in the setting panel.
Hi, Coksnuss san
Please try to re-install Development Version.
I fixed it.
But I can’t reproduct following issue.HTML: "<a href="https://www.example.tld/worpress/article/?aid=1736&sa=1" title="Document name"><b>Document name</b>, Version</a> PDF: "file:///<%TEMPDIR>;/<PDF DOCUMENT>.pdf?aid=1736&sa=1"
Hi, Sev san
Yes, my full site in under “Member Only” plugin, meaning that you have to register before entering.
Now I remember.
This plugin can’t get contents by HTTP request under access restriction.But in previous version (or at least without the $get_by_http_request is set to “1”) it was possible to generate the PDF.
When $get_by_http_request is set to “0”, it will be possible to generate the PDF.
But It can’t get different informations depending on the user and role.
Because this plugin gets contents from DB.I’m sorry, but it may be difficult to respond to your request.
Hi, Sev san
Thank you for your reply.
When $get_by_http_request is set to “1”, this plugin will get your content by HTTP request(NOT by database access).
But Internal server error(status code 500) occurs in your site.
Did you restrict access to your site/page?
Hi, Coksnuss san
Thank you for your report and idea.
I will fix it in future release.
Hi, Sev san
Thank you for your reply.
Maybe, Participants Database doesn’t cause this issue.
Please check HTTP status code(200, 404 etc.) by following tool and let me know it.
Hi, Sev san
Please re-intall Development Version.
And make a change as follows.
1. Eidt post2pdf-converter.php.
Line 39
var $get_by_http_request = 0;=>
var $get_by_http_request = 1;
2. Eidt post2pdf-converter-pdf-maker.php.
Line 16
var $get_by_http_request = 0;=>
var $get_by_http_request = 1;
HI, artc1209 san
In future release, I will add option to display download link in category or archive pages.
Hi, Sev san
Sorry for not replying sooner.
Give me a little more time.Hi, Coksnuss san
I will add setting options for this in the future release.
Hi, Sev san
That isn’t be a good way, but please try following way.
1. Eidt
post2pdf-converter.php
.Line 39
var $get_by_http_request = 0;
=>
var $get_by_http_request = 1;
2. Eidt
post2pdf-converter-pdf-maker.php
.Line 16
var $get_by_http_request = 0;
=>
var $get_by_http_request = 1;