Page 1 of 2

Controls in heading

Posted: 28 Oct 2011, 11:25
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 :roll:

Controls in heading

Posted: 28 Oct 2011, 12:16
by Stoker
Open styles/prosilver/template/attachment.html
Find: hs.expand(this, { slideshowGroup: '{_file.THUMB_POST_ID}' })
Replace with: hs.expand(this)

Refresh template.

Controls in heading

Posted: 28 Oct 2011, 16:21
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 -->

Controls in heading

Posted: 28 Oct 2011, 16:32
by Stoker
Are we talking about attachments or a bbcode?

Controls in heading

Posted: 28 Oct 2011, 16:41
by wcgamer
about attachments

Controls in heading

Posted: 28 Oct 2011, 16:49
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" />

Controls in heading

Posted: 28 Oct 2011, 16:58
by wcgamer
sorry... no changes
22.jpg

Controls in heading

Posted: 28 Oct 2011, 18:07
by Stoker
Refresh the template in ACP.
And give me a link to your board.

Controls in heading

Posted: 28 Oct 2011, 18:21
by wcgamer
i'm refresh all...
http://wcbot.dyndns.org/forum/viewtopic ... 4847#p4847
login: test
pass: 123456

Controls in heading

Posted: 28 Oct 2011, 18:42
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.