Knowledge Base / Category / Survey plugin

Survey plugin

Created by McFly, maintained for version 1 by septor, maintained for version 2 by Jimako

01. How to install survey plugin JM version

How to install survey plugin from version maintained for version 2

Septor version fixed to be able running with version 2. Same new things added (bootstrap templating). But this plugin is not actively used, so use it on your own risk.
If you want to try Jimako's version, go to:

https://github.com/Jimmi08/survey

Click on
71fe5d4c9f98

If you use download option, it will download with wrong folder name.
You need to unpack it and rename folder (change folder name survey-master to survey).

Only then upload via FTP to your e107 installation.

Be sure that you are uploading correct folder (after unpacking there can be one folder under other)

This folder has to uploaded on server:
30036d7e5d24

Then go to Plugin manager, not installed plugins, find Survey plugin and then it is it.

03ee8d31be09

If you see this after installation, installation was succesfull.

98a8c7f286c5

If you see there 2 options, it's because just part of old plugin was updated. The same survey (form) is now maintained 2 ways. Fields can be added only in second option.

02. How to add new form

How to create form in admin area

This could be confusing, because I didn't want to mess with original code but I needed new functionality. So there are 2 ways how to work with the same data.
There is very good help for this from original authors, so just how to not get lost between 2 versions of the same plugin.

Click on option Surveys (old version).

2038aca185d3

Add new Survey

97161e5e2a02

Fill the name at least.

264348db7c5e

» Name: The name displayed in the table title.

» Visible to: Who can view the survey's statistical data.

» Mail to: Results of each survey will be email to the list of addresses here. Separate addressees with a comma.

» Save Results: Do you want the results to be save in the db so statistical data can be produced?

Click on Proceed. Now you can add fields.

» Question: Question asked.

» R: Check to make field required.

» H Check to make a field hidden

» Type: What type of a user response will be asked for.

The exception is the 'seperator' type. This is used to add some text between the fields. For question category seperation for example. The question field can be any text with full bbcode support. You can use the parameter of 'menu' to enclose this in a menu style table.

9d5e0f195870

Example:

30a4797f53cd

There are 2 links available - legacy and sef-url.

Result with bootstrap 3 theme: (no templating).

3f78817117d1

As soon as survey is created, you can use new functionality:

6efba4cb4e21

2790b6e0efb3

03. Survey messages

Overview of surveys messages

Overview of surveys messages
Survey messages are now on one place:

87946e3d4429

Original messages:

» Survey Message: Message placed above the survey to explain to the users what the survey is for, etc.

» Survey Submission Message: Message given to the user after the survey has been completed.

Added messages:

» Slogan:

» Message Top :

» Message Bottom :

Those shortcodes can be used in survey template.
$SURVEY_TEMPLATE['view']['start']    
$SURVEY_TEMPLATE['view']['end']

5eb2cf2f6b5b

You can use shortcode too (it was possible at least in e107 2.1.6 version )