
Announcement
Collapse
No announcement yet.
question about styles
Collapse
X
-
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>".
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:
-
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 advanceTags: None
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Leave a comment: