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)

Steeler Nation 04-19-2008 01:47 PM

This works perfectly on my forum and is a HUGE hit with the members.

rapidphim 04-19-2008 01:48 PM

ry215, does that mean that you can only install one of the mod with highslide feature only?

Seb@ 04-19-2008 02:17 PM

not work with link anonymizer & censor any chance fix this '?????

nirvana43 04-20-2008 03:41 AM

hi. i've installed this mod on my forum : Projects Planet Forums

There are 2 errors while validating w3c markup/css. Please have a look at those errors here :
http://validator.w3.org/check?uri=ht...om%2Findex.php
please can you help me rectify those 2 errors?? :(

nirvana43 04-20-2008 03:43 AM

hi. i've installed this mod on my forum : Projects Planet Forums

There are 2 errors while validating w3c XHTML markup. Please have a look at those errors here :
http://validator.w3.org/check?uri=ht...om%2Findex.php

Here are those errors :
Code:

Line 348, Column 10: required attribute "type" not specified.

                        <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>.

Code:

Line 353, 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>.

please can you help me rectify those 2 errors?? :( :confused::(

nirvana43 04-20-2008 07:04 AM

Quote:

Originally Posted by nirvana43 (Post 1494905)
hi. i've installed this mod on my forum : Projects Planet Forums

There are 2 errors while validating w3c XHTML markup. Please have a look at those errors here :
http://validator.w3.org/check?uri=ht...om%2Findex.php

Here are those errors :
Code:

Line 348, Column 10: required attribute "type" not specified.

                        <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>.

Code:

Line 353, 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>.

please can you help me rectify those 2 errors?? :( :confused::(

Ok i fixed all the errors!! :up:
Just replace contents of hs_show template by below code :
Code:

                        <!-- HS Images Resize -->
                        <script type="text/javascript">
                        <!--
                        folder="./highslide/";
                        //-->
                        </script>
                        <script type="text/javascript" language='javascript1.2' src='./highslide/highslide.js'></script>
                       
        <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, 702);
hs.restoreDuration = Math.max(1, 702);
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>
<style type="text/css">
.highslide {
        cursor: url(highslide/graphics/zoomin.cur), pointer;
    outline: none;
}
.highslide-active-anchor img {
        visibility: hidden;
}
.highslide:hover img {
        border: 2px solid white;
}
.highslide-wrapper {
        background: white;
}
.highslide-image {
    border: 2px solid white;
}
.highslide-image-blur {
}
.highslide-dimming {
 background: black;
 position: absolute;
 visibility: hidden;
}
.highslide-active-anchor img {
 visibility: hidden;
}
.highslide-caption {
    display: none;
   
    border: 2px solid white;
    border-top: none;
    font-family: Verdana, Helvetica;
    font-size: 10pt;
    padding: 5px;
    background-color: white;
}
.highslide-loading {
 display: block;
 color: white;
 font-size: 9px;
 font-weight: bold;
 text-decoration: none;
 padding: 3px;
 border-top: 1px solid white;
 border-bottom: 1px solid white;
 background-color: black;
}
a.highslide-credits,
a.highslide-credits i {
    padding: 2px;
    color: silver;
    text-decoration: none;
        font-size: 10px;
}
a.highslide-credits:hover,
a.highslide-credits:hover i {
    color: white;
    background-color: gray;
}
.highslide-move {
 cursor: move;
}
.highslide-overlay {
 display: none;
}
a.highslide-full-expand {
        background: url(highslide/graphics/fullexpand.gif) no-repeat;
        display: block;
        margin: 0 10px 10px 0;
        width: 34px;
        height: 34px;
}
.control {
        float: right;
    display: block;
    position: relative;
        margin: 0 5px;
        font-size: 9pt;
    font-weight: bold;
        text-decoration: none;
        text-transform: uppercase;
    margin-top: 1px;
    margin-bottom: 1px;
}
.control:hover {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin-top: 0;
    margin-bottom: 0;
}
.control, .control * {
        color: #666;
}
.highslide-display-block {
 display: block;
}
.highslide-display-none {
 display: none;
}
.highslide-background {
color: #000000;
}
</style>


                        <!-- / HS Images Resize  Code edited by Aditya Projects Planet-->

And now its working on Vbulletin 3.7.0 RC3!! :D
check out the working demo here : http://www.projectsplanet.com/roboti...e-project.html

Thanks a milion for this mod bro!!! :o

Golzarion 04-20-2008 04:16 PM

Quote:

Originally Posted by nirvana43 (Post 1494969)
Ok i fixed all the errors!! :up:
Just replace contents of hs_show template by below code :

Thank you very much . :up:

The validation errors has been fixed .
how about put the link of this post on first post ?

thank you .

rapidphim 04-21-2008 04:56 AM

working for me...

Magnumutz 04-21-2008 10:19 AM

This still hasn't fixed the bug that it tries to enlarge small pics...

rapidphim 04-21-2008 01:53 PM

I don't have an issue at all. Only issue is that if you replaced the codes in postbit_attachmentthumbnail, the attachement with built-in default highslide will not be working.


All times are GMT. The time now is 12:35 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.03183 seconds
  • Memory Usage 1,765KB
  • 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
  • (5)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
  • (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