lm86
Forum Replies Created
-
somebody can help IN ENGLISH please?
There are not topics about this in spanish esmi. thank you for your love.
Jaja ok, explicame en espa?ol. Pudiste hacer funcionar el plugin?
Same issue!
WP DB 2.2.3
WP 3.1.3.Any idea?
Thanks!Forum: Plugins
In reply to: [Plugin: Audio Player] Encode mp3 URLs?There is!
Just add “dw.php?file=” in the audio-player.php file.
Find this lines and do it…
Before:// Get absolute URLs for relative ones if (!$this->isAbsoluteURL($afile)) { $afile = $this->audioRoot . "/" . $afile; }
After:
// Get absolute URLs for relative ones if (!$this->isAbsoluteURL($afile)) { $afile = $this->audioRoot . "/dw.php?file=" . $afile; }
That’s all! At least, there is just one firefox plugin monitor that can find the url of my mp3 file, the “Cacheviewer”, but others that usually can do it, like “Download Helper” now the can not.
Forum: Plugins
In reply to: [Plugin: Audio Player] Encode mp3 URLs?Hey doryphores, or someone else…
Is there a way to add the prefix “/dw.php?file=” to the [audio:] syntax?
For example now im using [audio:dw.php?file=test.mp3]
And i just want to keep using [audio:test.mp3], without the “/dw.php?file=” in the call.
Thank you! ??
Forum: Plugins
In reply to: [Plugin: Audio Player] Encode mp3 URLs?Yes i think so. The track must to be in the path that you choose.
Forum: Plugins
In reply to: [Plugin: Audio Player] Encode mp3 URLs?I got it! Example: https://www.luismaria.net/try.php
This is the code 4 the script:
<script type="text/javascript"> AudioPlayer.embed("audioplayer_1", {soundFile: "/dw.php?file=belen.mp3"}); </script>
And the php file:
<?php $path = $_SERVER['DOCUMENT_ROOT']."/audio/mp3/"; // change the path to fit your websites document structure $fullPath = $path.$_GET['file']; if ($fd = fopen ($fullPath, "r")) { $fsize = filesize($fullPath); $path_parts = pathinfo($fullPath); $ext = strtolower($path_parts["extension"]); switch ($ext) { case "pdf": header("Content-type: application/mp3"); // add here more headers for diff. extensions header("Content-Disposition: attachment; filename=\"".$path_parts["basename"]."\""); // use 'attachment' to force a download break; default; header("Content-type: application/octet-stream"); header("Content-Disposition: filename=\"".$path_parts["basename"]."\""); } header("Content-length: $fsize"); header("Cache-control: private"); //use this to open files directly while(!feof($fd)) { $buffer = fread($fd, 2048); echo $buffer; } } fclose ($fd); exit; ?>
Works perfect to me. Now, im going to try a way to stop hotlink, and the end, maybe theres a way to adapt the wordpress plugin. ??
Forum: Plugins
In reply to: [Plugin: Audio Player] Encode mp3 URLs?Ive been thinkin about that way… can u share the code of the preview.php file?
Maybe i can help you to find a way.
Thanks! ??Forum: Plugins
In reply to: [Plugin: Audio Player] Encode mp3 URLs?Hey Piatti, did you resolved your problem?
Please let me know, im lookin’ for the same solution.
??
Forum: Fixing WordPress
In reply to: 404 Error – Posts Last YearOk.
I just delete the file “.htaccess” on the “2008” folder.
Simplemente borré el archivo “.htaccess” en la carpeta “2008”.
Bye!
Forum: Plugins
In reply to: [Plugin: Heatmap Plugin] no documentation whatsoever!hi.
I can not open the map in my homepage, I click on the arrow but nothing happens.
Must spend a certain time to start seeing results? Still not a day that i install the plugin.
Im using, wp2.7.1 and firefox 3
Thanks.Forum: Plugins
In reply to: [Plugin: Custom Post Background] Not workingHi.
Im very sorry!
It works OK!
The problem was that I never look at the bottom of the page after pressing the edit entry.Yes, I am a fool. Lol.I was testing the plugin is very good.
But I discovered that it was not really what I’m looking for itself.
Change the color of the entire page, I thought just changing the color of the box on the entry.Of course, now I feel good and to do so should edit the settings of the theme.Once again, thanks!