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)

compuminus 06-19-2010 07:06 PM

Yes, not working for me in 4.0.4 either. It has something to do with $vbulletin variable not being global in the postbit_display_complete hook, although fixing that part alone doesn't correct the problem. Anyone have any ideas?

I'd still like to be able to use the lytebox image viewing (which hasn't been added in 4.0.4) . . .

adembaba 06-19-2010 10:24 PM

The default imageresizer "fix" of 4.0.4 doensn't work properly, so this mod should also be available for 4.0.4 please.

Semmi 06-20-2010 11:33 AM

does this work only for images which are in attachment or for linked images too???
if it will work for linked images you should create a version for 4.0.4

doraj 06-20-2010 12:53 PM

Hello, the Hack is compatible with vB 4.0.3 and CMS?

Thank you

graham_w 06-21-2010 04:33 AM

Hello

In researching how to fix another mod, it actually found a fix for this one on VB4.0.4

Remove the following code from postbit.css (Styles & Templates ->Style Manager->Edit Templates)

Code:

.postbit .content img, .postbitlegacy .content img, .postbitdeleted .content img, .postbitignored .content img, .eventbit .content img {
        max-width: {vb:stylevar postbit_content_max_image_width};
        _width: expression(document.body.clientWidth > {vb:stylevar postbit_content_max_image_width.Size}? "{vb:stylevar postbit_content_max_image_width}": "auto" );
}


This removes the inbuilt VB4.0.4 image resizer and allows this mod to start working again.

Cheers

Semmi 06-21-2010 06:32 PM

hey bbr,

this does not work for vbulletin 4.0.4. can you please compile a version that supports 4.0.4???

mfg, semmi

graham_w 06-21-2010 10:19 PM

Quote:

Originally Posted by Semmi (Post 2057062)
hey bbr,

this does not work for vbulletin 4.0.4. can you please compile a version that supports 4.0.4???

mfg, semmi

Did you read my post directly above yours ? It has a fix to get the mod working on 4.0.4

Tunnox 06-23-2010 11:07 AM

graham thanks for this but doesnt work

gumush 06-23-2010 01:28 PM

Thanx for the solution graham but it did not work for me too.

Semmi 06-25-2010 08:45 PM

no sry i didn't but this does NOT work...


All times are GMT. The time now is 10:55 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.02341 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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