Git Product home page Git Product logo

mobile's Introduction

Proof of Concept, XOOPS Mobile App

Instructions

  1. Download and extract
  2. Rename mobile-master folder to mobile
  3. Copy mobile folder to your XOOPS ROOT PATH
  4. Open mainfile.php in your XOOPS ROOT PATH

Find the line include XOOPS_ROOT_PATH . '/include/common.php'; at the page bottom

Replace it with the following code

	$link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 
            "https" : "http") . "://" . $_SERVER['HTTP_HOST'] .  
    $_SERVER['REQUEST_URI']; 

	if (strpos($_SERVER['REQUEST_URI'], 'mobile') !== false OR $link == XOOPS_URL . '/mobile/index.php' OR $link == XOOPS_URL . '/mobile/')
    include XOOPS_ROOT_PATH . '/mobile/common.php';
	else
	include XOOPS_ROOT_PATH . '/include/common.php';
  1. Test Login with your XOOPS Site Username and Password (eg http://localhost/xoops/mobile/)

mobile's People

Contributors

liomj avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

mambax7 c4pt000

mobile's Issues

No error message from an attempted login

Any error message from an attempted login in a xoops close site now will be displayed but when the website is open No error message from an attempted login

as example when user failed login such as wrong username/password

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.