Ok, thanks!
Is it possible to override this icon whithout changing directyly the plugins files? Using a filter hook for example?
Thank you very much! It worked as a charmed! ๐
Hi @tanvirw3eden,
I am still cannot find howto get the “icon” info of my package without using the template files of the plugin, but just using the single-wpdmpro.php
and taxonomy-wpdmcategory.php
files. Is there a new or updated function I can use that will return the icon of the package if I provide the ID?
Thanks,
Savvas
Hi @nayeem_riddhi ,
You are right! I just checked in an online environment and the import function works as it should! There must be a misconfiguration somewhere with my local setup.
Thanks,
Savvas
Hi there. I am getting the same issue here after updating to 5.0.3. Is it something server specific or plugin specific?
Ok I found a solution. It seems to be a css problem. For some reason after the upgrade, the width of icon was set to 0, so it was dissapeared. With css I set it to width:60px and everything is fine now as you can see below:
https://www.themata4all.com/downloads/%CF%80%CE%B1%CE%B3%CE%BA%CF%8D%CF%80%CF%81%CE%B9%CE%B5%CF%82-%CE%B5%CE%BE%CE%B5%CF%84%CE%AC%CF%83%CE%B5%CE%B9%CF%82-2017/
Hi there,
I have the same problem. In chrome and firefox, no icon appeares after upgrading to 4.7.4. In IE the icons appear but are REALY BIG!
The strange thing is that if you see the page source, the icon tag is there correctly. But for some reason it doesnt show.
I try what Hasibul proposed (deactivate and activate) but with no success…
Maybe is because of using the svg instead of png in the new version?
Thanks,
Savvas
Thanks for your reply Shahriar,
I hope to be added to the roadmap as soon as possible ๐
Thanks,
Savvas
You can not use plain SQL request because the data are serialized!
Just create an empty Page Template, put the code in with the correct modifications for your case. Then create a Test Page using the Page Template you created just before. And run this page ONCE!
You can add some “echo”s just to debug it.
When I make those changes, I am getting blank screen with 500 error when I try to download a file (for any url with the ?wpdmdl=ID
at the end).
It is a PHP code. Not SQL. I just created a page template with the code inside and run it once!
It works perfect for 5500+ files!!!
Thanks Shaon!
I am not hacked but I am in the process to move from a shared hosting to a VPS one. So all of my internal paths of my files should be changed!
I will keep you updated of how will go ๐
My first try was to just do an UPDATE through the phpmyadmin, with a total failure. Then I realize that the data ara actually serialized…
Hello there,
I am in the same situation. Does the proposed code worked for you @Renzukoken ??
Thanks!
Actually does not count anything now!
The reason is that when you put the return true;
so early the following command does not run!
update_post_meta($pid, '__wpdm_download_count',intval(get_post_meta($pid, '__wpdm_download_count', true))+1);
I just comment out the following lines and everything is working! Total downloads are counted and downloads per day are NOT counted!
//$wpdb->insert("{$wpdb->prefix}ahm_download_stats",array('pid'โบ(int)$pid, 'uid'โบ(int)$uid,'oid'โบ$oid, 'year'โบ date("Y"), 'month'โบ date("m"), 'day'โบ date("d"), 'timestamp'โบ time(),'ip'โบ$ip));
No problem! ๐
Can you answer me the following please?
With that addition (about adding return true;), the total downloads of each file will be still counted? Because I only need to disable the stats per day and per ip/user.
With that addition, the total downloads of each file will be still counted? Because I only need to disable the stats per day and per ip/user.
I have also found a bug in libs/class.Apply.php
at line 676.
$wpdb->query('truncate table '.$wpdb->prefix.'ahm_stats');
It should be
$wpdb->query('truncate table '.$wpdb->prefix.'ahm_download_stats');
Is it possible tell me what customization is needed so as to disable it temporary until you include such an option officialy on the plugin?