Announcement

Collapse
No announcement yet.

UBB5-clone postbit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • UBB5-clone postbit

    Upgrading from UBB and don't want to confuse your posters? Here is how I modified my postbit template to look a lot like the old UBB 5.45c board:

    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}" {tableouterextra} width="{contenttablewidth}" align="center">
            <tr>
              <td> 
                <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
                  <tr> 
                    <td bgcolor="$post[backcolor]" valign="top" width="175" height="16" nowrap> 
                      <a name="post$post[postid]"></a> $post[firstnewinsert] <normalfont><b>$post[username]</b></normalfont><br>
                      <smallfont>$post[usertitle]</smallfont><br>
                      $post[avatar] <smallfont> 
                      <p> 
                      </smallfont></td>
                    <td bgcolor="$post[backcolor]" width="100%" valign="top"> 
                      <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr valign="bottom"> 
                          <td bgcolor="$post[backcolor]" width="175" height="16" nowrap><smallfont>$post[foldericon] 
                            <font color="{timecolor}"> $post[postdate] $post[posttime]</font></smallfont></td>
                          <td><smallfont>$post[profile] &nbsp;&nbsp; $post[pmlink] 
                            &nbsp;&nbsp;$post[useremail] &nbsp;&nbsp; $post[homepage] 
                            &nbsp;&nbsp;$post[search]    <!-- $ 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>
                      <hr>
                      $post[icon] <b>$post[title]</b> 
                      <p><normalfont>$post[message]</normalfont></p>
                      $post[attachment] 
                      <p>$post[signature]</p>
                      <p>$post[editedby]<smallfont></smallfont></p>
                    </td>
                  </tr>
                  <tr> 
                    <td bgcolor="$post[backcolor]" valign="bottom" width="175" height="16" nowrap> 
                      <a name="post$post[postid]"></a> <smallfont> 
                      <table width="175" border="0" cellspacing="0" cellpadding="0" valign=bottom>
                        <tr>
                          <td>
                            <div align="left"><smallfont>online now? </smallfont>$onlinestatus</div>
                          </td>
                          <td>
                            <div align="right"><smallfont><a style="text-decoration:none" href="member2.php?s=$session[sessionhash]&action=addlist&userlist=ignore&userid=$post[userid]">+ignore</a> | 
                              <a style="text-decoration:none" href="member2.php?s=$session[sessionhash]&action=addlist&userlist=buddy&userid=$post[userid]">+buddy</a></smallfont></div>
                          </td>
                        </tr>
                      </table>
                      </smallfont></td>
                    <td bgcolor="$post[backcolor]" width="100%" valign="bottom"> 
                      <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>
                </table>
              </td>
            </tr>
          </table>
          <!-- spacer -->
        </td>
        <td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td>
      </tr>
    </table>

    You can see it in action on my forum at http://fff.fathom.org/forums/
    >^,,^<
    OpalCat
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X