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?

Wildthinks 05-25-2007 01:50 PM

Hi,

can you please me advice whats wrong with my installation... i tried to install, but dont work on my ff and ie 7.
http://www.swishzone.de/testboard/at...tml#post132432

Thank you..
wildthinks

4x4 Mecca 05-31-2007 02:02 AM

Is there any way to make this work with the [attach] function?

4x4 Mecca 06-01-2007 05:20 PM

bump?

kevcj 06-08-2007 05:44 PM

Quote:

Originally Posted by 4x4 Mecca (Post 1258077)
Is there any way to make this work with the [attach] function?


I want to +1 on this question. Is there a way to get this to work with the attach option?

Ca I make a custom BB code to get this to work with the attach option?

PapaSmurf 07-12-2007 02:05 AM

My install works fine when viewing posts, but not on my vbAdvanced CMPS front page.

Link main page: http://www.nohaxnetwork.com/index.php
Link to post: http://www.nohaxnetwork.com/showthread.php?t=1076

Any ideas?

Thanks in advance.

PapaSmurf 07-24-2007 11:55 AM

Anyone at all? Or even if i could be pointed to a hack that works in vba?

oaddah 10-24-2007 08:25 AM

Thanks My Frind

installed

columbusgeek 11-11-2007 05:39 PM

Works fine on vB 3.6.8 P2

Thank you.

columbusgeek 11-11-2007 05:51 PM

FYI.

DO NOT try to upgrade the Thickbox version. I tried to go to 3.1 and had to revert back to the file that was included here.

oaddah 11-12-2007 08:21 AM

thes is hooc has been worked on vbulletin 3.6.8 pach live 2

thank you my frind

whith greating

voter 02-01-2008 03:12 PM

There is a problem with inline attachments.
When user inserts attachment as
Code:

[ATTACH] ID [/ATTACH]
rel="gallery-thumbs" class="thickbox" do not appear in <a href=""> and I have no glue where and how one need to put that.
Anybody knows where (I guess in a php file) have the standard BBCODES/TAGS like ATTACH FONT IMG being transfered into html code?

voter 02-01-2008 07:23 PM

Could one say why this hack work for me with IE, Opera and not with firefox?
Here for test http://viparmenia.com/vb/showthread....56&postcount=2

voter 02-01-2008 07:44 PM

Quote:

Originally Posted by voter (Post 1434002)
There is a problem with inline attachments.
When user inserts attachment as
Code:

[ATTACH] ID [/ATTACH]
rel="gallery-thumbs" class="thickbox" do not appear in <a href=""> and I have no glue where and how one need to put that.
Anybody knows where (I guess in a php file) have the standard BBCODES/TAGS like ATTACH FONT IMG being transfered into html code?

I found it, it is in includes/class_bbcode.php
Code:

$replace[] = "<a href=\"{$this->registry->options['bburl']}/attachment.php?{$this->registry->session->vars['sessionurl']}attachmentid=\\1&amp;d=$attachment[dateline]\" $addtarget><img src=\"{$this->registry->options['bburl']}/attachment.php?{$this->registry->session->vars['sessionurl']}attachmentid=\\1&amp;thumb=1&amp;d=$attachment[thumbnail_dateline]\" class=\"thumbnail\" border=\"0\" alt=\""
Must be replaced (rel=\"gallery-thumbs\" class=\"thickbox\" must be added) with

Code:

$replace[] = "<a href=\"{$this->registry->options['bburl']}/attachment.php?{$this->registry->session->vars['sessionurl']}attachmentid=\\1&amp;d=$attachment[dateline]\" $addtarget rel=\"gallery-thumbs\" class=\"thickbox\">
<img src=\"{$this->registry->options['bburl']}/attachment.php?{$this->registry->session->vars['sessionurl']}attachmentid=\\1&amp;thumb=1&amp;d=$attachment[thumbnail_dateline]\" class=\"thumbnail\" border=\"0\" alt=\""


dtdesign 03-02-2008 04:28 PM

Installed and working .. Thanks !

maf1973 05-13-2008 10:28 PM

Will this work on 3.7 Gold ?


All times are GMT. The time now is 01:33 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.01242 seconds
  • Memory Usage 1,767KB
  • 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
  • (6)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)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