Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Last Seen Online in postbit Details »
Last Seen Online in postbit
Mod Version: 2.0, by Brad (Coder) Brad is offline
Developer Last Online: Nov 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.0 Rating: (19 votes - 4.42 average) Installs: 304
Released: 08 Aug 2006 Last Update: 08 Aug 2006 Downloads: 978
Not Supported Re-usable Code Translations  

This modification will show the last time (and date) the user was online in the postbit template.

Version 2.0 is an improved version of the plug-in I released for vB 3.5.4. One nasty call to can_moderate was removed to save some processing time, all the code was also moved to one plug-in.

If the user is invisible the last online time will not be displayed if you do not have the proper usergroup permissions. The last online time will also not be shown for guest posts.

As far as I know all bugs are fixed in this version. It was tested on vB 3.6 RC3 and vB 3.6.0 (gold). It has not been tested on vBulletin 3.5.

Download Now

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

Screenshots

Click image for larger version

Name:	lastonline.JPG
Views:	2820
Size:	23.2 KB
ID:	51801  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Last Seen Online in postbit Brad vBulletin 3.5 Add-ons 87 19 Dec 2006 03:27
Show Invisible Users As Online In Postbit To Admins, If They Are Online. N9ne vBulletin 2.x Full Releases 5 12 Apr 2003 22:28

  #76  
Old 01 Apr 2010, 06:11
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
How to make it work for vB4?
Reply With Quote
  #77  
Old 05 Apr 2010, 17:15
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Added info about last post, so you can use that too where you want it

I just played a bit more with this add-on. There's info for last post user made. And it's also in this cryptic format, so you need to edit add-on and find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You should now have this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To add it in postbit (or postbit legacy), just use lastpost_time and lastpost_date the way you like it and where you like it.
Reply With Quote
  #78  
Old 08 Jun 2010, 07:45
mgurain's Avatar
mgurain mgurain is offline
 
Join Date: Apr 2005
Real name: Mohammed Al-Gurain
Hi,
this is a great mod, I wonder why it's not a default or an option in vbulletin ?
Do you have it updated for 3.8.5 ? I searched but find nothing other than this version.

Thanks,,
Reply With Quote
  #79  
Old 10 Jun 2010, 01:08
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Originally Posted by mgurain View Post
Hi,
this is a great mod, I wonder why it's not a default or an option in vbulletin ?
Do you have it updated for 3.8.5 ? I searched but find nothing other than this version.

Thanks,,
I just installed it on vB 3.8.5 and it worked.
Reply With Quote
  #80  
Old 26 Sep 2010, 16:53
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Originally Posted by New Joe View Post
How to make it work for vB4?
I just tested it on my upgrade testing site and it works with vB4 too. You only need to change code you put in postbit (legacy or new one, which I don't use).

My code looks like this (and just to let you know, I use last time user posted in postbit):


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To explain:

This part
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

checks if the user is part of this usergroups (I allow it just for moderators and up to see this info). You can check for different conditions.

This is where actual message is written in postbit:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

. This part:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

, you put your own text respectively, what you want users to see as description for info. Don't forget to close if statement, do it with:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I don't used any phrasing, it's a bit different if you want to use phrases. You'll need to create phrase and use it.

This add-on can be put to vB4 section with no problem.
Reply With Quote
  #81  
Old 05 Jan 2011, 00:23
adwade adwade is offline
 
Join Date: Aug 2006
Real name: A.D.
Originally Posted by New Joe View Post
I just installed it on vB 3.8.5 and it worked.
I just installed it on vB 3.8.6PL1 and it works perfectly.

However, I chose to add the code on my Postbit Legacy 'after' (not before) the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thus, it places the Last Online information, just 'below' the Join Date...instead of above it.

Sweet MOD though! I've always wondered why vB didn't have an option to chose Join Date -or- Last Online Date Doesn't matter now though, as I've got 'em BOTH Thanxx to Brad
Reply With Quote
  #82  
Old 30 Dec 2014, 16:23
Brad Brad is offline
 
Join Date: Nov 2001
All these years later and this thing is still working, even on another major version.

Sorry for not providing support I got busy with life and don't have a vBulletin license anymore.

Good to see my old work still getting some use!
Reply With Quote
  #83  
Old 30 Dec 2014, 17:42
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
It still works just fine. Probably not with vB5, but I don't care for that. Thanks.
Reply With Quote
  #84  
Old 31 Mar 2016, 10:54
Brad Brad is offline
 
Join Date: Nov 2001
Originally Posted by Alan_SP View Post
It still works just fine. Probably not with vB5, but I don't care for that. Thanks.
You're welcome! I made this stuff for people to use and tinker with and reading through all the posts I see lots of people doing that. I had to do a double take when I read boofo's contribution to the modification....I miss him.

A kind person helped me gain access to my old vBulletin license. Once I'm verified again I'm going to release another version of this modification. I don't know how soon it'll be but I'll get around to it eventually.

Oh and remember all my releases are open source/free to use. So if you want to take some of my old work and port it to another version or release another version of the modification feel free.
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 00:57.

Layout Options | Width: Wide Color: