Re: Suggestions for fud2 |
Sat, 20 April 2002 15:05 |
|
The best thing you can currently do, is turn of smilies for an entire message. As you probably know at the bottom of each message there is a "Disable Smilies" checkbox.
When we rewrite (planning to do so before 2.0 release) our FUDcode parser we will see about make sure smilies don't get triggered for certain tags.
|
|
Turning off smilies |
Sat, 20 April 2002 15:01 |
|
OK, don't get me wrong. I know how to turn off the smilies completely, forum-wide. This isn't about that.
What I want is to be able to turn them off just for single sentence. Some kind of fudcode equivalent to html's <pre>-tag. Try writing (colon followed by p) and you'll see what I mean. And check out the CVS thread in this forum for a real-life example...
|
|
Re: Suggestions for fud2 |
Fri, 19 April 2002 15:10 |
|
Here this might work better or least look right then the cheap clones version 
ALTER TABLE fud2_users ADD show_avatars ENUM('Y', 'N') NOT NULL DEFAULT 'Y'; ALTER TABLE fud2_users CHANGE show_sigs show_sigs ENUM('Y', 'N') NOT NULL DEFAULT 'Y'; ALTER TABLE fud2_users DROP show_tool_tips; ALTER TABLE fud2_users ADD u_last_post_id INT UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE fud2_forum ADD index(last_post_id); UPDATE fud2_thread SET locked='Y' WHERE replyallowed='N'; ALTER TABLE fud2_thread DROP replyallowed; ALTER TABLE fud2_forum ADD message_threshold INT UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE fud2_msg ADD offset_preview INT UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE fud2_msg ADD length_preview INT UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE fud2_msg ADD file_id_preview INT UNSIGNED NOT NULL DEFAULT 0;
|
|
Re: Suggestions for fud2 |
Fri, 19 April 2002 11:36 |
|
Okie, let me look into the situation, it worked fine on my test machine here...
Can you do the following 2 tests:
SELECT show_avatars FROM fud2_users;
see if the field is set.
Also, check that you have a $show_avatar_radio inside register.php file.
|
|
Re: Suggestions for fud2 |
Fri, 19 April 2002 11:17 |
|
Strange. I have done this once already, but still got the problem with "Show Avatars".
|
|
Re: Suggestions for fud2 |
Fri, 19 April 2002 11:15 |
|
You can install over an old version, that will cause the loss of ALL data you've previously had. The installation script will replace all the files & re-create the SQL tables from scratch.
|
|
Re: Suggestions for fud2 |
Fri, 19 April 2002 11:13 |
|
I see. Let's see if I got it right: when I install a newer version from CVS I should remove the old one first, including the database.
|
|
Re: Suggestions for fud2 |
Fri, 19 April 2002 11:02 |
|
That is because you're missing the MySQL entry needed for this option.
Since RC-1 there were a number of MySQL changes (a few additions), without those MySQL changes certain parts of the code may not work properly.
If you want you can run those queries yourself, they are listed below:
ALTER TABLE fud2_users ADD show_avatars ENUM('Y', 'N') NOT NULL DEFAULT 'Y'; ALTER TABLE fud_users CHANGE show_sigs show_sigs ENUM('Y', 'N') NOT NULL DEFAULT 'Y'; ALTER TABLE fud_users DROP show_tool_tips; ALTER TABLE fud_users ADD u_last_post_id INT UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE fud_forum ADD index(last_post_id); UPDATE fud_thread SET locked='Y' WHERE replyallowed='N'; ALTER TABLE fud_thread DROP fud_replyallowed; ALTER TABLE fud_forum ADD message_threshold INT UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE fud_msg ADD offset_preview INT UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE fud_msg ADD length_preview INT UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE fud_msg ADD file_id_preview INT UNSIGNED NOT NULL DEFAULT 0;
*note* if your mysql table prefix is NOT fud2_ change the prefix in the sql queries above.
|
|
Bug in users control panel |
Fri, 19 April 2002 04:13 |
|
There is no default setting for "Show avatars".
Update: OK, it works now. Move on folks, nothing to see here...
|
|
Re: Suggestions for fud2 |
Fri, 19 April 2002 03:56 |
|
prottoss wrote on Fri, 19 April 2002 7:46 AM |
djupsjob wrote on Thu, 18 April 2002 2:45 PM |
Yes, but try to view another users profile. There the text appears in plain english. Male, Female och Unspecified, depending on what the user has selected during registration.
|
Fixed in CVS.
|
A small glitch in the fix: it now defaults to female, not unspecified. So if a user does not enter his/her gender, it shows up as female.
|
|
Re: Suggestions for fud2 |
Fri, 19 April 2002 00:46 |
|
djupsjob wrote on Thu, 18 April 2002 2:45 PM |
Yes, but try to view another users profile. There the text appears in plain english. Male, Female och Unspecified, depending on what the user has selected during registration.
|
Fixed in CVS.
|
|
|
Re: Suggestions for fud2 |
Thu, 18 April 2002 14:47 |
|
prottoss wrote on Thu, 18 April 2002 5:51 PM | Gotcha...
The swedish msg file also contains a number of english strings that were not translated since they were added quite recently. So, if you come across english text, please verify it is because it has been hardcoded.
|
I'm working on those strings right now. I'm also checking out the rest of my translation to see if there are things that could be refined a bit. I'll upload a new version of the msg file soon.
|
|
Re: Suggestions for fud2 |
Thu, 18 April 2002 14:45 |
|
prottoss wrote on Thu, 18 April 2002 6:31 PM | I've changed the language to swedish on our test forum and gender appears properly translated both during registration & profile editing.
|
Yes, but try to view another users profile. There the text appears in plain english. Male, Female och Unspecified, depending on what the user has selected during registration.
|
|
Re: Suggestions for fud2 |
Thu, 18 April 2002 11:31 |
|
djupsjob wrote on Wed, 17 April 2002 4:03 PM | The gender seems to be hardcoded in English, as the setting was in Swedish during the registration but suddenly appears in English in the profile view.
|
I've changed the language to swedish on our test forum and gender appears properly translated both during registration & profile editing.
|
|
Re: Suggestions for fud2 |
Thu, 18 April 2002 11:22 |
|
djupsjob wrote on Thu, 18 April 2002 8:33 AM | I found another hardcoded string. The "Goto Forum" (as shown on the front page of the forum) string is nowhere to be found in the msg file.
|
Fixed in latest CVS.
If you want to upgrade grab forumsel.tmpl from the CVS and english/msg, swedish/msg, german/msg
|
|
Re: Suggestions for fud2 |
Thu, 18 April 2002 10:51 |
|
Gotcha...
The swedish msg file also contains a number of english strings that were not translated since they were added quite recently. So, if you come across english text, please verify it is because it has been hardcoded.
|
|
Re: Suggestions for fud2 |
Thu, 18 April 2002 08:33 |
|
I found another hardcoded string. The "Goto Forum" (as shown on the front page of the forum) string is nowhere to be found in the msg file.
|
|
Re: Suggestions for fud2 |
Thu, 18 April 2002 04:13 |
|
hackie wrote on Wed, 17 April 2002 11:29 PM | Date formats have already been fixed, by usage of appropriate locale. That has been fixed since 1.9.8 RC-1.
|
So, in order to have the dates displayed as I want them to, I should specify the proper locale? Should that be systemwide or can it be done elsewhere?
|
|
Re: Suggestions for fud2 |
Wed, 17 April 2002 16:29 |
|
Date formats have already been fixe, by usage of appropriate locale. That has been fixed since 1.9.8 RC-1. No as for actual date display format, that can be specified/changed in the templates.
|
|
Suggestions for fud2 |
Wed, 17 April 2002 16:03 |
|
Hi everyone!
I have at last taken the time to review the alpha version of fud2. As the man behind the Swedish translation I will focus on that, but other things will also be discussed.
- Date formats
We should really add support for different date formats. In my opinion the i18n isn't for real before it acknowledges that different countries have different ways of writing dates. For instance: in Finland, which is my home country, we write "April 20, 1989" as "20.04.1989". But at the moment fud2 does not seem to know this... Of course this applies also to the user control panel where the birth date setting has the fields in the wrong order.
- User profile
The header defaults to a genitive with "'". This does not work in Swedish, where such a construction simply does not exist. A slight fault in the i18n. There is a second problem in the user profile as well. The gender seems to be hardcoded in English, as the setting was in Swedish during the registration but suddenly appears in English in the profile view.
|
|