PDA

View Full Version : multiple user ?


daniel son
01-08-2004, 07:28 AM
hi people
i´m real newbee on this page but

first of all: real nice calender ... and works fine!!!! :D

sorry my english is not so good ... but i will do my best!!!!

my questions :
there are more then 5 people who wants to admin the calender on our site....
is it posible to tell mysql or the adminpage to enter the name of the admin who has entered an event? so that users can see which admin has entered an event?
(i thought that we can put a new row in the database or?)

PAPA told in an other topic that some people has modefied the calender ... to put hyperlinks in the overLIB please let me get in contact with them ... i need this feature!

and is it posible to tell overLIB not to open an POPUP, instead open a page in an other frame???

thanks daniel son

ups and PAPA needs tester from gmt over 0???
my gmt = +1
i will help if i can!!
:D
:ph34r:

daniel son
01-08-2004, 11:49 AM
ok
i´ve read the code of the calender several times :blink:

and i think that i´ve found something .... for the popup "problem"

is it posible that i´ve to make some changes in the escal.php
so i want the calnder not to open a popup window ...
i tryed to open the generated file only in an other frame...

but where & what i have to change????
my idea:

if ($standardPop==1) {
echo "<script language=\"JavaScript\" type=\"text/JavaScript\">\n";
echo "<!--\n";
echo "function popupEvent(ev, w, h) {\n";
echo " var winl = (screen.width - w) / 2;\n";
echo " var wint = (screen.height - h) / 2;\n";

i think this must be moded:

echo " win = window.open(\"escalEV.php?ev=\" + ev + \"&readFile=$readFile&readSQL=$readSQL\",\"ESCalendar\",\"scrollbars=yes,status=no,location=no,toolbar=no,me nubar=no,directories=no,resizable=yes,width=\" + w + \",height=\" + h + \",top=\" + wint + \",left=\" + winl + \"\");\n";

in something like that :blink:

echo " win = <a href ="(\"escalEV.php?ev=\" + ev + \"&readFile=$readFile&readSQL=$readSQL\",\"ESCalendar\",\"scrollbars=yes,status=no,location=no,toolbar=no,me nubar=no,directories=no,resizable=yes,width=\" + w + \",height=\" + h + \",top=\" + wint + \",left=\" + winl + \"\");\n";)" targe="haupt">

but i think it will not work!!! cause i´m not so good in scripting .... i´ve often written little scripts but ...never something like this

echo " if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }\n";
echo " }\n";
echo "//-->\n";
echo "</script>\n";
}


but a some lines later i´ve found this : :huh:

if ($standardPop == 1) {echo " title=\"$et[$daycount]\" onClick=\"popupEvent($daycount,$popupWidth,$popupHeight)\" style=\"cursor:hand;\"";}
}

please help me :huh: 1000 thanx

daniel son
01-16-2004, 07:37 AM
ok i´ve found it with the frame problems

the old one:


echo " win = window.open(\"escalEV.php?ev=\" + ev + \"&readFile=$readFile&readSQL=$readSQL\",\"ESCalendar\",\"scrollbars=yes,status=no,location=no,toolbar=no,me nubar=no,directories=no,resizable=yes,width=\" + w + \",height=\" + h + \",top=\" + wint + \",left=\" + winl + \"\");\n";

the new one:
echo " win = window.open(\"escalEV.php?ev=\" + ev + \"&readFile=$readFile&readSQL=$readSQL\",\"TARGETFRAME <_< \",\"scrollbars=yes,status=no,location=no,toolbar=no,me nubar=no,directories=no,resizable=yes,width=\" + w + \",height=\" + h + \",top=\" + wint + \",left=\" + winl + \"\");\n";

<_<