help hiding blocks from none regged

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
ominae
Active Member
Posts: 13
Joined: 16. November 2010 12:18

help hiding blocks from none regged

Post by ominae »

Your Portal Version: vr 1.0.6
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: http://afterdark.thedraconian.co.uk

What have you done before the problem was there?
I have used the search on this site and google to try and find a solution
even looked arround myself


What have you already tryed to solve the problem?
i have played arround wit a few files killed the board a few times in the prosess...
nothing much more.


Description and Message
i am trying to hide some of the blocks shown on my portal so that only
registerd members can see them after they have logged in to there accounts.

one is the mumble Block that is made using the ACP custom block
the other is the reent posts block.

i am not sure iff this is poss but i hope it is, i know how to disable the blocks
by omiting them from one of the cinfig files "sorry dont member the file name"
is there a mod for this or some edit i have to do i am not shy about messin with the
code though i undersand very lill.

many thanx

mark
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: help hiding blocks from none regged

Post by archivar »

Look here:
viewtopic.php?f=31&t=1829&p=25677#p25677
You use Google to translate the text into English.
V.G. archivar
sorry for my bad english

Topic author
ominae
Active Member
Posts: 13
Joined: 16. November 2010 12:18

Re: help hiding blocks from none regged

Post by ominae »

the post you linked is on about setting groups

not meaning to be dum but how dose that help me out :S

i dont get it sorry

mark

Edit; i read the whole post now thought google is nto too good it gives me an idear, they go on to talk about portalview
is this a mod i need to install to use this option to hide blocks as i do NOT have this and no idear what it is realy :S
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: help hiding blocks from none regged

Post by Marc »

Open styles/*yourstyle*/template/portal/portal_left.html or portal_right.html or portal_center.html

Find the blocks you want to hide from not registered users and then put this around the block:

Code: Select all

<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->

<!-- ENDIF -->

Topic author
ominae
Active Member
Posts: 13
Joined: 16. November 2010 12:18

Re: help hiding blocks from none regged

Post by ominae »

chears dude

din realise it was that easy :)
Dimond :)

thanks
mark
Locked

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