Giter Site home page Giter Site logo

tanny411 / groupstudy Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 9 MB

A social networking Web App aiming to make group interaction easier and more organized. Features include posting, commenting, files upload and file/folder organizing system along with a group shared whiteboard API for group sharing experiences, all within one or more groups as organized by the members of a group.

PHP 47.08% CSS 19.43% HTML 12.63% JavaScript 20.87%

groupstudy's Introduction

Project GroupStudy

A Web App to ease collaboration among groups of people, especially useful for students looking for a medium other than typical social media platforms to keep connected. Easy interaction, file sharing and chat features make the app a all-in-one for keeping up-to-date with group members.

Features include:

  • Users create an account, and can create groups.
  • Users are part of one or more groups. Each group has a landing page where they can interact.
  • Group members with a groups admin password can invite other registered members.
  • They can post, comment on posts, engage in chat.
  • Groups have a fie storage system to store files organized in folders.
  • Set tag to uploaded. Search files by tag or filename or filetype.
  • See notifications both inside and outside of group.
  • A shared white-board app is accessible to each group.

This app was built with a PHP backend and pure HTML, CSS, JS based front-end.

Demo

Run Project

Server

  • Install XAMPP.
  • Open and run Apache and MySQL by sudo /opt/lampp/manager-linux-x64.run. Start Apache and MySQL.
  • In xampp/htdocs/ clone this repository.

Database

  • Open localhost/phpmyadmin in browser and create a database called groupstudy.
  • Go to Import, click choose file and select the setting files/groupstudy.sql file. Click Go. The database should be set up. Some dummy data fills the database, if you want you can clear all the tables.
  • [optional] In user table, facebook, linkedin, github columns need to be set to have default as NULL.
  • Run SET @@global.sql_mode= '';

Set file path

  • If you are not running from linux, in GroupStudy/generatecaptcha.php change the path towards the end of the file to the proper location of the GroupStudy folder.
  • Similarly in two places in register.php, on place in deletepost.php, addpost.php, and profile_setting.php.

Send mail

Application will work fine without these settings, just emails wont be sent.

  • Windows
  • Linux
  • Have to turn on access to less secure apps ON in gmail. Turn it off later if you want.

Run

  • Run localhost/GroupStudy/main_page.php from browser and Enjoy!

Project Files

  • MAIN PAGE

    • main_page.php (connect.inc.php, core.inc.php)
    • mainjs.js
  • LOGIN

    • login.php
    • login_form.php
    • login.css (backL.jpg)
  • REGISTER

    • register.php
    • register_form.php
    • register.css (generatecaptcha.php, font.ttf, backR.jpg)
    • registered.html
    • registered.css
  • LOGGED IN

    • loggedin.php
    • loggedin_form.php
    • loggedin.css
    • loggedin.js
    • search_img.png
    • grouplist.php
  • GROUP

    • setsession.php
    • grouppage.php
    • grouppage.html
    • grouppage.css
    • grouppage.js
  • GROUP FEATURES

  • USER SETTINGS

    • logout.php
    • deletenotif.php
    • profil_setting.php
    • profile_setting_form.php
    • profile_setting.css
    • profile.php
    • profile_form.php
    • profile.css
  • CHAT FEATURE

    • insert_chat.php
    • chat_log.php
    • offline.php
    • toggleoffline.php
    • namelist.php //to update showing online or offline
  • GROUP SETTINGS

    • group_setting.php
    • group_setting.html
    • group_setting.css
    • remove_user.php
    • timeout.html
    • timeout.js
  • INVITE TO GROUP

    • invite.php
    • invite.html
    • invite.css
    • invite.js
    • send_invite.php
    • userlist.php//list of users not in group
    • deleteinvite.php
    • add_to_grp.php

groupstudy's People

Contributors

tanny411 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

groupstudy's Issues

Delete Group

admin must be able to delete group, or if you support democracy, poll for group deletion, and the group will be deleted!

All users leave?

what if all users leave the group? It will remain an empty group with lost of 'removed users' posts no one can access!

TimeOut page

time out page, to pass the time. time out from studies!

Invite page name duplication

same name if already selected as tag, appears again in the drop-down list and can be re-selected, problems:
1.same name appears multiple times
2.same thing re-written in database multiple times
n,b use set somewhere to fix it

Admin Setting

Make the group creator an admin, and selected people : can ban or approve members (also delete group)
So far group settings are restricted to people who know password, also to leave group, one needs the group password (kindof absurd). should be able to delete 'remove users' posts/comments

Email invite

One click link for users to enter group from which they are invited (on group creation only)
otherwise prompted for login/register and then redirect to group.

Notification jump to new comment

on jump to new comment(when clicked on notification), the comment box of that particular box should remain open, to view the comment.

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.