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)

radarhunter 11-06-2006 12:36 PM

well it worked for me

<head><if condition="THIS_SCRIPT=='showthread' OR THIS_SCRIPT=='showpost'">
<link rel="stylesheet" href="css/thickbox.css" type="text/css" />
</if></head>

by inclucding the first code in <head> tags

JohnBee 11-29-2006 10:43 PM

thanks for this, it works great! much better than the older lightbox script.
It's slower loading though...

Kihon Kata 01-23-2007 07:03 PM

Installs! One issue for me is if I have many attached images, it doesn't work on image #1....only 2 and up. Why would this be?

frozt 02-12-2007 10:53 AM

I can't get this to work in FF2 at all.

IE7 shows the pictures pixelated. If I remove the width and height properties of the img tag it work as expected except that the white frame doesn't cover the image anymore.

Any clues?

frozt 02-12-2007 11:20 AM

Btw, how can I make it so that the image is always displayed in its original size? I run a graphics forum and there is no point in not showing images full sized.

Hexemer 04-13-2007 06:02 PM

Works very good :)

kevcj 05-10-2007 11:52 PM

Where do I put the href rel="gallery-thumbs" class="thickbox" at?? I looked in the template, but where do I insert the code at??

Step 4: Modify the template postbit_attachmentthumbnail and add this to the a href tag,

Code:

rel="gallery-thumbs" class="thickbox"

4x4 Mecca 05-16-2007 02:29 AM

Quote:

Where do I put the href rel="gallery-thumbs" class="thickbox" at?? I looked in the template, but where do I insert the code at??

Step 4: Modify the template postbit_attachmentthumbnail and add this to the a href tag,

Code:

rel="gallery-thumbs" class="thickbox"
Right after the <a


============

To add a link that can allow the user to view the full size image, open thickbox.js and find
Code:

TB_NextHTML + "

RIGHT AFTER IT ADD

Code:

(<a href="+url+">Full Size</a>)

Adam21 05-19-2007 07:11 AM

How do you specify the thickbox width and height?i suppose its in the thickbox.js?

ruhrpottforum 05-20-2007 12:17 PM

Is it possible to modify this hack to display a banner (html code) under or beside the attached image?


All times are GMT. The time now is 11:16 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.01604 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)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