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)

|oR|Greg 09-15-2006 11:02 AM

Quote:

Originally Posted by redgoals22
ive only really tried this with standard vbulletin, but im sure it can be intergrated with any other system. try removing the conditionals in step3 and step4 to see if it works, then work your way from that.

Do you mean the conditionals in steps 2 and step 3? Step 4 has none.

redgoals22 09-15-2006 01:52 PM

Quote:

Originally Posted by |oR|Greg
Do you mean the conditionals in steps 2 and step 3? Step 4 has none.

yeh sorry i meant step2 and 3, as long as the page with the attachment link has the step 4 code and all other javascript code and css files are linked correctly this script shud work with any addon

redgoals22 09-15-2006 01:52 PM

Quote:

Originally Posted by Kanustep
That's is what I have downloaded and still don't have a fixed position.

The hack take too much time to load some images. I try to compress the Javascript but don't work with compression. Is possible to make it more fast?

whats the link let me take a look

|oR|Greg 09-15-2006 06:02 PM

Quote:

Originally Posted by redgoals22
yeh sorry i meant step2 and 3, as long as the page with the attachment link has the step 4 code and all other javascript code and css files are linked correctly this script shud work with any addon

If you could help me out that would be great, I took out the conditionals, added it to the gallery, but I think the key is that gallery-thumbs piece, I dunno... but when I click on the link for a pic, it just opens the pic in the window. Which is actually a good thing because I'm close... because it used to open it in a new window and in that new window call the pic with another script.

I can make you an admin on my boards if you can help me out?

Speechless 09-15-2006 06:27 PM

Will it work fine on 3.6.1 ?

soletrader 09-15-2006 10:05 PM

I really love this hack but just received a request from my members that they are unable to read a post and view the thread at the same time. I hate to disable this hack on my website so I decided to give it a shot and see if I can get any help here.

I want to keep this hack..... I think its a very attractive feature to have. However, I would like the image to pop out in a different box without darkening the thread. Is this possible? Thank you

redgoals22 09-15-2006 10:18 PM

Quote:

Originally Posted by Speechless
Will it work fine on 3.6.1 ?

im using 3.6.1 ...

redgoals22 09-15-2006 10:25 PM

Quote:

Originally Posted by Kanustep
That's is what I have downloaded and still don't have a fixed position.

The hack take too much time to load some images. I try to compress the Javascript but don't work with compression. Is possible to make it more fast?

you have a problem with your attachments they seem to be taking forever to load, i suspect you are storing your attachments in database? if so i would consider if i was you to move then to filesystem.

redgoals22 09-15-2006 10:27 PM

Quote:

Originally Posted by |oR|Greg
If you could help me out that would be great, I took out the conditionals, added it to the gallery, but I think the key is that gallery-thumbs piece, I dunno... but when I click on the link for a pic, it just opens the pic in the window. Which is actually a good thing because I'm close... because it used to open it in a new window and in that new window call the pic with another script.

I can make you an admin on my boards if you can help me out?

can u give a link to a page which contains attachment links for lghtbox?

redgoals22 09-15-2006 10:30 PM

Quote:

Originally Posted by soletrader
I really love this hack but just received a request from my members that they are unable to read a post and view the thread at the same time. I hate to disable this hack on my website so I decided to give it a shot and see if I can get any help here.

I want to keep this hack..... I think its a very attractive feature to have. However, I would like the image to pop out in a different box without darkening the thread. Is this possible? Thank you

the whole purpose of lightbox is the light with the dark barkround.. thats how it gets its name. im afraid what you want would require further hacking of the original script which i do not have the time to do im afraid :(

Kanustep 09-15-2006 10:55 PM

Quote:

Originally Posted by redgoals22
you have a problem with your attachments they seem to be taking forever to load, i suspect you are storing your attachments in database? if so i would consider if i was you to move then to filesystem.

Thank you for checking that out. But the settings are right, I have set it to store in filesystem from the beginning.

What else could be?

redgoals22 09-16-2006 08:54 AM

Quote:

Originally Posted by Kanustep
Thank you for checking that out. But the settings are right, I have set it to store in filesystem from the beginning.

What else could be?

try re-uploading a copy of your attachment.php file, it looks like vbulletin is not sending the "size" of the attachment back to the browser which is why the image takes forever to load.

|oR|Greg 09-16-2006 11:49 AM

Quote:

Originally Posted by redgoals22
can u give a link to a page which contains attachment links for lghtbox?

Sure, this page is the gallery is a members car. I have allowed guests to view full sized images, so you can click any of her thumbs and see it brings you to a full sized picture with a different script.

http://www.amacny.com/vb/vbpicgallery.php?do=view&g=16

Snake 09-16-2006 12:07 PM

Very nice!

redgoals22 09-16-2006 01:19 PM

Quote:

Originally Posted by |oR|Greg
Sure, this page is the gallery is a members car. I have allowed guests to view full sized images, so you can click any of her thumbs and see it brings you to a full sized picture with a different script.

http://www.amacny.com/vb/vbpicgallery.php?do=view&g=16

looks like the javascript files are not loading onto the page, in step 3 change the code to this

Code:

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/thickbox.js"></script>

im not sure where you have put that code (ie which template) but that code needs to present on the page above.

|oR|Greg 09-16-2006 03:29 PM

That code is already at the top of the vbpicgallery_main template which houses the imagebits template which is where i but the href stuff. I didn't put the rel="gallery-thumbs" though because vBP holds its pics inside the main DB, but separate from vBs attachments.

redgoals22 09-16-2006 06:27 PM

Quote:

Originally Posted by |oR|Greg
That code is already at the top of the vbpicgallery_main template which houses the imagebits template which is where i but the href stuff. I didn't put the rel="gallery-thumbs" though because vBP holds its pics inside the main DB, but separate from vBs attachments.

i had a look at the source code and it does seem you did put rel="gallery-thumbs" in the attachment link which is gud otherwise it wud totally not work.

you just need to get step 3 sorted so that the .js files are also loaded on the page which they currently are not, this can be done by adding the step3 code to the main template which loads this page http://www.amacny.com/vb/vbpicgallery.php?do=view&g=16 , you would know which template that is. the code in step3 needs to be :

Code:

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/thickbox.js"></script>


|oR|Greg 09-16-2006 11:22 PM

Found it!!! I was in the wrong template it turns out. I'll make a tutorial based off your hack red, with your permission of course.

The only question I have, how come when an image is too big for the screen, the box comes up but you can't scroll up or down, the image follows you and it sucks... ?

redgoals22 09-17-2006 08:00 AM

Quote:

Originally Posted by |oR|Greg
Found it!!! I was in the wrong template it turns out. I'll make a tutorial based off your hack red, with your permission of course.

The only question I have, how come when an image is too big for the screen, the box comes up but you can't scroll up or down, the image follows you and it sucks... ?

nice, be my my guest.

check this post for what you want https://vborg.vbsupport.ru/showpost....0&postcount=13 you will have to clear ur cache/refresh the page or rename the js files to see any changes.

|oR|Greg 09-17-2006 08:04 PM

Quote:

Originally Posted by redgoals22
nice, be my my guest.

check this post for what you want https://vborg.vbsupport.ru/showpost....0&postcount=13 you will have to clear ur cache/refresh the page or rename the js files to see any changes.

I updated the files, no difference, to see what I mean go here.
http://www.amacny.com/vb/vbpicgallery.php?do=view&g=4
and click on the long picture of my car, you cant scroll past the borders to get the the close/next/prev buttons... the pic follows you.

redgoals22 09-18-2006 10:07 AM

Final update for this hack has been uploaded, please use the second attachment in the release post if you want to avoid the scrolling annoyance.

|oR|Greg 09-18-2006 11:23 AM

Sweet! The updated files work perfectly now! Thanks a lot Red!

|oR|Greg 09-18-2006 11:53 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=126917" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=126917</a>

Benj 09-20-2006 05:57 PM

ok ive done as you specified uploaded the files edited headerincludes and both postbits (just incase) thumbnails are showing but clicking on them opens them up normally..

heres my attachments postbit template thing is it right ?

Quote:

<a rel="gallery-thumbs" class="thickbox" href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if> ><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;stc=1&amp;thumb=1&amp;d=$attachment[thumbnail_dateline]" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]" 4="$attachment[attachmentid]">$vbphrase[image_larger_version_x_y_z]</phrase>" /></a>
&nbsp;<if condition="$show['br']"><br /><br /></if>

Benj 09-20-2006 06:00 PM

my bad works nicely

Kanustep 09-21-2006 10:07 AM

Most of my users complaint that can't see the image in full size. Since we run a architecture forum the images are often big, how to change the code to fit the full size version? Perhaps some button to click and see the full size version.

Also the loading seems to be a little slow in other sites I have visit too.

kremer4 11-02-2006 09:10 PM

Is anybody else besides me having problems with IE7. Its brings up the loading screen but no pics. Works great in Firefox and IE6.

www.importcarforums.com/gallery.html

radarhunter 11-03-2006 07:08 AM

I tried everything but all in vain

couldn`t have things working the way they should be

can anyone help me out with it ?????

radarhunter 11-04-2006 03:27 AM

common man someone help me

radarhunter 11-04-2006 02:08 PM

this is the third time i am asking for help

Mods please don`t think of me as a spammer it`s jus` noone is helping me with the install .........

And i want it badly

|oR|Greg 11-05-2006 11:36 AM

Maybe if you explain the problem people could help.

radarhunter 11-05-2006 12:10 PM

when i open an attachment it opens in a new window i mean nothin`s workin` i need someone who can give me a step by step to what to do via some messenger so that i donot make mistakes......

|oR|Greg 11-05-2006 01:24 PM

Sounds like it's not loading your java script.

radarhunter 11-05-2006 01:31 PM

so what can be done to rectify it ???

|oR|Greg 11-05-2006 02:57 PM

Well, I can't find any attachments on your site to look at, so... ?

radarhunter 11-05-2006 03:29 PM

please check this link

http://www.stepheniansonline.com/for...read.php?t=528

user : test
pass : test

|oR|Greg 11-06-2006 10:58 AM

Looking at the source of that page, I didn't see any of the steps shown here applied to that page. I'll assume all you did was install the product and never did the steps outlined in the first post. You need to do those.

radarhunter 11-06-2006 12:16 PM

i had installed a mod : https://vborg.vbsupport.ru/showthread.php?t=123235

and it worked all fine

i don`t know what`s wrong this one ????

|oR|Greg 11-06-2006 12:23 PM

Well, I already told you how to fix it, beyond that I cannot help. I'm almost sorry I wasted my time.

radarhunter 11-06-2006 12:26 PM

may i know which point did u suggest me that would have been really helpfull


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.01399 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
  • (2)bbcode_code_printable
  • (16)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
  • (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