
Code: Selecteer alles
Thank you for downloading the LoginAnywhere Hack. Before installing the hack, you must make a few necessary code adjustments. First, open logon.php. Then, find all instances of
http://www.vipersoftrunescape.com/Forum/
and replace with the PhpBB root directory of your site (include the hostname, just in case you move the frame page's location). Then, find all instances of
main
and replace with the frame you want the result to appear in (not the frame the login box will be in). After this, open the frame file in which you want the login box to appear. Insert the code
<iframe src="http://www.yoursite.com/forum/logon.php" width="150" height="100"></iframe>
where you want the login box to be. You may modify the width and height to suit your needs, but if you do, there may be scrollbars. To prevent the scrollbars from appearing, add the
scrolling="no"
tag after the height tag. After this, save all changes. If necessary, change the extension to .htm or .html (untested).
Installation
------------
To install, upload logon.php to your root PhpBB folder. (i.e. yoursite.com/forum).
Use
---
Whenever a user types in their username in the first text box, and their password in the second, then press Log in, the frame you specified will log the person in to the specified account. If the person is already logged into another account, then they should first click the Log out link, or else the Log in button will have no effect.