Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
BBR - Resize Images with lytebox v3.22 Details »»
BBR - Resize Images with lytebox v3.22
Version: 1.01, by BBR-APBT BBR-APBT is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.x Rating:
Released: 12-16-2009 Last Update: 01-07-2010 Installs: 694
Uses Plugins
Additional Files  
No support by the author.

I will no longer support vBulletin because of IB and the agile development, and they are not fixing bugs like they should. Instead they add bloat.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #362  
Old 06-26-2010, 12:26 AM
Noerenberg Noerenberg is offline
 
Join Date: Mar 2009
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by graham_w View Post
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

NOT work
Reply With Quote
  #363  
Old 06-26-2010, 04:44 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excuse' ? The built in image resizer in vB4 does work, settings for CMS and forum images are in different stylevars or you can modify the css yourself

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" );
}
As far as signature images go simply copy the img size css definitions and apply that to the signature css class then any image in the signature also re-sizes if the image is larger than specified post image.

Mod is no longer needed unless BBR decides to update the mod to modify or overwrite these settings so you can still use lightbox etc.
Reply With Quote
  #364  
Old 06-26-2010, 06:28 PM
Noerenberg Noerenberg is offline
 
Join Date: Mar 2009
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheLastSuperman View Post

As far as signature images go simply copy the img size css definitions and apply that to the signature css class then any image in the signature also re-sizes if the image is larger than specified post image.
hi,

can you explain this for me?
Reply With Quote
  #365  
Old 06-26-2010, 10:32 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Noerenberg View Post
hi,

can you explain this for me?
Sure

In postbit.css template

find:

Code:
	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" );
Copy then go down and find:

Code:
/*signature */
.signature {
        padding-top: 1em;
	border-top: {vb:stylevar signature_border};
        margin-top: 2em;
}
Replace with:

Code:
/*signature */
.signature {
        padding-top: 1em;
	border-top: {vb:stylevar signature_border};
        margin-top: 2em;
        max-width: {vb:stylevar postbit_content_max_image_width.Size};
	_width: expression(document.body.clientWidth > {vb:stylevar postbit_content_max_image_width.Size}? "{vb:stylevar postbit_content_max_image_width}": "auto" );
}
The only downside to that is the image size set by the post image carries through the entire signature not just the image if one is contained within.
Reply With Quote
  #366  
Old 06-26-2010, 10:47 PM
Noerenberg Noerenberg is offline
 
Join Date: Mar 2009
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey,

thank you so much.

but it looks not so nice.
give it no way that the rezise work only for the signature image?

or can everyone fix this mod?
Reply With Quote
  #367  
Old 06-28-2010, 11:47 PM
Jaske's Avatar
Jaske Jaske is offline
 
Join Date: Apr 2010
Location: South Philadelphia
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very, very cool add-on!! Thanks!! I needed this bad.
Reply With Quote
  #368  
Old 06-29-2010, 05:11 AM
rabidkevin rabidkevin is offline
 
Join Date: Aug 2005
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work on calendar events?
Reply With Quote
  #369  
Old 06-29-2010, 08:38 AM
wayne.richards@ wayne.richards@ is offline
 
Join Date: Jul 2008
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wheree Are The Setting For This New Built In Image Resizer Then?
Reply With Quote
  #370  
Old 06-30-2010, 12:51 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wayne.richards@ View Post
Wheree Are The Setting For This New Built In Image Resizer Then?
Style Vars, check vBulletin.com using search you'll find the answers there quicker than a mods thread slightly invaded by the topic
Reply With Quote
  #371  
Old 06-30-2010, 05:20 AM
spudz spudz is offline
 
Join Date: Jan 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to make it so that images that are hyperlinked can be directed to the URL rather than the full image preview popup. I have a hyperlinked image in my sig and when you click on it, it only brings up the image popup window instead of opening the URL.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04764 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete