vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Show Thread Enhancements - Resize IMG tag with Highslide! (https://vborg.vbsupport.ru/showthread.php?t=172024)

Spank 08-20-2008 03:26 PM

I'm having no issues with this on 3.7.2 PL2

Golzarion 08-21-2008 12:42 PM

Quote:

Originally Posted by Spank (Post 1603101)
I'm having no issues with this on 3.7.2 PL2

You don't have any issues because you have used the first attachment files ! That file works good but it is NOT xhtml valid ! You can see Errors here.

Code:

Line 587, Column 66: required attribute "type" not specified.

…uage='javascript1.2' src='./highslide/highslide.js'></script>

The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

The second file : " product-hs_resize_1.3.xml " is xhtml valid ... but Have issues ! and it is Not compatible with vb 3.7.2 PL2 .

.

akvaryumforum 08-28-2008 08:40 PM

in 3.7.2 PL 2 when editing the message all images are turn to codes? Is there a way to fix it?

raviteja542 08-30-2008 05:01 PM

this mod is really nice. i really liked it

xixxon 08-31-2008 07:48 AM

Thanks Man :D

Magnumutz 08-31-2008 10:02 AM

Ok, what does the update include?

Golzarion 08-31-2008 04:38 PM

Thanks for update.
Although I have one strange problem when I use this hack on my Persian language ( Right_to _left language ) ! I try to fix it ...

**********
Edit :
**********
If you replace the "hs_headinclude" codes with the code below it will be xhtml valid !
HTML Code:

            <!-- HS Images Resize -->
            <script type="text/javascript">

            <!--
            folder="./highslide/";
            //-->

            </script>
            <script type="text/javascript" language='javascript1.2' src='./highslide/highslide.js'></script>
            <link rel="stylesheet" type="text/css" href="highslide/style.css" />
<script type="text/javascript">
hs.registerOverlay(
    {
        thumbnailId: null,
        overlayId: 'controlbar',
        position: 'top right',
        hideOnMouseOut: true
    }
);
hs.graphicsDir = 'highslide/graphics/';
hs.outlineType = 'rounded-white';
hs.restoreTitle = 'Click to close, use arrow keys for next and previous';
hs.loadingText = 'Loading...';
hs.fullExpandTitle = 'Expand to actual size';
hs.focusTitle = 'Click to bring to front';
hs.loadingTitle = 'Click to cancel';
hs.align = 'center';
hs.easingClose = 'easeInQuad';
hs.expandDuration = Math.max(1, 300);
hs.restoreDuration = Math.max(1, 300);
hs.expandSteps = 20;
hs.restoreSteps = 20;
hs.showCredits = false;
hs.captionId = 'the-caption';
hs.captionSlideSpeed = 0;
hs.allowSizeReduction = false;
hs.dimmingOpacity = 0.7;
hs.dimmingDuration = 100;
hs.spaceForCaption = 50;
</script>
<script type="text/javascript">
        hs.easing = 'easeInBack';
</script>
<script type="text/javascript">
        hs.allowSizeReduction = true;
</script>
<script type="text/javascript">
        hs.easing = 'easeInBack';
</script>
<script type="text/javascript">
        hs.allowSizeReduction = true;
</script>
<script type="text/javascript">
<!--
HSImageResizer.MAXWIDTH = $vboptions[hs_maxwidth];
HSImageResizer.MAXHEIGHT = $vboptions[hs_maxheight];

//-->

</script>
            <!-- / HS Images Resize -->

Author : Please link this code on first post or change the xml file if it is possible.

thanks.

nerofix 08-31-2008 08:15 PM

strange, but the new version 2.0 doesn't work for me :-/

vb 3.7.2

images are shown as big as they are in original

ry215 08-31-2008 09:21 PM

Quote:

Originally Posted by Golzarion (Post 1611293)
Thanks for update.
Although I have one strange problem when I use this hack on my Persian language ( Right_to _left language ) ! I try to fix it ...

**********
Edit :
**********
If you replace the "hs_headinclude" codes with the code below it will be xhtml valid !

Author : Please link this code on first post or change the xml file if it is possible.

thanks.

Thanks!

I have updated my product.

have fun.

ry215 08-31-2008 09:24 PM

Quote:

Originally Posted by nerofix (Post 1611430)
strange, but the new version 2.0 doesn't work for me :-/

vb 3.7.2

images are shown as big as they are in original

you must reupload new file includes/class_bbcode.php

And don?t forget Revert template postbit_attachmentthumbnail


All times are GMT. The time now is 11: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.02700 seconds
  • Memory Usage 1,749KB
  • 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_html_printable
  • (3)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