Topic: Question

how do i set up my site to use the same login info as the forums
Example they register throw the forums but i want them to still me able to use the same login info on other pages for my site
my site is still under development as u can see http://imperialism.zxq.net/ i already got the forums set up but i dont know hot to link it in with the login on my home page along with the rest of the pages on my site

Re: Question

Depends what you are using for the front-end of your site. Usually you will have to do some 'out-side' coding. You will want to pull the login information from the Forum SQL database and put it in your sites user database. That is just a very oversimplified look at it though.

3 (edited by naruto7 2011-06-23 15:40)

Re: Question

Lutherross3 wrote:

Depends what you are using for the front-end of your site. Usually you will have to do some 'out-side' coding. You will want to pull the login information from the Forum SQL database and put it in your sites user database. That is just a very oversimplified look at it though.

it would be nice if their was a guide to show me how to do this im using php java css and html for the site coding atm the login table on each page is just an html of it atm with the login button linked to http://www.imperialism.zxq.net/includes/jsNew/login.js but the problem is i dont know how to make the files to retrieve the info and also when they are logged in to display the logout button along with their display name in the same area as the login
if u want u can look at the source code in it u can see the entire code in the source
also when u look at the login.jss when u see " includes/process/login.php " in it its just temp becuse i needed to put somthing in their for filler for the time being till i get and it tells me where i will put the correct path then its done

login table

<form id="loginForm" name="login" method="post">
<!-- Username -->
<div class="formTitle"><center>Account:</center></div>
<center><input name="user" value="account" class="input username" title="This is the account name you log into the game with." type="text"><br></center>

                
<!-- Password -->
<div class="formTitle"><center>Password:</center></div>
<center><input name="pass" value="password" class="input password" title="This is the password you use to log into the game with." type="password"><br></center>
                
<!-- Response -->

<div id="login_response">
<!-- Imperialism! -->

</div>
                
<!-- Submit -->
<div id="loginButton" style="display: block;">
<center><input value="Log In" class="button" type="submit"></center>
</div>
                

<!-- Loading -->
<div id="login_loading" style="display: none;">

<center><img src="http://www.AruaROSE.com/images/site/spinner.gif" align="center"></center>
</div>
                
<!-- Forgot -->
<a href="" title="Forgot Account?"></a><center><a href="" title="Forgot Account?">Forgot Account?</a> <a href="" title="Forgot Password?">Forgot Password?</a></center>

<br><br>
</form>

Re: Question

Wish I could help. I have virtually no coding experience. But im thinking you will need some php script to query the database. Wish I could be of more assistance. There are alot of coding forums out there that could probably show you what you need or get you in the right direction. Good luck. Nice site btw