Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
upkasite
Regular
Regular



Joined: Oct 18, 2003
Posts: 51
Location: Florida

PostPosted: Sat Oct 25, 2003 1:12 pm Reply with quote

On runescapehelp.net they have it where the login is at the top now i know this is a php-nuke system as i have checked the source code. i am not an idiot. anyways i was wondering how do i do that.
 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Oct 25, 2003 2:16 pm Reply with quote

They have modified the header.html file (or a similar file) in their themes folder and just added the code from the login.php file (or a similar script) to accept the input their instead of in the regular login block.
 
View user's profile Send private message
upkasite







PostPosted: Sat Oct 25, 2003 2:38 pm Reply with quote

still doesnt help me
 
revspalding
New Member
New Member



Joined: Oct 20, 2003
Posts: 15
Location: NW Colorado

PostPosted: Mon Dec 01, 2003 3:04 pm Reply with quote

Why would you think you are an idiot?

Anyway, what theme are you using?
In the themes/(your selected theme) directory there is a file named header.html
That file controls how the top of your site looks.

Take the code for logging in from the block-login.php file:
Code:
<form action="modules.php?name=Your_Account" method="post">

<center><font class="content">Username:<br>
<input type="text" name="username" size="10" maxlength="25"><br>
 Password<br><input type="password" name="user_password" size="10" maxlength="20"><br>
<input type="hidden" name="op" value="login">
<input type="submit" value="Log In"></font></center></form>

and paste it into the header.html file where you wish the login to appear.
You might mess around with the layout (enclose it into a table) or play with it until it lays out the way you want it to.
It depends on which theme you are using exactly where that will appear and whether you want it to layout vertically or horizontally.

_________________
The Spalding Supplement to the Peter Principle:
You can be promoted beyond your level of competance, if your boss is working at his. 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©