Branislav Vuinovic

Forum Replies Created

Viewing 25 posts - 1 through 25 (of 30 total)
in reply to: Can not translate “Download” button string #187418

Hello Nayeem,

Thank you for your reply, I have managed to resolve the issue on my own.

Cheers,
Brane

in reply to: I have charged to times for the same service #177854
This reply has been marked as private.

Hello there,

Regarding the fix above.
I know it has passed some time since we talked about it, but I just realized that the ordering (by date) is not working well. The files in the table is not ordered by any logic. If I click on column “date” the files are rearanged but not in order by date format.

Just to remind I have copied this php “wp-content\plugins\download-manager\src\Package\views\all-packages-shortcode.php” to “/wp-content/themes/Avada-Child-Theme/download-manager\all-packages-shortcode.php” and right after line 387 add a code:
**********************************
case ‘update_date_time’:
echo “<span class=”__dt_update_date {$cxc}”>” . get_the_modified_date(‘j. F Y. H:i’, get_the_ID()) . “</span>”;
break;

**********************************

How can I fix the problem with date sorting order that I am haveing now on pages where I added “update_date_time”?

Regards,
Brane

in reply to: Table ahm_download_stats bcoming too large #172065

Hello Nayeem,

That did the job, thanks.

Cheers,
Branislav

Super.

Thanks for your help.

Cheers,
Brane

Hi there,

I am more for the solution as I told you before – to introduce new option/data field – “update_date_time”

So is it possible to add a piece of code (right after line 387) in “wp-content\plugins\download-manager\src\Package\views\all-packages-shortcode.php”  like this one:
**********************************
case ‘update_date_time’:
echo “<span class=”__dt_update_date {$cxc}”>” . get_the_modified_date(‘j. F Y. H:i’, get_the_ID()) . “</span>”;
break;

**********************************

And wherever I need date with time I can use it like “update_date_time” or if I want to use it just to show date (without time), I will use it like “update_date”….

Is this something I can do?

Regards,
Brane

Hello Riddhi,

Thank you for your promt answer.

Yes, that is a solution, but this solution will change  throughout whole website, and I do not need to change on the whole website.
I need this just on some pages to be changed, not on the whole website.

Maybe the solution would be to add a new option/data field like “update_date_time”, along side “update_date”?
Is there a chance to implement something like that?

With that new option/data field we could use it whenever we need it.

Regards,
Brane

Hello Riddhi,

Currentlly data fileld “update_date” inside “wpdm_all_packages” table shows date in format – “11. february 2022.”

Is it possible to add also time (as I see it exist in database) along side date – in format “11. february 2022. 14:42”?

I am sending an screenshot where do I want to acchieve this.

Also I do not want to change this on the whole website where ever I use “wpdm_all_packages” table.
Just want to use it where I want on some pages.

https://prnt.sc/26vjjpr

Hope this is clearer a little bit now.

Regards,
Brane

in reply to: Cache Zip File and it’s location #164203

Hello,

I have tryed to put inside wp-config.php this directive:
define('WPDM_CACHE_DIR', '/home/grad/www/www/wp-content/uploads/wpdm-cache');

But everything is working same. ZIP files are created in ROOT of the server. This must be some bug or configuration error…

Regards,
Brane

in reply to: Cache Zip File and it’s location #164179
This reply has been marked as private.
in reply to: Cache Zip File and it’s location #164177
This reply has been marked as private.
in reply to: File organize into folders and delete files #159579

Done.
Thanks again,
Brane

in reply to: File organize into folders and delete files #159571

Thanks Humayon,

Everthing is working great now.

Many Thanks once again,
Brane

in reply to: File organize into folders and delete files #159476

Hello Humayon,

Sorry for my English – I wasn’t clear enough.
I get what you are saying but when I check “Rename File” and I upload a new file over the one I already uploaded the new file isn’t renamed. Instead it is owerwriten. Odd…
Please take a look at screen shots:
First file I uploaded: https://prnt.sc/1m8ua1r
Second time I uploaded same file: https://prnt.sc/1m8v096

I am doing this on my test server https://kg.databerg.info/
I can give you acces to it if you want – I will just need your public IP address, as I blocked access to it only from certain IP addresses.

I also checked on live server too – and everything is working the same. The old file is owerwritten by the newly uploaded file – if it has the same name..

Regards,
Brane

in reply to: File organize into folders and delete files #159444

Hello Humayon,

Thanks for the tip. That was already selected. But I have tryed to select Owerwrite – then save – and then again select Rename new file and save sattings – but after I uploaded the same file twice – that file is just owerwriten – now two files…

Am I missing something?

Regards,
Brane

in reply to: File organize into folders and delete files #159412

Hello Humayon again,

Yes, now everything is working fine.
But I stil have small problem.
I have tested and if I upladed the same file which already exist on the server – the old file is simple owerwritten. But it needs to be a new file with different name – maybe added a timestamp.
As I have over 3k of files in the directory there is posibility to have two files with the same name but with different content.

Your colegue gave me some workaround some years ago:

Bug with the file upload When File Already Exists


and as he said that this fix will be fixed in some newer versions. Now I see that this is not the case.

Can you gave mi soolution for this to add to my child theme – so with the new version of WPDM it want be overwrittne.

Many thanks,
Brane

in reply to: File organize into folders and delete files #159391

Small correction,
I found the file which I uploaded for test – but he is in the same folder as previous /wp-content/uploads/download-manager-files/.
The folder /2021/ is not created…

Regards,
Brane

in reply to: File organize into folders and delete files #159390

Hi Humayon,

I added the code you provided. And I do the test and upload one file but I can’t find that file in /wp-content/uploads/download-manager-files/ nor I can see that the new folder /2021/ is created. Also the link to the file is not good. When I click on file to download it – it says: Sorry! File not found!

Regards,
Brane

in reply to: File organize into folders and delete files #159373

Hello Humayon,

Thank you for you fast reply. I understand it all.
One more question.
Where can I edit the code for uploading the files, so I can organize files while they are uploaded.
Let’s say – can I add to the path to upload folder just a year – (/wp-content/uploads/download-manager-files/2021/
So when someone is uploading a file – the file will be uploaded in that 2021/ folder?
And next year I will change that piece of code to /2022/ – if you understand me…

Regards,
Brane

Hello Nayeem,

Thank you for your fast response.
Just discovered that the title was too long – and that was causing the problem. I shorten the title of the package and everything is working fine.

One question though:
What is common practice to name the package?
i.e.
no more then 200 characters in title
without commas, dots, etc….

Regards,
Brane

Hello there,

I had the same problem @Dean Chalk described. And also happened to me after update to latest version.
The problem is solved once I applied the solution Nayeem Riddhi gave.

But here the problem is that you have changed something essential on front-end and you didn’t sent any info about that.
Also @Colin Hart said the way you should do new releases otherwise you will lose customers like you lost @Dean Chalk.

Regards,
Branislav

in reply to: Download Manager Pro causing conflict on WP website #116583

Thank you for the update.

It is working on my part also.
I see minor cosmetic errors now on some other parts of WPDM – but it is fixable.

Thanks again.

in reply to: Download Manager Pro causing conflict on WP website #116538

I am experiencing the same problem – in WPDM Pro variant. Which WP theme you are using?

All started after upgrade to ver 5.3. When I disable WPDM – toggle element is working fine on the page.

in reply to: Bug with the file upload When File Already Exists #93653

Hello Shahriar,

Sorry but there is another problem with the fix you gave for my previous problem.

Now when I try to upload a larger file then it is a CHUNK size – then that other part of that file which is uploading is getting a different file name (different time of upload), so can not be merged with the first chunk – so at the end I am getting two files on the server – where I uploaded one. So when someone try to download that file – he is getting error while opening it as the file is not complete…

I have found a temporary solution – which is not good enough – I increased chunk file to 2048KB – but as I said this is not a solution – as there will larger files…

Regards,
Branislav

in reply to: Bug with the file upload When File Already Exists #93626

Hello Shahriar,

Thank you for the explanation, that is why I sad “possible bug”.

One more question – and I am finished :).

Where can I see change log – what’s new – in a new versions of your plugin Download Manager Pro?
The reason is I want just first to test everything on my test website – just to make sure everything is working fine before I update live version of the website.

Regards,
Branislav

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