![]() |
Last Seen Online in postbit
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. |
w00t! first install.. Actually 2nd ;).. Brad install first himself :p..
|
Okay cool, you got a demo or a Screen Shot that I can take a look at to see how it looks in action. Thanks
|
See first post for screenshot.
|
http://www.golpo.net/forum/f22/movie...tion-1007-new/ ;)..
Note: Brad.. Cud u make it for user profile page too? |
Very nice.
|
;)
Great, just what i was looking for. |
Quote:
|
good work ;) installed for sure ;)
|
Install.
|
thank you so much.....Dragonhart
|
Does this work off the user's own local time or the default server/vbulletin time?
|
Quote:
|
I figured out where the postbit template thing was - you might want to add more detail to your instructions for those of us that are new to vBulletin and don't know where to find stuff.
I'm still not seeing this in the postbit, though. I am using the Kirsch template right now which has the postbit on the left rather than at the top, so is there a different thing I need to do to the templates? The other possibility that I can think of - I have myself set to where I don't have to log in each time I come back to the page, is that the problem? So far I'm only running it on a test forum, so it's not on one that's in wide use. |
U shud've edit postbit_legacy template :).. I'm running it without having any problems.. U can't see this untill u edit ur templates..
|
I did & it still wasn't working. I may have missed something, so I'm going to clear it all out and try again :)
|
Installed thank you :D
|
The page here doesn't have TEMPLATE EDITS checked, so I assumed you didn't have to do any. Yet when I D/L'd the install file and read your 'install.txt' that's the first thing it mentions.
Does the installer happen to handle the template edits for you or something? Thanxx Signed, I know oh so little of all this |
installed on 3.6 gold. thanks
-bongwater |
Installed, works great.
|
Installed.
Thanks dude. ;) |
Hrmm. I found a bug where when people go into invisible mode, it completely jarbles up only their posts for others. Has anybody else ran into this yet?
Here's a screen shot of what happens whenever someone is invisible mode.. http://img.photobucket.com/albums/v7...t/7d58b9eb.jpg |
nice & smooth.
|
installed and working. thanks.:)
|
lnstalled Excelent job.. Nice Site Ice
|
The 3.5.x version you to show the persons last online in their profile. Can this be readded to this version?
|
Nice hack Installed 3.6.0 No Issues easy install
Thx MarkAnthony |
question though can you change the time meaning i use normal for my time but in posbit-legacy its too long but if i change it it will change in both so i wonder can i change the time look instead of using the long ones on the forum?
|
Quote:
Quote:
HTML Code:
<if condition="$show['last_seen_online']"><div>$vbphrase[last_seen_online]: <br />$post[lastseen_date] $post[lastseen_time]</div></if> |
installed thanks
|
installed =)
|
Hello Brad,
Thanks for this hack, but prior to install it, I'd like to know if it is possible to let only Admin seeing this information in postbit ? |
Quote:
|
can we make this work only for administrators and not for all users??
bump..sorry i didnt see this last post |
I don't have this installed but I am guessing you can wrap the template code in this:
Code:
<if condition="is_member_of($bbuserinfo, x)"> The default admin usergroup is 6. For admin only, you would change the "x" to a 6. |
Excellent job.
*clicks installed* |
very nice, simple
|
I searched for the text per the instructions in the zip, but neither my postbit or postbit_legacy templates has the coding:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> I am running 3.6.2, would this be a problem? |
Thanks! :)
I needed a shorter version for my postbit_legacy though, so this is what I ended up using: Code:
<if condition="$show['last_seen_online']"><div>Last Online: <if condition="$post[lastseen_date] == Today">$post[lastseen_time]<else />$post[lastseen_date]</if></div></if> |
Thanks, great mod. :)
|
All times are GMT. The time now is 06:15 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|