News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Members list like table.

Started by Malibuz0r, September 29, 2012, 09:14:11 AM

Previous topic - Next topic

Malibuz0r

Does anyone know how the members list table works? I want to create something like that, but I'm not sure what tag it uses to create it.

Just a simple example:

Header1    Header2     Header3
50             51               52

Shambles

Looks like you need a table.

[table]
[tr]  [td]..[/td]  [/tr]
[/table]


Loads in your own "help" pages about tables ;)

Malibuz0r

No exactly what I'm talking about. Say I'm making this SP page, and need the table there.

Here's how the members list table looks like:


Edit: Yeah I know I showed a bad example in my first post, sorry.

Malibuz0r

Anyone that can help me? Found this in "Memberslist.php"

// Set up the columns...
$context['columns'] = array(
'is_online' => array(
'label' => $txt['status'],
'width' => '60',
'class' => 'first_th',
),

I'm guessing the table goes starts off with <first_th>?

Arantor

The members list table is not a bbcode table, it requires a lot more code to generate than what you've found, and invokes code buried deep in SMF.

What, exactly, are you trying to do?
Holder of controversial views, all of which my own.


Hj Ahmad Rasyid Hj Ismail

If you are creating a block, try to ask at the respective portal mod support forum.

Advertisement: