vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Legacy Postbit help plz (https://vborg.vbsupport.ru/showthread.php?t=90002)

imported_CeLt 10-27-2004 02:35 AM

Legacy Postbit help plz
 
1 Attachment(s)
Ok so I added RPG from vb.org and the RPG stats in postbit extend it to past the message length and it looks kinda stupid, so I want to make the message box go 100%..but whenever I edit the temp by adding a "height=100%" to a table then nothing happens..can someone help me out? Im not even sure what 100% height would do, would it center the text in middle of the table height wise? Anyways..pllzzz someone help me out here :( Ive attatched a screen if you dont get what Im saying, and heres the postbit_legacy code...

Quote:

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width=""><img width="" height="1" src="$stylevar[imgdir_misc]/space.gif" alt=""></td>
<td width="100%"><!-- spacer -->
<!-- Outline Table Begin-->

<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
<tr>
<td>
<!-- //Outline Table Begin-->
<!-- Top Area Table Begin -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="124" rowspan="2">
<!-- //Top Area Table Begin -->
<!-- Avatar Area -->
<table border="0" cellpadding="0" cellspacing="0" width="124">
<tr>
<td width="100%">
<img border="0" src="$stylevar[imgdir_misc]/topavatar.gif" width="124" height="12"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="124">
<tr>
<td width="36">
<img border="0" src="$stylevar[imgdir_misc]/avatarleft.gif" width="36" height="70"></td>
<td background="$stylevar[imgdir_misc]/avatarbg.gif" width="74" align="center">
<if condition="$show['avatar']"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></if>
</td>
<td width="14">
<p align="right">
<img border="0" src="$stylevar[imgdir_misc]/avatarright.gif" width="14" height="70"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="124">
<tr>
<td width="100%">
<img border="0" src="$stylevar[imgdir_misc]/avatarbottom.gif" width="124" height="8"></td>
</tr>
</table>
<!-- //Avatar Area -->
</td>
<td valign="bottom">
<!-- Top Right Area -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td width="50">
<img border="0" src="$stylevar[imgdir_misc]/avedge.gif" width="50" height="27"></td>
<td background="$stylevar[imgdir_misc]/behindbuttonsbg.gif">
<p align="right">
&nbsp;&nbsp;&nbsp;&nbsp; <font face="verdana,arial,helvetica" size="1"><if condition="$show['profile']"><a href="member.php?$session[sessionurl]userid=$post[userid]" target="_blank"><img src="$stylevar[imgdir_button]/profile.gif" border="0" alt="Click Here to See the Profile for $post[username]"></a></if>
<if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&amp;userid=$post[userid]"><img src="$stylevar[imgdir_button]/sendpm.gif" border="0" alt="Click here to Send $post[username] a Private Message"></a></if>
<if condition="$show['emaillink']"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]"><img src="$stylevar[imgdir_button]/email.gif" border="0" alt="Click Here to Email $post[username]"></a></if>
<if condition="$show['homepage']"><a href="$post[homepage]" target="_blank"><img src="$stylevar[imgdir_button]/home.gif" alt="Visit $post[username]'s homepage!" border="0"></a></if>
<if condition="$show['search']"><a href="search.php?$session[sessionurl]do=finduser&amp;userid=$post[userid]"><img src="$stylevar[imgdir_button]/find.gif" border="0" alt="Find more posts by $post[username]"></a></if>
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><img src="$stylevar[imgdir_button]/buddy.gif" border="0" alt="Add $post[username] to your buddy list"></a>
<!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] -->
</font>&nbsp;
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%" background="$stylevar[imgdir_misc]/topbgpost.gif">
<tr>
<td><img border="0" src="$stylevar[imgdir_misc]/topdots.gif" width="52" height="33"></td>
<td width="285" background="$stylevar[imgdir_misc]/namearea.gif">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="170" valign="top">
<img border="0" src="$stylevar[imgdir_misc]/topengrave.gif" width="55" height="33"><img border="0" src="$stylevar[imgdir_misc]/topedge.gif" width="110" height="33"></td>
<td width="108">
<p align="center">&nbsp;</td>
<td width="7" valign="top">
<p align="right">
<img border="0" src="$stylevar[imgdir_misc]/rightend.gif" width="7" height="33"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- //Top Right Area -->
<!-- Main ContentArea -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<!-- Message Area -->
<td valign="top">
<table border="1" cellpadding="4" cellspacing="0" width="100%" bgcolor="#E3E4E8" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="100%" valign="top">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr align="left" valign="middle">
<td width="100%" class="smallfont"><b>
&nbsp;<img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" />&nbsp;<if condition="$show['postcount']"><a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="_blank"><font color="#A8ADBB">[$post[postcount]]</font></a>&nbsp;</if><font color="#444D62">posted by:</font> $post[musername] - <font color="#A8ADBB">$post[postdate] at $post[posttime]</font></b>
</td>
</tr>
<tr>
<td width="100%" colspan="2" valign="top" height="100">
<!-- message, attachments, sig -->
<!-- message -->
<p>$post[message]</p>

<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<p style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">

</p>
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachments]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

<!-- / attachments -->
</if>
<if condition="$post['signature']">
<!-- sig -->
<p align="right">
<img src="$stylevar[imgdir_misc]/sigline.gif"><br>
$post[signature]
</p>
<!-- / sig -->
</if>

<if condition="$show['postedited']">
<!-- edit note -->
<p class="smallfont"> <hr size="1" color="$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</p>
<!-- / edit note -->
</if>
<!-- message, attachments, sig -->
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<!-- /Message Area -->
<!-- Info Area -->
<td width="169" background="$stylevar[imgdir_misc]/infobg2.gif" valign="top">
<table border="0" cellpadding="4" cellspacing="0" width="90%" style="border-collapse: collapse" bordercolor="#111111" align="center">
<tr>
<td width="100%">
<if condition="$post['uttstore_glow']"> <div align="center" style="width:100%; filter:Glow(color=$post[uttstore_glow], strength=5);><font face="tahoma, arial, helvetica" size="2" color="#FFFFFF"><b>$post[musername]<else /><div align="center"><font face="tahoma, arial, helvetica" size="2" color="#FFFFFF"><b>$post[musername]</if>



</b></font></div>
<table border="1" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#7C94B2" width="100%" bgcolor="#1C2A45" height="14">
<tr>
<td width="100%" height="10"><b> <font size="1" face="Tahoma" color="#A3B4C9">Joined:
</font> <font face="Tahoma" size="1" color="#D8DAE2">$post[joindate]</font></b></td>
</tr>
</table>
</td>
</tr>

<if condition="$post['age']">
<tr>
<td width="100%">
<table border="1" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#7C94B2" width="100%" bgcolor="#1C2A45">
<tr>
<td width="100%"><b><font size="1" face="Tahoma" color="#A3B4C9">
Age:</font><font size="1" face="Tahoma" color="#FFFFFF">
</font><font size="1" face="Tahoma" color="#C8CBD7">$post[age]</font></b></td>
</tr>
</table>
</td>
</tr>
</if>
<tr>
<td width="100%">
<table border="1" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#7C94B2" width="100%" bgcolor="#1C2A45">
<tr>
<td width="100%"> <p align="left"><b> <font size="1" face="Tahoma" color="#A3B4C9">Status:
</font> <font color="#C8CBD7" size="1" face="Tahoma">
<font face="verdana,arial,helvetica" size="1">$post[usertitle]</font></font></b></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%">
<table border="1" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#7C94B2" width="100%" bgcolor="#1C2A45">
<tr>
<td width="100%"><b><font size="1" face="Tahoma" color="#A3B4C9">
Posts:</font><font size="1" face="Tahoma" color="#FFFFFF">
</font><font face="Tahoma" size="1" color="#C8CBD7">$post[posts]</font></b></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%">
<table border="1" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#7C94B2" width="100%" bgcolor="#1C2A45">
<tr>
<td width="100%"><b><font size="1" face="Tahoma" color="#A3B4C9">
Points:</font><font size="1" face="Tahoma" color="#FFFFFF">
</font><font face="Tahoma" size="1" color="#C8CBD7">
$points (<a class=white href="ushop.php?do=a&shortname=donate&userid=$post[userid]" target="_blank">Donate</a>)
</font></b></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%">
<table border="1" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#7C94B2" width="100%" bgcolor="#1C2A45">
<tr>
<td width="100%"><b><font size="1" face="Tahoma" color="#A3B4C9">
</font><font size="1" face="Tahoma" color="#FFFFFF">
</font><font face="Tahoma" size="1" color="#C8CBD7">

<!-- START LEFT RPG POSTBIT BAR -->
<br />
<table width="100%" align="right" border="0" cellspacing="1" cellpadding="0">
<tr>
<td>
</td>
</tr>
<tr>
<td>&nbsp;<b> RPG stats</b></td>
</tr>
<tr>
<td> $rpgclass3 RPG name: $rpname<br />
Clan: $showuserclan<br />
Level: $showlevel<br />
Alignment: $rpgalign<br />
Race: $rpgrace<br />
<br />
HP: $post[uhp]/$post[maxhp] <br />
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td><img src="images/style/bar/bhg.gif" width="$hpbar%" height="9" alt="HP" /></td>
</tr>
</table>
MA: $post[uma]/$post[maxma] <br />
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td><img src="images/style/bar/bxg.gif" width="$mabar%" height="9" alt="MP" /></td>
</tr>
</table>
PP: $post[upp]/$post[maxpp] <br />
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td><img src="images/style/bar/bhb.gif" width="$ppbar%" height="9" alt="PP" /></td>
</tr>
</table>
Limit: $post[uap]%<br />
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td><img src="images/style/bar/bmb.gif" width="$apbar%" height="9" alt="Limit" /></td>
</tr>
</table>
Exp: $ep% Total: $post[xp]
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td><img src="images/style/bar/bmg.gif" width="$ep%" height="9" alt="EXP" /><img src="images/bar/bxb.gif" width="1" height="9" alt="EXP" /></td>
</tr>
</table>
$rpgstatus<br />
$inbattle<br />
$post[battles]:$post[wins]-$post[losses]-$post[draws]-$post[retreats]<br />
</td>
</tr>
<tr>
<td><b>&nbsp; Stock Items</b></td>
</tr>
<tr>
<td>&nbsp;$post[items]</td>
</tr>
</table>

<!-- END LEFT RPG POSTBIT BAR -->


</font></b></td>
</tr>
</table>
</td>
</tr>

</table>
<img border="0" src="$stylevar[imgdir_misc]/infobg2.gif"></td>
<!-- Info Area -->
</tr>
</table>
<!-- Bottom Area -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td background="$stylevar[imgdir_misc]/bottombluebg.gif" valign="top">
<!-- Bottom Info Area -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="109" nowrap="nowrap"><a href="postings.php?$session[sessionurl]do=getip&amp;p=$post[postid]"><img border="0" src="$stylevar[imgdir_misc]/bottomleft.gif" width="59" height="39" alt="IP Logged"></a><img border="0" src="$stylevar[imgdir_misc]/leftblueedge.gif" width="50" height="39"></td>
<td width="100%"><b><font size="1" face="Tahoma" color="#FFFFFF"></font></b></td>
<td width="42" align="right">
<img border="0" src="$stylevar[imgdir_misc]/rightblueedge.gif" width="42" height="39"></td>
</tr>
</table>
<!-- Bottom Info Area -->
</td>
<td width="169" background="$stylevar[imgdir_misc]/infobg2.gif" valign="top">
<!-- Bottom Right and edit quote Area -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="66">$post[onlinestatus]</td>
<td width="96"> <!--bottomrightbg.gif"-->
<a href="report.php?$session[sessionurl]p=$post[postid]">
<img border="0" src="$stylevar[imgdir_misc]/report.gif" width="36" height="39" alt="Report this Post to Staff"></a><if condition="$post['editlink']"><a href="$post[editlink]"><img border="0" src="$stylevar[imgdir_misc]/edit.gif" width="29" height="39" alt="Edit This Post"></a></if><a href="$post[replylink]"><img border="0" src="$stylevar[imgdir_misc]/quote.gif" width="31" height="39" alt="Quote this post"></a></td>
<td width="7">
<p align="right"><img border="0" src="$stylevar[imgdir_misc]/bottomrightedge.gif" width="7" height="39"></td>
</tr>
</table>
<!-- Bottom Right and edit quote Area -->
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- spacer -->
</td>
<td width="0"><img width="0" height="1" src="$stylevar[imgdir_misc]/space.gif" alt=""></td>
</tr>
</table>
<br>



slowroastedx 10-27-2004 06:18 PM

thats exactly what I want to know too, im making chages to the postbit template but they arent showing up when i view the forum. Is there something else to change besides just the postbit template?

imported_CeLt 10-27-2004 10:17 PM

well make sure your editing the right thing...ive obvioulsy added the RPG and other hacks and they all show up for me...

So if you run vb3 weird postbit with stats above post then edit "postbit" template, if yours is like mine you need "postbit_legacy"

A good way to check this is to type a bunch of crap somewhere and see if it shows up :|

btw can anyone help me with my problem?


All times are GMT. The time now is 09:16 AM.

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.01280 seconds
  • Memory Usage 1,851KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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