Piers Barber

Forum Replies Created

Viewing 25 posts - 1 through 25 (of 42 total)
in reply to: AJAX and PHP Error and #171986

Piers Barber
Member

Hello,

We are unable to provide you admin access to to the confidential nature of our organization and our clients.

Piers.

in reply to: AJAX and PHP Error and #171750

Piers Barber
Member

Hello,

there are many pages to go thru so I looked for sample codes on an old page: https://www.ifiar.org/activities/inspection-workshops/march-2013-zurich/

[wpdm_direct_link id="4680" label="Presentation Slides Brian Hunt" target="_blank"]

Now back in August 2018 we used to have all our pages using this type of short-code:

[wpdm_direct_link_crypt id=”8057″ label=”2.1 Bios – Keynote Speaker Panel and Q&A” target=”_blank”]

We removed the _crypt id on all “Published” pages we could find.

Do you think it could be this old code that is cause the problem on a page we have yet to identify?

Piers

in reply to: AJAX and PHP Error and #171677

Piers Barber
Member

Hello. We have thousands of pages that have shortcode.

Would you be able to provide us samples of the “OLD” and “NEW” short-codes please.

Piers.

in reply to: AJAX and PHP Error and #171390

Piers Barber
Member

hi. Thank you. I corrected the typo in the functions.php file and now I receive a whole new error. Please see the below and let me know your thoughts.

Fatal error: Uncaught Error: Class ‘WPDM\Package’ not found in /home/wp_ekw9zx/ifiar.org/wp-content/themes/wp-bootstrap-starter-child/functions.php:181
Stack Trace
1. directLinkCrypt(Array, ”, ‘wpdm_direct_lin…’)/home/wp_ekw9zx/ifiar.org/wp-includes/shortcodes.php:356
2. do_shortcode_tag(Array)[internal function]:0
3. preg_replace_callback(‘/\\[(\\[?)(wpdm_d…’, ‘do_shortcode_ta…’, ‘<p>An interview…’)/home/wp_ekw9zx/ifiar.org/wp-includes/shortcodes.php:228
4. do_shortcode(‘<p>An interview…’)/home/wp_ekw9zx/ifiar.org/wp-content/plugins/js_composer/include/helpers/helpers.php:247
5. wpb_js_remove_wpautop(‘<p>An interview…’, true)/home/wp_ekw9zx/ifiar.org/wp-content/plugins/js_composer/include/templates/shortcodes/vc_column_text.php:31
6. require(‘/home/wp_ekw9zx…’)/home/wp_ekw9zx/ifiar.org/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php:451
7. /home/wp_ekw9zx/ifiar.org/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortco in /home/wp_ekw9zx/ifiar.org/wp-content/themes/wp-bootstrap-starter-child/functions.php on line 181

in reply to: AJAX and PHP Error and #171260

Piers Barber
Member

Hi. We are still getting the error. Below is a code snippet from the functions.php file from our template for your review. maybe you can see something I cannot.

/**
* @usage Callback function for shortcode [wpdm_package id=PID]
* @param mixed $params
* @return mixed
*/
function directLinkCrypt($params, $content = “”)
{
extract($params);
global $wpdb;

$filedata = get_post_meta($params[‘id’], ‘__wpdm_files’);

if(is_array($filedata[0])):

foreach($filedata[0] as $file):

$filepath = $file;

endforeach;

endif;

//var_dump($filepath);
$ind = (!empty($filepath)) ? “&ind=” . \WPDM\__\Cryp::Encrypt($params) : “”;

if(\WPDM\Package::isLocked($params[‘id’]))
$linkURL = get_permalink($params[‘id’]);
else
$linkURL = “index.php?wpdmdl=”.$params[‘id’].$ind.”&#zoom=100″;
$target = isset($params[‘target’])?”target={$params[‘target’]}”:””;
$class = isset($params[‘class’])?”target={$params[‘class’]}”:””;
$id = isset($params[‘id’])?”target={$params[‘id’]}”:””;
$linkLabel = isset($params[‘label’]) && !empty($params[‘label’])?$params[‘label’]:get_post_meta($params[‘id’], ‘__wpdm_link_label’, true);
$linkLabel = empty($linkLabel)?’Download ‘.get_the_title($params[‘id’]):$linkLabel;
return “$linkLabel“;

}

add_shortcode(‘wpdm_direct_link_crypt’, ‘directLinkCrypt’);

/*
* redirect logged in users to members version of home page
*/

in reply to: Error after update to verion 6.0.5 #164228

Piers Barber
Member

Hi. Well running any of those programs to get package URL’s gives a RAM error; thus I cannot see all the URL’s that are generated. I have asked the support team of our VPS hosing provider for help.

Piers.

in reply to: Error after update to verion 6.0.5 #164037

Piers Barber
Member
This reply has been marked as private.
in reply to: Error after update to verion 6.0.5 #163664

Piers Barber
Member

Hi. Thank you for getting back to me. I have already installed the “List all URLs” and it does not list everything. Any other suggestions are appreciated.

Piers

in reply to: Error after update to verion 6.0.5 #163610

Piers Barber
Member

Hello. Thank you for getting back to me confirming that it is not a template issue. We do not know how those URL&s are being created. We upload files all the time to the website but do not know if a unique URL is being created or not when we do. Your plug-in does not have a URL tracking function. Are you able to recommend a WordPress plug-in that can list every URL in the website?

Piers

in reply to: Error after update to verion 6.0.5 #163423

Piers Barber
Member
This reply has been marked as private.
in reply to: Error after update to verion 6.0.5 #163415

Piers Barber
Member
This reply has been marked as private.
in reply to: Error after update to verion 6.0.5 #161485

Piers Barber
Member
This reply has been marked as private.
in reply to: Error after update to verion 6.0.5 #161336

Piers Barber
Member
This reply has been marked as private.
in reply to: Error after update to verion 6.0.5 #161094

Piers Barber
Member
This reply has been marked as private.
in reply to: Error after update to verion 6.0.5 #160996

Piers Barber
Member
This reply has been marked as private.
in reply to: Error after update to verion 6.0.5 #160894

Piers Barber
Member

Hello. We noticed that the default generated SiteMap by the CMS does not show this pagehttps://www.ifiar.org/page/3/?wpdmdl or any other page with ?wpdmdl at the end of the URL.This is very confusing for us as we are not manually creating these pages. We have no other Sitemaps setup on the website. Kindly let us know if you have any questions or suggestions.

Piers.

in reply to: Error after update to verion 6.0.5 #160735

Piers Barber
Member

Hello. The issue is there is no parent to https://www.ifiar.org/page/3/?wpdmdl . WordPress and your package generated this URL on its own. This is what we do not understand. Why are these pages being generated in the 1st place which involve your package?

Piers.

in reply to: Error after update to verion 6.0.5 #160728

Piers Barber
Member
This reply has been marked as private.
in reply to: Error after update to verion 6.0.5 #160646

Piers Barber
Member

Hi,
More work this week has revealed that pages like these below are showing content from our “Members” section on the PUBLIC site.

https://www.ifiar.org/page/2/?wpdmdl
https://www.ifiar.org/page/3/?wpdmdl
https://www.ifiar.org/page/4/?wpdmdl

We use the Advanced Access manager 3rd party plugin to secure certain pages on our Production site and I used to to block any URL’s we identified to have the ?wpdmdl paramater in the suffix.

Having confidential material publicly displayed is not an option for us. This is why we have a separate “Members” section on the PUBLIC site.

Do you have any suggestions for me that I can implement which will prevent pages with the ?wpdmdl paramater in the suffix from being created?

in reply to: Error after update to verion 6.0.5 #160450

Piers Barber
Member

Greetings. Thank you for the clarification. I blocked this page, https://www.ifiar.org/?wpdmdl. Issued resolved.

in reply to: Error after update to verion 6.0.5 #160442

Piers Barber
Member

Greetings. We have a “Public” and “Members” section on our website. I researched ‘?wpdmdl’ and it appears to be a function or code or identifier of the Download manager plugin for WordPress. Is this correct? Is ‘ ?wpdmdl’ a function of your plugin?

in reply to: Error after update to verion 6.0.5 #160434

Piers Barber
Member
This reply has been marked as private.
in reply to: Disable Some File’s from being downloaded #140733

Piers Barber
Member

Hello. I am following up with you to inquire if you are okay to work with our website support vendor and have him do a ZOOM meeting where he can share his screen while in the CMS so you can make the changes you propose. Do let me know if this is a possibility or not.

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

Piers Barber
Member

Greetings. Sorry for the late reply. Due to confidentiality we cannot let you remotely access the CMS on your own. We can have you work with our website support vendor and have him do a ZOOM meeting where he can share his screen while in the CMS so you can make the changes you propose. How does the idea of a ZOOM meeting work for you?

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

Piers Barber
Member

Thank you for getting back to me. I looked at the two sites and to be honest it is a bit confusing.

Our “Library” page has this code:

[vc_row css=”.vc_custom_1501627181431{padding-top: 48px !important;padding-bottom: 10px !important;}”][vc_column][vc_column_text][breadcrumb]
<h1>Library</h1>
[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vc_column_text][wpdm_all_packages items_per_page="50" jstable=0 order_by="date" order="DESC"][/vc_column_text][/vc_column][/vc_row]

As you can see [wpdm_all_packages] shortcode is present.

How would I make a single download package which appears on that “Library” page not show the the ‘Download’ button link?

Viewing 25 posts - 1 through 25 (of 42 total)