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)

Adam21 05-19-2007 05:47 AM

i'll pay anyone who can install this on my 3.67PL1!So frustrating!!!!:(

ForYou 05-19-2007 11:52 AM

Hello ,

Can I use this for larg images that users insert it in post , ,

it is nice if i can use it for the larg images ,

Regards

AK47 Nemesis 05-19-2007 02:40 PM

Any news on the link part? It still shows links with the magnifying glass...

d8tabyte 05-19-2007 02:57 PM

I moved from database to file system and also upgraded my board, Ive noticed some posts have the integration and some don't. ( I went through and double checked all file edits since I had to re-do the inline edits...

Any ideas?

Thread examples (warning may not be safe for work)
http://www.digitalet.net/forum/showthread.php?t=7464 with highslide integration
http://www.digitalet.net/forum/showthread.php?t=5061 without integration

It seems the inline edit didnt take, but I went over the edits a few times... I'l try re-editing the fresh file.

3.6.7

phill2003 05-19-2007 04:28 PM

Quote:

Originally Posted by Adam21 (Post 1250632)
i'll pay anyone who can install this on my 3.67PL1!So frustrating!!!!:(

this is independent of vbulletin so it should work just the same.

Having said that I can install this for you if you want.

ForYou 05-19-2007 05:10 PM

can this be modified to work with img tags?

Adam21 05-20-2007 01:30 AM

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> 


Thanks.Very clear instructions!I got it working on 367pl1.Works terrific and smoothly.Highslide ROX!!:up:

pspcrazy 05-20-2007 05:54 AM

I followed bjhuangs as well, but it doesnt work inline for some odd reason, does it work for you people? I did the file edits just letting you know on that.

Adam21 05-20-2007 06:03 AM

Quote:

Originally Posted by pspcrazy (Post 1251266)
I followed bjhuangs as well, but it doesnt work inline for some odd reason, does it work for you people? I did the file edits just letting you know on that.

His methods/instructions works fine for me.:up: For me the only template that i edited was the "postbit_attachmentthumbnail" template.I'm running vb367PL1 by the way..:)

pspcrazy 05-20-2007 09:31 PM

did it work fine with inline images as well? OR just attached ones.


All times are GMT. The time now is 05:07 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.01329 seconds
  • Memory Usage 1,753KB
  • 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
  • (3)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