Thanks … Custom code ?
Thanks, that’s good to know, they’re getting blocked, but that URL threw me as there has been thousands of attempts at it.
Hi, it’s just a one off, so I just want to make all downloads available to logged in members only, or subscriber access (same thing?). I’d get the addon, but it’s unlikely I’ll ever have to do bulk values again.
Thanks Shahriar for your help.
Thanks Shahriar, that’s the second time a SEO image plugin has caused problems. I think the ones that add info dynamically don’t play well with WPDM. I’ve gone for one that just updates the database and then deactivated.
Really appreciate your help.
Thanks Shahriar , I don’t use the login form shortcode, so I updated the file.
Just bumping this ๐
I tried swapping themes by the way, still the same problem.
Seems to be timepicker error from the console
All the other bits of the add download work ok
Ok, but please put things back how they were before ๐
Just stopped by to let you know it worked on the live site too, thanks again.
IT WORKED!! ๐ (well on the localhost version) thanks so much Shahriar ๐
$pack_description = str_replace('search_for','', $pack_description);
I’m going to try with… (wish me luck)
$pack_description = preg_replace('/<\s*a(\s+.*?>|>).*?<*a\s*>/','', $pack_description);
Thank you Shahriar exactly what I was looking for ! I Just have to work out the regex now to remove the hyperlinked images.
Hi
Sorry, should’ve been clearer, how can I determine which are the WPDM posts from the posts table, that way I can set up a query to hopefully remove the hyperlinked image from the content.
So something like (pseudo code)
search wp_posts where id=wpdm
if regex matches my pattern remove pattern
Etc.. hope that makes sense.
I found a much easier way of doing it, make a copy of the default template on the server, then modify the default template directly to what I want. Easy ๐ Then if there’s an upgrade, just copy my modified default template over.
Hi Shahriar,
Thanks for the link, I’ll look into that.
Hope all is well with you.
Worth the wait ! ๐
Thanks for fixing it.
Still waiting.
Please could someone respond to this, preferably login and see what the problem is.
I tried a lot of things today, clearing up other java problems, but the error console is reporting errors within download manager itself? I notice also after upgrading to the latest version, there’s a separate screen to give the package a name, but it still does the same thing when it gets to the details.
Is the problem because this is inline java ? Could it be called externally ?