bBBOARDv2 About UsOrderingTerms/PrivacyManualsSupportFeaturesDemo
Client Login
Welcome to bbBOARD!

NAME

Backend/Func/APost.pm - Display a post


DESCRIPTION

This function returns the HTML to display a single post, as seen when viewing a thread. Note that you should print a beginning TABLE tag before printing from this function, and print a closing TABLE tag afterwards.


USAGE

    $ret .= $self->APost($post_object, [ $highlight_hashref ], [ $userlevel ], [ $userlevel_arrayref ], $users_object [, $showsig_bool [, $showavatar_bool [, $canreply_bool [, $video_var ]]]]);

Example

    my $post = # ... details of the post to show from the 'posts' table of the database
    my $user = $self->{db}->getuser($uid);
    $ret .= $self->APost($post, undef, undef, undef, $user);
 
bbBOARD
© Copyright 2003-2004 bbNetwork Ltd