# NorrCompetition Application for JomSocial

[NorrCompetition Application for JomSocial](https://norrnext.com/joomla-extensions/norrcompetition-addons-pack#jomsocial) provides integration of actions made in NorrCompetition to JomSocial. It comes as an Application and Activity Stream plugin.\
The Application controls activity stream and displays the list of entries and number of received votes in user's profile. The plugin adds actions performed in NorrCompetition to JomSocial stream.

### Installation

The package comes with two plugins which should be installed as standard Joomla extension via **Extensions > Manage > Install** and **Upload Package File**:

* **norrcompetition-application-for-jomsocial.zip** - JomSocial Application.
* **plg\_competition\_estream\_x.x.x.zip** - Activity Stream plugin.

After the installation you can find a new Application in JomSocial settings and a new plugin (types: **competition** and **community**).

Note: once norrcompetition-application-for-jomsocial.zip installed, this plugin has the following name:\
`Community - NorrCompetition`

### Application for JomSocial

Applications in JomSocial can be managed via Plugins Manager. Go to **Extensions > Plugins** and open **Community - NorrCompetition** plugin to configure its settings.

<figure><img src="https://norrnext.com/images/docs/norrcompetition/plugins/norrcompetition-application-for-jomsocial-settings.png" alt="JomSocial Application settings in the Joomla plugin"><figcaption><p>JomSocial Application settings in Joomla plugin</p></figcaption></figure>

#### Plugin settings

* **Display Title** - override the default plugin name by entering a new one here.
* **Favicon** - will be used as application image. For best results use a 64px x 64px PNG file.
* **Description** - override the default plugin description by entering a new one here.
* **Count** - the number of entries to display.
* **Core Application** - works only if the 'Core Application' settings is set to 'Yes'.
* **Position** - default position if you select this as a Core Application.
* **Hide if No Content** - do not show the application if there is no content to be shown.

### Activity Stream Plugin

The **Activity Stream** plugin creates events in EasySocial / JomSocial activity stream on specific actions of the NorrCompetition component. Go to **Extensions > Plugins** and open **Competition - Activity Stream** plugin to configure its settings.

<figure><img src="https://norrnext.com/images/docs/norrcompetition/plugins/norrcompetition-activity-stream-jomsocial-settings.png" alt="Competition - Activity Stream - JomSocial settings"><figcaption><p>Activity Stream - JomSocial settings</p></figcaption></figure>

#### JomSocial Options

* **Create Contest** - determines if the stream should be generated when a user creates a new contest.
* **Submit Entry** - determines if the stream should be generated when a user submits a new entry to contest.
* **Vote** - determines if the stream should be generated when a user votes for entry.
* **Grand Prix** - determines if the stream should be generated when entry gets Grand Prix status.

### Front-end result

<figure><img src="https://norrnext.com/images/docs/norrcompetition/plugins/norrcompetition-application-for-jomsocial-frontend1.png" alt="NorrCompetition actions listed in the stream of a user&#x27;s profile"><figcaption><p>NorrCompetition actions listed in the stream of a user's profile</p></figcaption></figure>

<figure><img src="https://norrnext.com/images/docs/norrcompetition/plugins/norrcompetition-application-for-jomsocial-frontend2.png" alt="NorrCompetition App as a tab at user&#x27;s profile"><figcaption><p>NorrCompetition App as a tab at user's profile</p></figcaption></figure>
