vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   vBulletin Attachment Lightbox (https://vborg.vbsupport.ru/showthread.php?t=115701)

Kihon Kata 05-16-2006 08:56 PM

Quote:

Originally Posted by Ntfu2
Working on the right now,

expect the neat and formated post in 30 minutes

WIll the update be a faster loading one? (sorry to bother)

Ahsin1 05-16-2006 08:56 PM

not working!!!

Ntfu2 05-16-2006 09:02 PM

Quote:

Originally Posted by Kihon Kata
WIll the update be a faster loading one? (sorry to bother)


Yes i beleive it loads faster for myself, however i can not confirm that it does as only 2-3 others have the code right now


Updated First Post for better install instructions

Ntfu2 05-16-2006 09:03 PM

Quote:

Originally Posted by Ahsin1
not working!!!


Can you provide a link to your site please.

BANDiT600 05-16-2006 09:28 PM

When I try to edit any post and after try to save nothing happens, it's after I've installed your hack. Any idea what's wrong??? It's second time I try.

IE says me "style" - is null or no object.. Something like this... Sorry I have Russian Windows

Ntfu2 05-16-2006 09:31 PM

Quote:

Originally Posted by BANDiT600
When I try to edit any post and after try to save nothing happens, it's after I've installed your hack. Any idea what's wrong??? It's second time I try.


Bashy had this same problem, make sure you got the latest instructions from the first post.

If that fails, press CTRL+F5 to reload everything and give it a couple seconds to load back up.

BANDiT600 05-16-2006 09:35 PM

I have downloaded your update hack, same problem!

Ntfu2 05-16-2006 09:42 PM

Link to your site please

iSpanish 05-16-2006 09:51 PM

Hi

i see this before in this site:
http://www.huddletogether.com/projects/lightbox2/
and there is anther one:
http://www.huddletogether.com/projects/lightbox/

Q:
can you make it worke with images in the posts?

Ntfu2 05-16-2006 09:58 PM

Quote:

Originally Posted by Marboosh.Net
Hi

i see this before in this site:
http://www.huddletogether.com/projects/lightbox2/
and there is anther one:
http://www.huddletogether.com/projects/lightbox/

Q:
can you make it worke with images in the posts?


Yes i know thats where i got the main js files. I had that in my original post, but forgot to put it in the updated one.

Q:
By images do you mean ones that pepole post from off site sources using the [img] tag or do you mean ones posted using [attach] tag.

iSpanish 05-16-2006 10:05 PM

Quote:

Originally Posted by Ntfu2
Yes i know thats where i got the main js files. I had that in my original post, but forgot to put it in the updated one.

Q:
By images do you mean ones that pepole post from off site sources using the [img] tag or do you mean ones posted using [attach] tag.

Thanks for replay

i mean that image using [img] tag.

Ntfu2 05-16-2006 10:11 PM

Quote:

Originally Posted by Marboosh.Net
Thanks for replay

i mean that image using [img] tag.


Yes thats coming next, just got it working for the [attach] code Check 2nd post shortly.

Dr.Viggy 05-16-2006 10:20 PM

what else is being updated in the new revision that's coming? i don't allow offsite hotlinking of images. will that be the only update?

Ntfu2 05-16-2006 10:28 PM

Quote:

Originally Posted by Dr.Viggy
what else is being updated in the new revision that's coming? i don't allow offsite hotlinking of images. will that be the only update?


??????????????? Im lost on this one doc?


Second post has a small update to it :D other then that its about coming to an end i belive

Dr.Viggy 05-16-2006 10:33 PM

oh ok. thought you were updating again to make it work for [img] tags as well

Ntfu2 05-16-2006 10:34 PM

Im trying, its not going so hot :D

cd1986 05-17-2006 01:15 AM

Nice mod. Lightbox Plus has a few nice extras like dynamic resizing to fit the current window and the option to expand the image:

http://serennz.cool.ne.jp/sb/sp/lightbox/

Any chance you could work something like that in too. ;)

Ntfu2 05-17-2006 01:29 AM

I can implement them all...maybe not at the same time but let me start testing :D

TeddyKGB 05-17-2006 03:08 AM

Great work and I really appreciate it. Just one minor suggestion though, I would do some sort of version control so people know what it is they need to update.

I installed mine earlier and you have tweaked a few things so I am not sure which part I will need to update (without going thru it all again).

It might make it easier on you and everyone who enjoys your work.

Thanks again! Nominated for HoTM

sensimilla 05-17-2006 07:49 AM

I have done all step by step and nothing happens..
Still attachments opens in new window.. :(

btw I have vbseo installed does it have influence ?

Barakat 05-17-2006 11:16 AM

just in the headinclude template put this code at the end of it

PHP Code:

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

and u will have the effect on the pictures on ur forum aslo

with the code which i included it before

Barakat 05-17-2006 11:22 AM

and u can leave the postbit_legacy or the postbit templates without changeing

Impreza04 05-17-2006 02:29 PM

Thanks for getting [attach] to work..

On problem with the template edit is that it causes the [attach] to not work (for me at least, i thinks its my settings)

However
Code:

<if condition="$show['attachments']">
works perfectly :)

Lady Divus 05-17-2006 02:45 PM

Quote:

Originally Posted by Barakat
just in the headinclude template put this code at the end of it

PHP Code:

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

and u will have the effect on the pictures on ur forum aslo

with the code which i included it before

I placed this code in the headinclude at the very end. I dont see anything different with the pics on my forum. I even placed a new image using a url to test and nothing happened. Am i doing something wrong?

Also, could you tell me how to resize the view of the attached images once the thumb is clicked. I dont want it to open in the original size but rather in a predefined size. Is this possible? Anyone? Thanks in advance -

Lady Divus

wtrk 05-17-2006 04:30 PM

nice.

Ntfu2 05-17-2006 05:09 PM

Quote:

Originally Posted by Lady Divus
I placed this code in the headinclude at the very end. I dont see anything different with the pics on my forum. I even placed a new image using a url to test and nothing happened. Am i doing something wrong?

Also, could you tell me how to resize the view of the attached images once the thumb is clicked. I dont want it to open in the original size but rather in a predefined size. Is this possible? Anyone? Thanks in advance -

Lady Divus

Im trying to figure that out for ya, but not having much luck with this version,

Maybe one day though, im just a n00b :D

ryancooper 05-17-2006 05:45 PM

dont forget the final " in
title="$attachment[filename] - $attachment[filesize] - Downloaded $attachment[counter] times"

Ntfu2 05-17-2006 05:57 PM

Thank you

Barakat 05-17-2006 06:29 PM

"Lady DIVUS" Coz iam useing my phone i cant make copy paste . But go up to page 3 and u will find a code that i put 'it a small changes on class_bbcode file . Without it the code in the headinclude is useless . Try it and i will work

JohnBee 05-17-2006 06:55 PM

Installed, running great.
I installed and applied to one forum only "showcase forum" my members love it!

thanks for this great hack

Gizmo5h1t3 05-17-2006 06:55 PM

still not seeing the button images....apart from that...sweet hack!!

edit - seein em now....lol

Ntfu2 05-17-2006 07:08 PM

Quote:

Originally Posted by Gizmo5h1t3
still not seeing the button images....apart from that...sweet hack!!

edit - seein em now....lol


Great to hear, dont forget to click install and nominate for hack of the month :D

Jason McConnell 05-17-2006 07:58 PM

Killer hack!!

[high]* Jason McConnell clicks Install! :D[/high]

JohnBee 05-17-2006 08:28 PM

I still love the hack, however after seeing the demo "with buttons and exit" hehe I wish I had that on my own site :p

Ntfu2 05-17-2006 08:42 PM

dont your buttons show up?

JohnBee 05-17-2006 09:15 PM

hmm No buttons here, I uploaded the dir structure as it was setup in the archive, is it possible the /image/ folder belonged under the /forum/ dir or was it meant to go to the dir above that?

Also I tested it with ie to see if perhaps FF was not acting up but on ie 6.2 it was not rendering any effects at all.
Not sure whats going on here

JohnBee 05-17-2006 09:39 PM

Update...

I test ie on your demo site and it did the same thing :)
So theres no problem with the script there.

However I do not see the navigation buttons and /or the exit buttons
If I hit the image at either side it does progress through the slidshow though.

clicking away returns to the forum.

Ntfu2 05-17-2006 10:23 PM

the images folder belongs above the forums folder

ie
www.site.com/forums <--location of forums
www.site.com/images <-- location of images.

If that fails you can always open the lightbox.css file, and edit the paths by hand (should only be 3 image paths), and i beleive lightbox.js (inside clientscript) folder has two image paths near the top that may need to be edited.

JohnBee 05-17-2006 11:43 PM

Quote:

Originally Posted by Ntfu2
the images folder belongs above the forums folder

ie
www.site.com/forums <--location of forums
www.site.com/images <-- location of images.

If that fails you can always open the lightbox.css file, and edit the paths by hand (should only be 3 image paths), and i beleive lightbox.js (inside clientscript) folder has two image paths near the top that may need to be edited.

Okay I will have a look into that.
One thing I noticed... on your demo forum, I see the java initialisaton icon as the .js is loading on the images. But not on my own though...

Is this an additional feature or could it all be linked to the missing navigation icons?

JohnBee 05-18-2006 12:38 AM

Alright those spots you mentioned worked :D
It is very odd that I am unable to use any internal paths to these images.

I did however sucessfully drop the images in the /clientscript/ dir and load the previous and next buttons there. However the close and loading images are nowheres to be seen.

I will keep working at it though.

I wish I could understand why the paths are not registering.


All times are GMT. The time now is 12:54 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.01386 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (12)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
  • (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