Author Topic: Multilingual Install Wizard with some additions and bugfixes  (Read 5644 times)

danfuh

  • Guest
Multilingual Install Wizard with some additions and bugfixes
« on: December 07, 2009, 03:17:31 AM »
Hello WebsiteBaker community
and hello developers!

First of all, I am not a developer, but I tried to do my best.

I've added multi-language support to the website baker install wizard.
Till now there are only english and german, but the languages can be enhanced in language files (DE.php, EN.php, NL.php …).

To prevent errors like this:

Code: [Select]
Deprecated: Function eregi() is deprecated in
C:\xampp\htdocs\install\save.php on line 276

Deprecated: Function set_magic_quotes_runtime() is deprecated in
C:\xampp\htdocs\framework\initialize.php on line 33

Warning: Cannot modify header information - headers already sent by
(output started at C:\xampp\htdocs\install\save.php:276) in
C:\xampp\htdocs\framework\class.login.php on line 100

Update: I forgot this, sorry:
I have changed the error reporting from
Code: [Select]
error_reporting(E_ALL); to
Code: [Select]
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
I thing this is better, because if someone install website baker the first time with PHP5, he will get a error like this.
If I would get such an error, I would search for an other CMS.

In addition, a have made some more changes:

- time zone names/citys added
- segmentation between file and directory
- flags for language select added
- national language and selected language for language select added
- JavaScript support as requirement added
- CSS Support Support as requirement added
- added checkbox to accept the license for more legal compliance
- accept license mistake fixed (WebsiteBaker is released under the GNU General Public License Version 2 (see delivered COPYING File), but the license was linked to version 3 - because of this, I have changed the link from http://www.gnu.org/licenses/gpl-2.0.html to http://www.gnu.org/licenses/gpl-2.0.html)
- license include in a iframe
- checking whether the password or the username is to short added
- language preselection for selected installation language added


Simple replace the content in the attached zip-file with the content of the install directory in website baker.

Would be great if you could review my work and maybe add some ideas to the core system.

Best Regards,

Daniel



[gelöscht durch Administrator]
« Last Edit: December 07, 2009, 03:43:36 AM by danfuh »

Waldschwein

  • Guest
Re: Multilingual Install Wizard with some additions and bugfixes
« Reply #1 on: December 07, 2009, 09:02:19 AM »
Hello Daniel,

well, it's quite good having a multilanguage installer!

The only problem is... There will be as far as I know a completely new installer with 2.8.1...

And the deprecated warnings are not any more available in the current SVN (it has to do with PHP 5.3).  8-)

Yours Michael

Edit: Some other "problem" with your installer: We have yet three major languages: German, English - but also Dutch. And some others are of course included... So the concept with just changing the installer from DE to EN and back is not that good for WB core - better would fit an automatic guess like here on the help / start site (of course every automation has to offer manual change).
« Last Edit: December 07, 2009, 09:31:10 AM by Waldschwein »

danfuh

  • Guest
Re: Multilingual Install Wizard with some additions and bugfixes
« Reply #2 on: December 07, 2009, 10:57:03 AM »
Hello Michael,

first of all, thank you for your feedback.

Yes, I still konw, WebsiteBaker uses some functions, that are discontinued and will not longer be available in PHP6.

I think you will switch the installer language with the browser settings. Something like this: asking the http header for the adjusted main language and if it is german, or dutch, display the page in this language, else display is in english?

OK, I also know, that there are three major languages. Because of this, I have used language files. So it is very easy to translate the installer in many more languages.

I lived some years in Aachen and spent some summers in Renesse (island Schowne), so I understand dutch quite well, but my spelling is not so good.
But of course, if you want, I can translate the installer into dutch.

You said, that in the current SVN is a fix for deprecated functions.
But if I take a look in the source code ( http://project.websitebaker2.org/browser ), I can not see the bugfix.
Update: I discovered the bugfix :-)


If someone like me wants to help developing, I can't get the very latest source code.
At the point, other open source projects are much more open. A good example is Joomla.

http://developer.joomla.org/code.html
Quote
If you are developing or helping with fixing bugs, you will want to work on the most recent builds that incorporate all of the fixes that take place between releases.
There are several ways to do this. one of the simplest ways to do this is to use the nightly builds. These are created each day and incorporate whatever changes have been made through the time of creation.

So, give me (and each other) a look into the SVN and I can really help developing WebsiteBaker.
Or please write in the footer of this CMS something like this:

WebsiteBaker is an open source content management system, but the development is more closed than open.

How do you want to realise fast bugfixes and updates, if the community can't get the latest stage of development.

I think other open source content management systems are more successful due to the open developing structure.
A very big part in joomla is developed by the community, without being in the developer team.
Why is this not possible with website baker?


Kindly regards,

Daniel
« Last Edit: December 07, 2009, 03:27:51 PM by danfuh »

Waldschwein

  • Guest
Re: Multilingual Install Wizard with some additions and bugfixes
« Reply #3 on: December 07, 2009, 11:07:26 AM »
Hello Daniel,

I don't really know what's about this new installer -  I just know that there is someone in developement.

About SVN: I think WebsiteBaker is here _very_ open.

Look here: http://project.websitebaker2.org/timeline There are all bugs. When clicking on "New Ticket" - you open a new ticket.

The SVN itself: http://project.websitebaker2.org/browser/branches/2.8.x

Just look below (Download in other formats: Zip Archive ) if you want it, so I think we don't actually need nightly builds for WebsiteBaker... Of course using directly SVN is much better.

- Download TortioseSVN http://tortoisesvn.tigris.org/
- Install it
- Right-click on any folder you wish
- Choose SVN-Checkout
- Type http://svn.websitebaker2.org/branches/2.8.x/wb/
- Wait on downloading

If you just use a folder inside XAMPP or similar - it's very easy to test in seconds every new change...
So you see- Joomla isn't better as WebsiteBaker - it just has more people that can write cool sentences...

Of course it's impossible and nonsense that everybody can write in the SVN - but everybody can read. So I just don't know where here anything is closed.

Yours Michael
« Last Edit: December 07, 2009, 11:14:49 AM by Waldschwein »

danfuh

  • Guest
Re: Multilingual Install Wizard with some additions and bugfixes
« Reply #4 on: December 07, 2009, 03:29:13 PM »
Hello Michael,

OK, I see that WB is on the second view more open, than on the first.

Sorry, I will correct this in the previous post.

Thank you for suggestion to the SVN.

The installer in the SVN has only some minimalistics bug fixes.

I have integrated all changes in my multilingual installer.
I also tried to translate the installer into dutch.

Now there are (more or less) all three main languages. (File Attached)

Regards,

Daniel


[gelöscht durch Administrator]

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Multilingual Install Wizard with some additions and bugfixes
« Reply #5 on: December 07, 2009, 07:18:44 PM »
Daniel,

this is a bit disappointing ... you have been with us since mid of 2006 and you didn't even bother to look at what we offer ...

SVN Access was with WB from the beginning on ... first via Sourceforge and later our own hosted server (around 2004)

Klaus

danfuh

  • Guest
Re: Multilingual Install Wizard with some additions and bugfixes
« Reply #6 on: December 07, 2009, 07:45:32 PM »
Hello Klaus,

yes, you are right!

Sorry that I tried to enhance WebsiteBaker!
I think you have more interest in what I write, than in my contribution.
Have you seen my work? No, only 1 Download, and that was Michael.

Very Pity!

Regards Daniel

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Multilingual Install Wizard with some additions and bugfixes
« Reply #7 on: December 07, 2009, 07:48:02 PM »
Listen, I have enough to do around WebsiteBaker without testing every file that comes around. Would you like to volunteer for a team to help us out?

cheers

Klaus

danfuh

  • Guest
Re: Multilingual Install Wizard with some additions and bugfixes
« Reply #8 on: December 07, 2009, 08:02:15 PM »
Yes, why not!

Let me know, what I can do?

My field of attention (focus) is on:
- Internet Marketing
- CSS
- HTMS
- SEO
- Debugging / Diagnostics
- a little bit PHP and JavaScript
- Design with Photosho / GIMP (elementary)

The last past weeks, I tried to answer posts, here.

So, tell me what I can do, and it would be done.

Best Regards,

Daniel

Waldschwein

  • Guest
Re: Multilingual Install Wizard with some additions and bugfixes
« Reply #9 on: December 07, 2009, 09:53:16 PM »
Hello!

I know that there are people around, that want to get WB further - and I think Daniel also wants to do that. I know about his site, and well - I don't think it's such a bad idea have an "alternative" site.
But there is one problem: Such effort is not directly linked with the Core Development and all the offers on "the Core site" WebsiteBaker.org.
Please don't get my wrong: All big software have alternative support forums and Community sites, and I think that's not bad. Mostly it's because the main forum don't offer the language, but also it's because not everybody is that satisfied with the "core sites".

There's only one problem: This all has to stay private. We have yet built teams here to get a good workflow, concentrate on the main things.
Just look here: http://start.websitebaker2.org/en/teams.php (And using Whois http://www.whois.net/whois/websitebaker2.org or the Legal Notice you know who's behind it).
It's a much bigger change at the work on WB as most people think at the first glance - I speak from the people that know the time before, where Ryan was the leader of WB. But there is no Ryan anymore and there will be no Ryan in future. That times are past, in quite every aspect.

The problem about offering something for the Core: The people working in the Core Dev Team know WB, and they work with WB. They have many things in mind that they want to do - to achieve getting WB on a more professional, better level.
When somebody from outside offering anything for the Core it's always a problem to use it directly.
There were things from the community that were integrated in SVN - e.g. that one: http://project.websitebaker2.org/ticket/821
But there were also things, that were not implemented and won't be, even if there is a working code available.

The thing here directly with the installer: As I said, the Dev Team is working on a completly new one. It is not yet in the SVN - and I think only working things should be uploaded to the SVN. When it's ready - or if it will be finished with 2.8.1 - I just don't know. Contact here LordDarkman or the team leader aldus, they should know it. But don't be disappointed when they wont say too much.

You said Joomla here. But you know, that also Joomla Devs don't always do what the most people want to achieve (e.g. think of the User Access Rights, there were some working mods out there for 1.0.x). Such a big software - like Joomla, or like WebsiteBaker (yes, WebsiteBaker is big, >5000 downloads every month, several 100.000 installations, page rank and alexa you know) - has to decide. For or against.

When you want to contribute - there is a form here: http://start.websitebaker2.org/de/mitglied-werden.php?lang=DE (I took the German one).

But keep in mind: That are teams, you will have a team leader, and the team leader has to board (German: Vereinsvorstand). The board decides about "the big things", the team leader "about the smaller things". You will have tasks, you will have deadlines, you will have to do things that aren't 100% the things you prefer to do - or you prefer the way doing it.

Yours Michael

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4459
  • Gender: Male
Re: Multilingual Install Wizard with some additions and bugfixes
« Reply #10 on: December 07, 2009, 10:01:26 PM »
Hi,

Daniel the singing WebsiteBaker guy. He has good video tutorials on youtube, if nobody know this

Dietmar
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Waldschwein

  • Guest
Re: Multilingual Install Wizard with some additions and bugfixes
« Reply #11 on: December 07, 2009, 10:04:05 PM »
Hi,

Daniel the singing WebsiteBaker guy. He has good video tutorials on youtube, if nobody know this

Dietmar

Hello,

you should know them if reading *cough* the Wikipedia article.  8-)

Yours Michael

Edit for Daniel:

Trolli-Stadion oder Playmobil-Stadion?  :roll: Und dann noch rot-schwarze Trikots!!!!!
« Last Edit: December 07, 2009, 10:33:53 PM by Waldschwein »

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Multilingual Install Wizard with some additions and bugfixes
« Reply #12 on: December 07, 2009, 10:11:02 PM »
Hello!

I know that there are people around, that want to get WB further - and I think Daniel also wants to do that. I know about his site, and well - I don't think it's such a bad idea have an "alternative" site.
But there is one problem: Such effort is not directly linked with the Core Development and all the offers on "the Core site" WebsiteBaker.org.

I absolutely agree with you, Michael.

R,
Stefek
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden