Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
login system
09-03-2011, 09:02 AM (This post was last modified: 09-03-2011 09:25 AM by Punktured.)
Post: #1
login system
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.


Attached File(s) Thumbnail(s)
                   

Custom HTML/CSS/PHP
http://theorderofindividualacceptance.co...p.php?id=1
Find all posts by this user
Quote this message in a reply
09-03-2011, 11:20 AM (This post was last modified: 09-03-2011 11:50 AM by Punktured.)
Post: #2
RE: login system
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.


Attached File(s) Thumbnail(s)
                   

Custom HTML/CSS/PHP
http://theorderofindividualacceptance.co...p.php?id=1
Find all posts by this user
Quote this message in a reply
10-04-2011, 01:30 AM
Post: #3
RE: login system
can you put the fwture in a zip file so we can use
Find all posts by this user
Quote this message in a reply
10-04-2011, 01:37 AM
Post: #4
RE: login system
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.

Custom HTML/CSS/PHP
http://theorderofindividualacceptance.co...p.php?id=1
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: