Thread: Simple MOD help
View Single Post
  #1  
Old 11-24-2004, 11:17 PM
todd222222 todd222222 is offline
 
Join Date: Mar 2003
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Simple MOD help

I hope this is the right place to ask but I'm having some trouble with a simple change I'm making.

I'm trying to add a veritical add on the right side of the showthread template.

This is what I've done.

HTML Code:
$header
$navbar

<!-- ads on right -->
<table width="$stylevar[outertablewidth]" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="0" align="center">
	<tr>

	<td valign="top">
<!-- ads on right -->
$poll

<a name="poststop" id="poststop"></a>
and then I did this at the bottom:

HTML Code:
$similarthreads

<br />

$footer

<!-- ads on right -->
</td>

	<td width="130" valign="top">
<!-- start amazon -->
<form action="http://www.amazon.com/exec/obidos/external-search">
 <table class="normal" border="0" cellpadding="0" cellspacing="0">
   <tr>
     <td style="background-color:#fff;">
       <table border="0" cellpadding="0" cellspacing="0" align="top" height="90" width="120" style="border: 1px solid #000000 !important;">
         <tr>
           <td style="background-color:#fff;" height="20" valign="bottom" align="center">
               <span style="font-family: verdana,arial,helvetica,sans-serif; font-size:10px !important; font-weight:bold !important;">Search Now:</span>
           </td>
           <td style="background-color:#fff;">
              
           </td>
         </tr>
         <tr>
           <td style="background-color:#fff;" align="center" height="30" valign="top">
               <input type="text" name="keyword" size="10" value="" />
           </td>
           <td style="background-color:#fff;" height="20" valign="top" align="left">
             <input type="hidden" name="mode" value="blended" /> 
             <input type="hidden" name="tag" value="eadesfamilywe-20" /> 
             <input type="image" width="21" height="21" border="0" value="Go" name="Submit" src="http://g-images.amazon.com/images/G/01/associates/build-links/ap-search-go-btn.gif" align="absmiddle" /> 
           </td>
         </tr>
         <tr>
           <td colspan="2" style="background-color:#000;" height="40"><a href="http://www.amazon.com/exec/obidos/redirect-home/eadesfamilywe-20"><img src="http://g-images.amazon.com/images/G/01/associates/build-links/ap-search-logo-126x32.gif" height="36" border="0" width="126" /></a></td>
         </tr>
       </table>
     </td>
   </tr>
 </table>
 </form>
<!-- end Amazon -->
<br><br>
<!-- Start google -->
<script type="text/javascript"><!--
google_ad_client = "pub-2410925870628564";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_channel ="";
google_color_border = "3E5C92";
google_color_bg = "FFFFFF";
google_color_link = "3E5C92";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>		
<!-- end google -->
	</td>

	</tr>
</table>
<!-- ads on right -->
<!-- temp -->
<div style="display:none">
which worked fine when I did basically the same thing on the forumdisplay template. When I do this the top of the post isn't correct. see attachment of photo.

Can someone help?

Thanks!
Attached Images
File Type: jpg vb.jpg (140.9 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12321 seconds
  • Memory Usage 1,818KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete