Giter Site home page Giter Site logo

subins2000 / open Goto Github PK

View Code? Open in Web Editor NEW
41.0 11.0 50.0 8.86 MB

An Open Source Social Network

Home Page: http://open.subinsb.com

License: GNU General Public License v3.0

CSS 17.03% PHP 52.68% JavaScript 27.88% HTML 1.96% Hack 0.04% TSQL 0.41%

open's Introduction

Open

An Open Source Social Network. Available @ http://open.subinsb.com Feel free to contribute and please report bugs if you find any.

If you need help, documentation and other info about Open, please see our blog : http://open.subinsb.com/blog

Note that the blog folder is not included in source code. The blog is ran using Wordpress.

The folder "cron" contains the CRON job files. Open the .php file in "cron" folder for more details.

Run On Localhost

Here is a simple tutorial on how to run Open on a Linux Apache Web Server.

  1. Install Git by Running the following commands
sudo apt-get update && sudo apt-get install git
  1. CD (Change Directory) to the Apache directory by running
cd /var/www/

in Apache Server versions 2.5 and above, the folder is /var/www/html instead of /var/www

  1. Now do this to pull the source code from GitHub to the folder "open" in /var/www
git clone https://github.com/subins2000/open.git open
Now open's files will be in the `/var/www/open` directory
  1. Using Replacing Softwares like (http://regexxer.sourceforge.net/)[regexxer], replace the string open.subinsb.com with localhost/open on the directory where you cloned the open repository. Also, there might be URL strings like open\.subinsb\.com in certain files which won't be covered with this replacing. An example is cdn/js/main.js file on open.externalLinks function.

  2. Create a MySQL database named "open"

  3. Execute The SQL Code in the file tables.sql

  4. Open file config.php of Open root directory and set the Database credentials.

  5. Go To http://localhost/open to see Open live in action

Libraries used In Open

jQuery

The @Mentions have been implemented on Open by using jQuery sMention Plugin

PHP OAuth Class. Thanks Manuel Lemos.

Resize image class

Debug

Pass "?show_errors=1" with the URL to see the errors, warnings omitted by PHP. Example : http://open.subinsb.com/?show_errors=1

License

subins2000/open is licensed under the GNU General Public License v3.0

Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.

open's People

Contributors

anandubajith avatar jovels2000 avatar namansachdeva avatar subins2000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

open's Issues

issue at signup. any way to change it to phpmailer instead of smtp?

a4pT2clC%2FFFqrskY%2FRvHvUmU%2B%2B7jr3%2BZh3VCfiJQAXahm%2FMnaBJhzYvxLF%2BqP3Nywc20qMtNjtxEf3an7Jq9tA%3D%3DSMTP Error: Could not authenticate.
Error

Something happenned while sending verification code. Try again for atleast 6 times and if it didn't work, post the issue on GitHub

Database info

Having trouble connecting to database needs better documentation for entering database information. A screen-shot with example data would be nice.

Can't signup - php error

Try sign up without "facebook" or "google+", i.e. using sign up form

Resulted below:
Fatal error: Class 'PHPMailer' not found in /var/lib/openshift/53a68185e0b8cd45aa000c47/app-root/runtime/repo/inc/class.open.php on line 459

Issues

"Also, there might be URL strings like open.subinsb.com in certain files which won't be covered with this replacing. An example is cdn/js/main.js file on open.externalLinks function."

You didn't specify what exactly to replace this string with . An attempt to replace open.subinsb.com with localhost\open resulted in a syntax error

Secondly, database 'open' table 'users' has a column 'psalt' which is given as 'password_salt' class.logsys.php

Code is dirty

USE MVC for Open as seperation of concerns would be much more intelligent, try out at laravel.com or laracasts.com

Xss Found in Find Person Page

Link
Example
Please check other files also.

Request headers 
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36
Content-Type: text/plain; charset=utf-8 
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-GB,en;q=0.8,en-US;q=0.6,hi;q=0.4
Cookie: __cfduid=d59cfffe4ef29e8276734778a6ad54b2b1392049671575; curuser=257; wervsi=5DAKW%252BkbKduC4KmywFShSXTQgOfUJESv7Aq%252FvzuMm8E%253D

Response headers 
Date: Sun, 16 Feb 2014 14:07:22 GMT 
Server: Apache/2.2.22 (Red Hat Enterprise Web Server) 
Vary: Accept-Encoding 
Content-Encoding: gzip 
Content-Length: 1224 
Content-Type: text/html 
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive

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.