vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Lightbox/ThickBox works with Inline Editing (https://vborg.vbsupport.ru/showthread.php?t=126501)

Kanustep 09-15-2006 10:55 PM

Quote:

Originally Posted by redgoals22
you have a problem with your attachments they seem to be taking forever to load, i suspect you are storing your attachments in database? if so i would consider if i was you to move then to filesystem.

Thank you for checking that out. But the settings are right, I have set it to store in filesystem from the beginning.

What else could be?

redgoals22 09-16-2006 08:54 AM

Quote:

Originally Posted by Kanustep
Thank you for checking that out. But the settings are right, I have set it to store in filesystem from the beginning.

What else could be?

try re-uploading a copy of your attachment.php file, it looks like vbulletin is not sending the "size" of the attachment back to the browser which is why the image takes forever to load.

|oR|Greg 09-16-2006 11:49 AM

Quote:

Originally Posted by redgoals22
can u give a link to a page which contains attachment links for lghtbox?

Sure, this page is the gallery is a members car. I have allowed guests to view full sized images, so you can click any of her thumbs and see it brings you to a full sized picture with a different script.

http://www.amacny.com/vb/vbpicgallery.php?do=view&g=16

Snake 09-16-2006 12:07 PM

Very nice!

redgoals22 09-16-2006 01:19 PM

Quote:

Originally Posted by |oR|Greg
Sure, this page is the gallery is a members car. I have allowed guests to view full sized images, so you can click any of her thumbs and see it brings you to a full sized picture with a different script.

http://www.amacny.com/vb/vbpicgallery.php?do=view&g=16

looks like the javascript files are not loading onto the page, in step 3 change the code to this

Code:

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/thickbox.js"></script>

im not sure where you have put that code (ie which template) but that code needs to present on the page above.

|oR|Greg 09-16-2006 03:29 PM

That code is already at the top of the vbpicgallery_main template which houses the imagebits template which is where i but the href stuff. I didn't put the rel="gallery-thumbs" though because vBP holds its pics inside the main DB, but separate from vBs attachments.

redgoals22 09-16-2006 06:27 PM

Quote:

Originally Posted by |oR|Greg
That code is already at the top of the vbpicgallery_main template which houses the imagebits template which is where i but the href stuff. I didn't put the rel="gallery-thumbs" though because vBP holds its pics inside the main DB, but separate from vBs attachments.

i had a look at the source code and it does seem you did put rel="gallery-thumbs" in the attachment link which is gud otherwise it wud totally not work.

you just need to get step 3 sorted so that the .js files are also loaded on the page which they currently are not, this can be done by adding the step3 code to the main template which loads this page http://www.amacny.com/vb/vbpicgallery.php?do=view&g=16 , you would know which template that is. the code in step3 needs to be :

Code:

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/thickbox.js"></script>


|oR|Greg 09-16-2006 11:22 PM

Found it!!! I was in the wrong template it turns out. I'll make a tutorial based off your hack red, with your permission of course.

The only question I have, how come when an image is too big for the screen, the box comes up but you can't scroll up or down, the image follows you and it sucks... ?

redgoals22 09-17-2006 08:00 AM

Quote:

Originally Posted by |oR|Greg
Found it!!! I was in the wrong template it turns out. I'll make a tutorial based off your hack red, with your permission of course.

The only question I have, how come when an image is too big for the screen, the box comes up but you can't scroll up or down, the image follows you and it sucks... ?

nice, be my my guest.

check this post for what you want https://vborg.vbsupport.ru/showpost....0&postcount=13 you will have to clear ur cache/refresh the page or rename the js files to see any changes.

|oR|Greg 09-17-2006 08:04 PM

Quote:

Originally Posted by redgoals22
nice, be my my guest.

check this post for what you want https://vborg.vbsupport.ru/showpost....0&postcount=13 you will have to clear ur cache/refresh the page or rename the js files to see any changes.

I updated the files, no difference, to see what I mean go here.
http://www.amacny.com/vb/vbpicgallery.php?do=view&g=4
and click on the long picture of my car, you cant scroll past the borders to get the the close/next/prev buttons... the pic follows you.


All times are GMT. The time now is 05:06 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.01232 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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