1.0.1 Beta Version [message #176] |
Wed, 23 January 2002 04:05 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I've just put the beta version of 1.0.1 on this forum. Among the many code fixes it cleans up the layout quite bit. Here is the detailed list of what has been done so far:
New Features
I've added a statistic option (right below the who's logged in), which allows people to see how many posts/thread/users are in the forum as well as the login of the newest forum member. You'll be able to turn this option on/off via the globals control panel or GLOBALS.php file.
The icons for read/unread post on thread.php have been replaced with much nicer ones IMHO (I hope you like em).
Color coding added to "who's online" list, so you can clearly see the admins & moderators.
Security Bugs Fixed
A fix was added to fudcode parser to fix a security fault that allowed users to pust javscript code inside the [img] tag, which in IE 5+ would cause the Javascript to be executed on load.
Fixed a small security bug, which allowed user with an ID of 2, to be able to see the forum's timings (page generation & SQL query timings) on certain pages.
Other Bugs Fixed
Fixed smilies parser, which under certain conditions would screw up the parsing of email addresses.
Fixed a bug that under certain conditions would fail to delete private messages, because of an invalid SQL query.
Fixed a number of layout bugs, dealing with mismatched styles.
Fixed a bug with the moderation system, that in some cases would fail to update to fud_forum table's moderators field.
Fixed SQL query syntax in smilies.inc to support older SQL versions.
Fixed a potential bug (I've been unable to replicate it), which may have caused ratethread.php to give SQL warning due to an attempt at inserting a duplicate entry into the fud_thread_rate_track table.
Layout Fixes
Based on previous suggestions, I've changed the color alternation on thread.php, once again your feedback would be appreciated.
I've updated the default styles with a new much more readable font, which seems to look quite good (IMHO) in IE and Mozilla.
I've changed the font sizes in the default style to use defined pixel sizes instead of small, x-small.
A number of general layout fixes were corrected, they are quite minor and are too numerous to list individually.
Added "New Thread" button to the bottom of thread.php as well as msg.php & tree.php
The links "New Thread","Reply","Tree View" were added to the bottom of msg.php
FUDforum Core Developer
[Updated on: Wed, 23 January 2002 04:25] Report message to a moderator
|
|
|
|
Re: 1.0.1 Beta Version [message #178 is a reply to message #177] |
Wed, 23 January 2002 04:23 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Mack wrote on Tue, 22 January 2002 11:11 PM | On code releases it would be much better to dump the annoying install script or have a version where a user can just untar and add the DB, change the paths and away he goes.
|
Well, the upgrade script we are working on will be really simple, it will ask only 1 question. The path to your GLOBALS.php file and nothing else.
For 1st time installs, I'll probably write a README.INSTALL file for people who do not wish to use any of the offered install scripts, I am not sure if that will make it in to the 1.0.1 release.
Quote: |
Is there really any need to have messages saved outside the DB? As the forums are sql based.
|
There are several reasons why messages are not stored inside the DB.
Reading of the messages is quite a bit more memory efficient as well as speedier, especially since messages are not stored in individual files but rather in thread blocks separated by offsets. When reading from files, FUDforum never stores more then 1 single message in memory at a time, while if we used mysql the SQL query would go and force php to store all the retrieved messages in memory while the script is running. Since php has about 2.5 times the memory overhead this can eat up quite a bit of memory or a set of messages with lots of text.
Importing of data is somewhat faster as you don't need to place large blocks of text into MySQL, you untar the files and you're done.
On most servers SQL is on a different hard drive from the one where the user files are kept, but using two drives you get quite a bit of speed improvement on large scale forums or servers with heavy IO traffic.
The actual message storage code is pretty modular, so it is possible withing maybe 1-2 hours to rewrite the current code base to use MySQL however, due to the reasons I've listed above I do not see it as a good idea.
FUDforum Core Developer
[Updated on: Wed, 23 January 2002 04:37] Report message to a moderator
|
|
|
|
Re: 1.0.1 Beta Version [message #180 is a reply to message #179] |
Wed, 23 January 2002 04:45 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Interesting idea, I'll consider it for 1.0.2
FUDforum Core Developer
|
|
|
Re: 1.0.1 Beta Version [message #186 is a reply to message #179] |
Wed, 23 January 2002 05:22 |
hackie
Messages: 177 Registered: January 2002
Karma: 0
|
Senior Member Core Developer |
|
|
Mack wrote on Tue, 22 January 2002 11:41 PM | Generally I prefer the use of mysql for everything like most forum users, I just see it a waste of mysql without any messages stored in it. One very nice option would be to be able to change backends from text file to mysql and vice versa.
|
But you DO must first realize that is indeed quite a bit slower storing messages in MySQL.
The bigger the message and the more of them, the more inefficient it becomes. The reasons for this are various, and if you are interested me or prot here can spend describing them, but suffice to say, I really, really suggest using the drive to store the messages NOT mysql, nonetheless, if that is what you people all want we will implement it at some point .. just not quite now 'cause we got various things to write, suggests to implement and so on..
cc intelligence.c -o intelligence
$ ./intelligence
Segmentation fault
|
|
|
|
|
Re: 1.0.1 Beta Version [message #194 is a reply to message #193] |
Wed, 23 January 2002 15:58 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
zerobits wrote on Wed, 23 January 2002 10:45 AM | where can i download 1.01? will it wipe out my existing postings, forums, and categories that i have created?
|
The upgrade to a new version, will not delete or corrupt your existing data, no worries
Once 1.0.1 comes out officially you'll be able to download it from our download page.
There are currently 2 things on the todo list, which need to be done before that happens.
First an online/offline status indicator on the message display code needs to be added as well as some SQL query cleanup for the code which does this. We also need to come to a decision on the upgrade script (read the other topic inside this forum) before we make a release.
FUDforum Core Developer
[Updated on: Wed, 23 January 2002 16:01] Report message to a moderator
|
|
|