vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - Auto Resize large images in an IMG tag (https://vborg.vbsupport.ru/showthread.php?t=125500)

twitch 09-03-2006 05:24 PM

very nice, thanks

SparKeh 09-03-2006 07:00 PM

great hack, thanks

Settler 09-03-2006 07:37 PM

hi, sorry for mine english.
but this hack don't work on my forum 3.6.0
can you say me, where the problem is?
thank you,
mfg Settler

SparKeh 09-03-2006 07:53 PM

Quote:

Originally Posted by Settler
hi, sorry for mine english.
but this hack don't work on my forum 3.6.0
can you say me, where the problem is?
thank you,
mfg Settler

If you follow the instructions step by step as listed it should work no problem. Did you place the javascript file in the clientscript folder?

dtdesign 09-04-2006 09:46 AM

Can this be used in Journal Pages to do the same ?

mIRCnet 09-04-2006 12:16 PM

Quote:

Originally Posted by dtdesign
Can this be used in Journal Pages to do the same ?

Which Journal program do you use? I think if you are using vBadvanced CMPS it will work as its using the Forum BB Codes and settings.

ehsanix 09-04-2006 04:43 PM

thank u for this hack

janslu 09-07-2006 07:15 PM

mr.gamesbay,
you've made a terrific job. I am importing a large forum from smf to VB and I got tons of extremely large files that ruin my fluid xhtml page. Your hack saves me :)

There's just one thing that I think should be changed. It is illegal to declare more than one object with the same id on the same page. I think you should've used class for declaration:

1. for includes/class_bbcode.php:
Code:

return '<img src="' .  $link . '" border="0" alt="" class="vBCodeIMG" />';
2. and one change in line #11 of resizevbimg.js:
Code:

if (docImg[i].width > vbimgcodeWidthMax && docImg[i].className == 'vBCodeIMG') {
What do you think?

g0rdy 09-09-2006 11:05 PM

Works with vBadvanced too:

mod the adv_portal template

find
Code:

<body>
replace
Code:

<body onload="$onload;vbImageResize()">
such an important mod never understood why it is never included on any bb software

Aeolian 09-10-2006 05:46 PM

if only this was a plugin :(


All times are GMT. The time now is 09:40 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.01171 seconds
  • Memory Usage 1,734KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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