xplan2007
12-08-2009, 10:00 PM
First Download newest version of HS from: http://highslide.com/download.php.
Upload highslide directory to your Forums root. ( I use Highslide 4.1.8 )
For attachment
Template edits:
Postbit Templates >> postbit_attachmentthumbnail
Find this
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]" rel="Lightbox_$post[postid]" id="attachment$attachment[attachmentid]"<if condition="$show['newwindow']"> target="_blank"</if>
Replace with
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]" <if condition="$show['newwindow']"> target="_blank"</if>class="highslide" onclick="return hs.expand(this)">
Open headinclude, somewhere add:
<script type="text/javascript" src="highslide/highslide.js"></script>
<link rel="stylesheet" type="text/css" href="highslide/highslide.css" />
<script type="text/javascript">
hs.graphicsDir = 'highslide/graphics/';
hs.wrapperClassName = 'wide-border';
</script>
---------------------------------------------------------------
For Attac in line [attach] bbcode in post
open \include\class_bbcode.php
line 1905
Find
rel=\"Lightbox_" . $this->containerid . "\" id=\"attachment\\1\"
Replace with
class=\"highslide\" onclick=\"return hs.expand(this)\"
For Highslide css you need to be edit by yourself
Credit thank to luki who is make this first ( his modification for 3.7.4 (https://vborg.vbsupport.ru/showthread.php?t=197901) )
Upload highslide directory to your Forums root. ( I use Highslide 4.1.8 )
For attachment
Template edits:
Postbit Templates >> postbit_attachmentthumbnail
Find this
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]" rel="Lightbox_$post[postid]" id="attachment$attachment[attachmentid]"<if condition="$show['newwindow']"> target="_blank"</if>
Replace with
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]" <if condition="$show['newwindow']"> target="_blank"</if>class="highslide" onclick="return hs.expand(this)">
Open headinclude, somewhere add:
<script type="text/javascript" src="highslide/highslide.js"></script>
<link rel="stylesheet" type="text/css" href="highslide/highslide.css" />
<script type="text/javascript">
hs.graphicsDir = 'highslide/graphics/';
hs.wrapperClassName = 'wide-border';
</script>
---------------------------------------------------------------
For Attac in line [attach] bbcode in post
open \include\class_bbcode.php
line 1905
Find
rel=\"Lightbox_" . $this->containerid . "\" id=\"attachment\\1\"
Replace with
class=\"highslide\" onclick=\"return hs.expand(this)\"
For Highslide css you need to be edit by yourself
Credit thank to luki who is make this first ( his modification for 3.7.4 (https://vborg.vbsupport.ru/showthread.php?t=197901) )