vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Need assistance with auto resize hack. (https://vborg.vbsupport.ru/showthread.php?t=120822)

bhxtyrant 07-10-2006 04:06 PM

Need assistance with auto resize hack.
 
Hey guys,

I was hoping someone out there might be able to help me with a small problem reguarding this modification for VB 3.5 https://vborg.vbsupport.ru/showthrea...t=99286&page=7

It's an Image auto resize hack that works quite well but for some reason will not work on my custom skin.I tryed using the default VB skin for testing and it works fine but my custom one causes issues.Now i notice using my custom skin the mod does work to a degree the image gets resized in the view single post screen and also in the reply screen.But in Showthread it simply will not work.My showthread template isn't modded to much i only added two pieces of code in order to make it match the rest of my site but i can't seem to understand why it causes a problem.Hopefully someone here can helop me out.If needed i can post the templates code.Thank you for your time.

a simple fa?ade 07-10-2006 04:28 PM

Did you remember to make the template edit to your Headinclude template on the custom skin?

bhxtyrant 07-10-2006 05:04 PM

Yep i did,Like i said it seems to work fine in certain templates on the custom skin such as the one for viewing a single post or quoting a reply or replying to a thread.The problem only occurs in the showthread pages.I notice if i edit the post with the image in it then the mod works but once i refresh the page the image is large again.

The only edits i made to that template are the following and removing them causes the mod to work correctly.I assume it has something to do with the onload command.Is here something i can add to fix this?
This code directly under the $header code
HTML Code:

<!-- begin mainbody custom begin -->
<div align="center">
    <table width="984" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="5" height="428" background="$vboptions[bburl]/images/re-wu/mainfiles/lborder.jpg">&nbsp;</td>
        <td align="center" valign="top" background="$vboptions[bburl]/images/re-wu/mainfiles/backround.jpg"style="background-repeat:repeat-y;"><div align="center">
            <table width="800" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="left">
                                <!-- end mainbody custom begin -->

And this right above the $footer code
HTML Code:

                                <!-- begin mainbody custom end -->
                                <br />
                                </td>
              </tr>
            </table>
          </div>
          </td>
        <td width="9" colspan="2" align="right" valign="top" background="$vboptions[bburl]/images/re-wu/mainfiles/rborder.jpg"style="background-repeat:repeat-y;background-position: top right;"><table width="161" height="361" border="0" align="right" cellpadding="0" cellspacing="0">
            <tr>
              <td width="26" height="348"><img src="$vboptions[bburl]/images/re-wu/mainfiles/rb1.gif" alt="" width="26" height="348"></td>
              <td width="114"><img src="$vboptions[bburl]/images/re-wu/mainfiles/rb2.jpg" alt="" width="114" height="348"></td>
              <td width="21"><img src="$vboptions[bburl]/images/re-wu/mainfiles/rb3.jpg" alt="" width="21" height="348"></td>
            </tr>
            <tr>
              <td height="12" background="$vboptions[bburl]/images/re-wu/mainfiles/rb4.gif">&nbsp;</td>
              <td height="20" background="$vboptions[bburl]/images/re-wu/mainfiles/rb5.jpg">&nbsp;</td>
              <td height="12" background="$vboptions[bburl]/images/re-wu/mainfiles/rb6.jpg">&nbsp;</td>
            </tr>
          </table></td>
      </tr>
    </table></div>
<!-- end mainbody custom end -->

bump

bhxtyrant 07-11-2006 05:49 PM

No ones else has this issue?

bhxtyrant 07-13-2006 07:03 PM

just a bump for this.and also a question if this problem can't be solved are there any auto thumbnail hacks out there for vb 3.5.4/3.6.0? I saw one hack that adds scroll bars to large images so it doesnt break layouts but thats not really what im looking for.Thanks


All times are GMT. The time now is 01:00 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.01162 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete