Piers Barber

Forum Replies Created

Viewing 17 posts - 26 through 42 (of 42 total)
in reply to: Disable Some File’s from being downloaded #138756

Piers Barber
Member

Hi. I still believe you do not understand what I wish to accomplish.

Library

Have a look at the image above. As you can see there are many files I can choose to download from. I wish to remove the green bracketed “Download” link from this page; not the URL page for an individual download package file.

Does this help you understand what i wish to achieve?

in reply to: Disable Some File’s from being downloaded #138259

Piers Barber
Member

Hello,

Back in June I asked, “Is it possible to have a PDF in the Library be only viewable?”. I do not think you fully understand what I meant to do. What I wish is to make a package and in our “Library” have the “DOWNLOAD” button be removed. The User clocks on the link and it takes it to the URL. Note that our “Library” shows all of the packages we have uploaded; so this is not for a single file on its unique URL page.

Do let me know if this is a possibility or not. Thank you.

in reply to: Disable Some File’s from being downloaded #132304

Piers Barber
Member

Hello. I am sorry but I am not allowed to give you direct, unsupervised access to the WP Administrative section. I am authorized to have you look at the system via a Shared Screen with say a ZOOM conference call. I am located in Japan so if you are available sometime this week, and are comfortable with the conditions to access our website, please let me know.

Piers.

in reply to: Disable Some File’s from being downloaded #132263

Piers Barber
Member

Hi. Not sure if my last post truly made it or not. I could block Users from downloading the PDF by what you suggested. However, the preview of the document produces HTML code. How can I get it to show the contents of the PDF?

Piers

in reply to: Disable Some File’s from being downloaded #131980

Piers Barber
Member

Hi, Thank you for getting back to me. I created a new Page Template and tired the below but it didn’t give me what I wanted. It only showed the title of the document. Nothing else.

<style type=”text/css”>.more_previews_a{display: block;float: left;margin-right: 6px;}</style>
<div class=”row”>
<div class=”col-md-12″>
[doc_preview]
</div>

Then I tried the below but I am still able to download the file after previewing it.

<div class=”row”>
<div class=”col-md-12″>
<div class=”card mb-3 p-3″>
[thumb]
</div>
</div>
<div class=”col-md-5″>
<div class=”wpdm-button-area mb-3 p-3 card”>
[doc_preview]
</div>
<ul class=”list-group ml-0 mb-2″>
<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:version]”>
[txt=Version]
<span class=”badge”>[version]</span>

<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:download_count]”>
[txt=Download]
<span class=”badge”>[download_count]</span>

<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:file_size]”>
[txt=File Size]
<span class=”badge”>[file_size]</span>

<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:file_count]”>
[txt=File Count]
<span class=”badge”>[file_count]</span>

<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:create_date]”>
[txt=Create Date]
<span class=”badge”>[create_date]</span>

<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:update_date]”>
[txt=Last Updated]
<span class=”badge”>[update_date]</span>

</div>

<div class=”col-md-7″>
<h1 class=”mt-0″>[title]</h1>
[description]
<h3>Attached Files</h3>
[file_list]

</div>

</div>

My goal is to have the Member preview the PDF but prevent them from downloading it. Any suggestions are appreciated.


Piers Barber
Member

Hi,

The Production site is already using the latest version of WPDM; 5.0.7.

If there is a newer version I cannot find.


Piers Barber
Member

Also. The Development site which has version 4.9.8 of your plugin is using Bootstrap 3.


Piers Barber
Member

Hi,

The issue is with Bootstrap 4. I changed to Bootstrap 3 and I don’t have an issue. Also, If i check ‘ Disable Bootstrap JS’ that resolves the issue.

Any other suggestions?


Piers Barber
Member

Hello,

I did as instruction on the Production website and the missing ‘Categories’ section has returned.

Thank you for your assistance.

Piers


Piers Barber
Member
This reply has been marked as private.

Piers Barber
Member
This reply has been marked as private.

Piers Barber
Member
This reply has been marked as private.

Piers Barber
Member
This reply has been marked as private.
in reply to: Update to 4.7.7 Breaks Site #86379

Piers Barber
Member

Hi,

After reviewing the log information if you need any other files please let me know.

in reply to: Update to 4.7.7 Breaks Site #86329

Piers Barber
Member

#0 /home/qwotoa7qgg2s/public_html/dev-i/wp-includes/shortcodes.php(319): directLinkCrypt(Array, ”, ‘wpdm_direct_lin…’)
#1 [internal function]: do_shortcode_tag(Array)
#2 /home/qwotoa7qgg2s/public_html/dev-i/wp-includes/shortcodes.php(197): preg_replace_callback(‘/\\[(\\[?)(wpdm_d…’, ‘do_shortcode_ta…’, ‘<p>IFIAR develo…’)
#3 /home/qwotoa7qgg2s/public_html/dev-i/wp-content/plugins/js_composer/include/helpers/helpers.php(236): do_shortcode(‘<p>IFIAR develo…’)
#4 /home/qwotoa7qgg2s/public_html/dev-i/wp-content/plugins/js_composer/include/templates/shortcodes/vc_column_text.php(31): wpb_js_remove_wpautop(‘<p>IFIAR develo…’, true)
#5 /home/qwotoa7qgg2s/public_html/dev-i/wp-content/plugins/js_composer/include/classes/shortcodes/shortcodes.php(478): include(‘/home/qwotoa7qg…’)
#6 /home/qwotoa7qgg2s/public_html/dev-i/wp-content/plugins/js_compo in /home/qwotoa7qgg2s/public_html/dev-i/wp-content/themes/wp-bootstrap-starter-child/functions.php on line 179

in reply to: Update to 4.7.7 Breaks Site #86328

Piers Barber
Member

I am unable to upload the .log file.

Maybe this will help:

15-Aug-2018 07:12:47 UTC] PHP Fatal error: Uncaught Error: Class ‘WPDM_Crypt’ not found in /home/qwotoa7qgg2s/public_html/dev-i/wp-content/themes/wp-bootstrap-starter-child/functions.php:179
Stack trace:
#0 /home/qwotoa7qgg2s/public_html/dev-i/wp-includes/shortcodes.php(319): directLinkCrypt(Array, ”, ‘wpdm_direct_lin…’)
#1 [internal function]: do_shortcode_tag(Array)
#2 /home/qwotoa7qgg2s/public_html/dev-i/wp-includes/shortcodes.php(197): preg_replace_callback(‘/\\[(\\[?)(wpdm_d…’, ‘do_shortcode_ta…’, ‘<p style=”text-…’)
#3 /home/qwotoa7qgg2s/public_html/dev-i/wp-content/plugins/js_composer/include/helpers/helpers.php(236): do_shortcode(‘<p style=”text-…’)
#4 /home/qwotoa7qgg2s/public_html/dev-i/wp-content/plugins/js_composer/include/templates/shortcodes/vc_column_text.php(31): wpb_js_remove_wpautop(‘<p style=”text-…’, true)
#5 /home/qwotoa7qgg2s/public_html/dev-i/wp-content/plugins/js_composer/include/classes/shortcodes/shortcodes.php(478): include(‘/home/qwotoa7qg…’)
#6 /home/qwotoa7qgg2s/public_html/dev-i/wp-content/plugins/js_compo in /home/qwotoa7qgg2s/public_html/dev-i/wp-content/themes/wp-bootstrap-starter-child/functions.php on line 179

in reply to: Update to 4.7.7 Breaks Site #86327

Piers Barber
Member

Hello. Thank you for following up with me. Kindly review the attached error log and if you have any questions please let me know.

Viewing 17 posts - 26 through 42 (of 42 total)