Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-10-2006, 04:06 PM
bhxtyrant bhxtyrant is offline
 
Join Date: Jun 2005
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 07-10-2006, 04:28 PM
a simple fa?ade a simple fa?ade is offline
 
Join Date: Jun 2006
Location: Atlanta
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you remember to make the template edit to your Headinclude template on the custom skin?
Reply With Quote
  #3  
Old 07-10-2006, 05:04 PM
bhxtyrant bhxtyrant is offline
 
Join Date: Jun 2005
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 07-11-2006, 05:49 PM
bhxtyrant bhxtyrant is offline
 
Join Date: Jun 2005
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No ones else has this issue?
Reply With Quote
  #5  
Old 07-13-2006, 07:03 PM
bhxtyrant bhxtyrant is offline
 
Join Date: Jun 2005
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:20 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.03484 seconds
  • Memory Usage 2,208KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete