The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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
|
#2
|
||||
|
||||
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 |
#3
|
||||
|
||||
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
|
#4
|
||||
|
||||
lool, it's even more simple than i thought, the counter is already there:
PHP Code:
|
#5
|
||||
|
||||
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?
|
#6
|
||||
|
||||
if ($counter % 4 == 0) ...
|
#7
|
||||
|
||||
so i'd do something like
PHP Code:
|
#8
|
||||
|
||||
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 |
#9
|
||||
|
||||
thank you so much xenon
/me bows down |
#10
|
||||
|
||||
you're welcome
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|