Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

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
  #142  
Old 04-20-2007, 01:03 PM
dannylin3000 dannylin3000 is offline
 
Join Date: Jan 2007
Location: Taipei, Taiwan
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this also work for photos retriving from using [img] bbcode from other photos site like Flickr?
Reply With Quote
  #143  
Old 04-20-2007, 01:59 PM
coffee's Avatar
coffee coffee is offline
 
Join Date: Oct 2002
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bjhuang .. well done man!
Reply With Quote
  #144  
Old 04-21-2007, 01:46 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bjhuang View Post
to simplify the installation:

1. download highslide js from http://vikjavev.no/highslide/
2. download this: Attachment 63395
3. put highslide files under your forumroot/highslide/
4. put highslide.css under forumroot/highslide/
5. import product-highslideattach.xml as a product
6. modify template "postbit_attachmentthumbnail",
...
Thanks for this; I just tried this simpler install method on a new forum, and it works great! :up:
Reply With Quote
  #145  
Old 04-21-2007, 03:14 PM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bjhuang View Post
to simplify the installation:

1. download highslide js from http://vikjavev.no/highslide/
2. download this: Attachment 63395
3. put highslide files under your forumroot/highslide/
4. put highslide.css under forumroot/highslide/
5. import product-highslideattach.xml as a product
6. modify template "postbit_attachmentthumbnail",
insert this line to the top:
PHP Code:
<if condition="!$vboptions[highslide_active]"
insert this line to the end:
PHP Code:
<else />
<
a id="att_$attachment[attachmentid]class="highslide" onclick="return hs.expand(this, { slideshowGroup: '$post[postid]' })" href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]"<if condition="$show['newwindow']"target="_blank"</if>><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1&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>
</if> 
Saved me a ton of work.. thanks!

Quote:
Originally Posted by dannylin3000 View Post
Does this also work for photos retriving from using [img] bbcode from other photos site like Flickr?
It doesn't, but that would be really nice.. Sort of a hybrid between this image resizer and this Highslide mod. Having the Highslide mod kick in once a picture is too large to fit in the postbit would be a nice feature.

Edit: I found that using the highslide.packed.js file makes the loading much faster.. Or so it seems. Any hard evidence?
Reply With Quote
  #146  
Old 04-22-2007, 01:44 PM
SilverVice SilverVice is offline
 
Join Date: Aug 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can somebody give me some tips to how make this work with vBadvanced (on the forum and maybe on the front page?)

Because everything is working on my test board at http://www.my site.com/forums/testvb/ but not at http://www.my site.com/ or http://www.my site.com/forums/ and I did the exact same installation.

Thanks in advance
Reply With Quote
  #147  
Old 04-22-2007, 03:26 PM
phill2003 phill2003 is offline
 
Join Date: Apr 2003
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SilverVice View Post
Can somebody give me some tips to how make this work with vBadvanced (on the forum and maybe on the front page?)

Because everything is working on my test board at http://www.my site.com/forums/testvb/ but not at http://www.my site.com/ or http://www.my site.com/forums/ and I did the exact same installation.

Thanks in advance

If you are going to use this vb hack for anything other like vbadvanced then you need to make sure any relative urls are converted to absolute ones. so anything like

/highslide/css/highslide.css becomes. --- http://www.yoursite.com/highslide/css/highslide.css


That way when a script that is not vbulletin looks for the.js and css files it knows where they are or they are in the right place...
Reply With Quote
  #148  
Old 04-22-2007, 06:21 PM
SilverVice SilverVice is offline
 
Join Date: Aug 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Phill but it still doesn't work

Can someone put a list to what file to edit exactly because I'm going crazy to see it work on the test board!

Thanks for your help
Reply With Quote
  #149  
Old 04-23-2007, 01:57 PM
JimmDaBimm JimmDaBimm is offline
 
Join Date: Jan 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some User say that it isnt working, but they have FF nd Javascript turned ON ...same FF Config like me but it dosent work... but it works fine for me. And the Examples on the Scripts Page works for them! I'm Confused....
Reply With Quote
  #150  
Old 04-23-2007, 02:18 PM
rayw rayw is offline
 
Join Date: Mar 2007
Location: Australia
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use FF (I'm assuming you mean FireFox) and it works perfectly for me as well.
Reply With Quote
  #151  
Old 04-27-2007, 10:41 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My apologies if this is obvious, or has already been answered...

1. Once installed, does this mod work for pics already uploaded as attachments?

2. My system says it has vBadvanced CMPS 2.2.0 installed. Is this a problem with this mod and should I not try it?

Thanks

Regards,
Badger
Reply With Quote
Reply


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 06:56 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.05145 seconds
  • Memory Usage 2,321KB
  • 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
  • (2)bbcode_php
  • (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
  • (2)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