![]() |
Download button link
This is my first release so go easy on me okay :)
This will add a nifty little hyperlinked immage so that if someone were to post a download link, it would display a hyper-linked immage for the user to click on instead of a long download link to a file or w/e Installation: Goto adminCP ->Custom BBCodes-> Add new BBCode Title: Download Tag: dl Replacement: HTML Code:
<a href="{param}" target="_new"><img src="http://img186.imageshack.us/img186/9572/downloadzc4.png" /></a> Example: [dl]http://[/dl] Description: Hyperlinked download immage Use {option} No Button Immage: http://anywares.info/ImgHost/images/5639dl.gif PLEASE NOTE: I uploaded the immage so if you wish to download it and upload it to your server, just change Code:
http://img186.imageshack.us/img186/9572/downloadzc4.png For instance, if you upload it to your /images file the code would look like this: HTML Code:
<a href="{param}" target="_new"><img src=Forum/images/misc/IMAGE NAME /></a> If you like it, click install ;) |
Nifty idea :)
|
Lol glad you like my "nifty" idea :p
|
after ive installed this hack my post show as this:
http://w12.easy-share.com/856073.html" target="_new">https://vborg.vbsupport.ru/ |
Did you close your <a> tags? make sure to start AND finish with <a> tags.... other than that its suppose to work. remember
HTML Code:
<a href="{param}" target="_new"><img src="http://img186.imageshack.us/img186/9572/downloadzc4.png" /></a> |
You might want to include the image in a ZIP so that users can upload it to their own server, in case it ever gets taken off ImageShack.
|
Very well then. Thread updated :D
|
yep it works now thanks
|
np man glad you like it....and glad it works :)
|
works like a charm and compliments your other hack that uses a similar image set.
http://www.game-image.com/uploads/b9fc922302.jpg |
Glad you like them :D
|
I'm new here and I really like this mod ... but. There's always a but, huh? When in use on the forums the image has a link hilight box around it. Is there any way to remove/hide that? It's like underlined for text links but it wraps around the image.
Thanks |
lolz ive encountered this problem with firefox. they think its leet or smtin to link the immages like that. im not sure at all if this will work but its worth a try eh?
use this code: HTML Code:
<table border="0"> |
Thanks anywares, valiant effort but it had no effect on the image. I have the image uploaded to my server but it still shows the "link" outine.
|
You have to put border=0 in the code to remove the ugly box:
Code:
<a href="{param}" target="_new"><img src="http://img186.imageshack.us/img186/9572/downloadzc4.png" border=0/></a> |
...also, if you are hosting the file in your forums/images/misc directory you need to put a forward slash before forums:
Code:
<a href="http://" target="_new"><img src=/forums/images/misc/downloadzc4.png border=0/></a> |
I freaking love it!! Especially for what my forums are for - this is totally useful. *clicked installed*
|
Quote:
|
Hmm where do you put the other <a> tag? Cant seem to work it out :S
<a href="{param}" target="_new"><img src="http://img186.imageshack.us/img186/9572/downloadzc4.png" /></a> Theres no <a> :S |
no need.
HTML Code:
<a href=" and HTML Code:
</a> |
Quote:
But im gettin an image plus the code.... "" target="_new">" :confused: |
hmmm gimee a link/screenshot to the problem
|
<a href="http://img120.imageshack.us/img120/7029/hmmwm7.jpg" target="_blank">http://img120.imageshack.us/img120/7029/hmmwm7.jpg</a>
|
I think you might have skipped/missed something in the codes
be shore to get the FULL code so that it looks like this: HTML Code:
<a href="{param}" target="_new"><img src="http://img186.imageshack.us/img186/9572/downloadzc4.png" /></a> |
Nope, still does the same with that code :S lol
|
Ive pm'ed you iHostile
|
What to do if you use different styles on your forum and want to use different (your own) button-layouts matching your styles with this modification?
Here's the solution: 1. upload your buttons to the style related editor-folders. 2. create a new, additional css-definition for each style like this: Code:
.bbpw{ HTML Code:
<table width="400" border="0" cellspacing="0" cellpadding="0"> Screenshot: http://www.chaospasses.com/images/Bild1.gif Quote:
HTML Code:
<a href={param} target="_new"><img src="http://img186.imageshack.us/img186/9572/downloadzc4.png" /></a> |
Great stuff! Made my own button tho and one for the editor toolbar..
Thanks :) |
this is a neat hack how to i add the legend with the picture and in the middle add the url to show download???
|
idea: if this would change ANY links posted to be replaced with a image called 'link' (whatever image you may use), I would like it even more? possible to do that?
|
You want an image named "link" instead of a "Download" image? Or you want links to be text replaced?
|
Is it possible to do this hack to attachments rather than external links, in other words is it possible to change the attachment names to a download button, thanks
|
? any idea
|
Thanks :p
|
Took me a minute to get it figured out, but I got it done! Thank you! I like this alot!
|
Thanks
|
thnx !!! :)
works like a charm ! *silver clicks installed* |
reinstalled it on 3.6.8 - it's just bbcode, but works nicely.
|
Could not get it to work
|
I am getting this same error - target="_new">
I m using this code - <a href="{param}" target="_new"><img src="http://img186.imageshack.us/img186/9572/downloadzc4.png" /></a> Plz help thanks Quote:
|
All times are GMT. The time now is 05:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|