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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 


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 04:03 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03217 seconds
  • Memory Usage 2,295KB
  • 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
  • (2)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)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)showthread_list
  • (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_threadedmode.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_threaded
  • showthread_threaded_construct_link
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete