![]() |
Here?s the one I just found. It?s client side and very quick!
https://vborg.vbsupport.ru/showthread.php?t=68677 I thought i should inform some of the people that didn?t notice that hack. Have a nice day. |
I went through a few pages but haven't seen this question. Apologies if someone asked this. I just want to turn all outside images into links rather than an inline display while leaving attached images to thumbnails (as it works now)
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
$bbtag = '<table><tr><td align="center"><a href="' . $link . '"><img src="' . $link . '" width="'.$max_imgsize.'" border="0"'.substr($bbtag,$linkclose+1,strlen($bbt ag)-$linkclose+1).'<br>Picture has been resized, click for full size pic</a></td></tr></table>'; to this: $bbtag = '<table><tr><td align="center"><a href="' . $link . '">' . $link . '</a></td></tr></table>'; and lines 214 & 215 of the hack file from: $biglink = '<table><tr><td align="center"><a href="' . $link . '" ><img src="' . $link . '" width="'.$max_imgsize.'" border="0" alt=""><br>Picture has been resized, click for full size pic</a></td></tr></table>'; to: $biglink = '<table><tr><td align="center"><a href="' . $link . '" >' . $link . '</a></td></tr></table>'; That should do what you are looking for. If you want to add some text in there as well as the link address put it right after the > just before ' . $link If you want to replace the link address with text remove the ' . $link . ' between the > and < and place whatever text you want there. |
this hack really rox, thx Steve!
[high]* Gnappy install ^^ [/high] but i have a little question.. on my forums many ppl uses to upload images on forum, and for these images i added this tag, used to see this kind of pictures(with url dont finish with .jpg, .gif, .jpeg, etc..) i called this tag [card] (i think many other ppl here uses this tag) and it works like this: Code:
<img src="{param}"> thx a lot for replies :o |
alright, I used this on my forums when we were hosted by a hosting company called EPGservers, but we recently rented a dedicated machine from http://servermatrix.com/, the 2.4 machine, and now this hack doesnt work. Any suggestions?
|
Quote:
|
All times are GMT. The time now is 12:51 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:
|