vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Last Seen Online in postbit (https://vborg.vbsupport.ru/showthread.php?t=123366)

Brad 08-07-2006 10:00 PM

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.

Mudvayne 08-08-2006 07:59 AM

w00t! first install.. Actually 2nd ;).. Brad install first himself :p..

Hornstar 08-08-2006 08:50 AM

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

Brad 08-08-2006 08:56 AM

See first post for screenshot.

Mudvayne 08-08-2006 09:34 AM

http://www.golpo.net/forum/f22/movie...tion-1007-new/ ;)..

Note: Brad.. Cud u make it for user profile page too?

BiReL41r 08-08-2006 10:09 AM

Very nice.

Stromba 08-08-2006 10:12 AM

;)

Great, just what i was looking for.

Brad 08-08-2006 10:14 AM

Quote:

Originally Posted by Shuvo
http://www.golpo.net/forum/f22/movie...tion-1007-new/ ;)..

Note: Brad.. Cud u make it for user profile page too?

Profiles already show the last online time. ;)

Terminatoronly 08-08-2006 04:58 PM

good work ;) installed for sure ;)

Disparage 08-08-2006 06:57 PM

Install.

dragonhart 08-08-2006 07:04 PM

thank you so much.....Dragonhart

Qwest 08-09-2006 03:58 PM

Does this work off the user's own local time or the default server/vbulletin time?

Brad 08-09-2006 10:12 PM

Quote:

Originally Posted by Qwest
Does this work off the user's own local time or the default server/vbulletin time?

The time and date is generated like all dates within vBulletin. In other words the time zone offset for each user is taken into effect.

Moonkat 08-12-2006 01:29 AM

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.

Mudvayne 08-12-2006 06:07 AM

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

Moonkat 08-12-2006 06:55 AM

I did & it still wasn't working. I may have missed something, so I'm going to clear it all out and try again :)

WeArab 08-16-2006 05:49 AM

Installed thank you :D

adwade 08-17-2006 04:04 AM

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

bongwater 08-21-2006 05:23 PM

installed on 3.6 gold. thanks

-bongwater

jiffy 08-22-2006 05:17 PM

Installed, works great.

Danny Diamond 08-31-2006 10:18 PM

Installed.

Thanks dude.
;)

Mischievious 09-07-2006 04:09 AM

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

phpdevrus 09-07-2006 10:55 PM

nice & smooth.

NinaUK 09-12-2006 03:33 PM

installed and working. thanks.:)

iran.gs 09-27-2006 09:49 PM

lnstalled Excelent job.. Nice Site Ice

ssslippy 09-29-2006 01:27 AM

The 3.5.x version you to show the persons last online in their profile. Can this be readded to this version?

oberheimhaven 09-29-2006 09:38 PM

Nice hack Installed 3.6.0 No Issues easy install

Thx
MarkAnthony

category 10-01-2006 04:35 AM

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?

Mudvayne 10-01-2006 06:20 AM

Quote:

Originally Posted by ssslippy
The 3.5.x version you to show the persons last online in their profile. Can this be readded to this version?

The function you are asking is a default vBulletin function.
Quote:

Originally Posted by category
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?

You can try
HTML Code:

<if condition="$show['last_seen_online']"><div>$vbphrase[last_seen_online]: <br />$post[lastseen_date] $post[lastseen_time]</div></if>
That 'll just split into two line.

TJs 10-01-2006 11:09 AM

installed thanks

ServerX14 10-02-2006 07:59 PM

installed =)

Limerick 10-02-2006 08:15 PM

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 ?

Limerick 10-07-2006 10:43 AM

Quote:

Originally Posted by Limerick
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 ?

Nobody has the answer ?

giza 10-08-2006 04:52 PM

can we make this work only for administrators and not for all users??

bump..sorry i didnt see this last post

Rich 10-11-2006 06:13 PM

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)">
Template Edit Here
<else />
&nbsp;
</if>

"x" is the usergroup you want to see this. You can add multiple usergroups by writing x,y,z

The default admin usergroup is 6. For admin only, you would change the "x" to a 6.

jw00dy 10-17-2006 07:10 AM

Excellent job.

*clicks installed*

cuphongle 10-18-2006 03:28 PM

very nice, simple

dagummit 10-29-2006 07:06 PM

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?

Viper007Bond 11-09-2006 08:03 AM

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>
If they were online today, it shows only the time, otherwise it shows only the date. It's not perfect though as they coulda just been online but right before midnight your time (making it "Yesterday").

Been Told 11-24-2006 06:20 PM

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
  • Page Generation 0.01226 seconds
  • Memory Usage 1,792KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete