Members Offline/Online status in profile.php Members Offline/Online status in profile.php
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Members Offline/Online status in profile.php

Started by Senator, April 05, 2006, 12:05:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Senator

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.

Stramm

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'

Senator

When i remove onlinestats, my Who's online box disapears, that's not what i want.

Stramm

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;

Senator

Now i can't see the online/offline functions anymore. in profile.php

Stramm


Senator

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.

Stramm

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

Senator