![]() |
memberlist.php display
if it possible that instead of displaying the memberlist as is, it can be changed to display little boxes, lets say 4 across, 6 down and inside each little box it would have
|
yes it's possible :)
you have to change the memberlist info bit templates (don't know the exact name now) and then just add a counter to the memberlist.php and after every 4th user add a </tr><tr> tag :) |
is it that simple, i thought it would've been a whole load of hacking to get the fields to display on the memberlist.php, btw xenon, stupid question but how do you add a counter 0_o
|
lool, it's even more simple than i thought, the counter is already there:
PHP Code:
|
Sorry only just found my way back to this thread, i know this seems like a dumb question, a very dumb question but how do i test the $counter mod?
|
if ($counter % 4 == 0) ...
|
so i'd do something like
PHP Code:
|
ok, then the hack itself..... ^^
in memberlist.php find: PHP Code:
PHP Code:
last thing is that you have to edit the template memberlist itself to make another table header ;) |
thank you so much xenon
/me bows down |
you're welcome :)
|
xenon i got a slight problem, ever so slight
the hack works fine, you should really add it to the database, but one the first and last lines it displays only 3 columns of the row 0_o |
hmm, try to change every $counter into a ($counter - 1)
|
tried that it totally messed up, so i changed it to 1 and that's ok but it's got 2 empty spaces on the bottom row now
|
hm i dont get it look like that
|
you need to make the templates kamui
|
All times are GMT. The time now is 11:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|