Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 5 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: A little Help with - PDdownloads
by Fastian on 2005/8/17 18:50:55

Thanks krobi for the guideline.
Quote:
as you have written you are willing to learn


Yes I do. That’s completely an other story that I usually take hours to do the things that need just few minutes

Anyway, with your help, I manage to hide the actual path not exactly the way i thought but it will work for now.

Now i have one more question.

I m adding a small screensavers collection and few webs just allowed me to link to there html pages. DO as i download URL i have to add (http://www.screensavers.com/nature1.htm)
By doing this The other webpage opens up in the same window leaving my web completely. (You need to use Back button to come to web again)

Can this be open in another window ?? Or inside the web( As Center Block)
Re: A little Help with - PDdownloads
by krobi on 2005/8/16 20:13:17

hehe yes sorry for not answering your question but we had no time for this we have to work on pd-downloads 1.2

in the mean time you had could look your self into some files, especially in the visit.php this is the file you have to modify.

as you have written you are willing to learn
i cant give you a detailed manual how to do this because i'am tired but you will find all the things you have to change in this part

Quote:
if (!empty($xoopsUser))
{
echo "
<h4><img src='" . XOOPS_URL . "/modules/PDdownloads/images/icon/downloads.gif' align='middle' alt='' /> " . _MD_PDD_DOWNINPROGRESS . "</h4>\n
<div>" . _MD_PDD_DOWNSTARTINSEC1 . "</div><br />\n
<div>" . _MD_PDD_DOWNNOTSTART . "\n
<a href='$url' target='_blank'>" . _MD_PDD_CLICKHERE . "</a>.\n
</div>\n";
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
// HTTP/1.0
header("Pragma: no-cache");
// Date in the past
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
echo "<meta http-equiv=\"refresh\" content=\"0;url=$url\">\r\n";
}
else
{
echo "
<h4><img src='" . XOOPS_URL . "/modules/PDdownloads/images/icon/downloads.gif' align='middle' alt='' /> " . _MD_PDD_DOWNINPROGRESS . "</h4>\n
<div>" . _MD_PDD_DOWNSTARTINSEC . "</div><br />\n
<div>" . _MD_PDD_DOWNNOTSTART . "\n
<a href='$url' target='_blank'>" . _MD_PDD_CLICKHERE . "</a>.\n
</div>\n";
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
// HTTP/1.0
header("Pragma: no-cache");
// Date in the past
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
echo "<meta http-equiv=\"refresh\" content=\"3;url=$url\">\r\n";
}


so try a little bit with disabling some things - especially echo things.
Re: A little Help with - PDdownloads
by Fastian on 2005/8/16 18:36:40

I think only Krobi would have a better answer.
Re: A little Help with - PDdownloads
by Fastian on 2005/8/15 20:24:09

What i am asking, i have seen this on few sites running Mydownloads.
But i really dont know how much change will it cause.

Even if this is not possible with PDdownloads, Atleast some one could tell me so that i stop asking it again.
Re: A little Help with - PDdownloads
by Fastian on 2005/8/14 10:06:37

Thanks Krobi

I didn’t know that it’s just a small little change.

Its working now but I think this can be further improved. What I want to say is when click on download button, the next thing you see is where to save the file. Instead of getting the new page in the same window.
So basically I don’t want to show "Download in Progress" and especially Direct link to the file from
“If your download does not start, Click here!"

I hope this will again be a small change. If it’s quite complicated or can not be done. I can live without this. But if it can be achieved that will be Great.

And about second thing,
I thought changing bytes to KB will save the time coz I have everything in KBs. But never mind, its working perfectly now. Although I need to have a calculator to convert the size.

Thank you for looking into the thread and for your quick reply.

Who's Online

520 user(s) are online (468 user(s) are browsing Support Forums)


Members: 0


Guests: 520


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits