The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hi.
I've added a new column to my members page where I want to put the time and date of each members last post but can't work out which variable etc I need. Could someone help me... Thanks |
#2
|
|||
|
|||
You need to add date processing similar to this line:
$userinfo[datejoined]=vbdate($dateformat,$userinfo[joindate]); |
#3
|
|||
|
|||
Please could you be more specific, I know I have to add something to the memberslistbit template but not sure what
|
#4
|
|||
|
|||
.
|
#5
|
|||
|
|||
I'm sorry, but incessant bumping does not make me very eager to help you hack your board.
|
#6
|
|||
|
|||
|
#7
|
|||
|
|||
Put the code that Ed gave into your memberlist.php file, replacing [datejoined] with [lastpost], at about line 116.
You can then use $userinfo[lastpost] in you memberlistbit template. John |
#8
|
|||
|
|||
Ok that works great but can I really be cheeky and ask one more thing. At the moment it says 01-01-1970 in the lastposted column if they have never posted. Can it be changed to 'never'
|
#9
|
|||
|
|||
Yes, you just need to check to see if the [lastpost] field is equal to 0.
John |
#10
|
|||
|
|||
Ok what sort of code do i need to put where?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|