Free Adult Tube-Video Script Forum

Full Version: login system
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i did not write this code.
http://www.evolt.org/node/60384

you will have to do some editing, as some of the mysql commands they used are no longer in use.

but it seems to work good once you edit some thing.

if you get it working, this is how you restrict content to logged in users only....
i will use my search form as an example:
Code:
<?
if($session->logged_in){
?>
    <div style='float:right;padding-right:20px;'>
        <? include_once('searchform.php') ;?>&nbsp;&nbsp;
    </div>
<?
}
?>

ill show some pictures.
here is some screenshots of the admin area for deleting users and assigning admins.

i had trouble getting it to list all users and banned users, so i rewrote those functions. and it seems to work ok now.

i will try to get it all working a bit better, then i will post the codes.
with all credits going to its original author.
alot can be done with this system.
i just made a side menu to list logged in users,
and moved the "There is 1 member(s) and 0 guests online." to the footer.
can you put the fwture in a zip file so we can use
well, while it looked good in theory.
it actually didnt turn out too well, it was not possible to limit comment makiung to logedin users only, etc.
and i lost my host so i dont actually have the files anymore.
i am sorry.
Reference URL's