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)

dannylin3000 04-20-2007 01:03 PM

Does this also work for photos retriving from using [img] bbcode from other photos site like Flickr?

coffee 04-20-2007 01:59 PM

bjhuang .. well done man!

Tralala 04-21-2007 01:46 PM

Quote:

Originally Posted by bjhuang (Post 1231789)
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:

TheMilkCarton 04-21-2007 03:14 PM

Quote:

Originally Posted by bjhuang (Post 1231789)
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 (Post 1231944)
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?

SilverVice 04-22-2007 01:44 PM

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

phill2003 04-22-2007 03:26 PM

Quote:

Originally Posted by SilverVice (Post 1233356)
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...

SilverVice 04-22-2007 06:21 PM

Thanks Phill but it still doesn't work :confused:

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

Thanks for your help

JimmDaBimm 04-23-2007 01:57 PM

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....

rayw 04-23-2007 02:18 PM

I use FF (I'm assuming you mean FireFox) and it works perfectly for me as well. :)

BadgerDog 04-27-2007 10:41 AM

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


All times are GMT. The time now is 11:59 AM.

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.01284 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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