The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

FM home page system

2 posters

Go down

Solved FM home page system

Post by Ape October 23rd 2015, 1:47 am

Hi @Ange Tuteur Hello I am Using your Cool Homepage system like on FM
What i was thinking i would like it so when your Logged in you have this one
FM home page system Captur43
But when your Logged out you see this one but i want the tab on it like the one we have when logged in
Tab to say Viewing As a Guest
FM home page system Captur44

Please can you help me with that Wink

Forum Address:
HERE!!!

APE



FM home page system Left1212FM home page system Center11FM home page system Right112
FM home page system Ape_b110
FM home page system Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19196
Reputation : 1997
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: FM home page system

Post by Ange Tuteur October 23rd 2015, 11:11 am

Hi @Ape,

So a tab displays for guests, try adding the following script to the homepage message :
Code:
<script type="text/javascript">
if (!_userdata.session_logged_in) document.write('<div id="userName"><span>Viewing as </span>Guest</div>');
</script>

I think you might also need some CSS to contain the tab :
Code:
.panel.introduction {
  position:relative;
}
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: FM home page system

Post by Ape October 23rd 2015, 1:52 pm

Worked like a Charm Thank you FM home page system Eating11 FM home page system Up_and11
Topic solved and archived


FM home page system Left1212FM home page system Center11FM home page system Right112
FM home page system Ape_b110
FM home page system Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19196
Reputation : 1997
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top

- Similar topics

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