Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Postbit last date and time online Details »
Postbit last date and time online
Mod Version: 1.00, by justicechick (Member) justicechick is offline
Developer Last Online: Jul 2015 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (3 votes - 4.67 average) Installs: 35
Released: 12 Jul 2013 Last Update: 13 Jul 2013 Downloads: 179
Not Supported Uses Plugins Template Edits Re-usable Code  

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 postbit


If you wish to only use the last date online in the postbit, without the time, use the XML titled LastdatePB

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases Postbit Last Online Date And Time princeedward vBulletin 4.x Add-ons 87 27 Oct 2014 15:02
Miscellaneous Hacks User's Local Time and Date in Postbit and Profile for vB 4 Boofo vBulletin 4.x Add-ons 46 10 Sep 2012 17:56
Miscellaneous Hacks Poster's local time and date in postbit and profile Boofo Modification Graveyard 42 15 Jun 2008 19:44
[tweak] Post date and time in postbit image turdboy vBulletin 2.x Template Modifications 12 07 Sep 2003 04:38

Comments
  #2  
Old 12 Jul 2013, 13:26
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
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...
Reply With Quote
  #3  
Old 12 Jul 2013, 15:37
justicechick's Avatar
justicechick justicechick is offline
 
Join Date: Oct 2012
Originally Posted by DemOnstar View Post
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...
Great! Im glad it worked for you.
Reply With Quote
  #4  
Old 12 Jul 2013, 18:16
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Any ideas how much this will slow down page load?

Also how to show just today, yesterday,... 100days ago?

Thank you
Reply With Quote
  #5  
Old 12 Jul 2013, 18:37
justicechick's Avatar
justicechick justicechick is offline
 
Join Date: Oct 2012
Originally Posted by goxy63 View Post
Any ideas how much this will slow down page load?

Also how to show just today, yesterday,... 100days ago?

Thank you
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.

Last edited by justicechick; 13 Jul 2013 at 00:52.
Reply With Quote
  #6  
Old 13 Jul 2013, 01:28
justicechick's Avatar
justicechick justicechick is offline
 
Join Date: Oct 2012
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 -->
Reply With Quote
  #7  
Old 13 Jul 2013, 05:39
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Good job justicechick... Keep it up..
Reply With Quote
  #8  
Old 16 Jul 2013, 16:37
Jonm Jonm is offline
 
Join Date: May 2011
done...
__________________
www.staffs-vw.co.uk - Jon-Morgan.co.uk
Reply With Quote
  #9  
Old 16 Jul 2013, 16:38
Jonm Jonm is offline
 
Join Date: May 2011
But how can I remove the AM/PM part?
__________________
www.staffs-vw.co.uk - Jon-Morgan.co.uk
Reply With Quote
  #10  
Old 21 Jul 2013, 01:39
justicechick's Avatar
justicechick justicechick is offline
 
Join Date: Oct 2012
Originally Posted by Jonm View Post
But how can I remove the AM/PM part?
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 -->
Reply With Quote
  #11  
Old 08 Sep 2013, 10:17
Spangle Spangle is offline
 
Join Date: Jun 2011
Good little snippet this
Reply With Quote
  #12  
Old 20 Sep 2013, 03:56
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Post

Where do we shorten the phrase "minutes" to "min" ?

It is too long and breaking up. Thanks
__________________
If we don't help each other when we can, then we're not making this world a better place.
Reply With Quote
  #13  
Old 24 Sep 2013, 04:41
Adam Wood Adam Wood is offline
 
Join Date: Mar 2008
The examples are in the legacy postbit. Anyone know if this works in the horizontal postbit?
Reply With Quote
  #14  
Old 26 Sep 2013, 01:06
justicechick's Avatar
justicechick justicechick is offline
 
Join Date: Oct 2012
Originally Posted by Bubble #5 View Post
Where do we shorten the phrase "minutes" to "min" ?

It is too long and breaking up. Thanks
This is something that is actually done within vbulletin itself and not it the plugin.

The steps to do so are as follows.

Admincp> Styles and Templetes> Replacement Variable > add new variable.

You would then select the style theme you want to change the variable in (change each one you use if you want consistency) Enter The text to be searched : Minutes
Enter Text to replace: Mins

You might also want to create one for the word Minute to replace Min

Submit and check your postbit then. Thanks
Reply With Quote
  #15  
Old 26 Sep 2013, 01:08
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Only problem with that is anywhere the word Minutes shows up, even in posts, it will be changed to Mins.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:22.

Layout Options | Width: Wide Color: