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
Locked
Sharkky
BBCoder II
BBCoder II
Posts: 10
Joined: 22 Apr 2010, 13:23

Re: Highslide Attachment Mod

Post by Sharkky »

The folder is in root ...
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Highslide Attachment Mod

Post by Stoker »

Looks like the Absolution style wants the highslide folder inside the template folder.
Try it and let me know if it helps
Board rules! No PM support
Sharkky
BBCoder II
BBCoder II
Posts: 10
Joined: 22 Apr 2010, 13:23

Re: Highslide Attachment Mod

Post by Sharkky »

Done that!
If i post a image, it works ... If i logout and open the image, doesn't work any more ... :(
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Highslide Attachment Mod

Post by Stoker »

Its a conflict with the SEO mod, I dont know how to solve it.
Try asking at the SEO boards and please get back to me if you find the answer.
Board rules! No PM support
Avdon
BBCoder II
BBCoder II
Posts: 18
Joined: 05 Mar 2010, 10:28

Re: Highslide Attachment Mod

Post by Avdon »

Q - How do I get Lightbox effect with Highslide?
A - Open styles/yourstyle/template/overall_header. html and find:

Code: Select all

//hs.dimmingOpacity = 0.75;
Replace with:

Code: Select all

hs.dimmingOpacity = 0.75;
Well, I think that was the case for earlier versions, and not in the case of 4.1.8 .
Is there a way to do that for 4.1.8?
Last edited by Avdon on 24 Apr 2010, 18:23, edited 1 time in total.
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 803
Joined: 05 Mar 2010, 01:10
Extra Rank: Donator.png
BBCodes: 2000
Favourite BBCode: porn tube
Favourite MOD: Non of Stokers
Location: up your bum
Contact:

Re: Highslide Attachment Mod

Post by Steve »

NAPWR wrote: Nice, Stoker is Hot
Avdon
BBCoder II
BBCoder II
Posts: 18
Joined: 05 Mar 2010, 10:28

Re: Highslide Attachment Mod

Post by Avdon »

That's great. Thank you.
User avatar
DoYouSpeakWak
BBCoder II
BBCoder II
Posts: 27
Joined: 05 Mar 2010, 16:47

Re: Highslide Attachment Mod

Post by DoYouSpeakWak »

Stoker >

I installed this on a board. But yesterday they emailed me. Saying "Why isnt the highslide working, if i upload images of a certain size they become scrollable and non-clickable" i didnt belive this because this mod was installed and all uploaded images should be clickable and show in highslide.

But i was wrong.
http://grillklubben.dk/forum/viewtopic. ... 09&start=0

Apperently. The attachment thumbnail creation was set to a larger size than the image that was uploaded. That resulted in a scrollable image as you can see in the link above.

It was easy to fix. Just set the thumbnail size to something smaller. And advised him to tell his users not to upload images smaller than tat.

My question now is, am i doing something wrong settings wize ?

If not i would like to suggest you add the following to this mod. In this attachment.
Attachment settings_1273594314275.png
There is this setting "Maximum image dimensions:"
If this mod included a "Minimum image dimensions" that could be set to the same size as "Maximum thumbnail width in pixel:" and by doing that, what happend in this case would not be posible.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Highslide Attachment Mod

Post by Stoker »

"Maximum image dimensions:" If you set this to 1000 x 1000 px you cant upload images that is bigger than that.
"Minimum thumbnail file size:" Is defined by a size in bytes. It does not make any sense to define this in bytes instead of pixels. There has to be a reason for the phpBB Dev team to do it that way.

However this settings gives you the chance to define when you want to have a thumbnail created and highslide enabled on bigger images.

What you are requesting is a standalone mod, but I like the idea. Actually I hope that it get implemented in a future version of phpBB.
Board rules! No PM support
User avatar
DoYouSpeakWak
BBCoder II
BBCoder II
Posts: 27
Joined: 05 Mar 2010, 16:47

Re: Highslide Attachment Mod

Post by DoYouSpeakWak »

Stoker » 11 May 2010, 18:13 wrote: What you are requesting is a standalone mod, but I like the idea. Actually I hope that it get implemented in a future version of phpBB.
I agree, But i wanted to try it out on you, maybe you would add it. Anyway requesting it here was a faster way than doing it in the tracker at phpbb.com. But i does not seem like a huge mod, maybe i get going with it myself.
Locked