Announcement

Collapse
No announcement yet.

How can I separate forum home table categories?

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

  • How can I separate forum home table categories?

    I've only been playing with vBulletin for about a week so it's all pretty new. Seems I'm finding my way around pretty well though because I did the expand/collapse forum hack without a hitch a few days ago. But this mod has me stumped so far.

    Here's what I want to do and why:

    If you go to http://www.thecampaign.org/forums/index.php?s= you can see the few things that have been done so far. (OK, I know that it's pretty basic but it's a start. So no comment please on how standard it looks.)

    If you go to the collapsed thread - GE Foods Networking in Every State and More! - you can see how the cell colors merge with the ones below it - Currently Active Users and Private messages. I'd like more definition between these two sections. How and where can I add a table cell of just a few pixels to separate these two sections? The things I've tried so far have produced interesting results but not the desired ones.

    Please be patient with this n00b. Thanks in advance.

    PS. Note that this forum is not 'live' yet. It is being launched along with a revision of The Campaign website tomorrow January 6 so I'd like to get this done today if possible.
    Last edited by naunun; Sun 5 Jan '03, 10:09am.

  • #2
    try this...

    Admin CP -> Templates -> Modify -> [expand list] -> Forum Home Page Templates -> forumhome

    Just before the $loggedinusers variable, add this code:

    </table>
    </td></tr></table>

    <br>

    <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%">

    Comment


    • #3
      Originally posted by Jakeman
      Admin CP -> Templates -> Modify -> [expand list] -> Forum Home Page Templates -> forumhome

      Just before the $loggedinusers variable, add this code:

      </table>
      </td></tr></table>

      <br>

      <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%">
      Thanks soooo much, Jakeman. Works perferctly,of course. That's where I was trying to play around but couldn't manage to figure out this simple solution. Boy, do I have a lot to learn!!!

      Comment


      • #4
        Originally posted by naunun
        Thanks soooo much, Jakeman. Works perferctly,of course. That's where I was trying to play around but couldn't manage to figure out this simple solution. Boy, do I have a lot to learn!!!
        Oops, not quite fixed. Why is the v-logo cell under Private Messages so wide now and how do I fix that??
        Last edited by naunun; Sun 5 Jan '03, 12:01pm.

        Comment


        • #5
          Try using this for your forumhome_pmloggedin template:

          <tr id="cat">
          <td bgcolor="{categorybackcolor}" colspan="6"><a href="private.php?s=$session[sessionhash]" title="Click Here to Open Your Private Messages $inboxname"><normalfont color="{categoryfontcolor}"><b>Private Messages</normalfont></b></a></td>
          </tr>
          <tr>
          <td bgcolor="{secondaltcolor}" align="center" valign="top" width="1%"><img src="{imagesfolder}/$lightbulb.gif" alt=""></td>
          <td bgcolor="{firstaltcolor}" colspan="5" width="99%"><smallfont>
          <b>$bbuserinfo[username]</b> - You have $newpm[messages] new message(s) since your last visit.<br>
          (You have $unreadpm[messages] unread messages and $allpm[messages] total messages in all your folders.)</smallfont></td>
          </tr>

          Comment


          • #6
            Originally posted by Jakeman
            Try using this for your forumhome_pmloggedin template:

            <tr id="cat">
            <td bgcolor="{categorybackcolor}" colspan="6"><a href="private.php?s=$session[sessionhash]" title="Click Here to Open Your Private Messages $inboxname"><normalfont color="{categoryfontcolor}"><b>Private Messages</normalfont></b></a></td>
            </tr>
            <tr>
            <td bgcolor="{secondaltcolor}" align="center" valign="top" width="1%"><img src="{imagesfolder}/$lightbulb.gif" alt=""></td>
            <td bgcolor="{firstaltcolor}" colspan="5" width="99%"><smallfont>
            <b>$bbuserinfo[username]</b> - You have $newpm[messages] new message(s) since your last visit.<br>
            (You have $unreadpm[messages] unread messages and $allpm[messages] total messages in all your folders.)</smallfont></td>
            </tr>
            Thanks for your prompt response. Turns out I actually found another solution that solved two problems at once. For some reason there was no icon at the head of the Users Online row so it looked kinda funny. Once I added the icon to that row, the cell width in both rows snapped into place. If this is going to be a problem, please let me know. You have been very helpful, thanks again!!

            Comment

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