Idea for homepage (OTACON AND LG HAVE A LOOK ;) )

View previous topic View next topic Go down

Idea for homepage (OTACON AND LG HAVE A LOOK ;) )

Post by Neymar on Thu Jun 21, 2012 6:18 pm

I've got a little idea for the homepage, I'm not sure if it's possible though. When a guest visits it says,

Come this way to sign up to the Simply Fifa forums

|FORUM| Join now, it's free >


Which doesn't really make sense for when the person is logged in. So can we maybe do something to check if they are logged in, and if they are logged in display something different like this:

(An image of their avatar on the left with a nice border.) WELCOME NEYMAR
Top right maybe have Log Out in smaller writing and then keep the 'Forum' button.

For the Welcome username part you can use:

Code:
Welcome {USERNAME}

What do you think, and is it possible?
avatar
Neymar
Admin

Posts : 258
Join date : 2012-04-06
Warning : 100%

View user profile http://simplyt.forumotion.co.uk

Back to top Go down

Re: Idea for homepage (OTACON AND LG HAVE A LOOK ;) )

Post by Otacon_Alonsus on Fri Jun 22, 2012 3:10 am



yeah that would be nice.. would make it more Feng shui I think Smile.

LG would probably have a better understanding of the code in terms of session login / logged out.. to deal with the changing of the text in this instance.
avatar
Otacon_Alonsus
Admin

Posts : 181
Join date : 2012-04-06
Warning : 100%

View user profile

Back to top Go down

Re: Idea for homepage (OTACON AND LG HAVE A LOOK ;) )

Post by LGforum on Sat Jun 23, 2012 5:18 am

Unfortunately with no access to anything server on FM, the only route is Javascript.
This post: http://www.avacweb.com/t232-updates-2#2454
Will give you a global JS variable, LOGGED_IN, which will be true when the user is logged in and false when they aren't allowing you to perform different things depending on such.
avatar
LGforum
Admin

Posts : 32
Join date : 2012-06-04
Warning : 100%

View user profile

Back to top Go down

Re: Idea for homepage (OTACON AND LG HAVE A LOOK ;) )

Post by Neymar on Sat Jul 21, 2012 1:27 am

We probably need to get this done aswell? Forget about the avatar thing though.

Maybe just...(when they are signed in)

Hello USERNAME
Welcome to Simply Fifa.
avatar
Neymar
Admin

Posts : 258
Join date : 2012-04-06
Warning : 100%

View user profile http://simplyt.forumotion.co.uk

Back to top Go down

Re: Idea for homepage (OTACON AND LG HAVE A LOOK ;) )

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum