vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Last Seen Online in postbit (https://vborg.vbsupport.ru/showthread.php?t=82623)

bashy 12-02-2005 07:31 PM

Excellent, cheers m8, have clicked install

tamborinegal 12-03-2005 08:17 AM

Nice, thank you Brad :) Clicked install.

icemann 12-04-2005 11:15 PM

Simple yet effective, thank you Brad. :)

*clicks install*

ShadowOne 12-06-2005 03:56 PM

works great on 3.5.1...

Mudvayne 12-15-2005 04:53 PM

clicked install workin fine :D

TheMusicMan 12-15-2005 08:38 PM

Brad: so this is only so Smods and Admins can see the info?

Danny Diamond 12-24-2005 12:28 PM

Quote:

Originally Posted by slvr ralliart
I installed your hack and followed the instructions EXACTLY but it's not showing up in my postbit... wanna help?


same problem. nothing is showing up. :ermm:

Danny Diamond 12-26-2005 02:25 PM

*Bump* any help?

Is there any other code besides the ones in the original txt file that needs to be added?

Brad 12-29-2005 10:45 PM

Quote:

Originally Posted by TheMusicMan
Brad: so this is only so Smods and Admins can see the info?

Depends on if the user shows their online status to public members or not. If not it will only be shown to staff members.

Simon: are you using the legacy postbit template?

YOimYO 12-30-2005 10:24 AM

thx. easy and good :)

[email protected] vbmenu_register("postmenu_864152", true); 01-04-2006 11:17 AM

wheres the postbit file located ?

rlamego 01-07-2006 04:28 PM

Thanks =)

dead7 01-11-2006 01:27 PM

Quote:

Originally Posted by KYNSimon
same problem. nothing is showing up. :ermm:

Update postbit_legacy if you were just trying postbit.

4number8 01-13-2006 10:16 PM

thanks, installed very easy

Mike, it will not hurt anything editing both files, it is good to do that incase you switch later on and use the postbit (horizontal)

Brad 01-19-2006 09:37 AM

1.6 has been released, see first post for the goodies. :)

YOimYO 01-19-2006 10:17 AM

nice thx

S@NL - BlackBik 01-19-2006 12:09 PM

Thanks Brad.
Upgraded.

Gizmo5h1t3 01-19-2006 04:06 PM

installed on 3.5.1, works fine!!

Guest210212002 01-30-2006 01:49 PM

[high]* Guest210212002 clicks install
[/high]

Didn't see it mentioned, but to remove the timestamp, just comment out the following like so:

Code:

//        $this->post['lastseen_time'] = vbdate($this->registry->options['timeformat'], $this->post['lastactivity'], true);

S@NL - BlackBik 01-30-2006 01:58 PM

I just removed "$post[lastseen_time]" from the template :)
But this is better. Another less line of code to be executed.

BabyNameAddict 03-09-2006 01:25 AM

Absolutely beautiful! :nervous:

Hornstar 03-09-2006 01:31 AM

so this is still working fine for 3.5.4 Cant believe i have not seen this before now, this is what i wanted a little while back lol

Brandon Sheley 04-05-2006 02:10 AM

yes this still works for the current version of vb ;)

Invalid ID 05-01-2006 06:56 PM

Really wonderful

jndeakin 05-08-2006 01:17 PM

Tried this on 3.5.4 and don't see anything. Could I check a few points?

On the details note at the top of this page, it says there are two .xml files. There's only one in the zip file, is that right for the latest version (1.6)?

Does an option need setting in admincp to enable the hack? I can't see anything, but it's easy to miss stuff in there!

In one of the notes earlier in this thread, a user describes adding your patch of code after the marker you search for. In the install notes you say to put it before. Which is right? I put it before.

Am I misunderstanding something fundamental? I'm expecting a line such as "last seen online xxth mmm yy" within the postbit. Is there a screenshot somewhere?

Jim Deakin

Konstantinos 05-16-2006 12:34 PM

how do we add it in the memberinfo as well below the join date?

JohnBee 05-21-2006 03:20 AM

Quote:

Originally Posted by jndeakin
Tried this on 3.5.4 and don't see anything. Could I check a few points?

On the details note at the top of this page, it says there are two .xml files. There's only one in the zip file, is that right for the latest version (1.6)?

Does an option need setting in admincp to enable the hack? I can't see anything, but it's easy to miss stuff in there!

In one of the notes earlier in this thread, a user describes adding your patch of code after the marker you search for. In the install notes you say to put it before. Which is right? I put it before.

Am I misunderstanding something fundamental? I'm expecting a line such as "last seen online xxth mmm yy" within the postbit. Is there a screenshot somewhere?

Jim Deakin

I agree completely, I'm not dissing the hack but the instructions are a bit thin. I installed it "template mods" , uploaded the xml now what? where does the condition <if condition="$show['last_seen_online'] come in play?

JohnBee 05-21-2006 03:21 AM

And it it possible to make a shorter version of the online output? its a bit long for my postbit legacy area

arossphoto 05-21-2006 10:11 PM

Quote:

Originally Posted by JohnBee
And it it possible to make a shorter version of the online output? its a bit long for my postbit legacy area

I shortened it by removing the time. Just remove this code from the postbit_legacy template:

Code:

$post[lastseen_time]

arossphoto 05-21-2006 10:12 PM

Any suggestions for adding this to the member profile as well? I think that would be cool too.

I love this by the way, it's a great way to see how active your members are.

Cheers,

Andrew

MustangLisa 05-22-2006 01:45 AM

This is great, thanks. Installing now.

drgonzo120 06-02-2006 01:10 PM

nice hack, i will install it

davelacey 06-02-2006 03:23 PM

Agreed. Nice hack indeed.
*clicks install*
Thankyou. :)

Konstantinos 06-08-2006 02:16 PM

bump. we need to add this info to memberprofile as well

how ?

tamborinegal 06-11-2006 07:41 AM

Hi Brad,

I just upgraded but I'm still seeing my Last online info when I set myself as invisible... that is when I'm logged in on one computer as admin invisible and logged into another computer as a normal user.

Any ideas why it wouldn't be working? I did upgrade following your instructions.

Thanks

Clancy

Rickie3 06-11-2006 08:14 AM

just installed this very handy thanx

Gsmmind 06-11-2006 03:45 PM

ya great installed and working fine.........

Eq4bits 06-11-2006 04:07 PM

Quote:

Originally Posted by Konstantinos
bump. we need to add this info to memberprofile as well

how ?

In Member Info Templates: Edit MEMBERINFO as follows:

FIND:
Code:

<div style="padding:$stylevar[formspacer]px">
                    $vbphrase[join_date]: <strong>$userinfo[datejoined]</strong>

ADD BELOW:
Code:

                    $vbphrase[last_seen_online]:
<strong>$post[lastseen_date] $post[lastseen_time]</strong>

The section after the addition should look like:
Code:

<div style="padding:$stylevar[formspacer]px">
                    $vbphrase[join_date]: <strong>$userinfo[datejoined]</strong>
                    $vbphrase[last_seen_online]:
<strong>$post[lastseen_date] $post[lastseen_time]</strong>
                </div>

EDIT: Ooops, need to get a kink or two out.. it shows up when previewing the template from template editor but on the profile it's not.. just the ':' is... will keep working on it...

EDIT: UGH, needs another hook in the xml, that stuff confoozles me, any chance of someone bein able to figure that part out?

Eq4bits 06-11-2006 10:25 PM

I figured how to get the last visit to show up on the profile (MEMBERINFO) but it doesn't utilize this particular product.. the only problem is it doesn't convert the date/time from the server time (I guess that's what you call it) it shows up as
Quote:

Join Date: 01-01-1999
Last Visit: 1150051053
I used the following in the MEMBERINFO template:
Code:

<tr valign="top">

        <td class="panelsurround" align="center">
        <div class="panel">
                <div align="$stylevar[left]">
               
                        <div class="fieldset">
                                <div style="padding:$stylevar[formspacer]px">
                                        $vbphrase[join_date]: <strong>$userinfo[datejoined]</strong>
                                </div>                       
                        <div class="fieldset">
                                <div style="padding:$stylevar[formspacer]px">
                                        $vbphrase[last_visit]:
<strong>$userinfo[lastvisit]</strong>
                                </div>
                        </div>

Anyone have a clue?

Note to MOD.. if this needs to be moved to a different thread, please do so... I posted it here since it kind of developed out of this thread... ;)

Brad 06-13-2006 03:44 AM

Quote:

Originally Posted by tamborinegal
Hi Brad,

I just upgraded but I'm still seeing my Last online info when I set myself as invisible... that is when I'm logged in on one computer as admin invisible and logged into another computer as a normal user.

Any ideas why it wouldn't be working? I did upgrade following your instructions.

Thanks

Clancy

I will look into this. :)

As for memberinfo template: It's already shown there by default under the profile picture.

Sorry for the delay in support, I'm busy these days...


All times are GMT. The time now is 04:17 AM.

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.01259 seconds
  • Memory Usage 1,817KB
  • 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
  • (6)bbcode_code_printable
  • (8)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