Thread: [Phpvideopro-developers] language support
Brought to you by:
izzy
From: Itzchak R. <iz...@qu...> - 2001-09-10 22:01:56
|
Hiya, c00l!!! Tnx to Tsveti we now have Bulgarian support built in. Looks really cool - in fact, it works! I could not imagine this (never used a different charset up to know), but even the remaining English stuff is displayed just fine (you may go to the developers demo to find out :) I'm really excited! One think at this point: guess it would be really helpful to have some hint to "default charset" in the configuration menue, or even a button "reset to defaults" (which will be English and iso-8859-1) if somebody did really mess things up. What do you think about this? </izzy> |
From: Tom A. <to...@ko...> - 2001-09-17 16:14:11
|
I think you chould keep it simple. Set a cookie for the visitors who change the language. Default look at their country of origin and set a cookie for that language. Toghether with the charset. There should be a button to switch to english instantly, cause not everybody in that country speaks / understand that language (in our country there are working a lot of english speaking persons). Tom > -----Oorspronkelijk bericht----- > Van: php...@li... > [mailto:php...@li...urceforge. > net]Namens > Itzchak Rehberg > Verzonden: dinsdag 11 september 2001 0:02 > Aan: php...@li... > Onderwerp: [Phpvideopro-developers] language support > > > Hiya, > > c00l!!! Tnx to Tsveti we now have Bulgarian support > built in. Looks > really cool - in fact, it works! I could not imagine > this (never used a > different charset up to know), but even the remaining > English stuff is > displayed just fine (you may go to the developers demo > to find out :) > I'm really excited! > > One think at this point: guess it would be really > helpful to have some > hint to "default charset" in the configuration menue, > or even a button > "reset to defaults" (which will be English and > iso-8859-1) if somebody > did really mess things up. What do you think about this? > > </izzy> > > > _______________________________________________ > Phpvideopro-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpvideopr o-developers |
From: Itzchak R. <izz...@qu...> - 2001-09-20 17:07:53
|
Hi Tom, Tom Albers wrote: > I think you chould keep it simple. Set a cookie for the visitors > who change the language. Default look at their country of origin > and set a cookie for that language. Toghether with the charset. > There should be a button to switch to english instantly, cause > not everybody in that country speaks / understand that language > (in our country there are working a lot of english speaking > persons). Again: it's intended for single-user-environment for now (and will be at least for the next couple of month). For the demo, it should in fact be reset to English from time to time - but this could be done by simply adding another "entry point" that first switches the language back to English and then redirects the visitor to the demo. I know, it's not nice when there are multiple users at the same time, but everything else would be too difficult to do "quick-and-dirty" :-) </izzy> |
From: Tom A. <to...@ko...> - 2001-09-26 16:08:56
|
Why not make it multiuser then? Just store the ip-nr in the filter and you're all set. Just put in the docs that multi-user only works with multi-ip... Tom > -----Oorspronkelijk bericht----- > Van: php...@li... > [mailto:php...@li...urceforge. net]Namens > Itzchak Rehberg > Verzonden: donderdag 20 september 2001 19:51 > Aan: php...@li... > Onderwerp: Re: [Phpvideopro-developers] language support > > > Hi Tom, > > Tom Albers wrote: > > I think you chould keep it simple. Set a cookie for > the visitors > > who change the language. Default look at their > country of origin > > and set a cookie for that language. Toghether with > the charset. > > There should be a button to switch to english > instantly, cause > > not everybody in that country speaks / understand > that language > > (in our country there are working a lot of english speaking > > persons). > > Again: it's intended for single-user-environment for > now (and will be at > least for the next couple of month). For the demo, it > should in fact be > reset to English from time to time - but this could be > done by simply > adding another "entry point" that first switches the > language back to > English and then redirects the visitor to the demo. I > know, it's not > nice when there are multiple users at the same time, > but everything else > would be too difficult to do "quick-and-dirty" :-) > > </izzy> > > > _______________________________________________ > Phpvideopro-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpvideopr > o-developers > > |
From: Peter B. <pb...@bi...> - 2001-09-26 18:51:28
|
--On Wednesday, September 26, 2001 06:08:51 PM +0200 Tom Albers <to...@ko...> wrote: > Why not make it multiuser then? Just store the ip-nr in the > filter and you're all set. > > Just put in the docs that multi-user only works with multi-ip... If you're thinking about multi-user, you should also think about security. Best way imho: in multi-user mode, phpVideo requires (surely) a user database. Therefore its possible to use HTTP-authentication (triggered by the PHP code itself, should be no problem - or am I wrong) to log into user's database. All further requests check the HTTP auth fields against user database. Therefore all user settings (like language, date format or something else) can be stored in the user database. Peter |
From: Tom A. <to...@ko...> - 2001-09-27 07:48:35
|
No, just that more people can access the same database with their setting, no username and password shit, why should you? Tom > -----Oorspronkelijk bericht----- > Van: php...@li... > [mailto:php...@li...urceforge. net]Namens Peter > Bieringer > Verzonden: woensdag 26 september 2001 20:53 > Aan: php...@li... > Onderwerp: RE: [Phpvideopro-developers] language support > > > > > --On Wednesday, September 26, 2001 06:08:51 PM +0200 Tom Albers > <to...@ko...> wrote: > > > Why not make it multiuser then? Just store the ip-nr in the > > filter and you're all set. > > > > Just put in the docs that multi-user only works with > multi-ip... > > If you're thinking about multi-user, you should also > think about > security. > > Best way imho: > > in multi-user mode, phpVideo requires (surely) a user database. > Therefore its possible to use HTTP-authentication > (triggered by the > PHP code itself, should be no problem - or am I wrong) > to log into > user's database. > > All further requests check the HTTP auth fields > against user database. > Therefore all user settings (like language, date > format or something > else) can be stored in the user database. > > Peter > > > _______________________________________________ > Phpvideopro-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpvideopr > o-developers > > |
From: Peter B. <pb...@bi...> - 2001-09-27 09:02:10
|
Tom Albers writes: > No, just that more people can access the same database with their > setting, no username and password shit, why should you? Perhaps you also want to implement "read-only" users in the future or a finer granulation of user rights. If you think about at this time and begin to implement in a way like I've written, phpVideopro can be easily extend later. Peter |
From: Tom A. <to...@ko...> - 2001-09-27 09:57:36
|
KISS > -----Oorspronkelijk bericht----- > Van: php...@li... > [mailto:php...@li...urceforge. net]Namens Peter > Bieringer > Verzonden: donderdag 27 september 2001 11:02 > Aan: php...@li... > Onderwerp: Re: user security, was > [Phpvideopro-developers] language > support > > > > Tom Albers writes: > > > No, just that more people can access the same > database with their > > setting, no username and password shit, why should you? > > Perhaps you also want to implement "read-only" users > in the future or a > finer granulation of user rights. > > If you think about at this time and begin to implement > in a way like I've > written, phpVideopro can be easily extend later. > > Peter > > _______________________________________________ > Phpvideopro-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpvideopr > o-developers > > |
From: Itzchak R. <izz...@qu...> - 2001-09-27 22:40:56
|
Hi Tom & Peter, Peter Bieringer wrote: >>Why not make it multiuser then? Just store the ip-nr in the >>filter and you're all set. >>Just put in the docs that multi-user only works with multi-ip... > If you're thinking about multi-user, you should also think about > security. [...] I omitted this part intentionally. I tried to keep phpVideoPro compatible to phpGroupWare (a project I used to work with before I started with phpVideoPro), so we could plug it in there easily. phpGW already has multi-user functionality built in, that's why I didn't want to create my own user mode. If somebody needs something like r/o users and r/w users, at this time the easiest way to do this is to set up 2 different database users and 2 installations of phpVP using the same database. While one installation uses the r/w user (and may have some .htaccess file in for security), all "guests" should use the other installation which has the r/o db user set up in inc/config.inc Sure, a complete users db would provide additional features, such as storing user settings (language, filters etc.) on a per user basis, but I wanted to delay this until the main features are in - and they aren't all yet (label printing e.g. is still missing :) </izzy> |
From: Itzchak R. <izz...@qu...> - 2001-09-27 23:06:28
|
Hi Tom, Tom Albers wrote: > Why not make it multiuser then? Just store the ip-nr in the > filter and you're all set. No. To unflexible, and not to be set up this way (too confusing in the programming, since filter settings go directly as SQL and stored in db as such). See my previous mail on this. > Just put in the docs that multi-user only works with multi-ip... Grmpf. And if my girlfriend uses my PC as well? Not very good (decide what: the filter - or the fact to let my girlfriend access my PC #-) </izzy> |