-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First tests #72
Comments
Hi Alfie! Regarding Cheers, |
Hi Robert, You are right! One mystery resolved. Cheers, |
Hmm, there is a checkbox to create the database on the page, where you input the data for the database connection and a query to create the database.
That shouldn't be a problem. On the one hand it should be good enough when the tables and columns get the correct charset and on the other hand (at least in Germany) the hosters nowadays do create the databases with the charset utf8mb4.
That looks like the settings page gets delivered by the web server with another charset than UTF-8 (seems to be ISO-8859-1(5?)).
Yes, but the not uniform size of the smilies in the "additional silies" page was a problem since ever. Now I set buttons with fixed size (was links before) and that does not work well for every smiley because some are of different sizes. I don' know, how to handle that but with utf8mb4 we have the possibility to use emojis. In that case we only need a transfer from smiliey-codes to emojis or we need only the renderer (for output) but not the buttons (for input).
Where do you want to change the date format? Do you mean the language file? Maybe we need a separation of British English and American English?
I can't reproduce the issue. :-/
Looks like the mix view is not really activated. Please look into the settings table and look for doubled entries.
:-) |
Hi Auge,
Correct. Playing the ‘newbie’ I followed the text which states “For experts”
Hopefully. ;-)
Don’t think so. My Apache’s default is UTF-8; checked the database and the header of the HTML. I made a fresh install. Same, strange. In install.php Another story: When I reply to a post, I see the Category: select-box but it is empty (in my forum the category is shown but cannot be changed). Should we hide it instead? Not sure.
OK, not a problem.
I would be cautious with 4-btye UTF-8 (I have even a warning in the Instructions of my forum). If the UTF-8 codepoint is not contained in the fonts suggested in the CSS, well… Most browsers go those fonts (here: verdana, arial, sans-serif) and try all fonts installed on the machine. At least on Windows the highest support is in “Segui UI” and “Segui UI Symbol”. If not contained, bad luck.
Yes and no. Of course the admin could change the date format in the language file.
My not either. Sorry, forget to set it. An old story: When I’m logged in (mix view) and log out, I end up in thread view. However, when I’m in board view, I end up in the mix view (set as the default in the installation). Question: In *_userdata Cosmetics: Since the content is delivered as HTML5, you can drop the |
Hello Alfie
I'll look into it to make things more clear. If you (or someone else) have (has) ideas, I'm open for proposals.
Hmm ...
Oh, I thought to have changed all script files. Do you have a list of affected files oy found?
O.k., I'll have a look.
That's how it should work.
No, the user should see the category name. But as it's not editable, it can be shown in a text element, i.e. in
It's a problem, even a cosmetic one. It doesn't look nice with the new buttons, it never looked nice before with the old structure.
Why not setting Helvetica as the first font?
Until the next update ...
Why not?
I disagree, Sire. Having the ISO-format for use in technical contextes is o.k. but for human readability we should use the local common date format.
Jaja. ;-)
That's because the column has an index and with utf8mb4 tehre is the problem, that the index has a maximal lenght of 768 Bytes that gets outperformed by the column length (i.e. 255 chars (old definition) are 1024 bytes with only 4-byte-chars (for more details please ask by e-mail in German language)). So I orientated myself on the userdata table, where the column for user name (name) has a length of 64 chars.
The collation
Yes, but on the other hand it is not wrong. |
Hi Auge,
Maybe in
Checked again PHP Version 7.3.3.
english.php, english_add.php, I recoded all in the meantime. If you make me a collaborator on GitHub (grusel) I could provide them. Attaching *.php here does not work.
Makes sense.
I order fonts like this: First the one I prefer, then in decreasing order based on the operating systems. IIRC, verdana is available since Windows NT. I was wrong with helvetica (see there for defaults of different operating systems).
Correct.
Up to you. Apart from “authorization/authorisation” the date-format definitely differes between en-us and en-uk.
Fine with me. BTW, In Austria the ISO-format is the legally binding one since the late 1970s. Given, only nerds use it. ;-)
Hey, I follow your posts in mlf2. ;-)
Wow!
Sure. Edit: Fuck! I closed the issue. Can you re-open it? |
Sure, I can. :-) |
Dubious. All these files have charset UTF-8 in all my text editors (Notepad++, Bluefish). |
For collaboration it would be enough to fork the repo, to apply your changes to a separate branch and to open a pull request with your changes. But if you really want (not that the "Grusel" would speak for this way ;-)), I also can make you a collaborator in my repo. :-) |
Strange indeed. The original ones show up as UTF-8 in Notepad++. The ones I saved as UTF-8 in Notepad2.4.2.25 are showing up again as ANSI. Forget it. |
No, THX. I don’t feel qualified. |
Date format: How about decoupling the date format from the language file and putting it to forum_settings instead? Fresh install defaults depending on the selected language:
But allow the admin to change the format during install. |
Hi Robert, sounds great. I would add:
Interesting the W3C. |
Making a default from an or is not possible. So let's take We can make it even more complex by letting each user set his own date format for display. ;-) |
… and there the advantage of a setting breaks (not, that it would be simply possible with a value from the language file). :-/ I know, it's not completely comparable but the game OpenTTD is available in several languages even with ones with distinctions between country or region specific definitions. As examples: English (UK), English (AU), English (US) or Norwegian (Bokmal), Norwegian (Nynorsk), simliar distinctions in Chinese, Portuguese or Spanish languages. So I don't see a reason to separate this from the language file (we can have several of them) and to put it into the settings, where it would be hardcoded for every user of a forum, independent of her/his language or home country. The alternative to put it into the user settings would IMHO be worse because every single registered user has to set the date format separately (if necessary). This is IMHO no good solution. Selecting only the UI-language (maybe with a distinction between language variants) is simple and good enough. |
Also: during the work on the old 1.8 (Alfie runs a intermediate result of the work) I introduced a second time format in the language files for formatting timestamps directly in database queries (type A long date format with month names instead numerical notations, a format with weekday names, a short format, similar formats in the database-syntax and so on. |
Haha, sure! Was meant as a verbatim suggesting not for coding.
Please, no. Opens Pandora’s box. ;-) |
Wow!
Agree. |
I'm just pointing out options. ;-) |
"has to set" is wrong. By default every user would use the forum's setting. If he disagrees, he can change it to fit his needs. But yes, one more setting here and there would the make forum larger and larger and more error-prone. Let's follow KISS. (Not the band. 🤣) |
Thatswhy I wrote "(if necessary)".
Making the forum larger and larger is in itself not a problem. Making the operability more complicated is a problem. Making the usability by the users more complicated makes it more error-prone and that's a problem. Making the code more error-prone is a problem. And last but not least, say nothing against KISS (Yes, the band. 😉)! |
Hi Auge,
my environment on Windows 7 Pro 64bit: XAMP (PHP 7.3.3), Firefox 70.0.01
Tried to play the newbie. Calling
install.php()
and after submitting:Specified database doesn't exist - please check database name (MySQL: Unknown database 'd00003000')
Sure. I suggest to point out in
INSTALL
that the DB has to be created before. Trap: If the ISP creates it, I don’t think it will be encodedutf8mb4_unicode_ci
(what I did). Installed the forum in English.Cosmetics:
d.m.Y
. Fine foren-uk
, but confusing foren-us
.Example: 11.09.2001 will be correctly interpreted by a UK reader like the German date but understood by a US reader as November 9th. I suggest the ISO-format
Y-m-d
.Issues:
Question:
What does this
::1
mean? Without inspecting the code (sorry!) I guess 1 is theuser_id
but what should be given before?Congratulations: I could post 4-bit UTF8!
Cheers,
Alfie
The text was updated successfully, but these errors were encountered: