Announcement

Collapse
No announcement yet.

memberlist change

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

  • memberlist change

    I added a new column to my memberlist page, Social Contacts.
    I see in the footer the last row says:
    <td class="tfoot" colspan="$totalcols" ....

    Where is $totalcols derived from?
    Since I added an extra column, it is off by one, so I manually edited it, but that's a poor solution.

    Thanks
    Cliff
    PathLabTalk
    Square Wheels Cycling

  • #2
    That value is calculated based on the number of fields shown:

    Admin CP -> vBulletin Options -> User Listing Options -> Member List Field Options

    For your purposes you may be able to fudge it by adding this line before your code in the templates:

    Code:
    <if condition="$totalcols++"></if>
    That will increment the value by one.

    Comment


    • #3
      Worked perfectly, thank you!
      Cliff
      PathLabTalk
      Square Wheels Cycling

      Comment

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