Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 01:28 am EST

Geeklog Forums

Showing an ad when download a file


Status: offline

etolocka

Forum User
Chatty
Registered: 07/19/04
Posts: 60
Hi guys!

Is there any way to show an ad when the user starts download of a file (from File Manager) ?

Best regards,
Ernesto.
 Quote

Status: offline

jetshack

Forum User
Full Member
Registered: 06/29/04
Posts: 122
Location:Texas
Maybe you could point the download to an html file with an autodownload script on it and place the add in the html...
Place this between the head and body tags
Text Formatted Code
<SCRIPT LANGUAGE="JavaScript">
<!-- Script courtesy of http://www.springcypress.com
window.location="http://path/to/file/";
// -->
 

then put the add in the body....
Not sure if this will work, but you can also put a delay on how long it takes before the redirect takes effect also.
 Quote

Status: offline

etolocka

Forum User
Chatty
Registered: 07/19/04
Posts: 60
Thank you!

I want to show the advice every time the user download a file and before the download starts (something like: "Drink Coca Cola. Wait for download to start in 5 seconds...")

Regards,
Ernesto.
 Quote

All times are EST. The time is now 01:28 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content