vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   vBulletin Attachment Lightbox (https://vborg.vbsupport.ru/showthread.php?t=115701)

SkyCatcher 05-18-2006 07:01 PM

Well I can't can't figure it out right now, same thing happens anywhere within the postbit template, perhaps I can add it to one of the header templates to make it work properly.

BTW - the only complaint I've received from users is that the images do not resize. If someone adds a 2048x2048 pic and users click the thumbnail, they have to scroll all over the place and can't really make anything out because the original size is just too big. Normally a browsers automatic image resizing takes care of this but it seems to be disabled when using your hack. Any plans to get this working again somehow?

Overall it's a beautiful hack and I'll continue to use it once the images can be automatically resized or the image resizing for browsers works :)

Ntfu2 05-18-2006 07:15 PM

I have a version coming that resizes images automatically, but sadly the next and previous buttons do not work at the same time with it. because there is the option to view the image in full size.

When adding the javascript into the headinclude template it calls them every time the page is loaded and can have an effect on performance sometimes.

Lady Divus 05-18-2006 08:55 PM

Quote:

Originally Posted by Ntfu2
Maybe one day though, im just a n00b :D

If you are just a n00b, i cant wait to see what you produce when you are an oldie ;) Very nice work. Thank you for your reply, and thank you for looking into the resize issue. Be well -

Lady Divus

Ntfu2 05-18-2006 09:55 PM

Updated first post to include instructions for image resize and a overlay.

here is a demo: http://www.fightrice.com/forums/site...-test-197.html

My sites running like poo right now, if you go there and its down, just check back

Quick edit also seems to work fine in this version, someone else will need to confirm that for me please :D

Lady Divus 05-19-2006 03:11 AM

Ntfu2, i did everything you said to do for this new resize release, but for the life me i cant get it to work. It just stopped working altogether and opens the images in a seperate window with a white background, (vB Default view)...

I undid all the previous template edits, i deleted all the previous files from my server, i edited the new js file to point to my site images, i did the new template edits, i uploaded all the new files to my server. Am i doing something wrong? Thank you for any help in advance -

Lady Divus

Ntfu2 05-19-2006 03:19 AM

did you change the rel="lightbox[attachment]" to simply rel="lightbox" ?

Lady Divus 05-19-2006 03:35 AM

Quote:

Originally Posted by Ntfu2
did you change the rel="lightbox[attachment]" to simply rel="lightbox" ?

Yes i did.

Tulsa 05-20-2006 08:05 PM

When I load up the three pics on your demo site I simply get the pic with a nice border around it and a small x in the upper right hand corner. Anywhere I click on the pic once it's loaded, it goes away. No prev or next. The name size and number of times loaded shows as a tooltip and that's it.

Now on my site I get the annoying prev/next with a flashing line right in the middle of the pic where each click side is separated. I get the animation of the box and the sliding down with the name,size and loaded times but only on the pics without bbcode [attach].

I love the way the demo site works, clean and simple. Load the pic, close the pic, click on the next pic to see it.

What is different about your demo site and the instructions you have provided here?

Also I do have it loaded the bbcode pics on 3.5.3 since you said you'd only tested in 3.5.4.

Ntfu2 05-20-2006 11:07 PM

The demo site is now running the 2nd version "lightboxresize.zip"

Simply undo all template edits from previous version, and follow instructions in the second part of the first post -
/////////////////////////////////////////////////////////////\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\/
Dynamic Lightbox auto resize - and image overlay.
/////////////////////////////////////////////////////////////\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\/

From there down to get the same version as on demo site now.q

Tulsa 05-21-2006 06:28 AM

Perfect! :)

Are you adding the bbcode support to the second one?


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.01363 seconds
  • Memory Usage 1,740KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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