View Full Version : [fixed] Adding Private Calendar Event Doesn't show up in online.php
DarkReaper
Sat 13th Oct '01, 4:38pm
Just noticed this when doing a hack. In online.php:
case 'addprivateevent';
$userinfo[where] = "Adding Private Event to the <a href='calendar.php?s=$session[sessionhash]'>Calendar</a>";
break;
Should be:
case 'addprivateevent':
$userinfo[where] = "Adding Private Event to the <a href='calendar.php?s=$session[sessionhash]'>Calendar</a>";
break;
Chen
Sat 13th Oct '01, 5:34pm
Sorry, didn't notice the ; and : thing.
DarkReaper
Sat 13th Oct '01, 5:39pm
Er...what happened. There's a moved version of this that links to itself...
:confused:
Alien
Sun 14th Oct '01, 11:32pm
This also has the same bug:
case 'pollvote';
$userinfo[where] = 'Voting on a Poll';
break;
Should be:
case 'pollvote':
$userinfo[where] = 'Voting on a Poll';
break;
DarkReaper
Mon 15th Oct '01, 12:45am
Might want to fix those shift keys guys ;)
Chen
Mon 15th Oct '01, 9:38am
Thanks, fixed. :)
Onkel_Tom
Sun 21st Oct '01, 12:23am
search for: (line 399)
case 'member.php';
and replace that with:
case 'member.php':
search for: (line 418)
case 'editpost.php';
and replace that with:
case 'editpost.php':
what about the case instructions at line 359 and 360 ?
are they okay with:
case '/';
and:
case '';
or should they also read:
case '/':
and:
case '':
I'm a newbie, just buyed my vB yesterday :)
DarkReaper
Sun 21st Oct '01, 12:26am
Come on guys! Fix fix fix those shift keys! ;) ;)
For the last 2, case '/' and case '', they're fine the way they are. Those are just to escape slashes and spaces, and not do anything with them.
Onkel_Tom
Sun 21st Oct '01, 12:53am
thanks for your quick reply and the explanation ;)
I searched in ALL files from Version 2.0.3 for "case".
All other files are right !
The wrong shift keys are only in Online.php !
have fun ...
Tom
Freddie Bingham
Sun 21st Oct '01, 1:17am
All fixed..
2.0.3 served as a beta test for online.php as it was only finished right before 2.0.3 was released. I think it has worked out very well so far.
Powered by vBulletin™ Version 4.0.0 Beta 4 Copyright © 2009 vBulletin Solutions, Inc. All rights