Download Link BBCode

A selection of BBCodes for use on your phpBB3 Forums.
User avatar
LDM
Site Admin
Site Admin
Posts: 1794
Joined: Thu May 29, 2008 6:51 pm

Download Link BBCode

Post by LDM » Thu Sep 11, 2008 3:57 pm

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 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
You do not have the required permissions to view the files attached to this post.

Warezinout
Forum Member
Forum Member
Posts: 21
Joined: Sun Sep 14, 2008 3:53 pm

Re: Download Link BBCode

Post by Warezinout » Sun Sep 14, 2008 4:01 pm

Thank you LDM, I will set this up. Diamond!

User avatar
LDM
Site Admin
Site Admin
Posts: 1794
Joined: Thu May 29, 2008 6:51 pm

Re: Download Link BBCode

Post by LDM » Sun Sep 21, 2008 12:23 pm

Yes, it's a good bbcode this one. Use it here.

seolpo
Forum Member
Forum Member
Posts: 6
Joined: Thu Dec 11, 2008 3:14 pm

Re: Download Link BBCode

Post by seolpo » Thu Dec 11, 2008 7:00 pm

thakns :good:

User avatar
sntkmr9
Forum Member
Forum Member
Posts: 1
Joined: Mon Feb 02, 2009 10:54 am

Re: Download Link BBCode

Post by sntkmr9 » Mon Feb 02, 2009 11:32 am

how to hide it from guests ??????????

User avatar
LDM
Site Admin
Site Admin
Posts: 1794
Joined: Thu May 29, 2008 6:51 pm

Re: Download Link BBCode

Post by LDM » Mon Feb 02, 2009 11:33 am


princexxx
Forum Member
Forum Member
Posts: 1
Joined: Sat Mar 28, 2009 11:06 am

Re: Download Link BBCode

Post by princexxx » Sat Mar 28, 2009 11:25 am

How to make the link to open in new window!

User avatar
man128
Forum Member
Forum Member
Posts: 23
Joined: Fri Jun 06, 2008 7:30 pm

Re: Download Link BBCode

Post by man128 » Tue Jun 02, 2009 6:56 pm

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.

User avatar
LDM
Site Admin
Site Admin
Posts: 1794
Joined: Thu May 29, 2008 6:51 pm

Re: Download Link BBCode

Post by LDM » Tue Jun 02, 2009 7:41 pm

What do you want it to do, download to the computer? Maybe zip or rar it beforehand?

User avatar
man128
Forum Member
Forum Member
Posts: 23
Joined: Fri Jun 06, 2008 7:30 pm

Re: Download Link BBCode

Post by man128 » Tue Jun 02, 2009 11:03 pm

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

Post Reply