variable search

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • FreshFroot_
    Senior Member
    • Jul 2005
    • 1420
    • 3.8.x

    variable search

    where would I be able to edit the type_counts variable? I looked in the phrase system, but didn't see it anywhere.

    basically I'm customizing and used the $type_counts variable, however, I'm trying to center the whole thing eg. task,bug,features but it seems only those words are centered and the actual number's aren't.

    example:


    Task 0
    Bug 0
    Features 0

    doesn't exactly look like it, but basically the letters are centred, however the numbers are ALL the way on the right. It seems like I can't center the numbers via template edit.
  • FreshFroot_
    Senior Member
    • Jul 2005
    • 1420
    • 3.8.x

    #2
    BTW here is my pt_forumbit_project template

    Code:
    <tr align="center">
     <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="" border="0" /></td>
     <td class="alt1Active" align="$stylevar[left]">
      <div>
       <if condition="$project['forumtitle']">
        <a href="project.php?$session[sessionurl]projectid=$project[projectid]"><strong>$project[forumtitle]</strong></a>
       <else />
        <span class="shade">$vbphrase[project]</span> <a href="project.php?$session[sessionurl]projectid=$project[projectid]"><strong>$project[title]</strong></a>
       </if>
      </div>
      <if condition="$project['summary']"><div class="smallfont">&nbsp; $project[summary]</div></if>
     </td>
     <td class="alt2 smallfont" align="$stylevar[center]" nowrap="nowrap">
     <div align="$stylevar[center]">$type_counts
    </strong></a></div>
      <if condition="$project['lastactivitydate']">
      <div>$project[lastactivitydate] <span class="time">$project[lastactivitytime]</span></div>
      <else />
       <div align="center">$vbphrase[n_a]</div>
      </if>
     </td>
      <if condition="$vboptions['showmoderatorcolumn']">
      <td class="alt1"><div class="smallfont">&nbsp;</div></td>
     </if>
    </tr>

    Comment

    • FreshFroot_
      Senior Member
      • Jul 2005
      • 1420
      • 3.8.x

      #3
      still waiting for a response.. hopefully one of the devs can quickly jump in on this small question.

      Thanks.

      Comment

      • Zachery
        Former vBulletin Support
        • Jul 2002
        • 59097

        #4
        You should know modification discussion should be done at vBulletin.org

        Comment

        • FreshFroot_
          Senior Member
          • Jul 2005
          • 1420
          • 3.8.x

          #5
          I posted there with no response. This isn't really a modification, I'm just trying to figure out on how to center the text and numbers. I seem to only be able to center the writing, not the numbers.

          Comment

          • Zachery
            Former vBulletin Support
            • Jul 2002
            • 59097

            #6
            I'll update my bug tracker on my forums later today and see what I can do.

            Comment

            • FreshFroot_
              Senior Member
              • Jul 2005
              • 1420
              • 3.8.x

              #7
              Thanks Zachery, appreciate it

              Comment

              • FreshFroot_
                Senior Member
                • Jul 2005
                • 1420
                • 3.8.x

                #8
                any update on this issue guys?

                Comment

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