Hiding blocks from guests?

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
krael
Active Member
Posts: 2
Joined: 13. September 2009 14:46

Hiding blocks from guests?

Post by krael »

Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge

What have you done before the problem was there?


What have you already tryed to solve the problem?


Description and Message
I'd like to hide the news block from guests, but have it there once they've logged in. Is this possible?
User avatar

talonos
Portal Specialist
Posts: 242
Joined: 7. June 2009 15:12
phpBB.com User: talonos

Re: Hiding blocks from guests?

Post by talonos »

in the portal_body.html file insert this to apply what you want around the block in question.

Code: Select all

             <!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
                <!-- INCLUDE portal/block/NAME_OF_BLOCK.html -->
             <!-- ENDIF -->
Creating board3 website? check the sites out below for board3 compatible extensions
Talonos: Pretereo stormrage EU OFFLINE!
Locked

Return to “board3 Portal 1.0.x - English Support”