[MODDB] HighSlide Attachment MOD

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Anti-Spam Guide
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] HighSlide Attachment & IMG MOD 1.0.2

Post by stokerpiller » Sun Mar 16, 2008 12:01 am

joebart72 wrote:I've got a little problem with my signature( in flash). Look at this :

Image

It works with gif, jpg or png... but not with flash 8-)
Please give me a link to the post - here or by pm.
What browser do You use?
I am done with phpBB

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [RC] HighSlide Attachment & IMG MOD 1.0.2

Post by MrC » Sun Mar 16, 2008 12:07 am

Forgotten the css part

Find:

Code: Select all

cursor: url(highslide/graphics/zoomin.cur), pointer;
Replace with:

Code: Select all

cursor: url({T_TEMPLATE_PATH}/highslide/graphics/zoomin.cur), pointer;
Find:

Code: Select all

background-image: url(highslide/graphics/loader.white.gif);
Replace with:

Code: Select all

background-image: url({T_TEMPLATE_PATH}/highslide/graphics/loader.white.gif);
Find:

Code: Select all

background: url(highslide/graphics/fullexpand.gif) no-repeat;
Replace with:

Code: Select all

background: url({T_TEMPLATE_PATH}/highslide/graphics/fullexpand.gif) no-repeat;

Find:

Code: Select all

background: url(highslide/graphics/controlbar4.gif);
Replace with:

Code: Select all

background: url({T_TEMPLATE_PATH}/highslide/graphics/controlbar4.gif);
Find:

Code: Select all

background-image: url(highslide/graphics/controlbar4-hover.gif);
Replace with:

Code: Select all

background-image: url({T_TEMPLATE_PATH}/highslide/graphics/controlbar4-hover.gif);

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] HighSlide Attachment & IMG MOD 1.0.2

Post by stokerpiller » Sun Mar 16, 2008 12:20 am

MrC wrote:Forgotten the css part

Find:

Code: Select all

cursor: url(highslide/graphics/zoomin.cur), pointer;
Replace with:

Code: Select all

cursor: url({T_TEMPLATE_PATH}/highslide/graphics/zoomin.cur), pointer;
Find:

Code: Select all

background-image: url(highslide/graphics/loader.white.gif);
Replace with:

Code: Select all

background-image: url({T_TEMPLATE_PATH}/highslide/graphics/loader.white.gif);
Find:

Code: Select all

background: url(highslide/graphics/fullexpand.gif) no-repeat;
Replace with:

Code: Select all

background: url({T_TEMPLATE_PATH}/highslide/graphics/fullexpand.gif) no-repeat;

Find:

Code: Select all

background: url(highslide/graphics/controlbar4.gif);
Replace with:

Code: Select all

background: url({T_TEMPLATE_PATH}/highslide/graphics/controlbar4.gif);
Find:

Code: Select all

background-image: url(highslide/graphics/controlbar4-hover.gif);
Replace with:

Code: Select all

background-image: url({T_TEMPLATE_PATH}/highslide/graphics/controlbar4-hover.gif);
Nope, the graphics is in the highslide folder wich is uploaded the root of the forum.
I am done with phpBB

319
Registered User
Posts: 144
Joined: Fri Dec 21, 2007 12:47 am
Contact:

Re: [RC] HighSlide Attachment & IMG MOD 1.0.2

Post by 319 » Sun Mar 16, 2008 12:49 am

Bug: the userbars and pictures in the users signature too "HighSlide".

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] HighSlide Attachment & IMG MOD 1.0.2

Post by stokerpiller » Sun Mar 16, 2008 1:16 am

319 wrote:Bug: the userbars and pictures in the users signature too "HighSlide".
That is not a bug :mrgreen:
That is the edit of bbcode.php that does it. It is supposed to make all images inserted with the Img bbcode popup with highslide.

Solution:
Undo the changes made in includes/bbcode.php
If You still want to be able to insert external images and use the Highslide function, You have to create an extra BBCode in ACP.

The BBCode could look like this:

BBCode:

Code: Select all

[HSimg]{URL}[/HSimg]
HTML:

Code: Select all

<a class="highslide" href="{URL}" onclick="return hs.expand(this, { align: 'center' })"><img style="max-width:250px;" src="{URL}" alt="" /></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>
HELPLINE:

Code: Select all

[HSimg]Insert image link[/HSimg]
Last edited by stokerpiller on Thu Mar 20, 2008 6:20 am, edited 1 time in total.
I am done with phpBB

Krank
Registered User
Posts: 179
Joined: Wed Sep 06, 2006 4:50 pm

Re: [RC] HighSlide Attachment & IMG MOD 1.0.2

Post by Krank » Sun Mar 16, 2008 2:33 am

This MOD is definitely great, but there are a couple of things about it though.

If you use:

Code: Select all

[url=LNK_HERE][img]IMAGE_LINK_HERE[/img][/url]
And try to click on the image, it'll resize, and not go to the link defined in the URL tag, also, I tried to find a way to define the resize, like I only want the image to be resized if width exceeds 650px, but couldn't.

All images in posting / signature body, whether small or big are effected by the MOD, meaning if there is a small image, the border will still appear, and when you click on it nothing will happen of course, because the image is small. (ie userbars, signature images...etc).
Image
phpBB3 Je t'adore: subSilver2 Based styles fan
proSilver, good, but too .... I don't know just too... :P

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] HighSlide Attachment & IMG MOD 1.0.2

Post by stokerpiller » Sun Mar 16, 2008 7:12 am

That is correct Krank.

You can do as I wrote here:
http://www.phpbb.com/community/viewtopi ... 5#p4733605
Then You have the choice to decide which images should be affected.
I am done with phpBB

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [RC] HighSlide Attachment & IMG MOD 1.0.2

Post by MrC » Sun Mar 16, 2008 8:57 am

stokerpiller wrote: Nope, the graphics is in the highslide folder wich is uploaded the root of the forum.
Nope, my first post says i moved the highslide folder to the template folder in order to get it working with the album. Maybe it was an better idea to edit my first post and add the css changes in there

Krank
Registered User
Posts: 179
Joined: Wed Sep 06, 2006 4:50 pm

Re: [RC] HighSlide Attachment & IMG MOD 1.0.2

Post by Krank » Sun Mar 16, 2008 9:02 am

stokerpiller wrote:That is correct Krank.

You can do as I wrote here:
http://www.phpbb.com/community/viewtopi ... 5#p4733605
Then You have the choice to decide which images should be affected.
Oh I know about the BBCode, but I'm not a big fan of having two IMG BBCodes you know, but your MOD is great, just seems that I won't be using it, because hotlinked images is a big part in my forum.
Image
phpBB3 Je t'adore: subSilver2 Based styles fan
proSilver, good, but too .... I don't know just too... :P

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] HighSlide Attachment & IMG MOD 1.0.2

Post by stokerpiller » Sun Mar 16, 2008 9:18 am

MrC -> Sorry, I didn't read Your first post.
Please edit Your first post with the css changes. Also change the headline to something like NV Gallery Addon :)
Thanks.

Krank -> I have it the same way 8-)
I don't use the bbcode.php edits.
I deleted the standard Img bbcode so it isn't visible but still active. You Can still use it manually.
Then I added the BBCode with highslide in ACP.
I am done with phpBB

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [RC] HighSlide Attachment & IMG MOD 1.0.2

Post by MrC » Sun Mar 16, 2008 10:15 am

First post editted

User avatar
derkubi
Registered User
Posts: 79
Joined: Fri Feb 15, 2008 10:47 am
Contact:

Re: [RC] HighSlide Attachment & IMG MOD 1.0.2

Post by derkubi » Sun Mar 16, 2008 10:24 am

In subsilver-demo are navigation buttons BACK - FORWARD - CLOSE in picture , are they available in prosilver ?

EDIT : IN NEW POSTS THE BUTTONS ARE AVAILABLE ....

SUPER-MOD , Thank you :!:
Last edited by derkubi on Sun Mar 16, 2008 10:57 am, edited 2 times in total.
I am german , so sorry for my bad english !

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] HighSlide Attachment & IMG MOD 1.0.2

Post by stokerpiller » Sun Mar 16, 2008 10:37 am

Thanks MrC ;)

derkubi -> It works the same way in both Prosilver and Sulsilver2
All images attached with phpBB3 upload tool have the controlbar.
But images inserted with the Img BBCode doesn't have the controlbar.
Notice that there are demos for both.

The Demo for the dark style (BlackDiamond) doesn't have the controlbar at all.
Well, not for the time being. Maybe later.
However I think that this one is quite cool for dark styles because of the glowing effect 8-)
I am done with phpBB

pucelano7
Registered User
Posts: 11
Joined: Sun Mar 16, 2008 1:21 pm

Re: [RC] HighSlide Attachment & IMG MOD 1.0.2

Post by pucelano7 » Sun Mar 16, 2008 1:37 pm

What a great MOD! I love it!

But I have some problems:

- Where is gallery_page_body.html? I don't find it
- IMG Highslide works perfectly but Attachment Highslide doesn`t work, if I add an attachment *.jpg image It appears normal (without highslide), maybe I have to change some options in ACP?

Thanks!

joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: [RC] HighSlide Attachment & IMG MOD 1.0.2

Post by joebart72 » Sun Mar 16, 2008 2:13 pm

stokerpiller wrote: But i noticed that Your forum images on the index also is affected by the Highslide Mod.
I mean all the small images.
To prevent this, You have to create a new custom img bbcode in ACP and use that when You want images in Your forum description.
OK, for those who don't want the mod effect on some images, create a new bbcode :

bbcode :

Code: Select all

[img2]{URL}[/img2]
Code HTML de remplacement :

Code: Select all

<img src="{URL}">
Help :

Code: Select all

[img2]Insert image[/img2]
I learn English with phpbb.com :)

Locked

Return to “[3.0.x] MODs in Development”