bBBOARDv2 About UsOrderingTerms/PrivacyManualsSupportFeaturesDemo
Client Login
Welcome to bbBOARD!

Board Tags - Special tags for bbv2 templates

The bbv2 templates are parsed to make use of various special HTML-like tags. You can include these tags directly into any bbv2 template. The list of supported tags is below, with examples where needed.

<ACTION> - Inserts the name of the requested action.
<BBTITLE> - Inserts the intended content for the TITLE tag of the page.
        <html>
        <head>
        <title><BBTITLE></title>
        </head>
        ...
<DEBUG> - Inserts debug output, if debugging is enabled.
<IFIN> ... </IFIN> - Only displays the inner text if the user viewing is logged in.
<IFOUT> ... </IFOUT> - Only displays the inner text if the user viewing isn't logged in, or isn't registered.
        <html>
        <body>
        <IFIN>
                You are logged in!
        </IFIN>
        <IFOUT>
                You are <b>not</b> logged in!
        </IFOUT>
<LOGINOUT> - Shows a login box, or a log out link.
<NEWESTMEMBER> - Links to the profile of the newest member.
        <html>  
        <body>
        The Newest Member Is: <NEWESTMEMBER>
        ...
<NOSPIDERS> - Inserts a meta tag disallowing robots/spiders from crawling, if you've enabled that feature.
        <html>
        <head>
        <NOSPIDERS>
        ...
<PERL> ... </PERL> - Embed Perl code in your template. Note: Use return to display text or html, not print.
        <html>
        <body>
        <PERL>
                my $value = 4 * 6 * 45;
                return "The value is: $value";
        </PERL>
        ...
<TIMENOW> - Shows the current time.
        <html>
        <body>
        The Time Now Is: <TIMENOW>
        ...
<TOTALMEMBERS> - Shows the total number of members.
        <html>
        <body>
        Total Members: <TOTALMEMBERS>
        ...
<TOTALPOSTS> - Shows the total number of posts.
        <html>
        <body>
        Total Posts: <TOTALPOSTS>
        ...
<UONLINE> - Shows the number of users currently online.
        <html>  
        <body>
        <UONLINE> users currently online.
        ...
 
bbBOARD
© Copyright 2003-2004 bbNetwork Ltd