Jump to content

Login


eurobelgian

Recommended Posts

Hey,I've something strange:At this page: http://www.flyeurobelgian.com/websitefi ... arclub.php the login works correctlybut at the index page (press on home), it doesn't! When you fill in the system goes to the login page of the phpvms pages...You can also see it like that:at the belstarpage: when you don't fill in anything,the system says "you have to fill in..."at the indexpage: nothing is mentionedI find it quite strange as it uses identically the same code!Do you know why?

Link to comment
Share on other sites

  • Administrators

What do you mean uses the same code?You must post the username/password to index.php/LoginYou need to login through the system. It handles things like pulling user information/session information. Without all of that, it forces a new login.I'm not sure what you mean 100% though.You know you can skin phpvms to look like http://www.flyeurobelgian.com/websitefi ... arclub.php So you don't need to manually re-do every page (which it looks like what you're doing). The template system is made that way so you don't have to (see the phpVMS demo site). Skinning is just like any other system, like Wordpress or phpBB, the content is done already, you're creating the design around it.

Link to comment
Share on other sites

Yeah I know I can do the skinning in phpvms, but I find it quite difficult, especially to receive something very very nice... So now I have a public website and a crew system system (which uses a slightly adapted phpvms design). For the joining page, I'm using an Iframe. Entrance is possible through those 2 links. Only at the special belstarpage, the login works perfect. So when you enter you data there, you can login directly into phpvms. But at the index page, which uses however the same code, it opens the phpvms pages, but without logined in...This is the code I used: (on the index page)

 <?php include '[i]blablabla[/i]';<form name="loginform" action="http://www.flyeurobelgian.com/belstarclub/index.php/Login" method="post">					<?php echo "<?xml version='1.0'?>"; ?>					<?php					if($message)					echo '<p class="error">'.$message.'</p>';					?>			<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">      <tr>        <td>E-mail:</td>        <td rowspan="4"><div align="center"><span class="normal_text_darkgrey"><img src="images/logos/belstarsmall.gif" width="73" height="26" /></span><br /><br />          <input name="submit" type="image" value="submit" checked src="images/loginactive.gif" border="0"></div></td>      </tr>      <tr>        <td><input name="email" type="text" size="10" /></td>        </tr>      <tr>        <td>Password:</td>        </tr>      <tr>        <td><input name="password" type="password" size="10" /></td>        </tr>    </table>	</form>

Link to comment
Share on other sites

  • Administrators

You might be missing something, compare the native login code with yours. It's not supported in the way you're doing it though, alot of behind the scenes stuff happens. You could be missin a hidden submit field though.Do try using the native skinning though, you can do exactly what you're trying to do, it's alot less effort than what you're putting in (see ceruleanairlines.com).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...