Download and support for PhpBB3 Highslide Attachment Mod
-
wcgamer [Offline]
- BBCoder II

- Posts: 13
- Joined: 18 Sep 2011, 21:19
- BBCodes: 20
Post
by wcgamer »
Hello.
In my attachment photo highslide with this controls
1.png
I want make this without bbcode
2.png
Help me please, thank you...Max

-
Stoker [Offline]
- Site Admin

- Posts: 3,867
- Joined: 12 May 2008, 21:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Has thanked: 2 times
- Been thanked: 1 time
Post
by Stoker »
Open styles/prosilver/template/attachment.html
Find: hs.expand(this, { slideshowGroup: '{_file.THUMB_POST_ID}' })
Replace with: hs.expand(this)
Refresh template.
~ The greatest achievement in life is to inspire ~
Regards Stoker
-
wcgamer [Offline]
- BBCoder II

- Posts: 13
- Joined: 18 Sep 2011, 21:19
- BBCodes: 20
Post
by wcgamer »
Can't find this code...
this my code
Code: Select all
<!-- IF _file.S_THUMBNAIL -->
<a href="{_file.U_DOWNLOAD_LINK}/{_file.DOWNLOAD_NAME}" class="highslide" onclick="return hs.expand(this)"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a><div class="highslide-caption">{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</div>
<!-- ENDIF -->
-
Stoker [Offline]
- Site Admin

- Posts: 3,867
- Joined: 12 May 2008, 21:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Has thanked: 2 times
- Been thanked: 1 time
Post
by Stoker »
Are we talking about attachments or a bbcode?
~ The greatest achievement in life is to inspire ~
Regards Stoker
-
wcgamer [Offline]
- BBCoder II

- Posts: 13
- Joined: 18 Sep 2011, 21:19
- BBCodes: 20
Post
by wcgamer »
about attachments
-
Stoker [Offline]
- Site Admin

- Posts: 3,867
- Joined: 12 May 2008, 21:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Has thanked: 2 times
- Been thanked: 1 time
Post
by Stoker »
Okay.
Open you overall_header.html
Find (may not be exactly like this):
Code: Select all
<script type="text/javascript" src="{ROOT_PATH}highslide/highslide-full.js"></script>
<link href="{ROOT_PATH}highslide/highslide.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
// <![CDATA[
hs.graphicsDir = '{ROOT_PATH}highslide/graphics/';
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.outlineType = 'rounded-white';
hs.fadeInOut = true;
//hs.dimmingOpacity = 0.75;
// Add the controlbar
hs.addSlideshow({
//slideshowGroup: 'group1',
interval: 5000,
repeat: false,
useControls: true,
fixedControls: 'fit',
overlayOptions: {
opacity: 0.75,
position: 'bottom center',
hideOnMouseOut: true
}
});
// ]]>
</script>
Replace with:
Code: Select all
<script type="text/javascript" src="{ROOT_PATH}highslide/highslide.js"></script>
<link href="{ROOT_PATH}highslide/highslide.css" rel="stylesheet" type="text/css" />
~ The greatest achievement in life is to inspire ~
Regards Stoker
-
wcgamer [Offline]
- BBCoder II

- Posts: 13
- Joined: 18 Sep 2011, 21:19
- BBCodes: 20
Post
by wcgamer »
sorry... no changes
22.jpg
-
Stoker [Offline]
- Site Admin

- Posts: 3,867
- Joined: 12 May 2008, 21:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Has thanked: 2 times
- Been thanked: 1 time
Post
by Stoker »
Refresh the template in ACP.
And give me a link to your board.
~ The greatest achievement in life is to inspire ~
Regards Stoker
-
wcgamer [Offline]
- BBCoder II

- Posts: 13
- Joined: 18 Sep 2011, 21:19
- BBCodes: 20
Post
by wcgamer »
-
Stoker [Offline]
- Site Admin

- Posts: 3,867
- Joined: 12 May 2008, 21:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Has thanked: 2 times
- Been thanked: 1 time
Post
by Stoker »
You have a conflict with the PhpBB Gallery which also is using Highslide.
Therefore delete this code from this mod as it is no longer needed:
Code: Select all
<script type="text/javascript" src="{ROOT_PATH}highslide/highslide.js"></script>
<link href="{ROOT_PATH}highslide/highslide.css" rel="stylesheet" type="text/css" />
That is the code you earlier replaced.
Then do a search at the phpbb gallery topic at phpbb.com and see if this has been asked before.
~ The greatest achievement in life is to inspire ~
Regards Stoker