eurobelgian Posted September 1, 2008 Report Share Posted September 1, 2008 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? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted September 3, 2008 Administrators Report Share Posted September 3, 2008 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. Quote Link to comment Share on other sites More sharing options...
eurobelgian Posted September 4, 2008 Author Report Share Posted September 4, 2008 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> Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted September 4, 2008 Administrators Report Share Posted September 4, 2008 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). Quote Link to comment Share on other sites More sharing options...
eurobelgian Posted September 5, 2008 Author Report Share Posted September 5, 2008 The hidden ones! ofcourse... I have them put at the belstar page, but had forgotten to copy them to the index page... now it will work.Yeah, the skinning could be handy. I think that will be something for later, as we will launch tomorrow, and don't really have the time anymore.thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.