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)
-   -   Show Thread Enhancements - Dynamic Picture Resize for [IMG] tag (https://vborg.vbsupport.ru/showthread.php?t=157228)

ski diva 05-09-2008 08:35 PM

Can this be installed on with 3.7 after you've upgraded?

ski diva 05-09-2008 11:15 PM

Attempting to install this, I've run into what's probably a simple problem. When I attempt to edit the file vbulletin_global.js, its entire content shows up in my text editor as one long line. I can "soft wrap" the text, but the line endings remain arbitrary.

This is preventing me from finding and replacing the necessary lines.

I'm on a Mac, using Komodo Edit and/or TextWrangler.
Thanks for any help.

Taragon 05-11-2008 05:13 PM

Installed :)

Quote:

Originally Posted by Jpax (Post 1512410)
I get this errror The following dependencies were not met:
This product is not compatible with version 3.7.0 of vBulletin. (Compatible starting with 3.6.8 / Incompatible with 3.7.0 and greater)

In the product-dynamicpic.xml find:
Code:

                <dependency dependencytype="vbulletin" minversion="3.6.8" maxversion="3.7.0" />
and replace this with:
Code:

                <dependency dependencytype="vbulletin" minversion="3.7.0" maxversion="3.7.99" />

Quote:

Originally Posted by ski diva (Post 1514366)
Attempting to install this, I've run into what's probably a simple problem. When I attempt to edit the file vbulletin_global.js, its entire content shows up in my text editor as one long line. I can "soft wrap" the text, but the line endings remain arbitrary.

This is preventing me from finding and replacing the necessary lines.

I'm on a Mac, using Komodo Edit and/or TextWrangler.
Thanks for any help.


Quote:

Originally Posted by Lizard King (Post 1469260)
In compessed js search for
Code:

{this[C]=this[C+1]}this.length--;return A}}
Just add after
Code:

function resize_image(obj, link, maxwidth){if (obj.width > maxwidth){obj.style.cursor = 'pointer';obj.style.width = maxwidth + 'px';obj.style.height = parseInt(obj.height * maxwidth / obj.width) + 'px';obj.onclick = function(){window.location.href = link;return false;};}}
and you'are good to go


ThreeD 05-14-2008 06:04 PM

this does not seem to work with IE7 if you're running VB3.7 :( Can anyone else confirm this?

Stefanus 07-20-2008 07:01 PM

Quote:

Originally Posted by ThreeD (Post 1519602)
this does not seem to work with IE7 if you're running VB3.7 :( Can anyone else confirm this?

Yep, working with IE7 on 3.7.2
" Rob of Zimbabwe "

Taragon 07-25-2008 09:52 AM

I'm receiving a css validation error
Code:

606          * html .resizeimage          Value Error : width  Lexical error at line 606, column 60. Encountered: "?" (63), after : ""  ? '800px' : 'auto');
606        * html .resizeimage        Value Error : width Parse error - Unrecognized }

Would this be fixable perhaps? (I'm using the compessed js)

chrisbeau 08-15-2008 09:15 PM

Quote:

Originally Posted by TECK (Post 1334053)
About your request to open the link into a new tab/window:
Open vbulletin_global.js file (where you edited the code originally) and find:
Code:

window.location.href = link;
Replace it with:
Code:

window.open(link, '_blank');

You are done. :)

I did this but it still doesnt work. Any Ideas ???

ApexSpeed 09-16-2008 03:34 PM

Has anyone installed this on a 3.7.* board and had everything work properly?

ski diva 09-16-2008 05:01 PM

I'm using it with 3.7, no problem.

Taragon 10-05-2008 10:36 PM

Quote:

Originally Posted by ski diva (Post 1623469)
I'm using it with 3.7, no problem.

Except from this that is. It should work fine though.
Quote:

Originally Posted by Taragon (Post 1583728)
I'm receiving a css validation error
Code:

606          * html .resizeimage          Value Error : width  Lexical error at line 606, column 60. Encountered: "?" (63), after : ""  ? '800px' : 'auto');
606        * html .resizeimage        Value Error : width Parse error - Unrecognized }

Would this be fixable perhaps? (I'm using the compessed js)



All times are GMT. The time now is 04:21 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.01209 seconds
  • Memory Usage 1,745KB
  • 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
  • (8)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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