August-2 - gadget boxes, virtual hosting, local trackback and more
188 script files have been updated from the previous release
Since I have been on vacation for some days, some nights have been dedicated to code cleaning. The home page has been enhanced with gadget boxes. Also, interesting suggestions from YACS users have been taken into account.
YACS now supports gadget boxes. Gadget boxes are displayed only at the home page. A new section has been created for that purpose (see sections/populate.php). Also, any category may be configured to list related pages into a gadget box. The home page of YACS has been enhanced to support both kinds of gadget boxes, and reference skins have been extended as well. See index.php.
Boxes displayed at the home page now display the introductory field, if any. If some introduction text is available for a box, it will be displayed, plus a link to the main content. Else the content will be displayed directly. This apply to any navigation, extra, or gadget box.
Less components appear on the home page for mobiles. Lists of popular files and links have been removed. Gadgets boxes as well. See index.php.
Code has been changed to better support virtual hosts. The server name can now be based on the HTTP_HOST header provided by the user agent (aka, web browser). Also safer ways to evaluate self-address have been implemented. Many thanks to Raeky for having pointed out these issues, and more. See shared/global.php.
Trackback has been extended to internal pages, meaning YACS enable cross-referencing of pages within a site.See links/links.php.
An export command has been added to articles/view.php to enable the downloading of published content as XML files.
User avatars are always displayed when available. Related configuration parameters have been suppressed.
Comments are always displayed below main content. There are no side notes anymore. As a result, articles/view.php size has been significantly simplified.
Bug fixed in the script used to delete articles. See articles/delete.php.
The setup wizard now attempts to write to a file as early as possible, in order to suggest about chmod if necessary. See setup.php.
Usage of friendly URLs has been streamlined throughout scripts. Code used to generate references has been neatly consolidated into database abstractions (e.g., look at
A new script has been added to let any associate review inactive user profiles. See users/review.php and users/users.php.
Computation of the ETag header attributes now takes into account the date of modification of main configuration files. See shared/global.php.
File reading has been streamlined with the generalised usage of
Up to 1,000 categories are now checked instead of 200 in categories/check.php.
Sidebars in the main panel now support titles. See an example at blocks.php.
YACS better supports the CSV format while preparing Excel sheets for downloads. See tables/tables.php
The help page for basic codes, at codes/basic.php, has been completed and the layout now enables for simple localisations. Still some work to do with other similar pages anyway.
The test page aiming to troubleshoot setup issues has been revisited. Check test.php
When logging a 40x error, the user agent and the remote IP address are now recorded. See error.php
Several minor enhancements in items layout and rendering. For example, the date of last login may be displayed along user profiles. Also, spaces have been added around smileys.
get_url() in articles/articles.php).file_get_contents().Rate this page
Posted by Bernard on Aug. 2 2004, (popular)