Plugin info

Total downloads: 1,185
Active installs: 0
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 8/27/2012 (4921 days ago)
Added to WordPress: 8/24/2012 (13 years old)
Minimum WordPress version: 3.3
Tested up to WordPress version: 3.4.2
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4921 days ago

20/100

Is Tecnosenior FAQ Manager abandoned?

Possibly abandoned (last update 4921 days ago).

Compatibility

Requires WordPress: 3.3
Tested up to: 3.4.2
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

Features:

  • MVC Based Plugin
  • AJAX Based Administration Interfaces
  • Skins for shortcode tag: you can create your own skin!
  • Full text search, using mysql FULLTEXT support
  • Email notifications
  • Easily Translatable
  • I18N: English and Brazilian Portuguese

Development happens on github

Customizations

Skins

To create a skin, just add a new directory under skins with your new skin. Inside the directory there should be a PHP
file with a custom header and two functions. Those functions are called by the shortcode renderer, don’t change the name of
the functions!

Skin Header

The file header is composed of the following fields, just like any WordPress theme or plugin – inside a multi line comment on
the first 8kb of the file.

  • Skin Name
  • Description
  • Version
  • Author
  • Author URI

Functions

The following functions should be on your skin file:

function tsc_skin_get_headers()
function tsc_skin_render($group, $questions)

The first function is responsible for adding to the headers any needed javascript or css. It must return an array with the keys js and css. The code below include jquery, jquery-ui and a custom javascript file. It also include the needed css file.

function tsc_skin_get_headers()
{
    $headers = array(
        "js" => array(
            "jquery",
            "jquery-ui",
            array("name" => "tecnosenior-faq", "file" => plugin_dir_url(__FILE__) . "/tecnosenior-faq.js")
            ),
        "css" => array("tecnosenior-faq" => plugin_dir_url(__FILE__) . "/tecnosenior-faq.css")
        );

    return $headers;
}   

The second function receive two objects containing the data that should be rendered. It must return a string.

Group

A single group object with this fields:
– Id
– GroupName
– SearchBox
– AskBox
– Status
– CreationDate

Questions

An array of question objects with this fields available:
– Id
– GroupId
– QuestionOrder
– Question
– WhoAsked
– Answer
– Status
– Type
– CreationDate

Sample code, for skin renderer:

function tsc_skin_render($group, $questions)
{
    $html = "";
    if ($group->SearchBox) {
        $html .= render_search_box($group->Id);
    }

    $i = 0;
    $html .= "
\n"; foreach ($questions as $q) { $html .= render_question($q, ($i % 2 == 1)); $i++; } $html .= "
"; if ($group->AskBox) { $html .= render_ask_box($group->Id); } return $html; }

Installation

  1. Upload zip file to wp-content/plugins directory and extract it
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place the shortcode [tscfaq id=?] substituting ? for a group id
  4. Customize the shortcode skin

Frequently Asked Questions

None for the moment.

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.2

First release to wordpress.org