
05-27-2008, 02:11 PM
|
|
|
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by stwilson
I have a question. I am trying to include a member's Join Date in a column but the number that shows up is a ten digit number. How do I convert it back to the standard VB date format?
|
Completed.
Open the showroster.php file.
Find:
Code:
fetch_musername($user);
After it add:
Code:
$user['datejoined'] = vbdate($vbulletin->options['dateformat'], $user['joindate'], true);
Your code in the showroster_userbits template should look similiar to this:
Code:
<td class="$bgclass" nowrap="nowrap">$user[datejoined]</td>
I'll be sure to add this in the next version for those that wish to use it.
|