vbox4php-develop Mailing List for vbox4php
Status: Pre-Alpha
Brought to you by:
philippmueller
You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(15) |
Sep
(9) |
Oct
(22) |
Nov
(5) |
Dec
|
|---|
|
From: Philipp <phi...@gm...> - 2001-11-11 22:45:06
|
Am Sonntag, 11. November 2001 18:10 schrieben Sie: > On 11 Nov 2001 at 17:26, Philipp Müller wrote: > > Or in words: > > I reenabled the possibilty for more than 1 host. To use it, you must > > update your local config. > > hum. I noticed that you changed the templates too, so there's a dropdown > instead of a textbox. I really liked the way of typing any ip into that > field to access my remote vbox-server with dynamic ip address using > vbox4php installed at school. I think that it would be nice to reenable > this, perhaps using javascript to add hosts to the dropdown dynamically. Didn't thoght about this possibility. Hmmm, how about a second line containing a "manual" setting (INPUT TYPE="TEXT" as it was before)... is ugly to have 2 lines, I know. I don't think that in this case we need to have a Java Script button to first at it to the list and then submit it. Just typing it in would be enough-the rest could be done in the evaluation of the result (this would spare at least one mouse click). This line should be optional. So how about variables before and after this line containing "<!--" and "-->" and displaying them depending on the configuration? Or with this "variable comments" we could make both possible in the templates. Would that help? Complex but flexible. In any case, I will revert it for the blue skin if you like. I would like to keep it at least for the default one. > > I changed the render function, to be able to have more than 1 block. The > > new one relies on serial blocks (so no nested blocks are allowed) and > > that each variable in a block has always the same amount of data as the > > "leading" variable. > > No problem. Nesting blocks is what I'll try to implement at next. > As you did, I think the easiest way of doing block replacements is that for > every cycle one array element is used. So if there are five values in the > first variable, there should be five in the second and third (and so on), > too. (that's the way it was implemented by me) Yes it is the easiest, but it may lead to some strange results, if the programmer is not aware of this (as each variable within a block MUST be of this array). Maybe there should be at least a check, if the variable is an array type. So the replacement will work on arrays only. To make it more tolerant, it may check for the count, so it should only replace the elements with the same count (but I don't think there is any sense for such a situation at all). In general, if someone is trying to change the skin, he should know what to do and to help him, the documentation should be there. > Okay, I just removed the whitespaces and linebreaks in > localconfig.inc.php.bak, because it's really annoying to do that every time > updating this file. Sorry for that. I always use my already existing local file, so I didn't notice the white spaces. > I added a short information on the top which may help to get rid of therse > annoying "headers already sent" messages. Thanks. Cheers Philipp |
|
From: Christophe T. <ch...@th...> - 2001-11-11 17:12:16
|
On 11 Nov 2001 at 17:26, Philipp M=FCller wrote: > Or in words: > I reenabled the possibilty for more than 1 host. To use it, you must upd= ate > your local config. hum. I noticed that you changed the templates too, so there's a dropdown i= nstead of a textbox. I really liked the way of typing any ip into that field to access my remot= e vbox-server with dynamic ip address using vbox4php installed at school. I think that it would be ni= ce to reenable this, perhaps using javascript to add hosts to the dropdown dynamically. > I changed the render function, to be able to have more than 1 block. The= new > one relies on serial blocks (so no nested blocks are allowed) and that e= ach > variable in a block has always the same amount of data as the "leading" > variable. No problem. Nesting blocks is what I'll try to implement at next. As you did, I think the easiest way of doing block replacements is that fo= r every cycle one array element is used. So if there are five values in the first variable, there = should be five in the second and third (and so on), too. (that's the way it was implemented by me) Okay, I just removed the whitespaces and linebreaks in localconfig.inc.php= .bak, because it's really annoying to do that every time updating this file. I added a short information on the top which may help to get rid of therse= annoying "headers already sent" messages. greetings, Chris -- christophe thil | ch...@th... | icq[10113170] |
|
From: Philipp <phi...@gm...> - 2001-11-11 16:26:24
|
First the changelog entry: - Moved the format definition to cvboxconf.inc.php - Reenabled the format information in the login screen in both skins - Changed render function to allow more than one block (serial only, not nested) - Changed HOST_LIST to an array. You MUST adjust your local configuration again Please see the localconfig.inc.bak for the designchange - Adjusted the login templates to use the HOST_LIST again - Added a default HOST to the HOST_LIST Or in words: I reenabled the possibilty for more than 1 host. To use it, you must update your local config. Chris: I changed the render function, to be able to have more than 1 block. The new one relies on serial blocks (so no nested blocks are allowed) and that each variable in a block has always the same amount of data as the "leading" variable. Is this okay with you? Philipp |
|
From: Christophe T. <ch...@th...> - 2001-11-03 09:26:19
|
On 3 Nov 2001 at 8:35, Philipp M=FCller wrote: > > Are there *any* reasons to take the approach of playing the file as > > background sound? Sorry, but I really think that this would be the wro= ng [...] > =C4hm, beside of my broken Netscape installation: No > I didn't realize that the installation is broken. I thought my behaviour= is > normal. > So simply skip my idea. lol... okay > > > > IE is broken, but that's an old issue. > > > > > > not any longer ;-) > > > > okay, I get another error message using ie (att) > > Using the latest cvs version and IE (5.5 shipped with Win2k) no output= is > > generated (or better, downloaded and played by the browser). > > Using NS and Mozilla -no problems ;) > I checked it again and you are right. Okay, I updated Win2k to SP2 and I= E 5.5 > to SP2. Changed one line and now it works again. It still asks you to > download or play (don't know why again). jep. ie mime/content-type-handling is very buggy, especially when using in= php, I've these problems in other scripts too. > Was it such late or was it a simple problem between my ears, to write su= ch an > email last time. hm, 22:28h... not soo late ;) greetings chris -- christophe thil | ch...@th... | icq[10113170] |
|
From: Philipp <phi...@gm...> - 2001-11-03 07:35:25
|
Am Dienstag, 30. Oktober 2001 23:29 schrieb Christophe Thil: > Are there *any* reasons to take the approach of playing the file as > background sound? Sorry, but I really think that this would be the wrong > way if there aren't any deeper reasons for... Direct controls, prev and fwd > buttons, timeline, level control is implemented in a very nice way using > the default netscape player or better quicktime... Ähm, beside of my broken Netscape installation: No I didn't realize that the installation is broken. I thought my behaviour is normal. So simply skip my idea. > > > IE is broken, but that's an old issue. > > > > not any longer ;-) > > okay, I get another error message using ie (att) > Using the latest cvs version and IE (5.5 shipped with Win2k) no output is > generated (or better, downloaded and played by the browser). > Using NS and Mozilla -no problems ;) I checked it again and you are right. Okay, I updated Win2k to SP2 and IE 5.5 to SP2. Changed one line and now it works again. It still asks you to download or play (don't know why again). So I would like to state IE 5.5 with SP 2 is somehow fine. Argl. Was it such late or was it a simple problem between my ears, to write such an email last time. Greetings, Philipp |
|
From: Christophe T. <ch...@th...> - 2001-10-30 23:12:10
|
On 30 Oct 2001 at 21:33, Philipp M=FCller wrote: > > > When we use a popup together with JS, then I would suggest to place = a > > > button "close" and have the whole sound as background sound. Backgro= und > > > sound works nicely here. [..] > You can adjust if the background sound is endless or not. I assume there= > should be options to control this via JS. Are there *any* reasons to take the approach of playing the file as backgr= ound sound? Sorry, but I really think that this would be the wrong way if there aren't any deeper= reasons for... Direct controls, prev and fwd buttons, timeline, level control is implemen= ted in a very nice way using the default netscape player or better quicktime... > > IE is broken, but that's an old issue. > not any longer ;-) okay, I get another error message using ie (att) Using the latest cvs version and IE (5.5 shipped with Win2k) no output is = generated (or better, downloaded and played by the browser). Using NS and Mozilla -no problems ;) greets, chris -- christophe thil | ch...@th... | icq[10113170] |
|
From: Philipp <phi...@gm...> - 2001-10-30 21:28:58
|
Hello,
I'd like to spend my next time in adding the debugging features.
This is needed, because the other big open issue is the check of the
userinput. If the userinput is wrong, then I need to display debug output.
Therefore I we should first define how to store and present debug output.
I was thinking about an array in vboxConf:
debugInfo [$i] [class] [group] [header] [description]
together with the vboxConf->debug, which defines the debug level.
This would be an array where we append all debug in the situation they occur.
In the sources we would then add lines like:
if ($vboxConf->debug > 2) {
$debug=array();
$debug[class]="1"; #1 = critical <-> #6 information
$debug[group]="vboxIO";
$debug[header]="Cannot find sox";
$debug[description]="I cannot find the program sox. \n
Either you don't have it installed
or the path in vboxconf.inc.php is
wrong\n
Please check your installation.";
}
Class can be used for an icon.
debug=0 is always shown, there we display the normal answers.
What do you think?
Philipp
|
|
From: Philipp <phi...@gm...> - 2001-10-30 20:33:48
|
Am Dienstag, 30. Oktober 2001 07:14 schrieb Christophe Thil:
> On 30 Oct 2001 at 0:08, Philipp Müller wrote:
> > When we use a popup together with JS, then I would suggest to place a
> > button "close" and have the whole sound as background sound. Background
> > sound works nicely here.
>
> I'm not shure if this would be the right way. Think of you'd like to hear
> the message twice
You can adjust if the background sound is endless or not. I assume there
should be options to control this via JS.
> or save the file?
How about providing a link in the popup which then gives you the possibility
to download?
I'm currently even thinking about "caching" the generated wav files, so a
reload should be much faster.
> > I had problems getting sound. Therefore I worked again but couldn't get
> > it to run with either Netscape nor IE 5.x. Even I don't get AU to work.
>
> I use Netscape with QuickTime-Plugin and Mozilla, both work really smooth.
> IE is broken, but that's an old issue.
not any longer ;-)
> It always asks to save the file.
not any longer too ;-)
I found it on the php homepage in the comments to "header()":
1. IE doesn't like the default caching headers of PHP -> always gave an error
Simply overwrite them
2. IE loves to see a \n\r at the end of the header texts.
Both in CVS now.
> Btw, using these two brosers, AU and WAV work pretty smooth, no probems. I
> never used mp3.
Nice to hear, I got both to work with IE 5.5 too <strike>
Philipp
|
|
From: Christophe T. <ch...@th...> - 2001-10-30 06:15:14
|
On 30 Oct 2001 at 0:08, Philipp M=FCller wrote: > I've seen your are using JS for the "popup". jep. some days ago I added this because post-requests are not cached and s= o I had always to reload the main menue after playing a message > When we use a popup together with JS, then I would suggest to place a bu= tton > "close" and have the whole sound as background sound. Background sound w= orks > nicely here. I'm not shure if this would be the right way. Think of you'd like to hear = the message twice, or save the file? I use the export/save-feature provided by the quicktime plu= gin often, even to convert the files on-the-fly before saving them. I would really miss this = if the sound is played on the background. > I had problems getting sound. Therefore I worked again but couldn't get = it to > run with either Netscape nor IE 5.x. Even I don't get AU to work. I use Netscape with QuickTime-Plugin and Mozilla, both work really smooth.= IE is broken, but that's an old issue. It always asks to save the file. Btw, using these two brosers, AU and WAV work pretty smooth, no probems. I= never used mp3. chris -- christophe thil | ch...@th... | icq[10113170] |
|
From: Philipp <phi...@gm...> - 2001-10-29 19:45:20
|
I have added the direct link in the messagelist to add the displayed callerid the local configuration for caller ids. It checks if it is local (otherwise no local configuration is possible), if it is a real number (then it would be 0) and if it is not already stored (if the name contains "***"). Okay, the check for already stored is a bit hackish, as it only test for a string "***" in the displayed name. The displayed name is generated by vboxd (?) and therefore I cannot rely on it . A real check would enforce to everytime scan the local configuration, which I would like to avoid. Chris: Can you have a look on it, especially for the design. I added some code and you should look if it fits your eye candy in the "Blue" skin ;-) Greetings Philipp |
|
From: Philipp <phi...@gm...> - 2001-10-23 21:06:00
|
Am Dienstag, 23. Oktober 2001 20:08 schrieb Christophe Thil: > hi, > > today I added the messagelist template for the "blue" skin. Did I say that I like the blue skin? Thanks Chris. Philipp |
|
From: Christophe T. <ch...@th...> - 2001-10-23 18:09:52
|
hi, today I added the messagelist template for the "blue" skin. additionally, I cleaned up some variables in the templates, but this needs more work to be done. I'll do it this weekend... I noticed another bug: after deleting a message, "Could not delete message" is written out but the message item is successfully deleted... finally, I got the public-key-auth for cvs working; it was releated to the ssh proto version I used; after rtfm'ing I realized that the public key file needed a "2" at the end 'cause I use the 2nd ssh protocol release... *urgh* :) greets, chris -- christophe thil | ch...@th... | icq[10113170] |
|
From: Philipp <phi...@gm...> - 2001-10-22 21:32:15
|
I have changed (with only 10 lines of code!) the whole session management. I now use the PHP4 functionality for session management and no (own) local file is needed any more. The old code is still there, I simply commented it out. Okay, the code is not realy nice (should be moved to vboxIO sooner or later), but it works as I expect. Please test and tell me your experience with it. Philipp |
|
From: Christophe T. <ch...@th...> - 2001-10-22 20:09:29
|
On 22 Oct 2001 at 20:27, Philipp M=FCller wrote: > I have fixed 2 bugs: > - One message display problem: ugly but effectiv hack ;-) great ;) > - No template: When no template is available, it now uses the default on= e > instead of goint into an infinit loop. ok, that's what I implemented today but in an other way: a template set is= only accepted if all template files are in there. but I think the way you did is rather effective than mine ,) greetings, chris -- christophe thil | ch...@th... | icq[10113170] |
|
From: Philipp <phi...@gm...> - 2001-10-22 18:39:58
|
> Sideeffect: skinlist is not sorted any more. Maybe adding it later again. Done, sort functional again ;-) |
|
From: Philipp <phi...@gm...> - 2001-10-22 18:27:05
|
I have fixed 2 bugs: - One message display problem: ugly but effectiv hack ;-) - No template: When no template is available, it now uses the default one instead of goint into an infinit loop. Sideeffect: skinlist is not sorted any more. Maybe adding it later again. |
|
From: Christophe T. <ch...@th...> - 2001-10-21 18:01:24
|
On 21 Oct 2001 at 19:38, Philipp M=FCller wrote: > Am Sonntag, 21. Oktober 2001 18:55 schrieben Sie: > > es ist zum M=E4use melken! Alles l=E4uft hier wenn mindestens zwei Nac= hrichten > > in der Inbox liegen. Bei nur einer gibt $VboxD->messageList[..] einfac= h > > nichts zur=FCck... > -> TODO hm, laut meinem tracking liegt das daran da=DF bei nur einer nachricht if ($new_sort[$p] =3D=3D $merge_array[T][$n]) in cvboxio nicht wahr ist. ich hab diese bedingung einfach auskommentiert und jetzt geht es ,) allerdings hab ich noch nciht in erfahrung gebracht welche konsequenzen da= s hatte... autsch, ich merk's gerade. danach werden alle eintr=E4ge mit den gleichen = daten ausgegeben... wohl doch nicht ds wahre > > Des weiteren habe ich festgestellt dass das Msg-L=F6schen jetzt nicht = mehr > > funktioniert. > Benutzt Du den Konqueror? noe, mozilla ;) aber das prob ist auch gel=F6st... dazu habe ich allerdings ein bisschen i= n der evaulatedata gewerkelt, da war meiner ansicht nach ein fehler drin. ($del anstatt postv= ars[del] oder sowas) jedenfalls gehts jetzt > > btw, habt ihr icq o.=E4. installiert? dies w=FCrde manchmal helfen. > Wei=DF nicht, ob das durch meine Firewall geht und ich habs bisher nicht= > versucht. hm, unter linux habe ich nur erfahrung mit licq (www.licq.org) funktioniert durch meine firewall bzw. nat mit iptables bestens. am besten l=E4dst du dir mal licq runter, dann kann ich dir bei probs helf= en; au=DFerdem ist es nach meiner ansicht der beste linux-client... chris -- christophe thil | ch...@th... | icq[10113170] |
|
From: Philipp <phi...@gm...> - 2001-10-21 17:50:56
|
Die Endlosschleife kommt von der fehlenden Datei messagelist.tmpl im Verzeichnis: .../skins/blue/ Kannst Du dieses auch noch hochladen? Danke, Philipp |
|
From: Philipp <phi...@gm...> - 2001-10-21 17:34:18
|
Am Sonntag, 21. Oktober 2001 18:25 schrieb Christophe Thil: > servus, > > so, ich habe meine updates hochgeladen. dabei habe ich aber auch gleich > wieder die localconfig versaut; wie entferne ich die localconfig aus dem > cvs-updaten? Das sollte mit .cvsignore gehen, allerdings habe ich es noch nicht benutzt -> man cvs Ich have aber jetzt etwas anderes gemacht: Ich habe die Datei gelöscht bzw. in localconfig.inc.php.bak unbenannt. Jetzt bin ich hingegangen und habe diese local kopiert und unbenannt, allerdings nicht in das Repository zurückgeschrieben. Damit verbleibt es local und ich lade es auch nicht hoch und wir haben eine Fehlerquelle weniger. > bei mir läuft alles soweit einwandfrei, es kann sein daß "$vboxLayout- > >skin=1" in vbox4php.php angepaßt werden muß, nur dem default-skin > liegt die vorlage bei. Funktioniert noch nicht. Ich bekomme eine endlosschleife. Bin am checken. |
|
From: Christophe T. <ch...@th...> - 2001-10-21 16:55:21
|
Hallo, es ist zum M=E4use melken! Alles l=E4uft hier wenn mindestens zwei Nachric= hten in der Inbox liegen. Bei nur einer gibt $VboxD->messageList[..] einfach nichts zur=FCck... Des weiteren habe ich festgestellt dass das Msg-L=F6schen jetzt nicht mehr= funktioniert. btw, habt ihr icq o.=E4. installiert? dies w=FCrde manchmal helfen. chris -- christophe thil | ch...@th... | icq[10113170] |
|
From: Christophe T. <ch...@th...> - 2001-10-21 16:26:22
|
servus, so, ich habe meine updates hochgeladen. dabei habe ich aber auch gleich wi= eder die localconfig versaut; wie entferne ich die localconfig aus dem cvs-updaten? bei mir l=E4uft alles soweit einwandfrei, es kann sein da=DF "$vboxLayout-= >skin=3D1" in vbox4php.php angepa=DFt werden mu=DF, nur dem default-skin liegt die vorlage bei. viele gr=FC=DFe, chris -- christophe thil | ch...@th... | icq[10113170] |
|
From: Christophe T. <ch...@th...> - 2001-10-21 15:50:13
|
servus, On 21 Oct 2001 at 16:51, Philipp M=FCller wrote: > ich denke ein kleiner Fehler meinerseits k=F6nnte die Ursache sein. Ich = habe > die localconfig.inc.php aus versehen mit meinen Anpassungen hochgeladen. nope. anmelden kann ich mich ja. und die Nachricht sehe ich auch. allerdin= gs mit einem sehr verd=E4chtigen Timestamp vom 1.1.1970; ich habe etwas im Source gesucht un= d herausgefunden dass mktime keine Daten bekommt. ebenso alle anderen variablen. leer ! > Sch=F6n zu h=F6ren, da=DF Du Dich nun um die Messagelist k=FCmmerst (wol= lte grad an > ihr rumfummeln ;-) ja, ich bin im Moment ziemlich besch=E4ftigt. steht kurz vor dem Abi (bei uns in rlp schon im Februar-M=E4rz), und die n= =E4chsten Wochen sind mit den letzten Kursarbeiten gepflastert (wen's interessiert, n=E4chste Wo= che meine Leistungskurse Chemie und Physik, dann Franz; der Rest ist Nebensache ;)) daher kommt programmieren bei mir im Moment relativ selten vor... > Was h=E4lst Du eigentlich von den Config-Optionen. Ist das nun so okay? jup, finde ich sehr ansehnlich. vor allem finde ich gut da=DF die Buttons = aus der Hauptseite mal draussen sind... ciao chris -- christophe thil | ch...@th... | icq[10113170] |
|
From: Philipp <phi...@gm...> - 2001-10-21 14:51:48
|
Am Sonntag, 21. Oktober 2001 12:49 schrieb Christophe Thil: > Hi, > > warum erscheinen beim aktuellen Entwicklungsstand keine Nachrichten mehr in > der Messagelist? > Ich bin gerade dabei diese auf das Vorlagensystem umzustellen und > verzweifle so an der nicht funktionierenden Liste! Hallo Chris, ich denke ein kleiner Fehler meinerseits könnte die Ursache sein. Ich habe die localconfig.inc.php aus versehen mit meinen Anpassungen hochgeladen. Damit könnte ich Deine Einstellungen überschrieben haben und er findet Deinen lokalen Server nicht. Bei mir funktioniert die Messagelist ganz normal, daher gehe ich mal von einem Config-Problem aus. Schön zu hören, daß Du Dich nun um die Messagelist kümmerst (wollte grad an ihr rumfummeln ;-) Was hälst Du eigentlich von den Config-Optionen. Ist das nun so okay? Ich hab bisher ja noch gar kein Feadback bekommen. PS: Das Problem mit den "überschriebenen Rechten" habe ich gelöst. Man muß in der vboxgetty.conf die Gruppe und die umask anpassen (siehe auch INSTALLATION). Gruß Philipp |
|
From: Christophe T. <ch...@th...> - 2001-10-21 10:50:28
|
Hi, warum erscheinen beim aktuellen Entwicklungsstand keine Nachrichten mehr in der Messagelist? Ich bin gerade dabei diese auf das Vorlagensystem umzustellen und verzweifle so an der nicht funktionierenden Liste! Unter der Version (vbox4php 0.27 unstable 20000406) geht alles... ciao chris -- christophe thil | ch...@th... | icq[10113170] |
|
From: Philipp <phi...@gm...> - 2001-10-08 20:06:56
|
Hi to everybody, FYI: I finally have it fully functional: You can now upload, copy, rename, delete any message in your box. Still a lot in the todo list, but one entry less :-) There is one thing that nerves me: Every day the ownership in the vbox user directories are set back to the default values. Does anybody know, what triggers this? Is it vboxd itself or is it a security setting on my Debian box? Anyway, happy coding, Philipp |