MyBB Community Forums

Full Version: Set something on every page but not on portal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello everyone,

I have made a own block and this block I want to have visible at all pages but not on the portal page.

I know the code if u want to have only visible at the portal (<if THIS_SCRIPT == "portal.php" then>) but not the code that the block is visible at all pages but not on the portal.

So whats the code to have the block visible every page but not the portal

Thanks
try <if THIS_SCRIPT != "portal.php" then>
Exactly as Leefish said. I assume you've already installed the template conditionals plugin in order for <if then> statements to work, right?
Thanks works well !!!!