Code Monkey home page Code Monkey logo

inspireme's Introduction

inspireMe

Project for CMPE58A at Bogazici University for Spring 2015.

Project is live at http://kyzn.org/inspireme for a limited amount of time.

by Kıvanç Yazan & İbrahim Çimentepe

inspireme's People

Contributors

ibrahimcimentepe avatar kyzn avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

inspireme's Issues

Sorting posts of a community

  1. available only for users (guests will be redirected into index)
  2. if it's a private community, we'll check whether user is already in the community. if not, posts will be hidden.
  3. public > join button (unless already joined)
  4. private > request to join button (unless already joined OR sent a join request)
  5. details of a given community (shortdescription, createdon)
  6. posts in community (title, text, upvote button, links to each show_post.php)
  7.   sort posts: reverse chronological order
    
  8.   sort posts: use an algorithm similar to 9gag (later)
    

Implementation of Post page

  1. available only for users (guests will be redirected into index) ~ This may not be the case for public pages.
  2. if community is public, post will be visible to all. if private, we need to perform a check to see whether logged in user is a member of given community. if not, post will be hidden (redirect to show_community.php?comm_id=123 with error message)
  3. upvote button for post
  4. comments for given post
  5. upvote buttons for comments
  6. input for new comment

Implementation of Profile Page

  1. available only for users (guests will be redirected into index)
  2. if id is not given, show logged user's profile (ie. redirect to show_user.php?user_id=$_SESSION['UserID']
  3. show user's information
  4. show communities user belong to
  5. show posts
  6. show total post count, comment count, number of post upvotes received, number of comment upvotes received (gamification)

Profile Information

  • Basic User Info : Joined Time, Last Activity Time, Real Name(?)
  • Contact Information : Email Address, Facebook adress(?), Twitter address(?)
  • Activity : Total Post Count, Total Comment Count, Total Likes (Upvotes), Follower Count(?), Share Count(?)
  • Enrolled Communities
  • Recent Activity : Posted, commented, liked (post or comment), followed (person), shared etc..

Search

Users should be able to search communities and posts by giving keywords.

outline

left_frame.php (left-frame to display navigation buttons)

logout: login, register
login: username,create community,communities, logout, add post

index.php

include featured.php

show_featured_community.php

featured communities (bring one random public community, print description etc)

list_communities.php

login control
list of communities, links to each individual community page (note if private)

show_user.php?user_id=123

login control
if id is not given, show logged user's profile
show user's information
show communities user belong to
show posts
show total post count, comment count, number of post upvotes received, number of comment upvotes received

create_community.php

login control
form to create a community

show_community.php?comm_id=123123

login control
if private community, join control
public > join button
private > request to join button
details of a given community (shortdescription, createdon)
posts in community (title, text, upvote button, links to each post.php)
sort: reverse chronological order
sort: use an algorithm similar to 9gag (later)

show_post.php?post_id=123

login control
join control
upvote button for post
comments for given post
upvote buttons for comments
input for new comment

create_post.php

join_requests.php?comm_id=123

login control
admin control
list outstanding requests > approve / reject

Implementation of Header page

Two types of gui status :

  1. Guests : login, register buttons and a featured community
  2. Users: username (link to profile), create community, communities, logout, add post buttons and a featured community.

Create post

  1. available only for users (guests will be redirected into index)
  2. if user is in zero communities, redirect to index with an error message.
  3. there will be dropdown for communities, populated by names of communities user is a member of.
  4. form for a post will be seen (submitted to _check.php)

Featured Community page

At the main page, there will be an example community page to attract new users on using our system.

  • Bring one random public community, print description etc.

Followiing User, ability

Users may want to follow other users, these followed users' activity can be shown in profile pages of each users.

Pre-approve members to a community

  1. available only for users (guests will be redirected into index)
  2. available only for admins of given community (users will be redirected into show_community.php?comm_id=123)
  3. list outstanding requests > approve / reject
  4. when a request is approved show_requests_approve.php?comm_id=123&user_id=123 will be called
  5. when a request is deleted show_requests_delete.php?comm_id=123&user_id=123 will be called

List of communities

List of all communities will be shown to users only. Guests will be redirected into index, in case they type the address.
List of communities : links to each individual community page (private communities will have a special mark)

Report

We need to deliver a report by Tuesday.

Tagging posts and comms

There is a segment in the posts for this. This can be used to bring the posts of the same category.

Implementation of Login & Register Logic

Design of login.php, login_check.php, register.php, register_check.php, logout.php

  1. login&register related actions
  2. login and register has forms. when submitted *_check.php is called.

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.