The Arcive of vBulletin Modifications Site. |
|
Postbit last date and time online Details »»
|
|||||||||||||||||||||||||||
Postbit last date and time online
This is a simple mod that will place the last date and time online in the postbit. Installation: (1) Product To Upload Via: Acp > Plugins & Products > Manage Products > Add/Import Product (1) Simple Template To Edit Via: Acp > Styles & Templates > postbit or postbit_legacy template This works on 4.0.0 up to 4.2.1 (see attached pics of 4.2.1) Date and time in postbit Date only in postbitIf you wish to only use the last date online in the postbit, without the time, use the XML titled LastdatePB Download Now
Show Your Support
|
|||||||||||||||||||||||||||
| Благодарность от: | ||
| iiioroh | ||
| Comments |
|
#2
|
||||
|
||||
|
That did the trick.....
One question, is it possible to take out the time of day? Currently it reads Last Online:1 Minute Ago @ 12:24 How do I change it to read Last Online:1 Minute Ago Thanks for all you have done.... Edit: Nevermind, common sense really, I figured it out... Cheers... |
| Благодарность от: | ||
| justicechick | ||
|
#3
|
|||
|
|||
|
Quote:
|
|
#4
|
|||
|
|||
|
Any ideas how much this will slow down page load?
Also how to show just today, yesterday,... 100days ago? Thank you |
| Благодарность от: | ||
| justicechick | ||
|
#5
|
|||
|
|||
|
This is the first modification I have attempted, and its a pretty simple modification. Im sorry though that option isnt available with this modification. As far as slowing down the page load , there has been none noticed since the installation of this on my board.
|
|
#6
|
|||
|
|||
|
For those that may have already installed this , have updated the zipfile. If you only want to use the last date online in the postbit please use the following code.
<!-- LAST ONLINE DATE START --> <vb:if condition="$post['lastactivity']"> <dt>{vb:rawphrase last_online_activity}</dt><dd>{vb:raw post.lastactivity_date} </dd> </vb:if> <!-- / LAST ONLINE DATE END --> |
|
#7
|
||||
|
||||
|
Good job justicechick... Keep it up..
|
|
#8
|
|||
|
|||
|
done...
|
| Благодарность от: | ||
| justicechick | ||
|
#9
|
|||
|
|||
|
But how can I remove the AM/PM part?
|
|
#10
|
|||
|
|||
|
Use the "LastdatePB" XML that is included in the zip
and use the following when modifying your template. <!-- LAST ONLINE DATE START --> <vb:if condition="$post['lastactivity']"> <dt>{vb:rawphrase last_online_activity}</dt><dd>{vb:raw post.lastactivity_date} </dd> </vb:if> <!-- / LAST ONLINE DATE END --> |
![]() |
|
|