Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: oOo--STAR--oOo on February 20, 2010, 10:52:47 AM

Title: [HELP]How to check login session with ZEN gallery
Post by: oOo--STAR--oOo on February 20, 2010, 10:52:47 AM
Hi I have a ZEN Gallery..
and I'm using SMF 2.0 RC2

Is there anyway That i can add some code to zen gallery to check the login session on the forums..

So that the user has to be logged in in order to visit the gallery?

If they attempt to visit the gallery it will simple ask them to login to beable to view it?

Help with this would be most appreciated..
Title: Re: [HELP]How to check login session with ZEN gallery
Post by: oOo--STAR--oOo on February 28, 2010, 12:45:31 PM
Is there anything anyone can do to help me with this..

I tried by adding a global onto the index.php in the zen gallery script. but it didnt work

Is there a way to make it connect to the smf database and check the user exists or is even logged in and not banned..

I really need something on this gallery where only members can access it. I know its possible I have seen it on other websites.

Can some one help with this?