GithubHelp home page GithubHelp logo

nilsding / justask-old Goto Github PK

View Code? Open in Web Editor NEW
9.0 4.0 1.0 685 KB

justask - something like formspring but only single user

License: GNU Affero General Public License v3.0

PHP 97.00% CSS 3.00%
php justask questions-and-answers single-user horrible-code do-not-use here-be-dragons

justask-old's Introduction

justask

justask is more or less something like Formspring or Ask.fm, except it's single-user only.
Think of it as viewing an user on one of these platforms

→ READ THIS BIT ←

I, @nilsding, have stopped working on justask already about 8 months ago (July 2013). I'm currently focusing on the development of justask's successor, justask2.

So, if you want to extend justask, feel free to fork this repo and make pull requests. Patches welcome.

Features

  • Answer questions
  • Ask questions
  • Ask questions anonymously
  • Use Gravatar for profile icons
  • Post new answers to Twitter
  • Themes!

Requirements

As always, a web server (any should work) with PHP5 and MySQL installed. I recommend using the latest version of everything.

Oh, and IIS is horrible. Don't try this at home.

Installation

Before you ask "hurrrr wher is z config.php", I would recommend you to take a look at the install.php. It will generate a config.php for you and even does all the SQL stuff (creating tables and so on…). After finished installing, be sure to delete the install.php and edit your login data using the ucp.php. The default user name is "user" and the default password is "password".

Upgrading

Upgrading is easy! In most cases, just running the curent update_jak.php will work.

SSL for the User Control Panel (ucp.php) using Apache's .htaccess

First you need to make a new vhost with ssl. Then do symlinks in to your webserver's ssl directory.

Example:

	# Directory to https
	cd /var/ssl/ask.meikodis.org
	# Symlinks from http to https
	ln -s /var/www/ask.meikodis.org/* .

Then do two .htaccess files. One for http to https.

cat /var/www/ask.meikodis.org/.htaccess
	RewriteEngine On

	RewriteCond %{REQUEST_URI} ucp.php [NC]
	RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [L]

One for https to http.

cat /var/ssl/ask.meikodis.org/.htaccess
	RewriteEngine On

	RewriteCond %{REQUEST_URI} index.php [NC]
	RewriteRule .* http://%{SERVER_NAME}%{REQUEST_URI} [L]

justask-old's People

Contributors

nilsding avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

centzilius

justask-old's Issues

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.