All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.

Author Topic: Download link not showing in post nor in download page  (Read 3572 times)

0 Members and 1 Guest are viewing this topic.

Offline rana

  • Newbie
  • *
  • Posts: 8
    • View Profile
Hi,

This plugin was still working when I was using the previous version of WP until I updated to 2.8.5. The list of download still shows in the admin section, but the links don't show in my post nor in the download page and even in the sidebar.

I use this code: [download id="24"]   

I am currently using Duffy 1.0 by InfoCreek.com
I tried the default WP theme, but still doesn't work. I deleted the entire plugin and re-installed again but still doesn't work.

Thank you for your help.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Download link not showing in post nor in download page
« Reply #1 on: 25 October 2009, 08:13 »
ensure that the code [download id="24"] is a line on its own and it is entered using the html editor.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline rana

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Download link not showing in post nor in download page
« Reply #2 on: 28 October 2009, 12:17 »
Hi,

I tried that but still not working...

Offline rana

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Download link not showing in post nor in download page
« Reply #3 on: 28 October 2009, 12:23 »
the widget does not work either in my sidebar.
it shows N/A under downloads section..

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Download link not showing in post nor in download page
« Reply #4 on: 28 October 2009, 13:27 »
Try removing the widget and re-adding it also ensure you are using WP-DownloadManager 1.50

As for why the shortcode does not work, I have no idea, maybe a problem with WP instead. Search for "shortcode" in this forums

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline ajanini

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Download link not showing in post nor in download page
« Reply #5 on: 28 October 2009, 22:40 »
I was having the same problem.
Turns out that when I upgraded all file permissions were changed to "hidden" by default.
It's the second time this happens. A bug perhaps?
Also, I wish there was a way to do batch changes to multiple files. It was real hard to manually change every single file's permission back to "all".

Regards

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Download link not showing in post nor in download page
« Reply #6 on: 29 October 2009, 05:35 »
Oh that problem, weird I thought I fixed it. I will take a look at it again. You can run SQL query to fix it.

http://forums.lesterchan.net/index.php/topic,3858.0.html

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline rana

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Download link not showing in post nor in download page
« Reply #7 on: 01 November 2009, 01:23 »
hi
thank you for your replies

Just to make sure for the SQL query.. do I put this

$wpdb->query("UPDATE $wpdb->downloads SET file_permission = -2 WHERE file_permission = -1;");
$wpdb->query("UPDATE $wpdb->downloads SET file_permission = -1 WHERE file_permission = 0;");
$wpdb->query("UPDATE $wpdb->downloads SET file_permission = 0 WHERE file_permission = 1;");

to the box when click run SQL?

or can I change the file permissions by ftp?

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Download link not showing in post nor in download page
« Reply #8 on: 01 November 2009, 06:12 »
Code: [Select]
UPDATE wp_downloads SET file_permission = -2 WHERE file_permission = -1;
Code: [Select]
UPDATE wp_downloads SET file_permission = -1 WHERE file_permission = 0;
Code: [Select]
UPDATE wp_downloads SET file_permission = 0 WHERE file_permission = 1;
One query at a time.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline rana

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Download link not showing in post nor in download page
« Reply #9 on: 04 November 2009, 23:34 »
Ok, i run the SQL query, but is it normal that is says there is 0 affected rows?
I'm sorry, I never mess around phpmyadmin..

After that, I deactivated then activated the plugin;change the layout to classic; took out the widget and put it back in...nothing happened. It still shows n/a on my sidebar unders downloads, and none in the post..

I am using WP download 1.50..hmmm..I don't get this..

thank you again for your help!

Offline rana

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Download link not showing in post nor in download page
« Reply #10 on: 04 November 2009, 23:57 »
hmm...the files are still hidden.
Maybe I'm doing the SQL query wrong..please help

Offline rana

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Download link not showing in post nor in download page
« Reply #11 on: 05 November 2009, 00:07 »
I got where to change the file permission, actually I changed the allowed downloads to everyone. I didn't notice that. It worked, but I have to change them one by one. I still don't know how to use phpmyadmin on that..