How to provide a unique ID number per member (paid memberships pro)

WordPress
19 November, 2022 03:50:58
moniq
Topics: 1
Messages: 31
FIRST PART

Want a fixed 4 digit unique ID # per member: nnnn-2022
Used in all member products (created by E2PDF) e.g. ID Card shown.

Value: ID# [e2pdf-wp key="pods_id"]-[e2pdf-format-date format="Y"][e2pdf-wp key="post_date"][/e2pdf-format-date]

I do not know how to create a unique ID number in PODS. So I am wondering if WordPress (or something) can generate a reliable one that will not be re-generated when the user changes or updates their member plan.

- If I use [e2pdf-user key="ID"] it provides a single digit number and is listed in both member and wp user lists. (If I update member plan, will the # change? I can't recall right now but I think when trying out Member Press the number changed.)
- If I use [e2pdf-wp key="id"] it provides a 4 digit number I want, but what is generating it? I cannot find the root so I don't trust it won't change later on. It has to be fixed per user. (Maybe it was this one that changed when I updated my testuser member plan).

SECOND PART

Like to place your bar code on E2PDFs, e.g. document label shown. How can I add a value such as a URL link to a verification web page:
- page has a E2PDF viewer window displaying that is then populated with the users data
- according to the users id number in the URL - generates this without logging in to the site, e.g. URL/verificationpage?nnnn-2022

Any help is appreciated.
Thank you.
19 November, 2022 06:50:09
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

1. Some explanation:
Value: ID# [e2pdf-wp key="pods_id"]-[e2pdf-format-date format="Y"][e2pdf-wp key="post_date"][/e2pdf-format-date] - Is related to the Page / Post where E2Pdf shortcode placed. It has nothing related to the user.

[e2pdf-wp key="id"] - is also related to the Page / Post and outputs the ID of Page / Post where the E2Pdf shortcode is placed.

So above shortcodes look like not what you need, however:

[e2pdf-user key="ID"] - is the output of the ID of the logged-in user, it's unique and didn't change after the user registered.

You can also format it with 4 numbers:

[e2pdf-format-output sprintf="%04d"][e2pdf-user key="ID"][/e2pdf-format-output]

For User ID with ID 1 it will output 0001, for User ID with ID 173 it will output 0173, for User ID with 31234 it will output 31234.

However, you need to keep in mind that it's an incremental value, and if you will pass it directly to the URL, anyone will be able to change it manually...

2. As for "barcodes" - they are more designed for numbers output and for barcode readers, has a limited length and limited characters which can be used, so it seems you need to use "QR Code" instead, which can have an URL:

The "Value" of QR Code can be set as: https://example.com/verification/?id=[e2pdf-format-output sprintf="%04d"][e2pdf-user key="ID"][/e2pdf-format-output]

On the "verification" page you will need to place custom designed shortcode, which will parse the "id" parameter and will generate E2Pdf shortcode via PHP, something as:

$user_id = (int) $_GET['id'];
if ($user_id) {
echo do_shortcode('[e2pdf-view id="1" dataset="123" user_id="' . $user_id . '"]');
}

* where "1" is the ID of the E2Pdf Template and "123" is the Page ID of the Post Type to which the E2Pdf Template connected, usually, it can be found at "E2Pdf" -> "Export".

We remain at your service.
We would really appreciate your feedback at WordPress.org!
26 November, 2022 14:45:43
moniq
Topics: 1
Messages: 31
Absolutely amazing. Thank you. I will pass this on to our team.
11 December, 2022 02:06:01
moniq
Topics: 1
Messages: 31
in html object, value: in a paragraph
1) I used <b> </b> for a line and it produced outlined text, not bold. Is there a remedy?
2) can I colour a text line

thank you
11 December, 2022 02:27:17
moniq
Topics: 1
Messages: 31
[e2pdf-user key="pods_city_town" meta="true"] [e2pdf-user key="pods_prov" meta="true"]
Result: ON
Goal: Ontario
3) Is there a way to display the long version of provinces ("pods_prov")?

thank you
11 December, 2022 03:15:21
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

1. <b></b> must produce the bold text. Can you please attach a screenshot of which output you get and a screenshot of the "HTML" block value?
2. You can wrap text in span and add color via the "style" attribute.

For example content below, inside "HTML" block must be rendered as in the screenshot attached:
Regular <span style="color: #FFA07A;font-weight:bold;">colored and bold text colored and bold text colored and bold text</span> this is custom text this is custom text this is custom text this is custom text this is <b>bold text</b> this is custom text

3. We are not sure what you mean by the long version of the province. Output inside PDF depends on how the data is saved in the metadata. What's the default output of the pods_prov? We suspect that it's some type of "select" and if so, it can store the "value" and not "label", if so, it must be modified the stored "value" in the "select" or it must be used PHP hook to convert "value" to "label" via PHP, for example, if the shortcode you use is [e2pdf-user key="pods_prov"], it can be use hook to modify output as: https://codeshare.io/8pKyDZ

We remain at your service.
We would really appreciate your feedback at WordPress.org!
14 December, 2022 02:17:02
moniq
Topics: 1
Messages: 31
Hello. I used e2pdf-html. tried both <b> and <span style="font-weight:bold;">, they provide the same result = outline text, not bold text.
I tried PDF flatten and full to see if it would differ = no
I tried unchecking "Disable WYSIWYG Editor" and "CSS Priority" = no
When I preview from E2PDF from the template editor = bold text
When I use the E2PDF viewer in my web page = outline text

thank you
14 December, 2022 02:25:22
moniq
Topics: 1
Messages: 31
1. member fills in their member profile. 2. profile populates ID Card. 3. I list the ID Card as a product in Woo Commerce shop.
Q: Is there a way to download the populated PDF from the checkout digital download function?
Q: Is there a way to provide a download button in a web page after checkout?

thank you
14 December, 2022 03:17:33
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

It looks like the font issue can be connected to the font which is used. Can you please "zip" the font and attach it to the next message? However, it seems that the font which is used just produces "bold" text as it's on the screenshot.

However, you can try to find separate "bold" version of font which is used, upload it via "E2Pdf" -> "Fonts" and use inside "HTML" block construction as:

Test <span style="font-family: Winter Calligraphy Bold;">Another Font Text</span> Test

* Winter Calligraphy Bold must be replaced with the font name which you see at "E2Pdf" -> "Fonts"

Q1: If you mean to use it as "Product Download URL" - It's supported in the latest RC version 1.18.25: https://e2pdf.com/support/desk/how-to-update-plugin-to-rc-release-candidate-version-from-e2pdf-com. It will need to use [e2pdf-download] shortcode with "dataset" attribute depending on the connection as: [e2pdf-download id="1" dataset="123"], where "123" will be some custom Post ID (if the connection is to "WordPress" extension). You can find the correct dataset at "E2Pdf" -> "Export".

Q2: As for the "Checkout" page - in theory, it must be possible via adding to the template PHP as:

$user_id = get_current_user_id();
if ($user_id) {
echo do_shortcode('[e2pdf-download id="1" dataset="123" user_id="' . $user_id . '"]');
}

P.S. It could be needed to add logic to detect if the product was purchased and only in this case produce a PDF download URL.

P.P.S. Keep in mind please that your generated PDFs highly depend on the Logged In user, so if the user updates info, the download PDF will contain updated data.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
24 December, 2022 23:54:28
moniq
Topics: 1
Messages: 31
Hello. Happy Holidays. I am very happy with what we have achieved so far :) thank you.

Maybe there is a way to do both?
1. members edit profile to populate PDF, then use a viewer window to proofread before purchase
2. then they purchase in the shop and download product at checkout

if I use E2PDF template settings
-wordpress
-pages
I can preview my PDF in an online viewer window and proofread my work before purchasing

if I use E2PDF template settings
-woo commerce
-product
I cannot preview the PDF online anymore, but I can download the product at checkout and it files in Shop Account Downloads too :)

thank you very much
25 December, 2022 01:58:55
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

You can try to use a shortcode with the "dataset" attribute.

If E2Pdf Template is connected to "WordPress" -> "Pages", you can try to use a shortcode inside "WooCommerce" as:

[e2pdf-download id="1" dataset="123"], where "123" is the Page ID.

Or vice verse:

If E2Pdf Template is connected to "WooCommerce" -> "Products", you can try to use the shortcode inside "Page" as:

[e2pdf-download id="1" dataset="123"], where "123" is the Product ID.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
26 December, 2022 02:32:04
moniq
Topics: 1
Messages: 31
this is working very well, and i love the improvements that came in the updates

Q: is there a way to output a long version of day month year ?
from 26 12 two thousand 22
to twenty six twelve two thousand twenty two

thank you very much
26 December, 2022 05:07:02
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

Unfortunately no, PHP or E2Pdf doesn't have the possibility to convert dates to full-text representation directly.

The only way is to develop 3rd party PHP funcitonality with its own code to modify the output. If you have knowledge of PHP, please let us know the shortcode used to output the date so we can note you the PHP filter that can be used to build custom output.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
24 January, 2023 15:18:09
moniq
Topics: 1
Messages: 31
We have moved ahead. Thank you for all your help.

Is there a way to add
[ or ]
next to shortcode

e.g.

[[e2pdf-user key="pods_address_1" meta="true"]
[e2pdf-user key="pods_address_2" meta="true"]]

I did this to display
[.[e2pdf-user key="pods_address_1" meta="true"]
[e2pdf-user key="pods_address_2" meta="true"].]
25 January, 2023 01:57:05
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

If it's "HTML" object:

&#91;[e2pdf-user key="pods_address_1" meta="true"][e2pdf-user key="pods_address_2" meta="true"]&#93;

P.S. Keep in mind please that "Disable WYSIWYG Editor" must be checked and "Value" must be set directly via "Right Mouse Click" -> "Properties". Screenshot 1.

If it's "input" / "textarea":

[e2pdf-format-output filter="html_entity_decode"]&#91;[e2pdf-user key="pods_address_1" meta="true"][e2pdf-user key="pods_address_2" meta="true"]&#93;[/e2pdf-format-output]

Screenshot 2.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
25 January, 2023 02:04:09
moniq
Topics: 1
Messages: 31
&#91;[e2pdf-user key="pods_address_1" meta="true"][e2pdf-user key="pods_address_2" meta="true"]&#93;

works perfect ! thankyou :)
25 February, 2023 12:09:13
moniq
Topics: 1
Messages: 31
Woo Commerce [e2pdf-download id="1" dataset="123"] placed in product virtual download allows one download at checkout. Works great thank you.

Is there a way to add this download function into the buyers Shop Account/Downloads at checkout?
And apply woo: 9 downloads. Expires 365 days.
Thank you.
25 February, 2023 12:14:35
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

Can you please clarify what you mean regarding "function into the buyer's Shop Account/Downloads". Maybe you can attach some screenshots of where you expect it to appear?

By default, if the shortcode is added to the product "File URL" - it must appear in the user "Downloads" section, just as any other "Virtual Product".
We would really appreciate your feedback at WordPress.org!
26 February, 2023 04:18:41
moniq
Topics: 1
Messages: 31
my mistake... it works amazing!
thank you :)
9 April, 2023 12:40:21
moniq
Topics: 1
Messages: 31
Hello. Hope all is well. ii created an ID Card with your template and find when uploading a new autograph graphic image, it will not refresh to the new image. ii deleted the old image from the media library. still no refresh, shows first image ii uploaded. e2pdf viewer window displays the id card using the first autograph graphic ii uploaded to my profile - and downloads/prints it out with that graphic too.

we use PODS fields to upload the graphic
the upload area is displayed in our profile page in paid membership pro
ii did a hard refresh ctrl F5 on browser for that page, and cleared browser cache
e2pdf cache has has been cleared but ii will not touch any other functions there, as ii do not know what they do
template fields are mapped correctly -- ii could update the pods field name and try remapping ...

but ii would really like to comprehend how the graphic is being pulled into the display window for the id card if ii deleted the graphic in the media library - it is being saved somewhere else?

thank you :)
10 April, 2023 01:45:44
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

By default, E2Pdf doesn't cache results anyhow. You can check which "Image" is pulled inside E2Pdf Template by creating a temporary "textarea" with a mapped shortcode instead of the "Image" object to see which "Image" you get.

However, it seems the issue is connected that PODs don't hook the default WordPress function that outputs the "Avatar" URL. If you are using one of the "shortcodes" as [e2pdf-user key="user_avatar"] or [e2pdf-user key="get_avatar_url"] - it uses the default WordPress function to get the get_avatar_url(), so if PODs doesn't have a hook to change the output, you can get OLD Image URL.

Possible solutions:

1. Try to use the new shortcode (E2Pdf Version >= 1.20.06) as:

[e2pd-user key="get_avatar" size="96"]

OR

2. Find the meta key that outputs that saved by PODs with a new avatar, set it as default "Value" and use "Actions" and "Conditions" to dynamically change "Image" if the "avatar" by pods is empty. See please Screenshot. Keep in mind please that you need to debug which meta key is used on your side and what's the output as sometimes it needs to use "attachment_image_url" and "size" attributes. It depends on how PODs Avatar URL outputs the "Image" so we recommend doing tests on "textarea" to see the output.

We would really appreciate your feedback at WordPress.org!
10 April, 2023 18:33:34
moniq
Topics: 1
Messages: 31
using signature input
[e2pdf-user key="pods_autograph" meta="true" path="fullurl"]
10 April, 2023 18:40:11
moniq
Topics: 1
Messages: 31
tried image input - same old image appears
ii use image input for photo id - we can upload new images using the avatar uploader no problem
11 April, 2023 00:25:01
E2Pdf
Support
Topics: 7
Messages: 3163
Are you able to provide us access details to WP Admin Dashboard? If so, submit please a support ticket with access details here: https://e2pdf.com/support/request. Please include the URL where we can try to upload/change an image.

If not, what's the output of the [e2pdf-user key="pods_autograph" meta="true" path="fullurl"] inside "textarea"?

Does the Image exist by generated URL?

Do you use [e2pdf-download] shortcode?

Or the PODs don't update the user meta value, or it updates other meta value, or the value is cached by some cache plugin.
We would really appreciate your feedback at WordPress.org!
12 April, 2023 03:17:25
moniq
Topics: 1
Messages: 31
1. in media library deleted sig-red.png - no change, still displays in view of id card, and in download of id card

2. in pmpro profile page, use POD autograph field to upload graphics; deselected sig-red.png, uploaded sig-purple.png - shows on profile page only

3. checked PODS directory

https://peoplesofthesalmon.org/web/wp-content/uploads/profile-autographs/file-name

4. output of [e2pdf-user key="pods_autograph" meta="true" path="fullurl"] inside a "textarea"

https://peoplesofthesalmon.org/web/wp-content/uploads/pmpro-register-helper/moniq/sig-red.png

How does it land in this directory? This directory allows it to pull into the profile page, but no where else.
12 April, 2023 03:30:19
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

1, 3, 4 - it's because "pods_autograph" -> "fullurl" returns:

https://peoplesofthesalmon.org/web/wp-content/uploads/pmpro-register-helper/moniq/sig-red.png

So if this image exists - it will be rendered by E2Pdf. Exactly as it's saved under "pods_autograph" -> "fullurl" meta key.

2. PMPRO profile page can have some custom function that outputs another image or uses not the "fullurl" image path.

Try to use inside "textarea" meta key without the "path" attribute as:

[e2pdf-user key="pods_autograph" meta="true"]

It must return the array of the "images" saved under the "pods_autograph" meta value, so it could be that the "fullurl" is not the correct "key" to get the correct image.

See if you can see there is some other path to the uploaded / renewed image as https://peoplesofthesalmon.org/web/wp-content/uploads/profile-autographs/file-name or some other. Or the "Image" ID of the updated "image.

E2Pdf outputs data exactly as it's saved under user meta without changing it anyhow so it seems the pods have some logic to show some image when uploaded and some image when not, or fullurl - always keeps the image upon registration.

We would really appreciate your feedback at WordPress.org!
28 May, 2023 18:40:50
moniq
Topics: 1
Messages: 31
how may ii display member_id number into two parts e.g. 1111-2023
take the first four digits and display that, then take the last four digits and display that

[e2pdf-format-output sprintf="%04d"][e2pdf-user key="member_id"][/e2pdf-format-output] - ii think this outputs the first 4 digits

[e2pdf-format-date format="Y"][e2pdf-user key="user_registered"][/e2pdf-format-date] - this outputs the incorrect date, we need the first date the person sign up at

if ii cannot use user_registered, as it does not output the correct date, how may ii extract the last 4 digits?
thank you!
29 May, 2023 00:48:25
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

[e2pdf-user key="user_registered"] - must output the user registration date and it works correctly for us. What is the example value you get if just this shortcode is used without [e2pdf-format-date] shortcode wrapper?

We would really appreciate your feedback at WordPress.org!
29 May, 2023 19:18:08
moniq
Topics: 1
Messages: 31
ok i will check on that, thank you ....

extract first 4 digits works great
[e2pdf-format-output sprintf="%04d"][e2pdf-user key="member_id"][/e2pdf-format-output]

is there a way to extract the last 4 digits
[e2pdf-format-output sprintf="????"][e2pdf-user key="member_id"][/e2pdf-format-output]

user_registered does not seem to apply to the imported-past member accounts
[e2pdf-format-date format="Y"][e2pdf-user key="user_registered"][/e2pdf-format-date]
that is why this results in 2022 instead of 2021, 2022 is when i updated the account

thank you!
30 May, 2023 01:51:22
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

To extract the last 4 digits must be used the shortcode as:

[e2pdf-format-output filter="substr,sprintf" substr="-4" sprintf="%04d"][e2pdf-user key="member_id"][/e2pdf-format-output]

As for user_registered - E2Pdf outputs it exactly as WordPress saves it. If it doesn't fit your needs, the only way is to create some custom meta value where it will be stored the needed registration date.
We would really appreciate your feedback at WordPress.org!
1 June, 2023 12:01:38
moniq
Topics: 1
Messages: 31
works great, thank you!
2 June, 2023 21:00:22
moniq
Topics: 1
Messages: 31
In a new woocommerce order, a members' E2PDF download products were listing as all used up (woo allows me to state number of downloads over time), or listing way over what they were given, or variations of that. Could E2PDF cause this? Or is it Woo? I would correct the users order specifications for these products, save and come back later that day and it would be randomly off again.

If a non-member purchases an E2PDF digital download, it won't be filled in but it will download and print, correct. Is there a way to restrict non-members from accessing E2PDF downloads? (we use paid membership pro plugin, not premium)

Can E2PDF files display blank or a big X on the PDFs if all inputs = 0 is there a restriction i can apply?
3 June, 2023 04:08:26
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

1. Do you mean the download limit as on the screenshot? Unfortunately, we can't replicate the issue. It calculates correctly the downloads with PDFs. As soon as the PDF download link is clicked - WooCommerce deducts it correctly just with -1. Can you try to replicate the issue with the simple file? But it looks like can be an issue with some cache if it calculates downloads incorrectly.

2. Unfortunately E2Pdf currently doesn't have this setting. You can restrict PDF download but when the link will be clicked, it will show up the message: "File not found" and it will calculate the download, due lack of filters - we can't modify the behavior. It looks like the best way is to try to modify WooCommerce Downloads Page Template where you can try to check if the data is filled, and if not, show the message that the user must fill the data. If filled - then output downloads, or do the check before placing an order with WooCommerce.

As for names, currently can't be dynamic at this moment. We will check the possibility to extend this functionality, however, if you will be changing the template: /wp-content/plugins/woocommerce/templates/order/order-downloads.php, you must be able just to change it depending on your conditions via PHP.
We would really appreciate your feedback at WordPress.org!
1 July, 2023 15:51:51
moniq
Topics: 1
Messages: 31
hello. i am not able to find pods_image in E2PDF map fields list. It brings up all the others but not this one.
I can upload file to pmpro profile page, it displays.
I go to E2PDF to map field and display in a credentials card PDF/ preview window, it does not display it.
I tested in textarea to display output... none.
1 July, 2023 17:12:22
moniq
Topics: 1
Messages: 31
pods_autograph: i am unable to upload a new image... it only displays the first one i upload. it will not replace the image.
1 July, 2023 17:39:16
moniq
Topics: 1
Messages: 31
none of the paths have the new image i uploaded, they all show the first image uploaded, not the latest graphic
2 July, 2023 01:25:34
moniq
Topics: 1
Messages: 31
graphic does not get overwriten. pods_autograph, it only displays the first uploaded file in E2PDF result, but at least i can find it in map fields.

this is where PODS saves the file

https://peoplesofthesalmon.org/web/wp-content/uploads/profile-autographs/file-name

this is where E2PDf says it is being stored (testing via textarea output)

https://peoplesofthesalmon.org/web/wp-content/uploads/pmpro-register-helper/moniq/sig-red.png

2 separate folder locations, why
why are pmpro profile file uploads not overwriting sig-red.png above
how do i get E2PDf to list pods_tribecrest in "map fields", and output it, and display the overwritten files

paths are listed below ... but i cannot find this new object-image in the map fields list, and when i add manually it does not display
PODS must be working, as the profile page displays the uploaded graphic, and updates graphic when i upload again
2 July, 2023 01:29:51
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

Unfortunately, we need to take a look setup on your side. Submit please support ticket with access details to WP Admin Dashboard here: https://e2pdf.com/support/request. Please include in the request the URL where we can upload the image and where PDF URL is generated.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
22 August, 2023 22:07:35
moniq
Topics: 1
Messages: 31
Hello. All works great :) Thank you.
How may I add pdf pages in to my template, from 2 pages to 4. I do not want to rebuild from scratch.
Thank you.
23 August, 2023 00:46:28
E2Pdf
Support
Topics: 7
Messages: 3163
Hello,

If it's a pre-uploaded PDF, see please the documentation here:

https://e2pdf.com/docs/templates/builder/preset#re-upload-original-pdf

https://e2pdf.com/docs/templates/builder/preset#re-upload-examples

It needs to modify the "original" PDF and re-upload it. We recommend duplicating E2Pdf Template and try on it to avoid any data loss to be sure it would work as expected.


We would really appreciate your feedback at WordPress.org!
23 August, 2023 12:33:45
moniq
Topics: 1
Messages: 31
i know how to update my pdfs its just if i add more pages then it removes all my inputs.
23 August, 2023 13:24:50
E2Pdf
Support
Topics: 7
Messages: 3163
Hello,

If it will NOT be set "Delete created E2Pdf Fields" checkbox, it must keep your fields on that pages. If it doesn't work like this, submit please support ticket here: https://e2pdf.com/support/contact

Attach please the backup of your current E2Pdf Template and new PDF. If it will be throwing an error upon attachment, zip it, please.
We would really appreciate your feedback at WordPress.org!
24 August, 2023 18:59:23
moniq
Topics: 1
Messages: 31
what is the maximum file upload? i am uploading 4 pages. perhaps that is the issue
24 August, 2023 21:30:59
moniq
Topics: 1
Messages: 31
How do i reduce the 15 MB file size without degrading quality.
24 August, 2023 23:28:33
E2Pdf
Support
Topics: 7
Messages: 3163
No, there are no limits on the number of pages. If the upload does not succeed completely, the problem may be related to resources.

To reduce the PDF file size, you can try to export the original PDF file as a reduced (flattened) file (depending on your PDF editor) or use some online PDF compressors like ilovepdf.com.
We would really appreciate your feedback at WordPress.org!
17 October, 2023 23:05:34
moniq
Topics: 1
Messages: 31
Hello, good day. I see there are new updates. re: [e2pdf-view id="1" hide="search,zoom"]
17 October, 2023 23:19:54
moniq
Topics: 1
Messages: 31
Sorry, I meant to add ... my sample above shows a screen shot (ignore the search,zoom shortcode chunk, i just wanted to show the view shortcode i am working with)

I noticed today that the preview window or view of the card inside the accordion has changed. i use to click open the accordion and wait 12 seconds for the card to generate and then click a single top right icon in the toolbar to download to device...

1. toolbar use to display a single download button, top-right
2. now it displays a free text, editor, and one other icon top-right, no download btn
3. i tried hiding 3 icons in the shortcode, and i have another page that shows it in html code version - i cannot get the download or save button all by itself now
4. so i copied the original shortcode version outside of the accordion at the top of the web pageabove - and it displays the way it use to

any advice?
thank you
18 October, 2023 01:56:37
E2Pdf
Support
Topics: 7
Messages: 3163
Hello,

Yes, the latest RC version has an updated pdf.js Viewer that has some custom changes and an additional editor panel.

- Can you let us know please which "hide" attributes were originally used on your old PDF viewer?

- Is it correct that you need to output just the "download" button on the top-right?

We suspect that the issue is due to the new pdf.js having some changes when buttons are hidden and moved to the "secondary" bar.
We would really appreciate your feedback at WordPress.org!
18 October, 2023 10:50:10
moniq
Topics: 1
Messages: 31
"Hide" attributes work, but only outside the accordions:

[e2pdf-view id="14" dataset="2176" flatten="2" responsive="page" width="100%" toolbar="#aaa" background="#fff" hide="left-toolbar,sidebar,presentation,openfile,secondary-toolbar,print,editor,bookmark" border="1px solid #ddd" format="pdf"]

Yes i just want the download button to show, like in the viewer at the top of the pic I submitted.

Thank you
18 October, 2023 13:01:57
E2Pdf
Support
Topics: 7
Messages: 3163
Hello,

The updated pdf.js library has some changes in responsive styles and it looks like due to this you see such behavior.

However, we just released an update to the RC version (1.21.35)., that has some improvements to it. Can you please update the plugin to the latest RC version? With the latest update the "icon" must appear always on a panel in case the secondary toolbar is hidden, and as a result, you must get the same behavior in the accordion.

Let us know please if it still will be any issues.
We would really appreciate your feedback at WordPress.org!