The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
highslide for IMG BBCODE
Anyone have a hack for using the highslide stuff with IMG tags?
|
#2
|
|||
|
|||
yeah this would be cool to
|
#3
|
|||
|
|||
bump
|
#4
|
|||
|
|||
From my post in the Highslide thread:
https://vborg.vbsupport.ru/showpost....&postcount=392 You can add an additional [img] tag in BBCode, and it will get parsed in place of your regular img code. Once you have Highslide installed and working for Attachments, here is what I did (not pretty, very rudamentary, but working!): In AdminCP>Custom BB Codes> BBCode Manager, scroll to bottom and click Add New. Title: Image Tag: img Replacement: HTML Code:
<a href="{param}" class="highslide" onclick="return hs.expand(this,{slideshowGroup:'$post[postid]'})" target="_blank"><img src="{param}" width="100"></a> Description: (Whatever you want) Note: I added another BBCode called imgsmall which does NOT use highslide. I use this for instructions, etc, where the image itself is smaller than 100px, so it would make no sense to have a thumbnail for it. I use the following replacement code: HTML Code:
<img src={param} border=0>
|
#5
|
||||
|
||||
<a href="https://vborg.vbsupport.ru/showthread.php?t=150491&page=47" target="_blank">https://vborg.vbsupport.ru/showt...150491&page=47</a>
|
#6
|
||||
|
||||
Quote:
|
#7
|
|||
|
|||
please keep me updated if you find away around this, i'd like to know how to do that as well
|
#8
|
||||
|
||||
Did you guys check that link I sent? The mod I'm working on there does images with highslide also.
|
#9
|
||||
|
||||
I am following this with much interest. I hope you find a way to make it less rudamentary.
|
#10
|
|||
|
|||
Elenna, this works like a dream.:up: Thanx for your assistance in this one.
-PB |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|