===============
XVI. Changes:
===============
New in 1.2 (08 Jul 2001)
------------------------
Added features:
- All
new experimental template engine, written from scratch. It's up to 5 times
faster than the old one (measured on my PC), while retaining practically
100% backwards compatibility. Unfortunately it requires PHP4.0.2 to run,
so the old engine will still be included as well (and remains the
default).
AT PRESENT THIS NEW CLASS IS INCLUDED MAINLY FOR TESTING PURPOSES !
IF IT WORKS, THAT'S GREAT, I'M SURE YOU WILL LOVE IT. HOWEVER, NO
SUPPORT IS GIVEN AT THIS TIME, AS IT IS STILL IN TESTING STAGES!
Associated with this change is a new entry in config.inc.php called
$cfgAdvancedTemplateEngine which defaults to FALSE. Set it to TRUE to
activate the new template engine.
Read more about this class at http://yapbb.sourceforge.net/PSPCooker/
- All
new YBB tags class:
1.
Say goodbye to smilies in [code] tags. :)
2.
Bug fixes in the regular expressions that make up the
YBB code.
3.
Rewritten a couple of regular expressions that make up
the YBB code.
4.
Added [php] YBB tag for PHP code syntax highlighting,
[size=x] and [color=x] tags for more markup control, [sub] and [sup] tags for
more simple markup, [email=x] tag for custom email links, [hr] for a horizontal
rule, [me=XXX] tag as an alternate /me thingy. Read the FAQ on your YapBB
installation for details.
Read more about this class at http://yapbb.sourceforge.net/YBBtags/
- Built
a completely new search engine, based on a great article on PHPBuiler.com,
for finding words in messages.
- Added
an accompanying script for updating the search index table (for use in
cron jobs and task scheduler tasks).
- Added
new 1.1 --> 1.2 upgrade script (for updating 1.1 tables to 1.2 format).
- Quick
hack to display a post's poster's IP. (thanks to Johnny Appleseed)
- A new
script is added and included at the end of each 'main' script, which is
used to do some 'cleanup' instructions. (can be used to display how long
it took for YapBB to render the page)
- Added
a few more translation-entries to the main template.
- Added
field 'classnames' to classes, for use with serialization.
- Added
the long awaited email page. Now sending emails to other users, who have
specified they allow others to send them emails, is available. Also,
sending topic URLs to friends is available.
- Added
a JavaScript warning to the Default templates when deleting a topic or
message.
- Added
experimental feature to the control panel, for automated checking for
updates.
- Added
administrative functions to profile info page (viewProfile.php) for easier
per-user editing.
- Added
administrative function for easy renaming of topics. (Idea by Johnny
Appleseed)
- Added
configuration switch which specifies whether or not to allow duplicate
nicknames (case sensitive). (Idea by Johnny Appleseed)
- Added
(finally! ;)) basic avatar capabilities (user-identifyable icons besides
each post). Users can now specify an URL to an avatar in their profiles.
Much later, we may devise a more advanced system. Associated with this
change is a new config.inc.php switch to specify whether or not to show
avatars by default. (Is a per-user setting.)
Yes, this means that the
'avatar' table is now redundant, but we preserve it as we may use it again
in the future for another purpose.
- Added
a new feature which shows whether the poster of a message is logged in on
the board or not.
- Added
a new couple of indicators; how many posts a user has and whether or not
he or she is logged in to the board.
- Added
a new and much requested feature: persistent logins. Now, when logging in,
visitors can opt to remain logged in after the browser window closes.
- Added
better support for more than one YapBB on a single webserver by specifying
a cookie prefix in the YapBB configuration.
Removed features:
- Removed
trailing newlines after closing PHP tags (?>) in all 'included' and
'required' PHP files.
- Removed
administrative functions from whosregistered.php as they are now
accessible from the public profile page.
Bugfixes:
- Bug
fixes in the register.php which caused a parse error and to 'forget' the
'location'-field.
- Bug
fix in forumDisplay.php which caused a faulty redirect.
- Layout
change in post.ybt/post.php which now allows anonymous posts by simply
leaving the 2 textfields empty (vs selecting the checkbox).
- Bug
fix in moderator.php which would prevent moving a topic to another forum.
- Bug
fix when deleting a post. Now the field 'lastpost' in the topic table is
re-set correctly.
- Bug
fixes in post.php which would cause additional quotes and such to appear
and the wrong emoticon to be selected when the visitor caused a an error
of some sort after he pressed Submit.
- Bug
fixes in the database upgrade script which would cause all existing user
accounts to be deactivated when run. Also now the 'Description' field is
properly renamed to 'description'. Other small things.
- Bug
fixes in the admin page which would cause the list of moderators to be
incomplete and the list of possible positions to be empty (when viewing
the properties of a category).
- Fixed
some typos in various locations.
- Bug
fix in global.php::getUserStatus, which would cause an infinite loop,
which would in turn timeout the script. This would occur when viewing the
profile of a non-global moderator, which had been assigned to at least 1
forum.
- Bug
fix in global.php::getModeratorValidation, which would deny non-global
moderators to access the moderator functions. (thanks to Johnny Appleseed)
- Bug
fix in global.php::getForumHopper, which would cause a
stripslashes-related problem.
- Bug
fix in viewProfile.php: a forgotten call to 'stripslashes()' caused some
slashes to linger in the title of the last topic that particular user had
replied in.
- Bug
fix in profile.php which would deny users to change their passwords.
- Made
the emails (registration, passwords, etc) Hotmail friendly. Now the 'to'
field is explicitly added to the headers of the emails. Otherwise, while
having the inbox protector turned on, these emails would end up in the
bulk mail folder.
- Bug
fix in find.php which would cause to not find all topics when searching
for recent user posts.
- Made
the frontpage only display totals for 'relative' topics. Before, when a
visitor had set a limit on the age of topics to be shown, the frontpage
would show totals disregarding this setting. It has been corrected.
- Bug
fixes in frontpage.php; the announcement-count setting is now truly taken into
account when retrieving announcements and sticky announcements are really
working now. Honest. :)
- A few
style sheet related things.
Misc:
- Made
the database upgrade script a bit more descriptive.
- Extended
the contents of the forum FAQ (faq.ybt that is).
- Changed
the code that processes smilies throughout the entire code. $smilies array
that contains the codes/filenames is more intuitive now.
- Cleaned
up emoticons. Thanks to Paul Mullet for removing the rough edges and
making the whole set a noteworthy 1kb smaller in size. :)
- Changed
all "require('config.inc.php');" statements to
"require('./config.inc.php');" to make sure it is independant of
the 'include_path' directive in php.ini.
- Moved
another couple of language-specific phrases out of the code and into the
templates system.
- Made
the entire 'Default' layout Netscape 4 friendly.
- Many
other small code tweaks.
- Removed
the need for 'disclaimer.txt' as its contents is now integrated into the
appropriate template file (register.ybt).
- Reorganized
this manual and updated it a bit.
- Completely
rewritten post.php from scratch. Now almost 50% smaller and way less
queries. Plus the code finally is much, much clearer.
- Merged
the 'whosonline' and 'whosregistered' pages (into a 'members' page). They
now also use a single template file.
(Note that many of these bugfixes were already
available for YapBB 1.1.)
New in 1.1 (07 Apr 2001)
------------------------
Added features:
- An
announcement system - Moderators and administrators can now 'promote'
simple topics to announcements. Announcements are references to these
topics and are shown on the frontpage.
- Now
it's possible to post anonymous messages! (Option can be turned on or off
by the administrator.)
- Visitors
are now able to select their own prefered layout (if others are
available).
- Allow
admins and visitors to set their timezones and other new options.
- A
basic FAQ (Frequently Asked Questions) is added. You are encouraged to
review and edit it. If you think you have valuable additions, feel free to
mail them to us, so we can add them as well.
- Being
able to delete a post.
- Added
a general on/off switch for the forum, including a new page
'outOfOrder.php', which is showed when the board-operator had disabled the
forum.
- Some
small additions to the main administrative pages.
- Added
new HTML-like YBB tags ([code], [url=], [s] (strike-through), [list],
[edit], [img2] (for large images) and [offtopic]).
- Plus,
you can use '/me' for IRC-style scizophrenia and [you] to address the
reader directly.
- Search
function: search for topics (description and contents) and users.
- Templates,
templates, templates!
- Allowing
full control over the appearance by allowing you to specify a CSS file to
include.
- Display
printer-friendly version of topics.
- Optionally
compress the output before it is sent to the browser.
- Include
an icon in the user's favorites, when a page of the forum has been
bookmarked.
- It's
now possible to alfabetise and split the list of users that are
'online/registered'. Previously a complete list of all applicable users
was generated. On a forum that has many, many users, this situation was
not practical.
- Additionally,
a new control panel for easy configuration, after the board has been set
up. It features all the functionality of the old admin pages and
additionally many new things.
- A
flood protector. Picture this situation: An user submits a message but
grows impatient because sending the result of the action takes too long.
Then he presses the submit button again. A sample result could be that the
user has posted the message twice. The flood protector allows users to
submit only one message, say every 30 seconds.
- Indication
of whether or not there are new posts in topics/forums.
- You
now really are able to subscribe/unsubscribe to threads and receive
notifications of new posts in them by email.
Removed features:
- Removed
the default list of e-mail providers to ban, for as long as there's no
'manager' for this list.
- Discontinued
the use of the class mime_mail, because some web-based email providers
were reportedly unable to handle registration email-messages. Thanks to
Morten Vitved.
- Removed
the option for JavaScript pages from the settings page. This is now
implemented in one of the available template sets.
- Removed
the 'Sites running YapBB' section from this README.
Bugfixes:
- Fixed
another set of bugs (on more than one occasion) which would prevent users
from registering or updating their profiles correctly.
- Fixed
a problem with the password encryptor.
- It was
still possible to register twice with the same email adress. Now not
anymore. Thanks to Marco Boon.
- He
also pointed out that moderators were unable to post messages and read
topics (when logged in), due to an error in some MySQL queries.
- Fixed
a little bug in the administrative pages (occured when deleting empty
forums).
- When
clicking on the blue arrow next to a 'Last Post', occasionally the wrong
post received focus. Now not anymore. :)
- Under
some circumstances, when using characters that normally require 'escaping'
with a '\', would cause those slashes would be displayed as well. This
should now be completely fixed.
- Bug
fix which allowed to new posts in locked topics. Thanks to johnny
appleseed!
Misc:
- YapBB
is now completely compatible with PHP3!
- Improved
the error-handling for posting messages. Imagine typing an enormously
lengthy message, making a typo while entering your password and only to
find your message whiped from the input field after you press the 'Back'
button on your browser after you read the error message.
- Added
quite some extra information to this readme.
- Drastical
expansion and redesign of the database structures.
- Enhanced
the administrative functions of 'whosregistered.php' a bit.
- Replaced
the 'ek'-smiley with the 'shout'-smiley.
- Fixed
the need for the 'double' }> (devilish grin) smiley.
- Optimized
the 'forum-hopper' a bit, thanks to Tom Beddard.
- Made
the MySQL error handling more robust.
- Replaced
the MySQLquery class with another one, which will make future support for
non-MySQL db's easier to implement.
- Added
a routine for inserting topics for 'special' servers that do not properly
support the mysql_insert_id() function.
- We
made the source code and documentation 'UNIX-compatible'. (all \r\n in the
script files/documentation files are converted to \n)
- Changed
the URL of the home page and email address (more than once actually ;)).
- Introduced
a co-programmer to the project! Everybody say hello to Sven!
- One
"Super user" (now: "Administrator"), which is 'above'
administrator (now: "Global moderator") level.
- Removed
'index.php' and replaced it with 'index.html'. This should decrease the
initial access time and serverload a bit.
- Previously,
categories and forums were ordered by the value of their 'id' field in the
database, but now you can specify your own index for records of both
databases and rearange the items as you see fit.
- Many
changes in the configuration file, including default values.
- Different
method of storing cookies. All values are now stored into one array and
then serialized.
- More
descriptive and user-friendly error-pages.
- An
new way of registering is introduced: now when you register, you can
choose your own password right away. In stead of sending a random password
to the registrant, an activation code is sent. This code has to be entered
the first time the registrant wants to login. Note that an account has to
be activated first before it can be used at all.
- Generally
cleaned up the code quite a bit and finally, finally commented the whole
lot.
- Lots
of cosmetic changes.
(Again, note that many of these bugfixes were already
available for YapBB 1.0a.)
New in 1.0a (19 Aug 2000)
-------------------------
- A bug
was fixed in the administration page. Nothing serious though. :) A
non-essential hyperlink wasn't working.
- You
can now specify custom names for tables in the database.
- I
somewhere forgot a ';' in register.php. :( It has been corrected.
- In
register.php and profile.php is mistakenly used str_len() in stead of
strlen(). Thanks to StefanOnline for pointing that out.
- Small
cosmetic changes.
New in 1.0 (18 Aug 2000)
------------------------