[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!
Scam Warning
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 4:20 pm

pucelano7 wrote: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!
About the gallery_page_body.html:
This was posted by MrC as an addon to NV Gallery MOD.
If You don't have that installed You shouldn't follow that guide.
Just follow the icluded instructions.

Have You followed that guide or MrC's guide?
Have You purged cache AND refreshed themes and templates in ACP?
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 8:41 pm

stokerpiller wrote: About the gallery_page_body.html:
This was posted by MrC as an addon to NV Gallery MOD.
If You don't have that installed You shouldn't follow that guide.
Just follow the icluded instructions.

Ok, thanks!
stokerpiller wrote: Have You followed that guide or MrC's guide?
Have You purged cache AND refreshed themes and templates in ACP?
I follow your guide (I didn`t make any steps from MrC's guide).
Yes, I purged cache and refreshsd themes and templates in ACP.
I created an attachment directory and I configure it in ACP but the MOD doesn't work with attachment.

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 8:53 pm

Hi pucelano7
Can You please give me a link to a topic at Your board where an image is attached?
If You dont want to post it in public You can send it by PM.
Please enclose a copi of Your overall_header.html + attachment.html + colours.css files

As You can see at my demosite, the Mod works fine with attachments.
So You must have done something wrong when You installed it?
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 9:15 pm

stokerpiller wrote:Hi pucelano7
Can You please give me a link to a topic at Your board where an image is attached?
If You dont want to post it in public You can send it by PM.
Please enclose a copi of Your overall_header.html + attachment.html + colours.css files

As You can see at my demosite, the Mod works fine with attachments.
So You must have done something wrong when You installed it?
I sent you a PM.

Thanks!

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:38 pm

Thanks to pucelano7 I found a bug in the subsilver2/template/attachment.html edit.

The code that should be used is:

Code: Select all

<!-- IF _file.S_THUMBNAIL -->
<a href="{_file.U_DOWNLOAD_LINK}/{_file.DOWNLOAD_NAME}" id="{postrow.attachment.DISPLAY_ATTACHMENT}" class="highslide" onclick="return hs.expand(this, {captionId: '{_file.U_DOWNLOAD_LINK}', align: 'center'})"><img src="{_file.THUMB_IMAGE}" height="300" alt="{_file.DOWNLOAD_NAME}" title="Click to enlarge" /></a><div class='highslide-caption' id='{_file.U_DOWNLOAD_LINK}'>{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) [ {_file.L_DOWNLOAD_COUNT} ]</div><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><br />
<span class="gensmall">{_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]</span><br />
<!-- ENDIF --> 
Download file is now updated to version 1.0.3
Thanks
I am done with phpBB

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

Re: [RC] HighSlide Attachment & IMG MOD 1.0.3

Post by joebart72 » Sun Mar 16, 2008 10:35 pm

I suggest you put a contrib directory for the next updates... ;) No changes with prosilver so beetween 1.0.2 and 1.0.3 ?
I learn English with phpbb.com :)

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

Re: [RC] HighSlide Attachment & IMG MOD 1.0.3

Post by stokerpiller » Sun Mar 16, 2008 10:48 pm

joebart72 wrote:I suggest you put a contrib directory for the next updates... ;) No changes with prosilver so beetween 1.0.2 and 1.0.3 ?
Sounds like a good idea joebart72 :)
I will do that in future updates.
Hopefully none will be necessary :mrgreen:

No prosilver changes was made.
It was just a lang error.
I am done with phpBB

gergokee
Registered User
Posts: 87
Joined: Fri Feb 16, 2007 1:26 pm

Re: [RC] HighSlide Attachment & IMG MOD 1.0.3

Post by gergokee » Mon Mar 17, 2008 11:56 am

Hi i have 2 questions: IS it fixed that pictures which not need to be resized, are not affected? And the other question is, can i choose height and widht or only widht?

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

Re: [RC] HighSlide Attachment & IMG MOD 1.0.3

Post by stokerpiller » Mon Mar 17, 2008 1:15 pm

gergokee wrote:Hi i have 2 questions: IS it fixed that pictures which not need to be resized, are not affected? And the other question is, can i choose height and widht or only widht?
This Mod works on images uploaded to the forum as an attached image and images attached with the Img BBcode.

Attached images uploaded to the forum
On uploaded images which are to small to be resized nothing happens. They are not affected by this mod.
Images which is uploaded and big enough to be resized, will work with the Highslide Popup.

Images inserted with the Img BBcode
You don't have to choose anything, but You can define a max-width in the bbcode.php edit.
You can also change the defined height to something else if You like.
But You do not have to do anything, it all happens automaticly.

All images attached with the Img BBCode is affected.
That means images used in postings, signatures and on forum index where the Img BBCode is used.
We have used max-height: 210px; in includes/bbcode.php to define which images should be resized.
Images with at height of 200 px will not be resized, but they are still affected by this mod which means You can click on the and they will popup as all other images inserted with the Img BBcode.

That could be a problem if You have hotlinked images in signature or if You have used the Img BBCode in forum descriptions.
There are several things You can do to prevent this:
I am done with phpBB

gergokee
Registered User
Posts: 87
Joined: Fri Feb 16, 2007 1:26 pm

Re: [RC] HighSlide Attachment & IMG MOD 1.0.3

Post by gergokee » Mon Mar 17, 2008 2:00 pm

I have to say this is the best mod i've ever seen! Just one thing: the pics around the pic isn't loading like the expand image, and neither the zoomin.kur ,only the zoomout.kur. Why is it happenning?

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

Re: [RC] HighSlide Attachment & IMG MOD 1.0.3

Post by stokerpiller » Mon Mar 17, 2008 2:15 pm

gergokee wrote:I have to say this is the best mod i've ever seen! Just one thing: the pics around the pic isn't loading like the expand image, and neither the zoomin.kur ,only the zoomout.kur. Why is it happenning?
Can it have somthing to do with Your browsercache?

Please send me a link to a topic where to problem appears.
If You dont want it in public, You can send it by PM.
The I will have a look at it later today/tonight :)
I am done with phpBB

saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Re: [RC] HighSlide Attachment & IMG MOD 1.0.3

Post by saaiberke » Mon Mar 17, 2008 3:06 pm

gergokee wrote:I have to say this is the best mod i've ever seen! Just one thing: the pics around the pic isn't loading like the expand image, and neither the zoomin.kur ,only the zoomout.kur. Why is it happenning?
I have the same problem with subsilver and subsilver based theme, with prosilver it works good.
I empty the browser cache completely.

For now I have uninstalled the mod, I will try again later.

Grtz,

Nic

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

Re: [RC] HighSlide Attachment & IMG MOD 1.0.3

Post by stokerpiller » Mon Mar 17, 2008 3:44 pm

gergokee & saaiberke
I am quite sure that this problem is because Your styles theme is saved in the filesystem and not the database?

I will get back to in 4-5 hours with a solution for this.
I think it has something to do with the image path in the stylesheet have to be different when theme is saved in the filesystem.

I will install the Black Pears style at my demosite and test.

I will be back 8-)
I am done with phpBB

saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Re: [RC] HighSlide Attachment & IMG MOD 1.0.3

Post by saaiberke » Mon Mar 17, 2008 4:13 pm

Thank you Stokerpiller! :)

Now it comes to my mind that for another style mod I had to change {T_THEME_PATH}/images/ into ./images/ to get it work. I'm sure it is the same problem.

Grtz,

Nic

gergokee
Registered User
Posts: 87
Joined: Fri Feb 16, 2007 1:26 pm

Re: [RC] HighSlide Attachment & IMG MOD 1.0.3

Post by gergokee » Mon Mar 17, 2008 4:14 pm

Yes mine is filesystem! Shall i change it? And which is better ? file or database?

Locked

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