Avatar

2.2 development snapshot (General)

by Alex ⌂, Sunday, January 31, 2010, 16:49 (5214 days ago)

Hi,

finally, I'm beginning to use a version control system for the development of my little forum (thanks to Auge for the "idea"). Here's a first development snapshot.

New in this snapshot:

  • Registered users can now set their preferred language (if more than one language file is available), time zone and theme (if more than one theme is available).
    The time zone feature uses date_default_timezone_set and requires PHP >= 5.1.0 (if the forum runs on a server with an older PHP version this feature is just not available). The available time zones can be specified in the file config/time_zones. All possible time zones form a quite long list (demo) so I tried to sort out identical ones. However, this reduced list has still 218 items and is still a little bit hard to handle in the user settings.
    Furthermore I'm still not sure what to do with the old time difference setting. It's still necessary in case date_default_timezone_set isn't available. At the moment you can set the time zone and in addition to that the time difference which might be a little bit confusing.

  • Read postings (more precisely: the 200 latest read postings - adjustable with the setting max_read_items) are stored server-side now for registered users (so far read postings were only stored in a cookie).

  • Template/CSS modifications:
    • menus as unordered lists (user menu, subnavigation, bottom menu)
    • CSS Sprites for (some) background images to reduce the amount of HTTP requests
    • indenting if there are line breaks within list items in threads, see image 1 (before) and 2 (after)
    • merged regular and IE stylesheet (new <div id="ie"> for IE)
    • preloading ajax preview images (throbber and background image) in the styleshet (so far: JS preloading)

This is all still in a testing stage, suggestions and comments are welcome!

Alex


Image 1 (before):

[image]

Image 2 (after):

[image]

Avatar

2.2 development snapshot

by Micha ⌂, Sunday, January 31, 2010, 17:15 (5214 days ago) @ Alex

Hi,

  • Registered users can now set their preferred language

Very good! :ok:

  • Template/CSS modifications:

Remove JavaScript from the main page and source it out to e.g the main.js. Maybe, I can do it by my self ;-)

regards Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Avatar

2.2 development snapshot

by Alex ⌂, Sunday, January 31, 2010, 20:25 (5214 days ago) @ Micha

Very good! :ok:

Better late than never! ;-)

Remove JavaScript from the main page and source it out to e.g the main.js. Maybe, I can do it by my self

If you manage to do so, I would really be interested (keyword: Unobtrusive JavaScript)! It's quite challenging without using a JS framework, isn't it?

Alex

Avatar

2.2 development snapshot

by Auge ⌂, Sunday, January 31, 2010, 23:50 (5213 days ago) @ Alex

Hello

Remove JavaScript from the main page and source it out to e.g the main.js. Maybe, I can do it by my self

If you manage to do so, I would really be interested (keyword: Unobtrusive JavaScript)! It's quite challenging without using a JS framework, isn't it?

Errr, you are using Prototype, or to be pedantic: you are delivering prototype.js with the script source without using it's possibilities to much. ;-)

So you have a JavaScript Framework.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

Avatar

2.2 development snapshot

by Alex ⌂, Monday, February 01, 2010, 07:00 (5213 days ago) @ Auge

Errr, you are using Prototype, or to be pedantic: you are delivering prototype.js with the script source without using it's possibilities to much. ;-)

That's true but so far it is only used in the admin area.

Alex

Avatar

2.2 development snapshot

by Micha ⌂, Monday, February 01, 2010, 05:47 (5213 days ago) @ Alex

Moin,

Very good! :ok:

Better late than never! ;-)

Yes. Maybe, usergroups are also an interesting wish...

challenging without using a JS framework, isn't it?

of course, no framework - do not change the html pattern.

Regards Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Avatar

2.2 development snapshot

by Alex ⌂, Monday, February 01, 2010, 20:22 (5213 days ago) @ Micha

usergroups are also an interesting wish...

Indeed! :ok: But I'm not sure whether I feel like implementing it soon. ;-)

Alex

2.2 development snapshot

by apfelsino @, Wednesday, February 03, 2010, 19:37 (5211 days ago) @ Alex

usergroups are also an interesting wish...


Indeed! :ok: But I'm not sure whether I feel like implementing it soon. ;-)

Alex

usergroups would be very usefull.

suggestions

by alexandru @, Monday, February 22, 2010, 08:53 (5192 days ago) @ Alex
edited by alexandru, Monday, February 22, 2010, 08:59

Would you please also implement a 'secure login' feature for the login page?
(a simple login but with httpS)

By the way, Istanbul is listed as 'Europe/Istanbul' in http://mylittleforum.net/demos/time_zones/time_zones_complete but also as 'Asia/Istanbul' in the reduced list: http://mylittleforum.net/demos/time_zones/time_zones

It usually is listed as 'Europe/Istanbul'
ref: http://www.timezoneconverter.com/cgi-bin/zoneinfo.tzc?s=default&tz=Europe/Istanbul
ref: http://www.travelmath.com/time-zone/Europe/Istanbul

The time zone abbreviation for Istanbul is: EET - Eastern European Time.

Kind regards

Avatar

suggestions

by Auge ⌂, Monday, February 22, 2010, 15:27 (5192 days ago) @ alexandru

Hello

Would you please also implement a 'secure login' feature for the login page?
(a simple login but with httpS)

How should Alex do this? HTTPS has to be impemented on the server, not in the application. Ask your hoster about it and enshure that the forum will use HTTPS in every case.

By the way, Istanbul is listed as 'Europe/Istanbul' in http://mylittleforum.net/demos/time_zones/time_zones_complete but also as 'Asia/Istanbul' in the reduced list: http://mylittleforum.net/demos/time_zones/time_zones

It usually is listed as 'Europe/Istanbul'
ref: http://www.timezoneconverter.com/cgi-bin/zoneinfo.tzc?s=default&tz=Europe/Istanbul
ref: http://www.travelmath.com/time-zone/Europe/Istanbul

The time zone abbreviation for Istanbul is: EET - Eastern European Time.

The list of timezones is generated through PHP with the source of zoneinfo, wich is the--more or less--official list of timezones. Additionally you have to notice, that a part of the town Istanbul is located on the asian continent. That said we should accept the possibility that both timezones (asia and europe) are valid.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

suggestions

by alexandru @, Monday, February 22, 2010, 15:55 (5192 days ago) @ Auge

Hi Auge,
First of all, thanks for the reply.

There is a misunderstanding here. I just requested an 'option' to enable the HTTPS type of login. The forum would use HTTPS instead of HTTP and also would post logins as HTTPS. That was all. No ssl implementation :) The rest is sure depends on the server's configuration.

Regards

Avatar

suggestions

by Auge ⌂, Wednesday, February 24, 2010, 10:19 (5190 days ago) @ alexandru

Hello

There is a misunderstanding here. I just requested an 'option' to enable the HTTPS type of login. The forum would use HTTPS instead of HTTP and also would post logins as HTTPS. That was all. No ssl implementation :) The rest is sure depends on the server's configuration.

Ah, ok, that sounds reasonable. You want only a link or something similar to have a switch for the user to select the HTTP- or the HTTPS-login.

But, if your forum is accessible via HTTPS, why not only via HTTPS? This would be consquent.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

suggestions

by alexandru, Wednesday, February 24, 2010, 15:21 (5190 days ago) @ Auge

Ah, ok, that sounds reasonable. You want only a link or something similar to have a switch for the user to select the HTTP- or the HTTPS-login.

Exactly! Just an option to switch to the HTTPS type posts/links/logins.

But, if your forum is accessible via HTTPS, why not only via HTTPS? This would be consquent.

Speed! :) HTTPS is slower. But posting only the login datas via HTTPS is acceptable.

"Only HTTPS" everywhere on the forum is also a good idea, though. The priority/importance of speed or security, depends on the user, of course.

So such an optional feature would be nice.

regards.

Avatar

suggestions

by Alex ⌂, Monday, February 22, 2010, 16:30 (5192 days ago) @ Auge

The list of timezones is generated through PHP with the source of zoneinfo, wich is the--more or less--official list of timezones.

However, the reduced list is just the product of this little script.

Avatar

suggestions

by Auge ⌂, Wednesday, February 24, 2010, 10:48 (5190 days ago) @ Alex

Hello

The list of timezones is generated through PHP with the source of zoneinfo, wich is the--more or less--official list of timezones.


However, the reduced list is just the product of this little script.

You know that I know this script. :-)

The script has wich source? Correct, the PHP-list wich is feeded through the zoneinfo-list.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

Avatar

suggestions

by Alex ⌂, Monday, February 22, 2010, 16:07 (5192 days ago) @ alexandru

Hi Alexandru,

Would you please also implement a 'secure login' feature for the login page?
(a simple login but with httpS)

How should this look like?

By the way, Istanbul is listed as 'Europe/Istanbul' in ...

You can just edit the file config/time_zones (add/remove time zones, change the order ...). All possible values can be found here: http://php.net/manual/en/timezones.php

Alex

suggestions

by alexandru, Tuesday, February 23, 2010, 13:06 (5191 days ago) @ Alex

How should this look like?

A little simple checkbox named 'Secure Login' ? :-)

Again, it will only work IF the server has SSL enabled. -that's something else-

2.2 development snapshot bug

by bug, Friday, April 23, 2010, 01:39 (5132 days ago) @ Alex

[image]

2.2 development snapshot bug

by Riba ⌂, Saturday, April 24, 2010, 15:53 (5131 days ago) @ bug

What possible reason can people have to still use IE6??? :-|

Avatar

2.2 development snapshot bug

by Alfie ⌂, Vienna, Austria, Sunday, April 25, 2010, 01:46 (5130 days ago) @ Riba

What possible reason can people have to still use IE6??? :-|

  • Their company's paranoic and unprofessional IT-department.
  • They come frome a developing country.
  • They are helplessly bound to the browser offered by the internet-café 'round the next corner in Kampala.

I agree that IE6 is a pain in the ass, but in my forum ~30 % of users still use this nice one. It's never a good idea to blame the user for his/her browser. Reminds me on "optimized for IE6, 1024×768, JavaSript enabled". Obviously there's a problem with the CSS-indent of the <li>-element. Seriously: When it comes to lists, most browsers behave very strange.

--
Cheers,
Alfie (Helmut Schütz)
BEBA-Forum (v1.8β)

RSS Feed of thread