YACS 7.2: free tags, twin pages, content language, graphical setup
Posted by Bernard on Mar. 7 2007, page edited by Bernard on Mar. 19 2007, (popular)
339 files have been modified or introduced to the previous version (7.1).
The new release is available for
immediate download. If you are already running a YACS server we highly recommend you to
smoothly upgrade your server.
Here is a list of new or updated features coming with this release:

YACS adds tags to articles, and transform them to permanent categories in the taxonomy tree.

The main category 'keywords' hosts tags and search terms as well.

The page selector now offers to create a new page if an unknown nick name is used. See
go.php.

The page selector now detects twin sections and articles, and in this case lists matching pages for final selection. See
go.php
When an article or a section has twins, these are listed aside automatically. See
articles/view.php and
sections/view.php.

Because of twin sections and articles, a number of layouts have fallen back to basic ids in links instead of names. This does not apply to tabs in templates, which still redirect to named sections where possible.

Language used throughout a page can be selected for articles and for sections.

If a language has been defined for a section or an article, it is made available to the template in
$context['page_language'] variable.

The Setup Assistant now starts in graphical mode, using the
skeleton reference skin

The configuration panel for the rendering engine now accepts a trailer, that is, some text to be appended to every page generated by YACS.

In menu bars, first and last commands have been assigned the CSS classes
.first and
.last respectively.

Labels used in contextual menus and in bread crumbs are cleaned from any HTML tag or YACS code, in
skins/skin_skeleton.php
Some minor improvements on the daily layouts, thanks to Lasares.

A link has been added to every page footer to the index of rss feeds. See
skins/page.php
On section creation, a shortcut has been added to the follow-up menu to create another section, but only for associates and editors.

When a section is in a watch list, the scope now also extends to sub-sections. This means that people can subscribe once to a forum, and receive alerts for posts in any discussion board. See
sections/section.php
Alerts from special sections have been blocked, to avoid intempestive messages when an extra box is added, etc. See
sections/section.php.

Mail messages sent to watchers contained a strange '%s by %s' line, which has been fixed in
articles/article.php and in
sections/section.php. Message sent to watchers have been made more explicit as well, and some indication has been added to stop automatic alerts.

YACS mailer has been improved, to support bracketed recipient addresses, new lines in subject lines, etc. See
shared/mailer.php
A bug that prevented properly packaging of several files into one single archive has been fixed. Also, there is no sub-folder 'files' in the archive. See
files/fetch_all.php.

Logger e-mail notifications could, in occasions, create spurious warning to page authors. This has been fixed in
agents/logger.php
Extraction has been added to the library for zip files (
shared/zipfile.php), meaning it becomes easier to share skins, pieces of software, etc, since YACS now supports
.bz2,
.tar,
.tgz and
.zip formats. The only prerequisite for this is that the zip PHP module has been activated at your server.

You can stage a .zip archive for server upgrade (
scripts/stage.php)

You can install a skin placed in a .zip file (
skins/upload.php)

The function that group files attached to a page into one single archive does not create a sub-folder into the archive anymore. One click saved on unzip... See
files/fetch_all.php.

The default for new sections is now to not contribute to site front page. To have a web space visible at home, it has to be configured explicitly as such. See
sections/edit.php
The browsing of reference scripts now makes use of the rendering engine, in
scripts/browse.php
The staging script now stops if the execution time cannot be extended, forcing manual upload, in
scripts/stage.php
A rendering glitch has been fixed in petitions, in
overlays/petition.php
Warning messages popped up on lists of decisions. This has been fixed in
decisions/decisions.php
Cache is cleared when server is switched on, since server activations were usually followed by a manual cache purge anyway.

The Control Panel has now a shortcut to launch run-once script, if applicable.

Changing the skin by clicking on its thumbnail image was broken. This has been fixed in
control/configure.php
An include directive has been added to a script that renders lists of comments, because this one was complaining in occasions.

YACS now limits versions of a page to one per day. If a page is edited several times during a single day, only the last version will be stored permanently.

Preview of comments is working as expected again. Thanks to Agnès.

User profile also lists contributed files. See
users/view.php
The script that render comments in discussion boards has been enhanced to enable additional CSS combination. See
comments/layout_comments_as_yabb.php
Anti-robot control has been added to the form that allows for the post af a new link (
links/edit.php)

The internationalization library now features a complete database of country codes, as per ISO definition, and a comprehensive database of countries per telephone code. See
i18n/i18n.php
The rendering of PHP code has been improved. Previously folding code can lead to strange rendering. Now sliding is achieved through CSS instead. See
codes/codes.php
Sub sections are now sorted in alphabetical order by default, in
categories/members.php
Categories, and membership information, was not removed from the database when anchor was deleted. This has been improved to achieve a cleaner database, in
categories/categories.php and elsewhere.

The member function
Call:call() has been changed to
Call:invoke(). This has been made very necessary by PHP version 5, because of new reserved keywords.

A new layout has been added to present articles like a Yahoo! map. See
articles/layout_articles_as_yahoo.php.

Article teasers are not used in decorated layout anymore, and only page introduction is reflected here, if it exists.

Navigation links between images were broken on custom alignment. This has been fixed in
articles/article.php.

The setup assistant now checks that cookies are properly activated before moving forward. See
setup.php
The login page also checks for cookies, in
users/login.php
The assignment of categories to various places has proven to be buggy. This has been fixed in a number of scripts, including the front page, at
index.php
All submit buttons have been changed from
<input type="submit" /> to
<button>...</button>. This should please Mac users with aqua buttons, but also web designers who want to improve the rendering of buttons at the bottom of forms.

The size hint that is dynamically created by YACS to maximize file uploads now properly handle mega and kilo bytes.

Warning messages in safe mode have been fixed in
shared/sql.php.

Cosmetic warnings have been fixed in the diff function that presents differences between scripts. See
scripts/scripts.php.

Files are now ordered by attachment dates by default, instead of date of last update. See
files/files.php