Page 1 of 1

simple portal welcome help

Posted: 17 May 2010, 02:09
by neuropass
hey guys, i wanted to hide the welcome block for registered users and have the mchat there instead.

what should i do?

I have the mchat code, the one posted in the portal topic, but what about hiding the block for registered users?

Re: simple portal welcome help

Posted: 17 May 2010, 03:10
by cisco007
what about using this for registered

Code: Select all

<!-- IF S_USER_LOGGED_IN -->your content here<!-- ENDIF -->
for unregistered!

Code: Select all

<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->your content here<!-- ENDIF -->

Re: simple portal welcome help

Posted: 17 May 2010, 03:19
by neuropass
awesome cisco this is what i wanted!!!

Re: simple portal welcome help

Posted: 07 Sep 2010, 11:50
by trekky
Is this to remove the welcome box once member has logged in?

If so where do you put the edits?

Re: simple portal welcome help

Posted: 07 Sep 2010, 12:15
by Steve
open styles/prosilver/template/simpleportal_body.html
find:

Code: Select all

	<!-- Start Welcome -->
	<div class="forabg">
add before:

Code: Select all

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

Code: Select all

	</div>
	<!-- End Welcome -->
add after:

Code: Select all

<!-- ENDIF -->
refersh template