Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
highslide integration with vB attachments - lightbox alternative - inline too. Details »»
highslide integration with vB attachments - lightbox alternative - inline too.
Version: 1.00, by mini2 mini2 is offline
Developer Last Online: Oct 2010 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.8 Rating:
Released: 02-11-2007 Last Update: 05-31-2007 Installs: 277
 
No support by the author.

Gone

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 02-14-2007, 12:17 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You just copy past the highslide.js file into the box, click pack, save as packed.js and copy back into highslide.js?
Reply With Quote
  #33  
Old 02-14-2007, 12:44 PM
M-Tuning's Avatar
M-Tuning M-Tuning is offline
 
Join Date: Jul 2005
Location: Winschoten (NL)
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where can i get highslide.js, the site you posted isn't online
Reply With Quote
  #34  
Old 02-14-2007, 12:57 PM
M-Tuning's Avatar
M-Tuning M-Tuning is offline
 
Join Date: Jul 2005
Location: Winschoten (NL)
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok thanx, will do

edit, Clicks Install
Reply With Quote
  #35  
Old 02-15-2007, 08:53 AM
Gizmo999 Gizmo999 is offline
 
Join Date: Dec 2005
Location: In my own virtual world
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #36  
Old 02-15-2007, 09:35 AM
Gizmo999 Gizmo999 is offline
 
Join Date: Dec 2005
Location: In my own virtual world
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't do the file edits inline attachments is off on my board anyway.
Reply With Quote
  #37  
Old 02-15-2007, 12:49 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #38  
Old 02-15-2007, 05:34 PM
sensimilla sensimilla is offline
 
Join Date: Dec 2004
Location: Poland
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Do you have any ideas where did I go wrong ?

TIA
Reply With Quote
  #39  
Old 02-16-2007, 12:13 AM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:



On my current working install I don't get those. Is that a setting in vBulletin, or part of highslide?
Reply With Quote
  #40  
Old 02-16-2007, 12:28 AM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mini2 View Post
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 View Post
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 View Post
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.
Reply With Quote
  #41  
Old 02-16-2007, 12:51 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tralala View Post
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:



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.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:00 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04990 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete