coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: Senator on April 05, 2006, 12:05:23 PM

Title: Members Offline/Online status in profile.php
Post by: Senator on April 05, 2006, 12:05:23 PM
I.ve upgrade too 1.4.4

Now i've a little problem

In profile.php the icon and text Online/Offline is not correct.

when i look at my own profile. iám offline.

Can someone help me with this problem.
Title: Re: Members Offline/Online status in profile.php
Post by: Stramm on April 05, 2006, 12:35:05 PM
you're using a modpack 1.3 feature within 1.4. But here it's just prepared and not yet implemented

Online/ offline status you were able to see in the buddy list and the profile when Nibblers onlinestats were installed.
After upgrading the function is still enabled. Disable it in
'config -> Album list view -> The content of the main page' and remove 'onlinestats'
Title: Re: Members Offline/Online status in profile.php
Post by: Senator on April 05, 2006, 12:46:54 PM
When i remove onlinestats, my Who's online box disapears, that's not what i want.
Title: Re: Members Offline/Online status in profile.php
Post by: Stramm on April 05, 2006, 01:15:47 PM
oh.. true.. when I programed that function, the onlinestats didn't get integrated this way. That's new.

Then you need to modify profile.php
find
preg_match("/onlinestats/",$CONFIG['main_page_layout']) ? $onlinestats=1 : $onlinestats=0;
and replace with
$onlinestats=0;
Title: Re: Members Offline/Online status in profile.php
Post by: Senator on April 05, 2006, 01:31:19 PM
Now i can't see the online/offline functions anymore. in profile.php
Title: Re: Members Offline/Online status in profile.php
Post by: Stramm on April 05, 2006, 02:03:41 PM
yes, so should it be
Title: Re: Members Offline/Online status in profile.php
Post by: Senator on April 05, 2006, 02:10:01 PM
i think you don't understand me.  :'(

I want the offline/online fuctions, show in profile.php and in usermgr.php.

i don't want to remove it. only he give not the good offline/online status of e member.
Title: Re: Members Offline/Online status in profile.php
Post by: Stramm on April 05, 2006, 02:28:59 PM
sorry, I think you don't understand
Quote from: Stramm on April 05, 2006, 12:35:05 PM
it's just prepared and not yet implemented

means 'onlinestats' just triggers to call a function in profile.php but the function is not written yet. It doesn't exist, it can't work
Title: Re: Members Offline/Online status in profile.php
Post by: Senator on April 05, 2006, 02:34:49 PM
Ok thx