Page 1 of 3

Download Link BBCode

Posted: Thu Sep 11, 2008 3:57 pm
by LDM
This BBCode is for embedding a download link in your post in a much smarter way. For an example of this is action, see the download link in this post http://www.modphpbb3.com/forum/viewtopic.php?f=10&t=317

I will also attach a selection of Download images that you can use. You will need to select your image and rename it to download.png and add it to your forum image directory I.E. forum root/images.

BBCode:

Code: Select all

[downlink]{URL}[/downlink]
HTML:

Code: Select all

<table>
<tr>
<td title="Download Here !!" onclick="window.location.href='{URL}'" style="cursor:pointer;"><img src="images/download.png" alt="" /></td>
<td title="Download Here !!" onclick="window.location.href='{URL}'" style="cursor:pointer;"><span onmouseover="this.style.color ='#FF0000';" style="font-weight: normal; font-size: 11px; color: #000000; font-family: Arial;" onmouseout="this.style.color='#000000';"><b>&nbsp;Download Here !!</b></span></td>
</tr>
</table>
Helpline:

Code: Select all

Downlink: [downlink]URL[/downlink]
Once you have added the image to the folder, you can embed a download link, by adding the URL in between the tags.

Example:

Code: Select all

[downlink]http://www.modphpbb3.com/forum/download-example.zip[/downlink]
Find attached an image to use, rename it as download.png and upload it to the mentioned subdirectory:
download_icons.zip

Re: Download Link BBCode

Posted: Sun Sep 14, 2008 4:01 pm
by Warezinout
Thank you LDM, I will set this up. Diamond!

Re: Download Link BBCode

Posted: Sun Sep 21, 2008 12:23 pm
by LDM
Yes, it's a good bbcode this one. Use it here.

Re: Download Link BBCode

Posted: Thu Dec 11, 2008 7:00 pm
by seolpo
thakns :good:

Re: Download Link BBCode

Posted: Mon Feb 02, 2009 11:32 am
by sntkmr9
how to hide it from guests ??????????

Re: Download Link BBCode

Posted: Mon Feb 02, 2009 11:33 am
by LDM

Re: Download Link BBCode

Posted: Sat Mar 28, 2009 11:25 am
by princexxx
How to make the link to open in new window!

Re: Download Link BBCode

Posted: Tue Jun 02, 2009 6:56 pm
by man128
I like this download link bbcode, was wondering if you can make this work for .avi files in Internet Explorer?
I have been looking for something like this for a while. Everytime I try to left click on a file.avi it will open Windows media Player and that's not what I want. Please Help.

Re: Download Link BBCode

Posted: Tue Jun 02, 2009 7:41 pm
by LDM
What do you want it to do, download to the computer? Maybe zip or rar it beforehand?

Re: Download Link BBCode

Posted: Tue Jun 02, 2009 11:03 pm
by man128
Well, I have a divx web player that plays the same file, so I would like to allow the members to play the file with divx web player or download it. Don't want to compress to .zip or .rar .
Can you help? Thanks