Vbulletin Skinners...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ferrarislave
    Senior Member
    • Apr 2005
    • 154
    • 3.6.x

    Vbulletin Skinners...

    I have a question for you. I've skinned a few boards now. Most notibly my own Exotic Cars. Each time I get stuck on the forumhome_forumbit_level1_nopost and forumhome_forumbit_level1_post templates. I just don't get how they are laid out and how they are both connected to each other. For example on my forum now the catagory header over each catagory/forum. It took forever to do that and it still looks bad in Safari. What is the typical process? Is there a set of tables in those two templates that you need to re-arrange to add your own tables with the pieces you want to appear, or? I am pretty decent in HTML, so you may elaborate.

    Picture of what im talking about:
    Last edited by Ferrarislave; Fri 26 Jan '07, 8:47pm.
    Exotic Cars
  • peterska2
    Senior Member
    • Oct 2003
    • 8869
    • 3.7.x

    #2
    Right, you have a few issues going on here.

    The main one, the safari issue, comes down to the fact that your forums are not subforums of your category along with a possibly malformed forumhome_forumbit_level1_nopost template (can't confirm as there are no forumhome_forumbit_level2_post forums yet).

    The forumhome_forumbit_level1_post template is only used when in categories or where subforums apply, unless you do not have any categories in use at all.

    So, set all your forums to have a parent forum of the relevant category, and see what happens. Let me know if you need any templates checking over or other help at all. (I have safari so can see exactly what you mean)

    Comment

    • Ferrarislave
      Senior Member
      • Apr 2005
      • 154
      • 3.6.x

      #3
      Ahh I see, my forums are not subforums of my catagory. I have subforums of forums, but not catagories. I should probably try that. I will probably need to edit my code to make that work, I will try that. Here is my code. I think it looks pretty good except for the issues.

      This is my forumhome_forumbit_level1_nopost code:
      HTML Code:
      <!--start category bar-->
      <table class="level1_nopost">
       <tr>
        <td style="margin:0; padding:0">
         <table style="margin-top:15px; color:white" width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
           <td width="32"><img src="V2/misc/cat_head_title_left.gif" alt="" width="32" height="25"/></td>
           <td nowrap="nowrap" style="background-image:url(V2/misc/cat_head_title_bg.gif)"><img src="V2/misc/cat_arrow.gif" alt="" />&nbsp;<strong>$forum[title]</strong></td>
           <td width="54"><img src="V2/misc/cat_head_title_right.gif" alt="" width="54" height="25"/></td>
           <td width="100%" style="background-image:url(V2/misc/cat_head_bg.gif)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
           <td><a style="float stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="V2/misc/cat_head_right.gif" alt="" border="0" /></a></td>
          </tr>
         </table>
        </td>
       </tr>
       <!--
       <tr>
        <td>
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <td width="50">Status</td>
          <td width="100%">Forum</td>
          <td width="200" nowrap>Last Post</td>
          <td width="30">Replies</td>
          <td width="30">Views</td>
         </table>
        </td>
       </tr>
       -->
      </table>
      <!--end category bar-->
      Here is forumhome_forumbit_level1_post code:
      HTML Code:
      <!-- start forumbit_level1_post -->
      <table class="level1_post">
       <tr align="center">
        <td width="50" <if condition="$forum['displayorder'] % 2 == 0">
         class="alt2"<else />class="alt2"</if>><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
        </td>
        <td <if condition="$forum['displayorder'] % 2 == 0">class="alt1"<else />class="alt1"</if> align="$stylevar[left]" id="f$forum[forumid]">
         <div>
          <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
          <if condition="$show['browsers']">
           <span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span>
          </if>
         </div>
         <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
                              <if condition="$show['subforums']">
          <div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>:$forum[subforums]</div>
         </if>
        </td>
        <td width="200" <if condition="$forum['displayorder'] % 2 == 0">class="alt2"<else />class="alt2"</if>>$forum[lastpostinfo]</td>
        <td width="50" <if condition="$forum['displayorder'] % 2 == 0">class="alt1"<else />class="alt1"</if>>$forum[threadcount]</td>
        <td width="50" <if condition="$forum['displayorder'] % 2 == 0">class="alt2"<else />class="alt2"</if>>$forum[replycount]</td>
       </tr>
      </table>
      <!-- end forumbit_level1_post -->
       
      Also, how can I remove the small icons next to the subforums list? I'd like to get rid of those, but it I cannot find the template varbile or <img src.. in forumhome_forumbit_level1_post template.
      Exotic Cars

      Comment

      • peterska2
        Senior Member
        • Oct 2003
        • 8869
        • 3.7.x

        #4
        1. Your alignment is due to the forums not being inside the categories as you have no width set for your tables at all in your forumhome_forumbit_level1_post/nopost templates.

        2. The subforum images are defined in forumhome_subforumbit_post and forumhome_subforumbit_nopost

        Comment

        • Ferrarislave
          Senior Member
          • Apr 2005
          • 154
          • 3.6.x

          #5
          Any chance I can get you to fix it for a fee? If so, how much would you charge? I'm really busy and i'd like to fix the Safari issue.
          Exotic Cars

          Comment

          • Ferrarislave
            Senior Member
            • Apr 2005
            • 154
            • 3.6.x

            #6
            bump
            Exotic Cars

            Comment

            • peterska2
              Senior Member
              • Oct 2003
              • 8869
              • 3.7.x

              #7
              The steps I outlined should resolve the issue. If not, you need to contact the style author for support.

              Comment

              • Ferrarislave
                Senior Member
                • Apr 2005
                • 154
                • 3.6.x

                #8
                I'm the style author and designer/coder. I just don't have the time to mess with it now so I was wondering if you did some freelance work.
                Exotic Cars

                Comment

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