Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
External Login Script
I did a search for login scripts on other pages then the forums and got a couple sudo code looking responces but nothing that i could get to work. Im still kinda new to vanilla but really would like this feature.
What it needs.
To be able to be included on any page and create all needed sessions, check login, Allow use to login if not already(this can forward to another page if its easier).
Any help would be appreciated.
0
This discussion has been closed.
Comments
if(!isset($_SESSION['LussumoUserID'])) { // Not logged in echo '<a href="path/to/login/page">Login</a>'; } else { // Logged in $sql = " SELECT * FROM `LUM_User` WHERE `UserID`='$_SESSION[LussumoUserID]' "; $User = mysql_fetch_assoc(mysql_query($sql)); echo $User['Name']; }
http://www.osguide.net