Announcement

Collapse
No announcement yet.

question about styles

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

  • Chen
    replied
    No problem!

    Leave a comment:


  • nexus
    replied
    thank you very much firefly!! works like a charm!!

    Leave a comment:


  • Chen
    replied
    Open style.php (in the admin folder) in a text editor, and replace this:
    Code:
      while ($style=$DB_site->fetch_array($styles)) {
    
        echo "<tr class='".getrowbg()."'>\n<td><p>$style[title]</p></td><td><p>".
    with this: (my code in red)
    Code:
      while ($style=$DB_site->fetch_array($styles)) {
        $users=$DB_site->query_first("SELECT COUNT(*) AS count FROM user WHERE styleid='$style[styleid]'");
        echo "<tr class='".getrowbg()."'>\n<td><p>$style[title] ($users[count] users)</p></td><td><p>".

    Leave a comment:


  • nexus
    started a topic question about styles

    question about styles

    I'm pretty new to vb, and I have just one question right now.. Is it possible to integrate into the styles section of the admin cp, the numbers of how many board members use each different style? I just thought this would be a really neat feature, but I have no idea how to make it work.

    So when clicking styles --> modify, right next to each style listed there could be a number of people that use each of them.. Is this at all possible?

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