Controls in heading

Download and support for PhpBB3 Highslide Attachment Mod
User avatar
wcgamer
BBCoder II
BBCoder II
Posts: 13
Joined: 18 Sep 2011, 23:19
BBCodes: 20

Controls in heading

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 :roll:
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Controls in heading

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.
Board rules! No PM support
User avatar
wcgamer
BBCoder II
BBCoder II
Posts: 13
Joined: 18 Sep 2011, 23:19
BBCodes: 20

Controls in heading

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 -->
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Controls in heading

Post by Stoker »

Are we talking about attachments or a bbcode?
Board rules! No PM support
User avatar
wcgamer
BBCoder II
BBCoder II
Posts: 13
Joined: 18 Sep 2011, 23:19
BBCodes: 20

Controls in heading

Post by wcgamer »

about attachments
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Controls in heading

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" />
Board rules! No PM support
User avatar
wcgamer
BBCoder II
BBCoder II
Posts: 13
Joined: 18 Sep 2011, 23:19
BBCodes: 20

Controls in heading

Post by wcgamer »

sorry... no changes
22.jpg
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Controls in heading

Post by Stoker »

Refresh the template in ACP.
And give me a link to your board.
Board rules! No PM support
User avatar
wcgamer
BBCoder II
BBCoder II
Posts: 13
Joined: 18 Sep 2011, 23:19
BBCodes: 20

Controls in heading

Post by wcgamer »

i'm refresh all...
http://wcbot.dyndns.org/forum/viewtopic ... 4847#p4847
login: test
pass: 123456
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Controls in heading

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.
Board rules! No PM support
Locked