Announcement

Collapse
No announcement yet.

How to create the template like

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

  • How to create the template like

    ... like Web Hosting Talk @ http://www.webhostingtalk.com

    I want to delete the Moderator column and insert another table to display some misc informations

    From what I know, it should be something to do with the 'forumhome' as well as '$forumbits' templates..

    But I can't seem to find any templates called 'forumbits' ..

    Do take a look at my forum at www.sgwebhostingtalk.com
    iHu6.com (BETA) - www.ihu6.com

  • #2
    it's basic html, I hope this will help you with what you where looking for.

    In Forumhome Right After $header Add:
    PHP Code:
    <!-- content table -->
    <
    table width="{tablewidth}" cellpadding="4" cellspacing="0" border="0">
    <
    tr>
      <
    td width="100%" align="center" valign="top"
    In Same Template Right Before $footer Add:
    PHP Code:
    </td>
      <
    td width="150" align="center" valign="top">

    <!-- 
    Repeat As Many Times As You Need To -->
    <
    table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextrawidth="150" align="center">
    <
    tr><td>
    <
    table cellpadding="4" cellspacing="{ tableinnerborderwidth}" border="0" tableinnerextrawidth="100%">
    <
    tr>
      <
    td bgcolor="{categorybackcolor}"><normalfont color="{categoryfontcolor}"><B>Put What Ever Here</B></normalfont></td>
    </
    tr>
      <
    td bgcolor="{firstaltcolor}"><smallfont>
    Add your content right hereAdd your content right hereAdd your content right here.</smallfont></td>
    </
    tr>
    </
    table>
    </
    td></tr></table>
    <
    br>
    <!-- 
    // End Of Table -->

    </td></tr></table

    Comment


    • #3
      ^^ That Will Add A Right Table Like That Site!!

      This Will remove the mod colomn.

      Open Forumhome Template
      Remove:
      PHP Code:
        <td bgcolor="#8080A6" width="20%"><smallfont color="#EEEEFF"><b>Moderator</b></smallfont></td
      Open forumhome_forumbit_level2_post Template
      Remove:
      PHP Code:
          <td bgcolor="#F1F1F1" {first_alt_bg}><smallfont>$forum[moderators]</smallfont></td
      Open forumhome_forumbit_level1_nopost
      Find:
      PHP Code:
      <tr id="cat">
          <
      td bgcolor="#606096" colspan="6"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="#FFF788"><b>$forum[title]</b></normalfont></a>
          <
      br><smallfont color="#FFF788">$forum[description]</smallfont></td>
      </
      tr
      Replace With:
      PHP Code:
      <tr id="cat">
          <
      td bgcolor="#606096" colspan="5"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="#FFF788"><b>$forum[title]</b></normalfont></a>
          <
      br><smallfont color="#FFF788">$forum[description]</smallfont></td>
      </
      tr

      Open forumhome_loggedinusers
      Find:
      PHP Code:
      <tr id="cat">
          <
      td bgcolor="#606096" colspan="6"><a href="online.php?s=$session[sessionhash]"><normalfont color="#FFF788"><b>Currently Active Users</b></normalfont></a><normalfont color="#FFF788"><b>: $totalonline</b></normalfont></td>
      </
      tr>
      <
      tr>
          <
      td bgcolor="#F1F1F1" colspan="6"><smallfont>
          <
      nobr>There are currently  $numberregistered members and $numberguest guests on the boards.</nobr> |
          <
      nobr>Most users ever online was $recordusers on $recorddate at $recordtime.</nobr><br>
          
      $activeusers</smallfont></td>
      </
      tr
      Replace With:
      PHP Code:
      <tr id="cat">
          <
      td bgcolor="#606096" colspan="5"><a href="online.php?s=$session[sessionhash]"><normalfont color="#FFF788"><b>Currently Active Users</b></normalfont></a><normalfont color="#FFF788"><b>: $totalonline</b></normalfont></td>
      </
      tr>
      <
      tr>
          <
      td bgcolor="#F1F1F1" colspan="5"><smallfont>
          <
      nobr>There are currently  $numberregistered members and $numberguest guests on the boards.</nobr> |
          <
      nobr>Most users ever online was $recordusers on $recorddate at $recordtime.</nobr><br>
          
      $activeusers</smallfont></td>
      </
      tr
      Open forumhome_pmloggedin
      Find:
      PHP Code:
      <tr id="cat">
          <
      td bgcolor="#606096" colspan="6"><a href="private.php?s=$session[sessionhash]title="Click Here to Open Your Private Messages $inboxname"><normalfont color="#FFF788"><b>Private Messages</normalfont></b></a></td>
      </
      tr>
      <
      tr>
          <
      td bgcolor="#DFDFDF" align="center" valign="top"><img src="images/$lightbulb.gif" alt=""></td>
          <
      td bgcolor="#F1F1F1" colspan="5"><smallfont>
          <
      b>$bbuserinfo[username]</b> - You have $newpm[messages] new message(ssince your last visit.<br>
          (
      You have $unreadpm[messagesunread messages and $allpm[messagestotal messages in all your folders.)</smallfont></td>
      </
      tr
      Replace With:
      PHP Code:
      <tr id="cat">
          <
      td bgcolor="#606096" colspan="5"><a href="private.php?s=$session[sessionhash]title="Click Here to Open Your Private Messages $inboxname"><normalfont color="#FFF788"><b>Private Messages</normalfont></b></a></td>
      </
      tr>
      <
      tr>
          <
      td bgcolor="#DFDFDF" align="center" valign="top"><img src="images/$lightbulb.gif" alt=""></td>
          <
      td bgcolor="#F1F1F1" colspan="4"><smallfont>
          <
      b>$bbuserinfo[username]</b> - You have $newpm[messages] new message(ssince your last visit.<br>
          (
      You have $unreadpm[messagesunread messages and $allpm[messagestotal messages in all your folders.)</smallfont></td>
      </
      tr
      There You Go, Your All Done!!
      Last edited by Joshua Chance; Fri 6th Sep '02, 2:53pm.

      Comment

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