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)
-   -   Adding Lightbox to Attachment thumbs (https://vborg.vbsupport.ru/showthread.php?t=123235)

Kriminal 09-08-2006 06:04 PM

Unfortunately, this hacks causes a malfunction in Quick Edit and Multiquote.
I'm sorry but I have to uninstall it.

PixelFx 09-12-2006 09:48 AM

any chance of getting update for this hack, to fix known bugs?

Logician 09-19-2006 05:53 PM

Quote:

Originally Posted by dodgeboard.com
Same here!!! Plus the UNDEFINED error mentioned earlier. I wished it worked cause I love this hack and so did my members.

Reverted template headinclude and that fixed it but of course, removed lightbox.

To avoid the errors, apply installation step 1 to SHOWTHREAD template only (before </head> tag) , rather than headerinclude template. This should fix your problems..

oberheimhaven 09-22-2006 07:49 PM

Where are they? Zero just says to install in root forum??? Anyway an you please be a tad clearer as to where these files actually go? I will wait to install sounds like a lot of bugs in her, however great /hack,and ideal If Ican get her to work

Peace
MarkAnthony

Quarterbore 09-25-2006 09:54 PM

I am trying to work with lightbox for another reason and it led me here as I am strugling with the "quick edit" error too...

I know that the problem seems to be with the <body$onload>

See: http://www.huddletogether.com/projects/lightbox2/

It says:

Quote:

Support:
It doesn't work at all. The image opens up in a new page. What's wrong?
This is commonly caused by a conflict between JS scripts. Check your body tag and look for an onload attribute. Example:
<body onload="MM_preloadImages(‘/images/menu_on.gif’)…;">
A quick fix to this problem is to append the initLightbox() to the onload attribute as so:
<body onload="MM_preloadImages(‘/images/menu_on.gif’)…;initLightbox()">
So, I tried it....

Open "editpost"

Find <body$onload>

Replace with: <body onload="MM_preloadImages(‘/images/menu_on.gif’)…;initLightbox()">


BUT THAT DID NOT WORK!!!

I also removed the whole <body+extra stuff... and replaced it with a normal <body>. What I discovered is that with that gone the post opens and you can edit but when you click save the window does not return to a viewthread view... (remains with the editor)

I will recode that edit page if I need to or I will recode my forums so everybody on my site has to use the advanced editor if this is the only fix!

I also tried to edit the "showthread" and the "showthread showpost" templates and that didn't help either...

effizienz 09-25-2006 11:07 PM

Quote:

Originally Posted by Logician
To avoid the errors, apply installation step 1 to SHOWTHREAD template only (before </head> tag) , rather than headerinclude template. This should fix your problems..

Won't work. Even if included only in SHOWTHREAD you will get problems with quick edit!

Sean S 09-28-2006 06:26 PM

Here is what you guys have to do to get rid of those errors that you have been getting, put an if condition around the script,

Code:

<if condition="THIS_SCRIPT == 'showthread'">
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" /></if>


hnjco 10-06-2006 03:25 PM

Installed and worked perfect..

The one thing i want is..if there are 5 pictures and i click on first one which show in new lightbox window..now if i want to see 2nd picture i have to close lightbox window and click on 2nd or any other picture...any way to add previous and next option in lightbox window so we can see next picture then closing lightbox and click on other picture??

hnjco 10-06-2006 08:37 PM

First BUG.
When you do Quick EDIT of post you can't save post when you click on SAVE but you can save post in Go To Advance option of EDIT POST.

I'm having this trouble since i install this mod but after uninstall it was fine and again i install then same thing again.

imranbaig 10-08-2006 07:10 AM

Quote:

Originally Posted by hnjco
First BUG.
When you do Quick EDIT of post you can't save post when you click on SAVE but you can save post in Go To Advance option of EDIT POST.

I'm having this trouble since i install this mod but after uninstall it was fine and again i install then same thing again.

There seems to be a conflict with these to jscripts, I will let the author konw abut this and let's see what he can do to over come this problem.


All times are GMT. The time now is 07:09 AM.

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.02074 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_code_printable
  • (4)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