Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 11-05-2012, 12:13 PM
Hedgen's Avatar
Hedgen Hedgen is offline
Member
 
Join Date: Oct 2012
Posts: 36
Gender: Male
Credits: 7,228
Hedgen is on a distinguished road
Default

I figured it out. I just had to change $loginform to $article_content

So this:
Code:
$loginform = "<form name='form1' method='post' action='login.php'>
  <p>Username: 
     <input name='username' type='text' id='username'>
</p>
  <p>Password: 
    <input name='password' type='password' id='password'>
</p>
  <p>
    <input type='submit' name='Submit' value='Submit'>
  </p>
  <p>Don't have an account?<br>
  <a href='register.php'>Register Free</a>  </p>
  <a href='forgotpass.php'>Forgot your password?  Click Here</a>
</form>";
To this:
Code:
$article_content = "<form name='form1' method='post' action='login.php'>
  <p>Username: 
     <input name='username' type='text' id='username'>
</p>
  <p>Password: 
    <input name='password' type='password' id='password'>
</p>
  <p>
    <input type='submit' name='Submit' value='Submit'>
  </p>
  <p>Don't have an account?<br>
  <a href='register.php'>Register Free</a>  </p>
  <a href='forgotpass.php'>Forgot your password?  Click Here</a>
</form>";
Edit: How do I make it so it doesn't take you to "login.php" but it still logs you in? I kind of want to create a "visual novel" kind of feeling when the user isn't logged in, so it shows a person, few sentences later you pick login (or register) and I want to make it so if it's not a valid login information, the person says "It seems you either put the wrong username or password in, or we do not have an account for you. Please try again". Or if you put the right information in: "Welcome back." shows up, in the same window.

- Figured out the "Loading screen" thing -
__________________
I have some small tutorials Here that show things such as re-arranging the SIDEFEED and LINKSBAR, and redirecting people after login.

Last edited by Hedgen; 11-05-2012 at 06:42 PM.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't do first login Mortain Questions and Supports 17 11-13-2015 07:56 PM
Login Problems pepofaec Questions and Supports 8 04-16-2014 08:26 PM
Unable to Login. NobodysHero Questions and Supports 42 11-23-2013 03:53 PM
Login Issue Yuki Night Questions and Supports 14 06-02-2013 02:35 PM
login fix 12345 Questions and Supports 0 03-13-2009 02:03 PM


All times are GMT -5. The time now is 08:46 AM.

Currently Active Users: 2935 (0 members and 2935 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636