PDA

View Full Version : Wanted: Postbit Alteration


imported_Black Dragon
05-22-2004, 11:18 AM
Hello i want to add some table areas to my postbit to make the info look a little neater,plus i run a gaming forum and i have alot info that needs to be shown.I gave a example below using a lil Photoshop skills,anyway i basically want some basic tables like the white boxes show.

I tried using the <tr><td> commands but it messes up the postbit..anyhelp would be appreciated!

Jolten
05-23-2004, 03:45 AM
You want all that in postbits???? That's going to make actually reading threads very very hard. You should reconsider.

imported_Black Dragon
05-23-2004, 01:46 PM
Well we use bigger size avatars like 250x250 cause everyone was tired of the lil small avatars,some of the info is stuff thats already in the post bit, messenger icons,post count,join date,name,title,group title, and then if you want to include a few of your custom profile fields.

All im doing is making it all neat and nice instead of having it all lined up down one side like it is,i mean even if you install the arcade hack,the RPG hack you have all this stuff all cluttered up. It doesnt have to be that wide or that long,im actually just wanting the simple table commands so that it doesnt mess up the postbit.So if dont no one know ill try to figure it out myself...thanks anyway

tnguy3n
05-27-2004, 02:16 PM
all you do is to modify this following bit of codes in postbit template.
<tr>
<td class="thead" $scrolltothis>
<div class="normal" style="float:$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new"><strong>$post[postcount]</strong></a> &nbsp;</if>
<if condition="$show['reputationlink']"><a href="#" onclick="return reputation($post[postid])"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a> &nbsp;</if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>
$post[iplogged]
</div>

<div class="normal">
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
<if condition="!$show['start_until_end']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</td>
</tr>
<tr>
<td class="alt2" style="padding:0px">
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
<td nowrap="nowrap">

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>

</td>
<td width="100%">&nbsp;</td>
<td valign="top" nowrap="nowrap">

<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
<if condition="$show['reputation']">$post[reputationdisplay]</if>
</div>
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
</div>

</td>
</tr>
</table>
<!-- / user info -->
</td>
</tr>

imported_Black Dragon
07-12-2004, 11:31 PM
I want to thank you for the help,i finally reopened my forums back up this past week and shortened the way the Postibit looks but i have a minor problem. Im using a background image for the postbit and i wanted the info defined to the side and aligned neatly..so i used the div align codes and the position absolute. Now that works perfectly for the first post of the thread but then all the other post info in that thread is aligned to the first post.

So what would be a better way to align the info?

imported_Black Dragon
07-12-2004, 11:35 PM
To give you a example of what im talking about heres a screen of the info all nice and neat. Sorry i hate a cluttered postbit lol so once again any helpful info is appreciated!