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.

hnjco 10-08-2006 08:03 PM

thanks imranbaig saab ;)

Hope this can be sorted soon and we can use.

radarhunter 11-05-2006 03:51 PM

workin` now thankx

shadow smith 11-25-2006 04:22 PM

Hey guys, before I install this, does it work with quick editting? I thought I'd ask before I went tinkering.

Thanks,
Steve

Natalie@Club 11-28-2006 10:05 AM

Great hack, I can confirm it works in Firefox and Safari :D

Noctavia 12-29-2006 05:09 AM

Quote:

Originally Posted by Oddjob (Post 1046122)
Im also a little confused where the files are uploaded to.....

Same, where exactly do we upload the CSS, Images and JS folders to?

Funky Diver 12-30-2006 09:32 PM

Quote:

Originally Posted by Noctavia (Post 1146766)
Same, where exactly do we upload the CSS, Images and JS folders to?

You upload them to the folder where your forum sits.

e.g. /www/forum or if your forum sits on your www/ (or public_html) then put them in there.


On a seperate entity, this really is a sweet hack... IF it would work properly.

I have the greyed out loading thing... that works fine. No problems editing attachments... BUT when I do click on the image, it doesn't appear in the box, it goes through the loading thing, looks very nice... then new page with the image, aligned to the left. This ONLY happens in Firefox... it works fine in IE. What have I done wrong, because I just cannot figure it out? :confused:

Noctavia 12-31-2006 02:58 AM

Quote:

Originally Posted by Funky Diver (Post 1147718)
You upload them to the folder where your forum sits.

e.g. /www/forum or if your forum sits on your www/ (or public_html) then put them in there.

Thankyou very much, I thought that might have been it, but wasn't 100% sure because I couldn't get it to work properly.

Quote:

Originally Posted by Funky Diver (Post 1147718)
No problems editing attachments... BUT when I do click on the image, it doesn't appear in the box, it goes through the loading thing, looks very nice... then new page with the image, aligned to the left. This ONLY happens in Firefox... it works fine in IE. What have I done wrong, because I just cannot figure it out? :confused:

I am having this problem as well, although mine doesn't work in Explorer ><

PixelFx 12-31-2006 06:25 PM

the only issue I'm having with this after applying it is that, if I do a quick edit of a post, it won't save. Unless I'm in advanced mode.

Other than that, using the conditionals above, fixed all problems I had before when I tried this hack.

Atachi 01-04-2007 05:21 PM

it's the prototype.js, btw.
it's conflicting with vbulletin's own JS-framework.

tried doing the same a few days ago (didn't know there were already hacks) and ran into the same problem.

PixelFx 01-04-2007 07:16 PM

anyone found fix for this? and thanks :D

Kihon Kata 01-23-2007 06:33 PM

bump! any fixes?

nul7 02-13-2007 11:11 PM

This mod has caused me many headaches. lol The actual mod worked great... attachments opened with lightbox, but for the last few days we've had this problem:

https://vborg.vbsupport.ru/external/2007/02/2.jpg

It was like that in both the font selector and the size selector. I've been hunting the cause relentlessly trying to figure out wtf is causing it. Then I remembered this mod and "uninstalled" it. Now it's back to normal. Good idea... poorly executed.

vietConnecting 02-24-2007 04:44 PM

Quote:

Originally Posted by nul7 (Post 1181918)
This mod has caused me many headaches. lol The actual mod worked great... attachments opened with lightbox, but for the last few days we've had this problem:

https://vborg.vbsupport.ru/external/2007/02/2.jpg

It was like that in both the font selector and the size selector. I've been hunting the cause relentlessly trying to figure out wtf is causing it. Then I remembered this mod and "uninstalled" it. Now it's back to normal. Good idea... poorly executed.

Aha, you need clear in headinclude:
Quote:

<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" />
Open Main CSS and paste to below of Additional CSS Definitions box:
Quote:

<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" />
End!

Lord Kirken Mor 02-24-2007 11:47 PM

Whats the reasoning why someone would add this? The demo link shows something else.

imranbaig 03-01-2007 10:02 AM

The Demo site went through lots of upgrades and changes.
Probably I will update this with slimbox.

honestdave 03-28-2007 11:58 PM

i think about 20% of our members can't see the attachments. so we will probably try to make this an additional option that members can switch on.

MR.BOSS 10-06-2007 06:53 AM

i need help please! royal_spirits@hotmail.com

Land 10-06-2007 09:30 PM

Lovely mod! :D Installed. :up:

Land 10-06-2007 10:42 PM

Quote:

Originally Posted by Sean S (Post 1085554)
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>



This fixed editor wysiwyg problems! :up:

Land 10-09-2007 12:04 PM

I found new issues... unistalled.
It's a pity, it could be a nice mod.

sleeper99 10-17-2007 03:54 PM

Quote:

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

This worked for me!! Thanks :)

tiredoff 10-17-2007 08:19 PM

I am using vbulletin 3.6.8 and i dont find <heade></head> in headinclude
any solution?

Andyucs 10-17-2007 08:34 PM

is there any way to make the images open up at say 600px x 600px

and have an enlarge button

i installed it and some members images are massive and blow full size

i need to control this

uninstalled till i get some info

nice work by the way

utw-Mephisto 10-25-2007 12:01 PM

Quote:

Originally Posted by tiredoff (Post 1362632)
I am using vbulletin 3.6.8 and i dont find <heade></head> in headinclude
any solution?

Same here ...

k007 01-30-2008 11:05 PM

you dont need to put it between <head></head> just place anywhere in the headerinclude, here is what my code looks like..
Code:

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

if you want place the css file under the vbulletin_css directory just change the start of every image url to "../../images.."

Edward S 01-31-2008 09:41 PM

The Demo link for this says I have to post at least 'two' messages to be able to see the any attachments?

Uh... pass!

darkakira 03-24-2008 09:46 PM

Apparently this also makes it so IE users can't post. At least that's what it does on vB3.6.8. PL2.

I'm looking into fixing it, but for now I must uninstall it from my main site.

RFViet 03-29-2008 04:12 PM

MQuote doesn't work with this Mod !!!!

mrusdy 04-09-2008 02:19 PM

problem to my VB Editor :)

donnie_ogm 07-13-2008 07:44 PM

Hi I'm not sure this is the right place to post but I've got a problem...
I'm running now the 3.7 on my forum and this version should have this wonderful hack integrated.
It seems to be so since I found and activated this option in ACP.

But even if it's turning on it doesn't work and if I click a thumbnails in attachment it still load in a different page.

What could be the problem, please let me know something....

bye


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.01463 seconds
  • Memory Usage 1,829KB
  • 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
  • (3)bbcode_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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