|
|
|
jlm
|
Hi, I fixed this so that it would work with the nice Permalinks. I updated the templates: Download Listing Template: <p><img src="http://www.romanticminute.com/wordpress/wp-content/plugins/downloadmanager/images/drive_go.gif" alt="Download: %FILE_NAME%" title="Download: %FILE_NAME%" style="vertical-align: middle;" /> <strong><a href="http://www.romanticminute.com/wordpress/?dl_id=%FILE_ID%" title="Download: %FILE_NAME%">%FILE_NAME%</a></strong><br /><strong>» %FILE_SIZE% - %FILE_HITS% hits - %FILE_DATE%</strong><br />%FILE_DESCRIPTION%</p> Download Embedded Template <p><img src="http://www.romanticminute.com/wordpress/wp-content/plugins/downloadmanager/images/drive_go.gif" alt="Download: %FILE_NAME%" title="Download: %FILE_NAME%" style="vertical-align: middle;" /> <strong><a href="http://www.romanticminute.com/wordpress/?dl_id=%FILE_ID%" title="Download: %FILE_NAME%">%FILE_NAME%</a></strong> (%FILE_SIZE%, %FILE_HITS% hits)</p> Everything seems to be working now. Thanks! Jackie
|
|
|
|
|
Logged
|
|
|
|
|
GaMerZ
|
|
|
|
|
|
Logged
|
++ lesterchan.net - Lester Chan's WebsiteI DO NOT provide support for any modifications of any plugin to meet your needs/requirements, unless it is a paid job and I have the time to do it due to the large number of request.
|
|
|
|
jlm
|
Thanks. I read that. I am using PHP version 5.2.0. I think it has to do with the permalink structure I'm using: /%postname%/.
The above code I posted is working just find, so I'll use that.
Thanks for the reply and great plugins.
Jackie
|
|
|
|
|
Logged
|
|
|
|
|
GaMerZ
|
thanks for contributing the solution
EDIT: I have created a sticky on it.
|
|
|
|
|
Logged
|
++ lesterchan.net - Lester Chan's WebsiteI DO NOT provide support for any modifications of any plugin to meet your needs/requirements, unless it is a paid job and I have the time to do it due to the large number of request.
|
|
|
|
bulletbrain
|
Thanks for that, I was thinking far too much about wordpress and WP-DownloadManager coding/permalinks and forgot the now obvious easy template route (couldn't see the wood for the trees)  However, instead of using something like: href="http://www.mysite.com/wordpress/?dl_id=%FILE_ID%" I just used href="?dl_id=%FILE_ID%" and all now works fine 
|
|
|
|
|
Logged
|
|
|
|
|
Ttech
|
Ok.  Glad it works... 
|
|
|
|
|
Logged
|
|
|
|
|
cmm225
|
Yea, I got this problem as well. However, since I still wanted prettier URLS, I changed my .htaccess to RewriteEngine on RewriteRule dl-([0-9]*) ?dl_id=$1 [NC] And changed my links from ?dl_id=%FILE_ID% to dl-%FILE_ID% and now it works like http://mysite.com/dl-1I've tried a couple other combinations, which don't work, link /dl/1, or at least I couldn't get them to work. but, I like http://mysite.com/dl-1
|
|
|
|
|
Logged
|
|
|
|
|
GaMerZ
|
cool, thanks for sharing
|
|
|
|
|
Logged
|
++ lesterchan.net - Lester Chan's WebsiteI DO NOT provide support for any modifications of any plugin to meet your needs/requirements, unless it is a paid job and I have the time to do it due to the large number of request.
|
|
|
|
Ttech
|
Ny sytem is just aobut up! I just need to restor my Thunberbird and Firefox Profiles and settings. Then Install Apache and PHP. GaMerZ do you know how to set up Perl and Python properly?
|
|
|
|
|
Logged
|
|
|
|
|
GaMerZ
|
eh, no idea man
|
|
|
|
|
Logged
|
++ lesterchan.net - Lester Chan's WebsiteI DO NOT provide support for any modifications of any plugin to meet your needs/requirements, unless it is a paid job and I have the time to do it due to the large number of request.
|
|
|
|
Ttech
|
Hmm... Thanks
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Ttech
|
Perfect Timing! I just finished looking over this plugin. Here is your problem.  The link you gave me for your downloads page has "index.php" in it. But the category for your downloads page does not have index.php in it.So something is happening to your permalinks causing it to not add the index.php, making it break. Perhaps maybe try removing /index.php and regenerating permalinks. See if it works then. BTW: I like the Information in your Profile.  Really helpful! Good... No Great idea! 
|
|
|
|
|
Logged
|
|
|
|
|
David Potter
|
Thanks  When I remove index.php from my permalink structure, I can no longer get to any page. Looking at it from a web server standpoint, this makes sense, since there isn't a folder at http://david.blogs.dpotter.net/Technical/downloads. The only way I can see for this to work (with my limited experience with WordPress) is to get index.php added to the category page URL. Can that be done? Thanks, David
|
|
|
|
|
Logged
|
Windows Server 2003 IIS 6 MySQL 5.0.45-community-nt PHP 5.2.4 WordPress 2.6
|
|
|
|
GaMerZ
|
does "index.php/downloads" works for you? because it works for me on Linux
|
|
|
|
|
Logged
|
++ lesterchan.net - Lester Chan's WebsiteI DO NOT provide support for any modifications of any plugin to meet your needs/requirements, unless it is a paid job and I have the time to do it due to the large number of request.
|
|
|
|
David Potter
|
Alright, I'm an idiot. I didn't notice that there was a place on the Download Options page for me to specify the URL for the downloads page. Adding index.php/ before downloads did the trick. Thanks for the help.
By the way, the comment below the downloads page URL text control says that it should be specified without a trailing slash. I didn't touch it until now and it had a trailing slash. It seems to work fine with or without one.
Thanks, David
|
|
|
|
|
Logged
|
Windows Server 2003 IIS 6 MySQL 5.0.45-community-nt PHP 5.2.4 WordPress 2.6
|
|
|
|
David Potter
|
Hmm, as I examine this further, it seems odd to me that the index.php wasn't there to begin with. How is the default downloads page URL generated? I wonder if the other problem discussed in this thread could be solved if the downloads page URL was fixed by default.
I decided to revert my download listing template to the default where it uses %FILE_DOWNLOAD_URL%. It doesn't have the index.php in it either. Any idea why?
Thanks, David
|
|
|
|
|
Logged
|
Windows Server 2003 IIS 6 MySQL 5.0.45-community-nt PHP 5.2.4 WordPress 2.6
|
|
|
|
Ttech
|
Hmm... I don't know... But it did work?
|
|
|
|
|
Logged
|
|
|
|
|
|
|