PDA

View Full Version : Showing userlist in vBulletin 3.8.5


Sop
07-14-2010, 04:47 PM
Hi,
I had a customization in the SHOWTHREAD template that showed the names and dates/times of each post on the thread. I upgraded from 3.7.3 were it worked to 3.8.5 and now the users are shown twice.
I am using
<table cellpadding='0' cellspacing='15' border='0'>
$userlist
</table>
to show the list
Please tell me what could be the problem or is there another way to do this in 3.8.5?

BirdOPrey5
07-14-2010, 07:26 PM
Unless the code is built into userlist you should be using:


<table cellpadding='0' cellspacing='15' border='0'>
<tr><td>
$userlist
</td></tr>
</table>

Sop
07-15-2010, 06:42 AM
Hi, thanks for the quick response, I tryed but still displays the same, the php variable actually has the information/user list twice, and my code is just displaying that variable.
I dont know if this is a bug or something I missed somehow on the process. Anyway if there is new method to display the users that posted at a specific thread in 3.8.5 will be just as good.

BirdOPrey5
07-15-2010, 05:16 PM
If $userlist is showing everything twice like:
User1,
User2,
User3,
User1,
User2,
User3,

You could make a plugin to split it in half:

$half = (int) ( (strlen($userlist) / 2) );
$left = substr($str, 0, $half);

//$left now holds the first half of the string.