Skip to main content Help Control Panel

Aubagne HipHop

Tout le Hip Hop d'Aubagne et des alentours

Home «   Server software «  

Documentation: comments/layout_comments_as_yabb.php

Class Layout_comments_as_yabb extends Layout_interface - Layout comments as posts in a YABB forum

This layout features two columns, one to display contributor attributes, and the second to show the comment itself.

For each poster following attributes are displayed if available:

The comment icon is also a link to the comment permalink.

Post of new comments may have been explicitly prevented in anchor (option 'no_comments'). Otherwise commands to post new comments are added if the surfer has been authenticated, or if anonymous comments are allowed (parameter 'users_with_anonymous_comments' set to 'Y'), of if teasers have been enabled (parameter 'users_without_teasers' not set to 'Y'). Both global parameters are set in users/configure.php).

This script is a reference file of this system.

Voir aussi:

Licence: GNU Lesser General Public License

Auteurs:

Testeurs:

items_per_page() - The preferred number of items for this layout

function items_per_page()



Voir aussi:

layout() - List comments as successive notes in a thread

function &layout(&$result, $capability='?')

Tools
Browse the source of this script
Server software