[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!
Ideas Centre
Locked
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] HighSlide Attachment & IMG MOD 1.0.7

Post by stokerpiller » Wed Aug 20, 2008 9:13 pm

Here You can see how the controlbar should appear: http://www.stokershoppen.dk/highslidede ... er-t4.html
Sunka wrote:In what image code?
For php Gallery, image is uploaded on forum, and when I click on image, it is all OK (it is same like you click on image in post)
Okay, please post your highslide code from attachment.html
I am done with phpBB

User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca

Re: [RC] HighSlide Attachment & IMG MOD 1.0.7

Post by Sunka » Wed Aug 20, 2008 9:20 pm

Aha...I see...
Here is my attachment code

Code: Select all

<!-- IF _file.S_THUMBNAIL -->
                    {_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]<br />
               <a href="{_file.U_DOWNLOAD_LINK}/{_file.DOWNLOAD_NAME}" id="{postrow.attachment.DISPLAY_ATTACHMENT}" class="highslide" onclick="return hs.expand(this)"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" title="Click to enlarge" /></a>
               <div class="highslide-heading"></div>
          <!-- IF _file.COMMENT --><br /> {_file.COMMENT}<!-- ENDIF --><br />
                    <!-- ENDIF --> 

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

Re: [RC] HighSlide Attachment & IMG MOD 1.0.7

Post by stokerpiller » Wed Aug 20, 2008 9:28 pm

Sunka wrote:Aha...I see...
Here is my attachment code

Code: Select all

<!-- IF _file.S_THUMBNAIL -->
                    {_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]<br />
               <a href="{_file.U_DOWNLOAD_LINK}/{_file.DOWNLOAD_NAME}" id="{postrow.attachment.DISPLAY_ATTACHMENT}" class="highslide" onclick="return hs.expand(this)"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" title="Click to enlarge" /></a>
               <div class="highslide-heading"></div>
          <!-- IF _file.COMMENT --><br /> {_file.COMMENT}<!-- ENDIF --><br />
                    <!-- ENDIF -->  
Yes, You use the correct code.
There must be a similar file for the php Gallery where You can add <div class="highslide-heading"></div> after the </a> just like the above code.
I am done with phpBB

User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca

Re: [RC] HighSlide Attachment & IMG MOD 1.0.7

Post by Sunka » Wed Aug 20, 2008 9:52 pm

But I can not find nothing about Highslide MOD in php Gallery files, except 1 line I posted 2 posts before

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

Re: [RC] HighSlide Attachment & IMG MOD 1.0.7

Post by stokerpiller » Wed Aug 20, 2008 10:15 pm

As I have said many times before, I dont know anything about the php Gallery script ;)
So I cant help You with that, but I think the answer is in the gallery_album.html in this piece of code:

Code: Select all

<td align="center" style="width: {S_COL_WIDTH};" class="bg1"><span class="genmed"><a href="{picrow.piccol.U_IMAGE}"<!-- IF S_GALLERY_HIGHSLIDE_JS --> class="highslide" onclick="return hs.expand(this)"<!-- ELSE --> rel="lytebox" class="image-resize"<!-- ENDIF -->><img src="{picrow.piccol.THUMBNAIL}" alt="{picrow.piccol.DESC}" title="{picrow.piccol.DESC}" /></a><br />{picrow.piccol.APPROVAL}</span></td>
You could change it to:

Code: Select all

<td align="center" style="width: {S_COL_WIDTH};" class="bg1"><span class="genmed"><a href="{picrow.piccol.U_IMAGE}"<!-- IF S_GALLERY_HIGHSLIDE_JS --> class="highslide" onclick="return hs.expand(this)"<!-- ELSE --> rel="lytebox" class="image-resize"<!-- ENDIF -->><img src="{picrow.piccol.THUMBNAIL}" alt="{picrow.piccol.DESC}" title="{picrow.piccol.DESC}" /></a><!-- IF S_GALLERY_HIGHSLIDE_JS --><div class="highslide-heading"></div><!-- ENDIF --><br />{picrow.piccol.APPROVAL}</span></td>
This will be my last and only guess how this is done.
I am done with phpBB

User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca

Re: [RC] HighSlide Attachment & IMG MOD 1.0.7

Post by Sunka » Wed Aug 20, 2008 10:28 pm

No Stoker, It same....
But it is OK...it is just a little estetic error...no big deal. :mrgreen:
Tell me, do you have paypal account? I have a honor to donate you for your will and time for solving my funny errors :mrgreen:
Or, when you go to fishing in Croatia , You will have a friend here to make your stay in the country enjoyable.
Or if you like gardening...same: You will have a friend here to make your stay in the country enjoyable :mrgreen:

But today in handball Croatia win Denmark :mrgreen:

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

Re: [RC] HighSlide Attachment & IMG MOD 1.0.7

Post by stokerpiller » Wed Aug 20, 2008 11:08 pm

Lets do some fishing some day :mrgreen:
I am done with phpBB

Kestel17
Registered User
Posts: 10
Joined: Sun Mar 16, 2008 9:08 pm

Re: [RC] HighSlide Attachment & IMG MOD 1.0.7

Post by Kestel17 » Sat Aug 23, 2008 3:56 pm

Hi Stoker,

I have installed NV Gallery RC2.But now, Highslide doesn't work!Have you got an idea?

thanks

absolutex
Registered User
Posts: 57
Joined: Tue Jul 01, 2008 4:33 pm
Contact:

Re: [RC] HighSlide Attachment & IMG MOD 1.0.7

Post by absolutex » Sat Aug 23, 2008 4:09 pm

Kestel17 wrote:Hi Stoker,

I have installed NV Gallery RC2.But now, Highslide doesn't work!Have you got an idea?

thanks
me too ;) Highslide is hidden......

absolutex
Registered User
Posts: 57
Joined: Tue Jul 01, 2008 4:33 pm
Contact:

Re: [RC] HighSlide Attachment & IMG MOD 1.0.7

Post by absolutex » Sat Aug 23, 2008 4:12 pm

absolutex wrote:
Kestel17 wrote:Hi Stoker,

I have installed NV Gallery RC2.But now, Highslide doesn't work!Have you got an idea?

thanks
me too ;) Highslide is hidden......
ok Move to /theme/highslide/highslide-full.js Sry :D

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

Re: [RC] HighSlide Attachment & IMG MOD 1.0.7

Post by stokerpiller » Sat Aug 23, 2008 5:17 pm

Yes, You problably have to update to the latest version of Highslide.
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.7

Post by joebart72 » Sat Aug 23, 2008 5:40 pm

Hi (and sorry if the answer has already been given) :

I've never paid attention that this mod only works with height. My board is deformed if images have a big length...
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.7

Post by stokerpiller » Sat Aug 23, 2008 5:56 pm

joebart72 wrote:Hi (and sorry if the answer has already been given) :

I've never paid attention that this mod only works with height. My board is deformed if images have a big length...
This can actually be controlled in ACP.
But if You use this mod, You can control it by editing includes/bbcode.php
Find:

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>',
Inline find:

Code: Select all

max-height:210px;
Inline add:

Code: Select all

 max-width:210px;
You can change 210px to whatever suits You best.
I am done with phpBB

ToXiQ
Registered User
Posts: 69
Joined: Mon Jun 05, 2006 4:54 pm

Re: [RC] HighSlide Attachment & IMG MOD 1.0.7

Post by ToXiQ » Tue Aug 26, 2008 8:12 pm

Hello stokerpiller,

I am working on updating all mods I have and found that I have version 1.0.5 and we are now here at 1.0.7

Upgrading to 1.0.6 is easy. I found how to do it in the contrib map but what I didn't understand is how to update from 1.06 to 1.0.7?
You have to redo everything except the bbcode.php edit.
When I read the upgrade instruction above I do not understand what to do?

regards Walter

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

Re: [RC] HighSlide Attachment & IMG MOD 1.0.7

Post by stokerpiller » Tue Aug 26, 2008 8:54 pm

Hi ToXiQ,

That means that You have to redo the installation complete except the includes/bbcode.php edit.
Replace the old highslide code with the new one.
I am done with phpBB

Locked

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