simple portal welcome help

Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
Locked
User avatar
neuropass
BBCoder IV
BBCoder IV
Posts: 173
Joined: 11 Apr 2010, 02:33

simple portal welcome help

Post 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?
Modd it up! TweakScene ;-) Support us! || Follow us ||

Image
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: simple portal welcome help

Post 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 -->
User avatar
neuropass
BBCoder IV
BBCoder IV
Posts: 173
Joined: 11 Apr 2010, 02:33

Re: simple portal welcome help

Post by neuropass »

awesome cisco this is what i wanted!!!
Modd it up! TweakScene ;-) Support us! || Follow us ||

Image
trekky
BBCoder II
BBCoder II
Posts: 11
Joined: 27 Aug 2010, 15:54

Re: simple portal welcome help

Post by trekky »

Is this to remove the welcome box once member has logged in?

If so where do you put the edits?
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 848
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: simple portal welcome help

Post 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
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
Locked