I need help with my postbit template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ryan McBain
    Senior Member
    • Feb 2002
    • 557

    I need help with my postbit template

    the area where my users post is screwed up, I want to have just a word link to a new place on there and it is trying to show and image, plus the colors above the users name and below their post count are different and I need that fixed, plus its all uneven and spaced out wrong. what am I doing wrong? here is my code

    <table bgcolor="#0E3652" width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="http://www.ryanmcbain.com/forums/images/space.gif" alt=""></td><td width="100%"><!-- spacer -->

    <table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E" {tableouterextra} width="95%" align="center"><tr><td>
    <table cellpadding="4" cellspacing="1" border="0" {tableinnerextra} width="100%">
    <tr>
    <td bgcolor="$post[backcolor]" width="175" valign="top" nowrap>
    <a name="post$post[postid]"></a>
    $post[firstnewinsert]
    <normalfont><b>$post[username]</b></normalfont><br>
    <smallfont>$post[usertitle]</smallfont><br>
    $post[avatar]<p>
    <smallfont><smallfont><br>
    <p> <b>Level: $showlevel<br>
    Activeness: $hp / $maxhp
    <table width="100" border="0" cellspacing="0" cellpadding="0" bordercolor="#000000">
    <tr>
    <td bgcolor="#9E9E9E"><img src="images/bar/bhg.gif" width="$hpf%" height="9"><img src="images/bar/bhb.gif" width="1" height="9"></td>
    </tr>
    </table>
    Popularity: $mp / $maxmp
    <table width="100" border="0" cellspacing="0" cellpadding="0" bordercolor="#000000">
    <tr>
    <td bgcolor="#9E9E9E"><img src="images/bar/bmg.gif" width="$mpf%" height="9"><img src="images/bar/bmb.gif" width="1" height="9"></td>
    </tr>
    </table>
    Level Rate: $ep%
    <table width="100" border="0" cellspacing="0" cellpadding="0" bordercolor="#000000">
    <tr>
    <td bgcolor="#9E9E9E"><img src="images/bar/bxg.gif" width="$ep%" height="9"><img src="images/bar/bxb.gif" width="1" height="9"></td>
    </tr><smallfont></table><br>Registered: $post[joindate]<br>
    Location: $post[field2]<br>
    Posts: $post[posts]</smallfont></td>
    <br>
    </table>
    <a href="level.php" target="_blank"><img src="images/qm.gif" border="0" alt="[How does this work?]"></a>
    <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></p>
    </td>
    </tr>
    <tr>
    <td bgcolor="$post[backcolor]" width="175" height="16" nowrap><smallfont>$post[foldericon]
    $post[postdate] <font color="#FF9C58">$post[posttime]</font></smallfont></td>

    <td bgcolor="$post[backcolor]" width="100%" valign="middle" height="16">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr valign="bottom">
    <td><smallfont>$onlinestatus
    $post[profile] $post[pmlink] $post[useremail] $post[homepage] $post[search] $post[buddy]
    <!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] -->
    </smallfont></td>
    <td align="right" nowrap><smallfont>
    <a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="http://www.ryanmcbain.com/forums/images/edit.gif" border="0" alt="Edit/Delete Message"></a>
    <a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="http://www.ryanmcbain.com/forums/images/quote.gif" border="0" alt="Reply w/Quote"></a>
    </smallfont></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td></tr></table>

    <!-- spacer --></td><td width="10"><img width="10" height="1" src="http://www.ryanmcbain.com/forums/images/space.gif" alt=""></td></tr></table>

    to see what im talking about go to http://www.ryanmcbain.com/forums/sho...p?threadid=273

    can anyone help me?
  • Dean C
    Senior Member
    • Mar 2002
    • 4571
    • 3.5.x

    #2
    This shoudl work

    PHP Code:
    <table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%"><!-- spacer -->

    <
    table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextrawidth="{contenttablewidth}" align="center"><tr><td>
    <
    table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextrawidth="100%">
    <
    tr>
        <
    td bgcolor="$post[backcolor]width="175" valign="top" nowrap>
        <
    a name="post$post[postid]"></a>
        
    $post[firstnewinsert]
        <
    normalfont><b>$post[username]</b></normalfont><br>
        <
    smallfont>$post[usertitle]</smallfont><br>
        
    $post[avatar]<p>
        <
    smallfont>
    <
    br>
                      <
    p> <b>Level$showlevel<br>
                        
    Member ID$post[userid]</b><br>
                        
    HP$hp $maxhp 
                      
    <table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
                        <
    tr
                          <
    td bgcolor="#9999FF"><img src="images/bar/bhg.gif" width="$hpf%" height="9"><img src="images/bar/bhb.gif" width="1" height="9"></td>
                        </
    tr>
                      </
    table>
                      
    MP$mp $maxmp 
                      
    <table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
                        <
    tr
                          <
    td bgcolor="#9999FF"><img src="images/bar/bmg.gif" width="$mpf%" height="9"><img src="images/bar/bmb.gif" width="1" height="9"></td>
                        </
    tr>
                      </
    table>
                      
    Exp$ep
                      <
    table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
                        <
    tr
                          <
    td bgcolor="#9999FF"><img src="images/bar/bxg.gif" width="$ep%" height="9"><img src="images/bar/bxb.gif" width="1" height="9"></td>
                        </
    tr>
    Registered$post[joindate]<br>
        
    Location$post[field2]<br>
        
    Posts$post[posts]<br>
    <
    a href="level.php" target="_blank">Click Here For Help About The Levels</a>
    </
    smallfont></td>
        
        <
    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></p>
        </
    td>
    </
    tr>
    <
    tr>
        <
    td bgcolor="$post[backcolor]width="175" height="16" nowrap><smallfont>$post[foldericon]
        
    $post[postdate] <font color="{timecolor}">$post[posttime]</font></smallfont></td>
        
        <
    td bgcolor="$post[backcolor]width="100%" valign="middle" height="16">
            <
    table width="100%" border="0" cellpadding="0" cellspacing="0">
            <
    tr valign="bottom">
                <
    td><smallfont>$onlinestatus
                $post
    [profile$post[pmlink$post[useremail$post[homepage$post[search$post[buddy]
                <!-- $ 
    post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] --> 
                </
    smallfont></td>
                <
    td align="right" nowrap><smallfont>
                <
    a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="{imagesfolder}/edit.gif" border="0" alt="Edit/Delete Message"></a>
                <
    a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="{imagesfolder}/quote.gif" border="0" alt="Reply w/Quote"></a>
                </
    smallfont></td>
            </
    tr>
            </
    table>
        </
    td>
    </
    tr>
    </
    table>
    </
    td></tr></table>

    <!-- 
    spacer --></td><td width="10"><img width="10" 
    Dean Clatworthy - Web Developer/Designer

    Comment

    • Ryan McBain
      Senior Member
      • Feb 2002
      • 557

      #3
      well you fixed the colors but the page is all messed up now.. still doesnt work

      Comment

      • Dean C
        Senior Member
        • Mar 2002
        • 4571
        • 3.5.x

        #4
        Sorry lol try this

        PHP Code:
        <table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%"><!-- spacer -->

        <
        table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextrawidth="{contenttablewidth}" align="center"><tr><td>
        <
        table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextrawidth="100%">
        <
        tr>
            <
        td bgcolor="$post[backcolor]width="175" valign="top" nowrap>
            <
        a name="post$post[postid]"></a>
            
        $post[firstnewinsert]
            <
        normalfont><b>$post[username]</b></normalfont><br>
            <
        smallfont>$post[usertitle]</smallfont><br>
            
        $post[avatar]<p>
            <
        smallfont>Registered$post[joindate]<br>
            
        Location$post[field2]<br>
            
        Posts$post[posts]</smallfont>
        <
        smallfont>

        <
        br> <b>Level$showlevel<br>
                            </
        b><br>
                            
        HP$hp $maxhp<br><img src="{imagesfolder}/bar/bhg.gif" width="$hpf%" height="9"><img src="images/bar/bhb.gif" width="1" height="9"><br>MP$mp $maxmp <br><img src="images/bar/bmg.gif" width="$mpf%" height="9"><img src="images/bar/bmb.gif" width="1" height="9"><br>Exp$ep% <br><img src="images/bar/bxg.gif" width="$ep%" height="9"><img src="images/bar/bxb.gif" width="1" height="9"></smallfont>
        </
        td>
            
            <
        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></p>
            </
        td>
        </
        tr>
        <
        tr>
            <
        td bgcolor="$post[backcolor]width="175" height="16" nowrap><smallfont>$post[foldericon]
            
        $post[postdate] <font color="{timecolor}">$post[posttime]</font></smallfont></td>
            
            <
        td bgcolor="$post[backcolor]width="100%" valign="middle" height="16">
                <
        table width="100%" border="0" cellpadding="0" cellspacing="0">
                <
        tr valign="bottom">
                    <
        td><smallfont>$onlinestatus
                    $post
        [profile$post[pmlink$post[useremail$post[homepage$post[search$post[buddy]
                    <!-- $ 
        post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] --> 
                    </
        smallfont></td>
                    <
        td align="right" nowrap><smallfont>
                    <
        a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="{imagesfolder}/edit.gif" border="0" alt="Edit/Delete Message"></a>
                    <
        a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="{imagesfolder}/quote.gif" border="0" alt="Reply w/Quote"></a>
                    </
        smallfont></td>
                </
        tr>
                </
        table>
            </
        td>
        </
        tr>
        </
        table>
        </
        td></tr></table>

        <!-- 
        spacer --></td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table
        Last edited by Dean C; Sat 25 May '02, 12:31am.
        Dean Clatworthy - Web Developer/Designer

        Comment

        • Ryan McBain
          Senior Member
          • Feb 2002
          • 557

          #5
          some things are fixed and some are not, i need to fix the mistakes in the code i posted

          Comment

          • Ryan McBain
            Senior Member
            • Feb 2002
            • 557

            #6
            im still having problems here. can someone help me out?

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...