Giter Club home page Giter Club logo

hmhb's Introduction

In order to make sure it all works, please follow the steps below:

  1. In your phpMyAdmin/SQL server admin, run the following SQL code in your SQL tab:

----------- COPY BELOW -----------

CREATE TABLE hb_mb ( mb_id int(10) UNSIGNED NOT NULL AUTO_INCREMENT, mb_code varchar(32) NOT NULL DEFAULT '', mb_username varchar(16) NOT NULL, mb_emailaddress varchar(100) NOT NULL DEFAULT '', mb_password varchar(32) NOT NULL DEFAULT '', mb_datetimejoin datetime NOT NULL DEFAULT '0000-00-00 00:00:00', mb_lastlogin datetime NOT NULL, mb_passresetcode varchar(32) NOT NULL DEFAULT '', mb_logincode varchar(32) NOT NULL, mb_activate varchar(1) NOT NULL, mb_deactivate varchar(1) NOT NULL, mb_ban varchar(1) NOT NULL, PRIMARY KEY (mb_id) ) ENGINE = MyISAM DEFAULT CHARSET = latin1;

----------- COPY ABOVE -----------

  1. Upload the files.

  2. Go to the file "config-hm.php" and change the variables inside the speech marks "YOURSQLUSERNAME", "YOURSQLPASSWORD", "YOURSQLDATABASENAME" to match your SQL database.

  3. Go to "register.php and look the following line:

$message.="confirmation.php?code=$confcode";

  1. Change the line above in "register.php" to include your domain name path i.e.:

$message.="http://somfic.dx.am/confirmation.php?code=$confcode";

  1. Go to "forgottenpassword.php and look for the following line:

$message.="resetpassword.php?code=$forgotemailresetcode";

  1. Change the line above in "forgottenpassword.php" to include your domain name path i.e.:

$message.="http://somfic.dx.am/resetpassword.php?code=$forgotemailresetcode";

  1. To change the page you visit once you've logged in, find the following code in "login.php" and change index.php to whatever link you want:

echo "<script type='text/javascript'> document.location = 'index.php'; </script>";

  1. Voilà!

hmhb's People

Contributors

lordromias avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.