Are there any specific guidelines or restrictions for using PHP in .tpl files in Woltlab's Burning Board?
When using PHP in .tpl files in Woltlab's Burning Board, it is important to follow certain guidelines to ensure compatibility and security. One common restriction is that direct PHP code should be avoided in .tpl files, and instead, PHP should be used within the provided template syntax. This helps maintain separation of concerns and prevents potential security vulnerabilities.
// Example of using PHP within template syntax in a .tpl file
{if $user->isLoggedIn()}
<p>Welcome, {$user->getUsername()}!</p>
{else}
<p>Please log in to access this content.</p>
{/if}