PDA

View Full Version : Problems with 'who is online'


MrNase
10-17-2004, 02:26 PM
Hello,

Iam using a cms.php which acts like a content managment system.
On top of that file I have:


define('THIS_SCRIPT', 'cms');


But Iam using mod_rewrite to make nice urls like:
http://www.pagodentreff.de/artikel/blaa.html

The normal url would be (without mod_rewrite):
http://www.pagodentreff.de/diskussionsforum/cms.php?view=blaa

Now everytime a user is on one of the cms' sites ?Who's online? tells me ?unknown location?.

Here's what I tried in functions_online.php

case 'cms.php':
$userinfo['activity'] = 'cms';
break;

and

case '/artikel':
$userinfo['activity'] = 'cms';
break;


But none of that worked :(

Please help me :)

The following now works if a user is on the cms' frontpage (http://www.pagodentreff.de/artikel) but it doesn't work if he's on http://www.pagodentreff.de/artikel/blaa.html :(

case 'artikel':
$userinfo['activity'] = 'cms';
break;

MrNase
10-18-2004, 03:55 PM
Hello,

I guess it's the wrong forum. Can anyone please move it to https://vborg.vbsupport.ru/forumdisplay.php?f=10? Thanks :)

Xenon
10-18-2004, 05:08 PM
Dein wille geschehe ^^

Andreas
10-18-2004, 08:49 PM
Dein wille geschehe ^^
... wie im Himmel so auch auf Erden.

What does table session show in field location when a user just visited http://www.pagodentreff.de/artikel/blaa.html?

VodkaFish
10-19-2004, 02:17 PM
I'd also like to be able to modify the functions_online.php to include the pages on the front of my site so they appear properly in "Who's Online" - can someone give a few pointers?

MrNase
10-24-2004, 08:05 AM
Unser tägliches Brot gib uns heute.. ^^

It shows:

Aufenthaltsort unbekannt
/artikel/kaufberatung280sl.html