Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takeit/plugin-sendfeedback
Allows users (registered/non users) to send feedback messages with attachments. Submitted attachments are automatically added to Media Archive with status "unapproved". Feedback message is also added to the Newscoop Admin Panel in Content -> Feedback
https://github.com/takeit/plugin-sendfeedback
Last synced: 3 months ago
JSON representation
Allows users (registered/non users) to send feedback messages with attachments. Submitted attachments are automatically added to Media Archive with status "unapproved". Feedback message is also added to the Newscoop Admin Panel in Content -> Feedback
- Host: GitHub
- URL: https://github.com/takeit/plugin-sendfeedback
- Owner: takeit
- License: gpl-3.0
- Created: 2013-11-25T13:43:59.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T19:38:04.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T13:12:46.267Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 127 KB
- Stars: 0
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Send feedback - Contact Plugin
Plugin for basic contact form functionalities. Supports most common fields, supports
storing in database and uploading attachments.This plugin is compatible with Newscoop 4.3 and higher.
Features
--------- Send feedback messages (supported fields: first name, last name, email, subject and message)
- Supports posting via AJAX and normal post with custom redirect page
- Attachments handling (only images and pdf documents), attach to mail or upload into Newscoop Media Library
- Let site visitors decide who to send email to (with spam protection)
- Store feedback in database and view in Newscoop backend (see detailed instructions)Installation
-------------
Installation is a quick process:1. How to install this plugin?
2. That's all!### Step 1: How to install this plugin?
Run the command:
``` bash
$ php application/console plugins:install "newscoop/send-feedback-plugin"
$ php application/console assets:install public/
```
Plugin will be installed to your project's `newscoop/plugins/Newscoop` directory.### Step 2: That's all!
Go to Newscoop Admin panel and then open `Plugins` tab. The Plugin will show up there. You can now use the plugin.**Note:**
To update this plugin run the command:
``` bash
$ php application/console plugins:update "newscoop/send-feedback-plugin"
$ php application/console assets:install public/
```To remove this plugin run the command:
``` bash
$ php application/console plugins:remove "newscoop/send-feedback-plugin"
```Documentation
-------------### Extended plugin documentation
For more information please see our [wiki page](https://wiki.sourcefabric.org/display/NPS/Send+Feedback+-+Contact+plugin).
### Read plugin settings
With the help of the tag {{ get_feedback_settings }} it's possible to read the plugin settings in the frontend. All current keys which can be read are listed below as well.
```
{{ get_feedback_settings }}
{{ get_feedback_settings assign="mySettingVariable" }}
{{ $mySettingVariable.to }} // Email addresses of valid receivers
{{ $mySettingVariable.storeInDatabase }} // Whether the feedback will be stored in the database
{{ $mySettingVariable.allowAttachments }} // Whether attachments are allowed
{{ $mySettingVariable.allowAnonymous }} // Whether non-registered users can send feedback
```### Basic example
``` html
First Name
Last Name
Subject
Message
```
License
-------This bundle is under the GNU General Public License v3. See the complete license in the bundle:
LICENSE
About
-------
This Bundle is a [Sourcefabric z.ú.](https://github.com/sourcefabric) initiative.