vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - highslide integration with vB attachments - lightbox alternative - inline too. (https://vborg.vbsupport.ru/showthread.php?t=139167)

mini2 02-11-2007 10:00 PM

highslide integration with vB attachments - lightbox alternative - inline too.
 
Gone

mktrilogy 02-12-2007 11:23 AM

looks cool, will try it out :)

Ntfu2 02-12-2007 12:09 PM

Sweet, im glad i inspired something and i love this one as well good work.

BTW: Where did you get the mod that shows the thumbnail info under the images on the black bar, in white text.

thanks

Ntfu2 02-12-2007 12:48 PM

Never could find that option :-\

After editing the class_bbcode.php file, the forum pages went blank. Not sure if missed a edit or if anyone else encountered it.

Gizmo999 02-12-2007 01:01 PM

text file link isn't working :(

joopss 02-12-2007 01:03 PM

OOOo tenkss......

Gizmo999 02-12-2007 01:53 PM

thanks, all uploaded, looks like most browsers are Ok but Safari isn't displaying the slideshow controllers :(

Ntfu2 02-12-2007 01:56 PM

Works perfectly now, thanks :)

Smoothie 02-12-2007 02:20 PM

Quote:

Originally Posted by mini2 (Post 1180633)
Just tested in safari. The contorls are appearing, but they seem to take a long while, or a stange random movement of the mouse over the popped-up image.

*quick update * If you move the mouse over the top left area of the image that pops-up, the controls appear.

Strange one that.

I'll look into this a little more.

The left and right arrow keys still work, even before the controls appear.

I tested in Safari, and it gets bogged down. The controls do appear, but if you don't hover over the left side, they won't appear. Most average Joe's won't know this. Most of my members use Safari. Hopefully you can find the problem.

Oliver-Berlin 02-12-2007 03:06 PM

Works perfectly thank you :up: :)

Mr Chad 02-12-2007 08:40 PM

you know what would be better, if you could make all images the size of thumbnails. and when clicked it does this effect.

Smoothie 02-12-2007 11:00 PM

Quote:

Originally Posted by mini2 (Post 1180818)
The safari problem is now fixed, a new version of the software has been uploaded at the highslide website:

Version 2.2.9 (February 12 2006)
  • Fixed Safari bug where outlines appeared while loading.
  • Fixed Safari bug where overlays didn't appear on mouseover.
http://vikjavev.no/highslide/

:D

Do you have that version installed on your forum?

ERuiz 02-13-2007 12:58 AM

This ia a beautiful hack!! INSTALLED and works perfectly.

You know what would be my only request and I think it would make this the HOTM?

The ability to add a caption for each attachment!

Can you make this? In other words, for each attachment, I can enter some descriptive text and when a user clicks on the image, it opens it up and shows the text below the image.

I think I saw such a feature at one of the images displayed at Highslide's website.

Looking forward to hearing from you on this.

Regards,

ERuiz

Smoothie 02-13-2007 01:16 AM

Quote:

Originally Posted by mini2 (Post 1180818)
The safari problem is now fixed, a new version of the software has been uploaded at the highslide website:

Version 2.2.9 (February 12 2006)
  • Fixed Safari bug where outlines appeared while loading.
  • Fixed Safari bug where overlays didn't appear on mouseover.
http://vikjavev.no/highslide/

:D

Well, checked it out on your forum and Safari works well with this now. You must have uploaded the new version. Which level of this mod do you have installed?

JohnBee 02-13-2007 03:11 AM

Great work! much improved over the other lightbox scripts!

Things I would love to see:
  • Title option
  • Full size icon(*view image full size)

Edit: I found that there is a full size icon ;)

sensimilla 02-13-2007 05:59 AM

outstanding, and I love your board design!

Nominated for MOTM

JohnBee 02-13-2007 08:37 AM

Is it possible to have the popup images open in the center of the screen instead of shifting a bit between each image

maxicep 02-13-2007 09:18 AM

wow, its a perfect hack, thanks.

ERuiz 02-13-2007 09:38 AM

Quote:

Originally Posted by mini2 (Post 1181363)
I'll look at captions/titles, as that could be cool, but I'm not making promises there!

Oh man, keeping my fingers crossed! If you are able to pull this off, it would make this hack one of the best!

Regards,

ERuiz

JohnBee 02-13-2007 09:50 AM

Quote:

Originally Posted by mini2 (Post 1181371)
OK:

Where ever in the instructions you see

Code:

slideshowGroup: '$post[postid]'
Add after that

Code:

, align: 'center'
That will do it.

Outstanding! works like a charm :up:

ERuiz 02-13-2007 10:08 AM

Quote:

Originally Posted by mini2 (Post 1181381)
I'm working on captions for both this and the photopost add-on use on my own site, shouldn't be too tricky actually, and also using rel="" as a fall back for older browsers which cannot cope with this zoomy slidey goodness.

Well, I have to go to work now, but I know that you are GOOD and will probably have a suprise for me when I get back from work in the afternoon! hahahahaha

Have a good day, buddy.

Regards,

ERuiz

JohnBee 02-13-2007 11:28 AM

Quote:

Originally Posted by mini2 (Post 1181381)
I'm working on captions for both this and the photopost add-on use on my own site, shouldn't be too tricky actually, and also using rel="" as a fall back for older browsers which cannot cope with this zoomy slidey goodness.

How would we add captions with attachments?
Sorry if this has been covered, I never really understood the caption aspect with images.

JohnBee 02-13-2007 11:51 AM

Quote:

Originally Posted by mini2 (Post 1181422)
Working on it... Once I figure out a sollution I'll post it. But I've got "proper work" I need to do too today. :)

blashpemy! :p
I totally understand and appreciate your efforts on with this project (thanks)
I'm also wondering if the preloader function works with vBulletin. It's quite fast as it is but I noticed it has the code in the .js file so I had to ask :)

aceofspades 02-13-2007 03:37 PM

Works brilliantly, nominated for MOTM. Just a quick (and probably very stupid) question, without a huge amount of hacking would it be possible to get images within the [img] tag to work the same way, i.e be resized and then be expanded when a user clicks on them?

ERuiz 02-13-2007 09:57 PM

Mini2, you are AWESOME!!! Your caption feature works PERFECTLY!!!! I am nominating this for HOTM!!! THANKS!!!!!!

hurry 02-14-2007 01:37 AM

Thanks mini2. I also really want your mod and highslide to work with the slideshow feature for all the inline images in my vbulletin posts with img tags. I think already two others have asked you for this so there is popular demand for this feature. In order for my database to not grow too big, I am embedding inline my flickr images in forum posts with img. And I want them to work with your mod and highslide. I really hope this possible. Thanks.

ERuiz 02-14-2007 01:40 AM

Quote:

Originally Posted by hurry (Post 1181983)
Thanks mini2. I also really want your mod and highslide to work with the slideshow feature for all the inline images in my vbulletin posts with img tags. I think already two others have asked you for this so there is popular demand for this feature. In order for my database to not grow too big, I am embedding inline my flickr images in forum posts with img. And I want them to work with your mod and highslide. I really hope this possible. Thanks.

Make that 3! :)

aceofspades 02-14-2007 11:00 AM

Yeah that would be good. Btw when the image is zooming in, is it smooth or quite ..laggy. On my forum its quite jolty when its zooming in but its smooth on the highslide test site.

Smoothie 02-14-2007 11:20 AM

Has anyone packed the highslide.js file? Any benefits from that? Also, if you have, what are the correct steps? Are you suppose to decode after packing or save as decoded?

Smoothie 02-14-2007 12:03 PM

So, pack and save? No need to decode before saving? From what I read, not all browsers support unpacking though....

Smoothie 02-14-2007 12:17 PM

You just copy past the highslide.js file into the box, click pack, save as packed.js and copy back into highslide.js?

M-Tuning 02-14-2007 12:44 PM

where can i get highslide.js, the site you posted isn't online

M-Tuning 02-14-2007 12:57 PM

Ok thanx, will do

edit, Clicks Install

Gizmo999 02-15-2007 08:53 AM

I want to add the centred image, I've only added the basic integration and the optional "attachments" page addition - no file edits parts of the script.

is this the only place I need to amend the code and is this correct?

Step 7 Edit postbit_attachmentthumbnail template

Code:

<a id="att_$attachment[attachmentid]" class="highslide" onclick="return hs.expand(this, { slideshowGroup: '$post[postid]' , align: 'center' })" href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;stc=1&amp;thumb=1&amp;d=$attachment[thumbnail_dateline]" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]" 4="$attachment[attachmentid]">$vbphrase[image_larger_version_x_y_z]</phrase>" /></a>, align: 'center'
I've hasd one user attach an image file using the
Code:

[attach]
tags and the image opens in a new window not using highslide, I don't know why that has happened.

Gizmo999 02-15-2007 09:35 AM

I didn't do the file edits :) inline attachments is off on my board anyway.

Smoothie 02-15-2007 12:49 PM

I believe, but don't quote me, you can change where in the clients browser the viewer appears by editing the highslide.js file. I edited this line and the viewer opens in the center:
Code:

align : 'center', // position in the client (overrides anchor)

sensimilla 02-15-2007 05:34 PM

When I click on the arrows previous and next nothing happens...

Do you have any ideas where did I go wrong ?

TIA

Tralala 02-16-2007 12:13 AM

Brilliant add-on. Absolutely beautiful. Thank you!

/clicks install

Works and looks great... now, how do I make it so my attachments have the original dimension/size label, like so:

https://vborg.vbsupport.ru/external/2007/02/17.jpg

On my current working install I don't get those. Is that a setting in vBulletin, or part of highslide?

Tralala 02-16-2007 12:28 AM

Quote:

Originally Posted by mini2 (Post 1181604)
You could probably do a javascript resize for images over a certain size which would zoom in like this if they didn't fit your max dimensions. Bit like the ncode image resizer (which I use), but different.

No idea how this would be done though!

Maybe one for another day. ;)

Quote:

Originally Posted by hurry (Post 1181983)
Thanks mini2. I also really want your mod and highslide to work with the slideshow feature for all the inline images in my vbulletin posts with img tags. I think already two others have asked you for this so there is popular demand for this feature. In order for my database to not grow too big, I am embedding inline my flickr images in forum posts with img. And I want them to work with your mod and highslide. I really hope this possible. Thanks.

Quote:

Originally Posted by aceofspades (Post 1181582)
Works brilliantly, nominated for MOTM. Just a quick (and probably very stupid) question, without a huge amount of hacking would it be possible to get images within the [img] tag to work the same way, i.e be resized and then be expanded when a user clicks on them?


Just FYI mini2, Spleasure (the coder of ncode) has posted that he's contemplating integrating "lightboxing" as a choice for enlarging pics resized by his add-on. Seems like these two are a match made in vBulletin mod heaven!

Count me in as another person who'd love to see that happen. :)

Smoothie 02-16-2007 12:51 AM

Quote:

Originally Posted by Tralala (Post 1183510)
Brilliant add-on. Absolutely beautiful. Thank you!

/clicks install

Works and looks great... now, how do I make it so my attachments have the original dimension/size label, like so:

https://vborg.vbsupport.ru/external/2007/02/17.jpg

On my current working install I don't get those. Is that a setting in vBulletin, or part of highslide?

vB options-> message attachment options. Beware, when you change it, you will need to rebuild attachments, under maintenance. Intensive if you got lots of attachments.


All times are GMT. The time now is 02:17 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03039 seconds
  • Memory Usage 1,826KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete