vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - BBR - Resize Images with lytebox v3.22 (https://vborg.vbsupport.ru/showthread.php?t=230411)

Spika 01-17-2010 09:25 PM

Yes, excuse me I edited the post correcting the link,

Sorry

http://www.gstrail.es/foro/paseo-canada-23548/

BBR-APBT 01-17-2010 10:17 PM

Quote:

Originally Posted by Spika (Post 1958653)
Yes, excuse me I edited the post correcting the link,

Sorry

http://www.gstrail.es/foro/paseo-canada-23548/

Now that I had a working copy to look at. The problem is coming from another modification.

I do believe it is from vBseo. The reason I say that is it looks like their code is rewriting the link that I placed there.

Code:

pageTracker._trackPageview ('/outgoing/this_is_a_image_medium_jpg');
Please start a support thread at vBseo and give me the link so I can follow what they say so I know how to fix it or if they will fix it on their end.

Spika 01-18-2010 02:34 PM

Thanks, I have created support ticket about this.
I will keep you informed.

Spika 01-18-2010 03:32 PM

VBseo support has answered me with this solution:

You can disable Add Google Analytics "Tracking External Link Clicks" Code? option within vBSEO Cp

It is located at: General Settings -> Log & Tracking Options -> Add Google Analytics "Tracking External Link Clicks" Code? -> (Set to NO)

But nothing changes, must be another problem.
I am sure that is VBSEO, because I have disable it completely and your mods works perfectly!

I have to find another setting incompatible with your mod.

meissenation 01-18-2010 03:44 PM

Is there any way to make it so that the image is automatically resized to the size of the postbit width? Having to set the image size to a set pixel amount is a real pain on my site. I have a user who is stuck on 800x600 resolution so to make it look OK on his screen I have to set the maximum width to like 300 - for the rest of us with modern screen resolutions, that's smaller than thumbnail size and barely visible. If it automatically resized the image to only be the width of the post area that'd be awesome. Then the image would look great on an 800x600 resolution and it'd look great for those of us with larger resolutions.

carrlos 01-19-2010 12:33 AM

Installed. I appreciate the work.

I would think that if at all possible, it should definitely work with vB CMS and vBadvanced since these are the two major CMS players. I just switched back to vBadvanced after hating vB CMS.

But don't get me wrong. I like this hack. ;)

Spika 01-20-2010 02:19 PM

I have unchecked all options one by one in VBseo and I cannot get Lytebox works, only if I disable VBSeo completely...

compuminus 01-20-2010 04:57 PM

Quote:

Originally Posted by Spika (Post 1961235)
I have unchecked all options one by one in VBseo and I cannot get Lytebox works, only if I disable VBSeo completely...

This will be fixed in vbseo RC2 final. I corresponded with them about it and they've found the issue.

djmac 01-20-2010 06:28 PM

Two things. I can not resize the photo in the edit box. Unless the min. and max. sizes are set in the admincp.

And when I do insert a photo and click save I get the following error:

Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or
after the error I notice the test article posted anyway but the image is at max. size.

Any ideas
Don

BBR-APBT 01-20-2010 07:34 PM

Quote:

Originally Posted by djmac (Post 1961459)
Two things. I can not resize the photo in the edit box. Unless the min. and max. sizes are set in the admincp.

And when I do insert a photo and click save I get the following error:

Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or
after the error I notice the test article posted anyway but the image is at max. size.

Any ideas
Don

Can you take screen shots of what you are talking about?

This does not work in the editor.

meissenation 01-20-2010 09:59 PM

Quote:

Originally Posted by meissenation (Post 1959290)
Is there any way to make it so that the image is automatically resized to the size of the postbit width? Having to set the image size to a set pixel amount is a real pain on my site. I have a user who is stuck on 800x600 resolution so to make it look OK on his screen I have to set the maximum width to like 300 - for the rest of us with modern screen resolutions, that's smaller than thumbnail size and barely visible. If it automatically resized the image to only be the width of the post area that'd be awesome. Then the image would look great on an 800x600 resolution and it'd look great for those of us with larger resolutions.

Anyone?

BBR-APBT 01-20-2010 11:11 PM

Quote:

Originally Posted by meissenation (Post 1961734)
Anyone?

I really do not know. I looked and looked but have not found nothing.

We will see what I come up with the update that will be released soon. I can not promise I can make this work but I will try.

I am compiling a list of features to add from this thread.
Any suggestions added after this post will be included in the version after this update.

meissenation 01-21-2010 06:08 PM

Quote:

Originally Posted by BBR-APBT (Post 1961795)
I really do not know. I looked and looked but have not found nothing.

We will see what I come up with the update that will be released soon. I can not promise I can make this work but I will try.

I am compiling a list of features to add from this thread.
Any suggestions added after this post will be included in the version after this update.

I think I understand the concept of what I'm trying to do but I don't know how to do it. I think if you put the image in a div with a width of 90% for example, because that div is contained inside the div for the post area I *think* it should then only make the images 90% of the width of the post area. If you know how to put that into a plugin/product I'd be more than happy to test it on my forum.

BBR-APBT 01-21-2010 06:13 PM

Quote:

Originally Posted by meissenation (Post 1962598)
I think I understand the concept of what I'm trying to do but I don't know how to do it. I think if you put the image in a div with a width of 90% for example, because that div is contained inside the div for the post area I *think* it should then only make the images 90% of the width of the post area.

Images do not stay with in the div's as that is the whole problem now. The image explodes outside the div for the post_message.

movslow 01-21-2010 11:04 PM

I skimmed the last few pages, I was wondering if this mod supports CMS as of yet?

Thanks.
:up:

St0rmNet 01-22-2010 08:10 AM

I was wondering, a few of my users use images as download buttons for links in posts, but when you click the image it loads the image instead of the download, is there anyway around this issue?

-St0rm

argothiusz 01-22-2010 09:43 AM

Quote:

Originally Posted by movslow (Post 1962887)
I skimmed the last few pages, I was wondering if this mod supports CMS as of yet?

Thanks.
:up:

No CMS or Blog support yet =(

movslow 01-22-2010 12:15 PM

Quote:

Originally Posted by argothiusz (Post 1963232)
No CMS or Blog support yet =(

Cool, I'm guessing it's still a VB issue?

kencasanova 01-22-2010 02:42 PM

it doesn't work with CMS

discoduck 01-22-2010 06:26 PM

Installed, works great :)

BBR-APBT 01-22-2010 07:37 PM

Quote:

Originally Posted by kencasanova (Post 1963451)
it doesn't work with CMS

What gave you that hint?

It is all through out this thread that I have been working to get this to work on the CMS.

If you would have took the time to even read the first post in this thread it says.
Quote:

Info:
This modification will resize images using css max-width and max-height. Also included is LyteBox. This works on user signatures and posted images and now Blogs.

rizelim 01-22-2010 07:57 PM

blog quote not working.Forums and blogs no problem.http://www.uydudoktoru.com/blogs/guc...le-escemi.html

BBR-APBT 01-22-2010 09:34 PM

Quote:

Originally Posted by rizelim (Post 1963738)
blog quote not working.Forums and blogs no problem.http://www.uydudoktoru.com/blogs/guc...le-escemi.html

Yes it currently does not work with Blog Comments. It will soon. I am working on the update now.

Inferno Dragon 01-23-2010 01:00 AM

Can we add a bar or a small message above the image to let the users know that the image has been resized and a option/link to download the full image i-e opens the image in a new window. there was a hack here for vb 3.8 which used to do this.

BBR-APBT 01-23-2010 01:32 AM

Quote:

Originally Posted by Inferno Dragon (Post 1963979)
Can we add a bar or a small message above the image to let the users know that the image has been resized and a option/link to download the full image i-e opens the image in a new window. there was a hack here for vb 3.8 which used to do this.

Adding in the next update.

mandingo 01-23-2010 05:23 AM

Where is the setting for the popup to be the full sized image?

josantos 01-23-2010 07:15 AM

Thanks :up::up:

Trumpetrhapsody 01-23-2010 05:45 PM

Quote:

Originally Posted by BBR-APBT (Post 1964007)
Adding in the next update.

PLEASE make it an option then, most of my users hated that.

mandingo 01-23-2010 05:48 PM

Quote:

Originally Posted by mandingo (Post 1964091)
Where is the setting for the popup to be the full sized image?

sorry,non-issue.

TimberFloorAu 01-23-2010 08:01 PM

I havent read all comments:

I dont really get the slideshow bit.

Issues we have are ( possibly documented within this thread )

1. [forum] external images, open in same window, requiring back click to return to forum. Not a great feature.
2. [articles] if slideshow feature on, the lightbox hangs. If slideshow feature off, works fine.

Ste

TimberFloorAu 01-23-2010 08:03 PM

3. in blog preview page, clicking on image is fine.
4. if we goto that particular blog, clicking same image opens in same page, requiring back click

BBR-APBT 01-23-2010 08:28 PM

Quote:

Originally Posted by TimberFloorAu (Post 1964710)
I havent read all comments:

I dont really get the slideshow bit.

Issues we have are ( possibly documented within this thread )

1. [forum] external images, open in same window, requiring back click to return to forum. Not a great feature.
2. [articles] if slideshow feature on, the lightbox hangs. If slideshow feature off, works fine.

Ste

It seems as if something is not loading the javascript correctly this is the only reason the images open in new/same window. I will have to check the slideshow as I really haven't used that option much.

Quote:

Originally Posted by TimberFloorAu (Post 1964714)
3. in blog preview page, clicking on image is fine.
4. if we goto that particular blog, clicking same image opens in same page, requiring back click

Again it seems as if the javascript is not loading correctly.

Do you have the supercharged mod installed? That was having problems with this, But was fixed by both people.

Please give me some links to the threads/blogs with images on your site so I can take a look.

TimberFloorAu 01-23-2010 09:15 PM

Cheers for the reply mate.

forum:
yobromofo.com/forum

user; don
pass; stupid

link 1 http://www.yobromofo.com/forum/blogs/

Click any image in 1st blog

Works fine

Open the blog

link 2 http://www.yobromofo.com/forum/blogs...sneak-peek-40/

click any image ( opens in new window )

This was previously an issue with vbseo I think.

Regarding forum thread:

http://www.yobromofo.com/forum/f82/v...tml#post171329

click image in thread
Opens in same window.

However switch your hack off, and it works correctly, but obviously image is humungous lol.

Put slideshow on, and its as my initial post.

Regards Ste

Incidentally we are using our own js for the forumhome images. The call for the JS I added to headinclude file

These are the JS files ( added as attachment ) perhaps there is a conflict.

BBR-APBT 01-23-2010 11:09 PM

The images on your Blog are using the vBulletin attachment system.
See here: http://www.vbulletin.com/forum/proje...?issueid=35630

For the thread vBseo is still removing the <a rel="lytebox[postid]"
They was supposed to fix it but it seems they forgot to leave that there again.

TimberFloorAu 01-24-2010 12:02 AM

Gottya I had spoken to them about this, ages ago, and last release as you say was supposedly fixing this issue.

The slideshow I can do without, if we dont use the slideshow, is it worth removing its JS component. If so How ?

Thanks Mate

BBR-APBT 01-24-2010 12:23 AM

If you turn off Lytebox in the settings you can remove the Lytebox folder as it isn't used.

How ever if you get vBseo to fix it the image link and leave the <a rel="lytebox[postid]" alone. It will load in Lytebox.
See here for live demo: http://www.bullybreedresource.com/fo...g-new-pictures

TimberFloorAu 01-24-2010 01:43 AM

Quote:

Originally Posted by BBR-APBT (Post 1964869)
If you turn off Lytebox in the settings you can remove the Lytebox folder as it isn't used.

How ever if you get vBseo to fix it the image link and leave the <a rel="lytebox[postid]" alone. It will load in Lytebox.
See here for live demo: http://www.bullybreedresource.com/fo...g-new-pictures

Could Not Access:

Quote:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@bullybreedresource.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Is it me or is VB slower than a sloth on prozac today ?

BBR-APBT 01-24-2010 02:38 AM

My host had some issues, My whole site was down for like 30 minutes.

carloscuevas 01-24-2010 06:17 AM

thanks man, installed it, worked gooodddddd.

TimberFloorAu 01-24-2010 07:05 AM

Quote:

Originally Posted by BBR-APBT (Post 1964869)
If you turn off Lytebox in the settings you can remove the Lytebox folder as it isn't used.

How ever if you get vBseo to fix it the image link and leave the <a rel="lytebox[postid]" alone. It will load in Lytebox.
See here for live demo: http://www.bullybreedresource.com/fo...g-new-pictures

Quote:

Originally Posted by BBR-APBT (Post 1964909)
My host had some issues, My whole site was down for like 30 minutes.

Ok what do we need to do to get it working like your site, now she is back online. That looks ACE !


All times are GMT. The time now is 11:47 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.02420 seconds
  • Memory Usage 1,845KB
  • 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
  • (21)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