Plugins
Templates
Template Setup Guides

Redditly - Aggregation like Reddit Template

Template page link: https://zeroqode.com/template/redditly---aggregation-like-reddit-template-1586976043390x790259302311024000

Introduction

Redditly - Aggregation like Reddit Template is a no-code template similar to Reddit where users can ascribe to communities and have real-time conversations, articles, posts and share images. It is designed to cater for different categories of communities such as art, gaming, tech, sports, business, sports, memes and so on.

Features

  • Fully responsive pages

  • Minimal design

  • Multi-level comments and replies

  • Responsive admin dashboard

  • Dynamic database structure

  • Messaging

  • Shared Links copier

Data Structure

Data structure contains all database related information about data types, fields and dependencies.

Data type

Field

Type

List?

Notes

User

This data type contains information about the user like username, profile picture, followers etc.

Followers

users

yes

List of users following current user

Following

users

yes

List of users followed by current user

image

image

profile picture of user

username

text

username of user selected on signup

email

email

category_of_community

this data type represents every possible category a community created can have

name

text

name of the category e.g art,tech, gaming etc.

comment

data type for comments posted on posts. it can only be entered by a logged in user

comment

text

the actual comment made by the user

downvoters

users

yes

list of users that downvoted/dislike the comment.

upvoters

users

yes

list of users that upvoted/liked the comment

points

number

a point is added for every upvote and a point is removed for every downvote; the subtraction gives the points.

reply

reply

yes

list of replies to the comment taken from the reply data type

users

user

user that made comment

Community

these contains the communities created by the admin of the platform. every post is posted in a community

category

category_of_community

each community picks a category from the dropdown of category of community data type

image

image

profile picture of community

members

users

yes

list of users that follow community

name

text

name of the community

post

post

yes

list of posts posted in the community in question

Message

messages between the users of the platform are stored in this data type.

recipient

user

the recipient of the message

sender

user

the user sending the message

subject

text

subject of message

text

text

content of the message

Post

this data type contains the post posted on the platform

aggregate_vote_count

number

this is a number that stands for the aggregate vote by users

comment

comment

yes

list of comments made by users on the post.

community

community

contains community that post was posted in.

controversy_score

number

created_by

user

user that wrote post

details

text

actual content of the said post

downvote_count

number

number of users that downvoted post

downvoters

user

yes

list of users that down-voted the post

exclude_from_all

yes/no

exclude_from_popular

yes/no

image

image

image added to post

is_reported

yes/no

by default it is no but becomes yes when a post is reported

reported_reason

text

reason why post was reported

title

text

title of post

total_interactions

number

total_vote_count

number

upvote_count

number

upvoters

user

yes

views_count

number

number of users that viewed post

Reply

this contains replies to the comments in the post

comment

comment

comment in which reply is for

downvoters

user

yes

upvoters

user

yes

points

number

reply-comment

text

actual reply to the comment

user

user

author of reply

Pages Description

Pages description lists all pages of the web application whilst describing the purpose of the page.

Page Title

States

Element

Notes

index

landing page of the site

hide_state

text hide

used to hide the current cell post of the repeating group post

share_link

share button

used to show and hide the the link to be copied in every post when share is clicked

sort

sidebar

used to filter the contents of the repeating group post from hot to new and to controversial

all_communities

this page displays all the communities on the platform and can be filtered based on the category selected by current user.

cat_filter

repeating group communities

used to filter the repeating group communities to display communities based on filtered category

community

hide_state

group post_buttons

used to hide the current cell post of the repeating group post

share_link

share button

used to show and hide the the link to be copied in every post when share is clicked

login

for users to log in either by entering their saved username and password or using the demo login button

signup

for users to signup either by entering their details or using the demo login button

messages

conversation between users happens here, a tab for inbox and sent messages are displayed here

current_tab

message_tab

used to toggle the tab from inbox to sent

show_message

expand button

used to toggle the visibility of the entire message in the inbox tab

show_message

expand button2

used to toggle the visibility of the entire message in the sent tab

post

this page is where clicked post are displayed

hide_state

group post_buttons

used to hide the current cell post of the repeating group post

share_link

share button

used to show and hide the the link to be copied in every post when share is clicked

profile

this is the profile page of users

current_tab

profile_tab

used to toggle the tabs in the profile page

hide_state

group post_buttons

used to hide the current cell post of the repeating group post

share_link

share button

used to show and hide the the link to be copied in every post when share is clicked

create_new_post

used to create new post by logged in users, on submit of post, title, image, author, details are added to the post and a new thing is created

Reusable Elements

Reusable elements description provides information details about all reusable elements inside the application.

Reusable elements

States

Type

Notes

Header

feed

header

used to filter the displayed posts

Things to Note

Navigation is straightforward on all pages, except for the profile page, group viewing and product viewing pages where there are some ajax style navigation.

Admin Dashboard

For security purposes the template has limited rights for potential customers. What this means is that users will not be able to use the admin features at full until this template has been bought and users must enable the functionalities accordingly, see below.

Below you could see the workflows and database setup for locked features.

In order to enable Admin features in the template , create a user with username admin in database as follow:

However this could be changed in workflows Check the setup workflow for page and remove the events on delete buttons with condition: "Current's User's username is admin" altogether as seen below.

Demo to preview the template