1

Topic: Make header/banner change when logged in

How do i make to banner change to when logged in.


One when visiting page pre login

Then another one for logged in users.


anyone know?

Re: Make header/banner change when logged in

This piece of code should solve your problem:

if ($forum_user['is_guest'])
{
  //banner for guests
}
else
{
  //banner for users
}

3 (edited by tokyo 2010-06-19 05:51)

Re: Make header/banner change when logged in

Thanks, ill try it out later



is it dumb to ask where to put it? tongue

4

Re: Make header/banner change when logged in

Tried this one but dident realy get where to put it.

Im assigning a header allready thru the theme css.

If i remove that IMG link to make banner in the right place.

Then where to put code?

5

Re: Make header/banner change when logged in

bumb.


Still need help with this one guys.