Highslide Attachment Mod

Modifications for phpBB3. Try the Mods here and share Your own Mods
There is no support here! Only Read Access!
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

Re: Highslide Attachment Mod

Post by Fire-Fox »

Take a look here :
http://phpbb3addons.com/viewtopic.php?f ... 8&p=36#p36

How can i get the images to behave the same?
(the image where stokers avatar is on, is not behaving the same as the rest)

[edit]Fixed[/edit]

my settings looks like this now

Code: Select all

		<!-- IF _file.S_THUMBNAIL -->
		<dl class="file">
			<a href="{_file.U_DOWNLOAD_LINK}/{_file.DOWNLOAD_NAME}" class="highslide" onclick="return hs.expand(this, { wrapperClassName: 'controls-in-heading', slideshowGroup: 'highslide' })"><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-heading"></div> -->
		<div class="highslide-heading"></div>
			<!-- IF _file.COMMENT --><br />{_file.COMMENT}<!-- ENDIF -->
		</dl>
		<!-- ENDIF -->

Code: Select all

<!-- IF _file.S_IMAGE -->
      <dl class="file">
         <a href="{_file.U_INLINE_LINK}/{_file.DOWNLOAD_NAME}" class="highslide" onclick="return hs.expand(this, { wrapperClassName: 'controls-in-heading', slideshowGroup: 'highslide' })"><img src="{_file.U_INLINE_LINK}" style="max-width:400px;" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a>
         <div class="highslide-heading"></div>
         <!-- IF _file.COMMENT --><dd><em>{_file.COMMENT}</em></dd><!-- ENDIF -->
      </dl>
      <!-- ENDIF -->
include/bbcode.php
What is wrong with that?
There is no control bar

Code: Select all

'img'           => '<a class="highslide" href="$1" onclick="return hs.expand(this)"><img src="$1" style="max-height:210px;" alt="' . $user->lang['IMAGE'] . '" /></a><div id="controlbar" class="highslide-overlay controlbar"><a href="#" class="previous" onclick="return hs.previous(this)" title="Previous"></a><a href="#" class="next" onclick="return hs.next(this)" title="Next"></a><a href="#" class="highslide-move" onclick="return false" title="Move"></a><a href="#" class="close" onclick="return hs.close(this)" title="Close"></a></div>',
				'size'		=> '<span style="font-size: $1%; line-height: normal">$2</span>',
Last edited by Fire-Fox on 01 Apr 2010, 21:03, edited 5 times in total.
User avatar
Oliver
BBCoder III
BBCoder III
Posts: 120
Joined: 07 Mar 2010, 11:55

Re: Highslide Attachment Mod

Post by Oliver »

Does not work. I did all the installations. When you put a picture of the forum so when I press it so it open but in a new window. Does not change the color and nothing else.
Last edited by Oliver on 02 Apr 2010, 12:00, edited 3 times in total.
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

Re: Highslide Attachment Mod

Post by Fire-Fox »

Behave yourself!!

This is not a sh*t mod, it WORKS very well i might ad. i really hate people talking bad about others script/mods. The reason why they do it is because they can't get it installed, because they DON'T follow a instruction as they should!
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:

Re: Highslide Attachment Mod

Post by Stoker »

What was your question FF? Did you solve the problem?
Board rules! No PM support
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

Re: Highslide Attachment Mod

Post by Fire-Fox »

Can't get the control-in-heading to appear

in bbcode.php

Code: Select all

'img'           => '<a class="highslide" href="$1" onclick="return hs.expand(this)"><img src="$1" style="max-height:210px;" alt="' . $user->lang['IMAGE'] . '" /></a><div id="controlbar" class="highslide-overlay controlbar"><a href="#" class="previous" onclick="return hs.previous(this)" title="Previous"></a><a href="#" class="next" onclick="return hs.next(this)" title="Next"></a><a href="#" class="highslide-move" onclick="return false" title="Move"></a><a href="#" class="close" onclick="return hs.close(this)" title="Close"></a></div>',
            'size'      => '<span style="font-size: $1%; line-height: normal">$2</span>',
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:

Re: Highslide Attachment Mod

Post by Stoker »

Take a look in the install intructions and the edit of prosilver/template/attachment.html
Then you can see how it is done with attachments.

But I will warn you, what you are doing is affecting all images where the img bbcode is used.
Images with links in signatures will not work.
Board rules! No PM support
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

Re: Highslide Attachment Mod

Post by Fire-Fox »

Yes i noticed it will affect all image, thats why im not going any futher with this :D

im a right in it could be added to the [hsimg]? bbcode
Last edited by Fire-Fox on 02 Apr 2010, 18:59, edited 1 time in total.
chris1002
BBCoder II
BBCoder II
Posts: 17
Joined: 04 Apr 2010, 19:24
Location: Germany

Re: Highslide Attachment Mod

Post by chris1002 »

Hello together,
I have a problem with the installation. Where must I the file " Highslide" copy? Into the root listing or where? I does not function myself that. I would like to have it as here in the first contribution. How do I make that, if more pictures is there?
Many thanks for your answers

Greeting Chris

PHPBB 3.07PL1
Style: Acid Tech Tiger of basis from Subsilver
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:

Re: Highslide Attachment Mod

Post by Stoker »

Copy to root whis is the forum folder, also contains config.php
Board rules! No PM support
chris1002
BBCoder II
BBCoder II
Posts: 17
Joined: 04 Apr 2010, 19:24
Location: Germany

Re: Highslide Attachment Mod

Post by chris1002 »

Hello,
thanks for the fast answer. I " now; Highslide" into the Root_Verzeichnis copied, the two files in the Style " Subsilver" changed. And how can I use now the super tools? Sorry, I is a beginner which sowas concerns.
Thanks for the assistance

Greeting Christian
Locked