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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-16-2002, 12:42 AM
milkmycow
Guest
 
Posts: n/a
Default postbit help

i added new postbit today, as recommended here.

sample postbit

i cant get my posts to be as wide as the header bar (bar w/ new reply/topic, etc)
when i do make it correct width, it shows gray on sides (my bg color)


my code
----------------------

<table width="750" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="7" height="26" background="images/cat_bg.gif" valign="top">
<img border="0" src="images/cat_top_left.gif" width="7" height="26">
<td height="26" background="images/cat_bg.gif"> <a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img border="0" src="images/edit.gif" alt="Edit/Delete Message" width="56" height="16"></a><a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="images/quote.gif" border="0" alt="Reply w/Quote" width="56" height="16"></a></td>
<td width="200" background="images/cat_bg.gif"><div align="right"><img src="images/upperjoint.gif"></div></td>
<td height="26" background="images/cat_bg2.gif" width="50%"><div valign="top" align="right">$onlinestatus<img src="images/cat_top_right.gif"></div></td>
</tr>
</table>
<tr>
<table width="750" cellpadding="0" cellspacing="0" border="0">
<td width="144" valign="top" background="images/user_info_bg.gif" nowrap>
<p align="center"> <a name="post$post[postid]"></a> $post[firstnewinsert]
<normalfont><br>
$post[avatar]<table><td height="5"></td></table>
<div align="center"><normalfont><b>$post[username]</b></normalfont><br><br><b>
<font face="verdana" color="#003D75" size="1">User Info >></font></font><table><td height="1"></td></table></div>
<table align="center" border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="80%">
<td height="10" bgcolor="#F8F8F8"> <div align="center"><smallfont><b>
TITLE: $post[usertitle]</b></smallfont></div></td></tr>
</table>
<table><td height="2"></td></table>
<table align="center" border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="80%">
<td height="10" bgcolor="#F8F8F8"> <div align="center"><smallfont><b>POSTS:
$post[posts]</b></smallfont></div></td></tr>
</table><table><td height="2"></td></table>
<table width="80%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#111111" style="border-collapse: collapse" dwcopytype="CopyTableRow">
<td height="10" bgcolor="#F8F8F8"> <div align="center"><smallfont><b>JOINED:
$post[joindate]</b></smallfont></div></td></tr>
</table>
<p align="center">$post[profile] $post[useremail]<br>
$post[homepage] $post[buddy]
<p>
<td bgcolor="$post[backcolor]" width="100%" valign="top"><smallfont>$post[icon]
<b>$post[title]</b></smallfont> <p><normalfont>$post[message]</normalfont></p>
$post[attachment]
<p>$post[signature]</p>
<p>$post[editedby]</p>
<p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report
this post to a moderator</a> | $post[iplogged]</smallfont></td>
<tr>
</table>
<table width="750" cellpadding="0" cellspacing="0" border="0" valign="top">
<tr><td width="7" height="26" background="images/cat_bg4.gif" valign="top"><img border="0" src="images/cat_bottom_left.gif">
<td height="26" background="images/cat_bg4.gif">&nbsp; </td>
<td width="200" background="images/cat_bg4.gif">
<div align="right"><img src="images/lowerjoint.gif"></div></td>
<td height="26" background="images/cat_bg3.gif" width="50%"><div valign="top" align="right">
<div align="right"><a valign="middle">$post[pmlink] $post[search]</a></div></td><td background="images/cat_bg3.gif"></td>
<td background="images/cat_bg3.gif"><div align="right"><img src="images/cat_bottom_right.gif"></div></td>
</tr>
</table>


<table bgcolor="#ffffff" width="{pagewidth}" cellpadding="0" cellspacing="0" border="0">
<table bgcolor="#ffffff" width="750"><td height="10"></td></table>

----------------


any ideas?
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 06:32 AM.


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.03494 seconds
  • Memory Usage 2,307KB
  • Queries Executed 12 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (2)postbit_onlinestatus
  • (3)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete