#11

Product support

Get help in the plugin support forum.

Categories

  • Miscellaneous
  • Social

A plugin to manage your community with a focus on gaming communities.

A DEMO IS NOW AVAILABLE AT: http://aevdev.com, http://www.3p-esports.com is using the community plugin

Features

  • Manage teams, events, galleries, streams, partners and news posts
  • Add players, achievements and matches to your teams
  • List categories, events, galleries, matches, news posts and teams on your pages
  • Show a sponsor, gallery, team and news post on your pages
  • List related news posts by news categories
  • Show related news post by categories
  • Create featured news posts
  • Show a collection of twitch streams
  • Show a single twitch stream on your page
  • Reorder players in a team

These plugin(s) are required for the plugin:

Example usage of the Community Plugin

Implementing front-end pages

This plugins provides components for building news posts, teams, matches, events, sponsors, streams and galleries.

Teams

Use the communityTeams component to display a list of teams on a page. The component has the following properties:

  • maxItems - Maximum amount of teams to be shown on the page.
  • orderByCategory - Sort the teams be the categories they are in.
  • teamPage - path to the team details page. The default is teams/team - it matches the pages/teams/team.htm file in the theme directory.

{% component 'communityTeams' %}

Available variables

Property Type
name string
slug string
url string
story text
logo string
background string
published int
published_at datetime
category category object

News

Use the communityNewsPosts component to display a list of latest news posts on a page. following properties:

  • postsPerPage - Maximum amount of news posts to be shown on the page.
  • postPage - path to the post details page. The default is news/post - it matches the pages/news/post.htm file in the theme directory.
  • useCategory - Show only the news posts of a specific news category.
  • categorySlug - Use ":slug" as default for the page slug, you can also add your own slug to only show posts of a specific category. When you use ":slug" make sure to add this to your page URL as well.
  • featured - Show featured news posts only.
  • usePagination - Enable pagination for your news posts.
  • pageNumber - Always use ":page" as the "pageNumber" slug, if any other is used the pagination will not work. Make sure to add ":page" to your page URL as well.

{% component 'communityNewsPosts' %}

Available variables

Property Type
title string
slug string
url string
thumbnail string
background string
content text
featured int
published int
published_at datetime
categories array

Streams

Use the communityStreams component to display a list of twitch streams on a page. The streams use a every minute schedule to get the stream data from the twitch API, to set-up a cron job to run the schedule use this installation guide: http://octobercms.com/docs/setup/installation#crontab-setup

following properties:

  • maxItems - Maximum amount of streams to be shown on the page.

{% component 'communityStreams' %}

Available variables

Property Type
name string
status string
display_name string
game string
language string
partner boolean
logo string
video_banner string
profile_banner string
url string
views int
followers string
description string
viewers string
video_height int
stream_type string
preview_small string
preview_medium string
preview_large string
preview_template string

Partners

Use the communityPartners component to display a list of partners on a page. following properties:

  • maxItems - Maximum amount of partners to be shown on the page.

{% component 'communityPartners' %}

Available variables

Property Type
name string
logo text
website string
description text
partnerlinks array

Matches

Use the communityMatches component to display a list of matches on a page. following properties:

  • maxItems - Maximum amount of matches to be shown on the page.
  • teamSlug - Use ":slug" as default to use the page slug, you can also add your own slug to only show a specific teams matches.

{% component 'communityMatches' %}

Available variables

Property Type
tournament string
caption string
team team object
team_score string
opponent string
opponent_score string
opponent_logo string
category category object

Galleries

Use the communityGalleries component to display a list of galleries on a page. following properties:

  • maxItems - Maximum amount of streams to be shown on the page.
  • useLightbox - When a user clicks on the thumbnail the gallery will show up in a lightbox on the website.

{% component 'communityGalleries' %}

Available variables

Property Type
title string
thumbnail string
description text
items array

Events

Use the communityEvents component to display a list of events on a page. following properties:

  • maxItems - Maximum amount of events to be shown on the page.

{% component 'communityEvents' %}

Available variables

Property Type
name string
start datetime
end datetime
description text
location string
event_type event_type object
1.0.4

Team players sorting

Jul 09, 2017

1.0.3

Pagination & categorization on news posts

Jun 25, 2017

1.0.2

Streams data table

Jun 25, 2017

1.0.1

First version community plugin

Jun 25, 2017