We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Detecting Loged In User | Forum

Topic location: Forum home » Support » General Questions
Anthony Apr 27 '11
I am trying to show certain content to logged in users only

Example logged in as "$USERNAME$"show nothing

Iv seen this done on a wall.fm site. (Oxwall software)


The welcome and join page doesn't have anything in the side bar but if you log in a view pages like profile, video , photos etc you see the side bar content.

Iv studie the site and i know why it doesn't show on certain pages using: "style= none" code, i just don't know how it knows when your logged in or on a certain page.

Any help is appreciated.
Brooklyn Sweet
Brooklyn Sweet Apr 27 '11
I looked at the site etc if you remove everything on the main page form the side bar and only keep "my profile" the welcome page and join page wont have a right side bar but you got to allow only members to see the site and then guests will see the page without the sidebar