Плагин «WP DS FAQ»

Плагин WP DS FAQ это простой инструмент управления страницами вопросов и ответов (FAQ) для Вашего сайта.

 

 

 

 

 

Настройки screen 2

 

  WP DS FAQ v.1.3.2 (21.1 KiB, 1,609 скачиваний)

или

скачать из репозитория WordPress.

 

Назначение:

Управлять неограниченным количеством страниц вопросов и ответов (FAQ).

 

Требования:

  1. PHP 5.
  2. WordPress 2.7. и выше.

 

Установка:

  1. Извлечь папку «wp-ds-faq» из архива.
  2. Скопировать её в Вашу папку «plugins». Обычно это «/wp-content/plugins».
  3. В панели администрирования зайти в раздел «Плагины» и «Активировать» WP DS FAQ.

 

Обновление:

  1. Деактивировать плагин WP DS FAQ.
  2. Обновить файлы в папке «wp-ds-faq».
  3. Активировать плагин WP DS FAQ.

 

Использование:

Плагин заменяет специальные ключевые слова в тексте страницы на созданный Вами список вопросов и ответов.

 

Для того, чтобы создать страницу вопросов и ответов, надо:

  1. Зайти в настройки плагина.
  2. Добавить «книгу» вопросов и ответов.
  3. Заполнить её вопросами и ответами.
  4. Скопировать «Код для вставки».
  5. Создать в блоге страницу содержащую «Код для вставки».


134 Responses to “Плагин «WP DS FAQ»”

  • Works great, thank you

  • Hi,

    i’ve looked for such plugins. And i can say ur plugin is near to perfect. One nice feature will be a drop down «Question-Answer» with ajax.
    I mean… u see only the questions and when u click over than opens the answer…

  • I agree with «Romeo» about the Ajax drop-down.

    Thanks for this plugin, please keep updating it! It’s just what I needed.

  • Pablo DiCiacco

    This plugin is over-riding my themes default CSS with its own. Now all my post text appears in red (ugly) as in the plugin. Has anyone else experienced this issue?

  • Nadir

    Hi Diamond :
    How can i use the plugin Syntaxhighlighter Plus with your faq ?
    Code is not highlighted.

    Thank you!

  • Yeahhhhh Now with the new Update its wondeefull..
    its the plugin i’ve searched for long time.. :)

    Thank u very very very much :D

  • Планируется ли возможность отправки вопросов читателями сайта?

    • Уточните, пожалуйста. Не совсем понял, что Вы желаете.

      • А насчет вопроса – я так понял что набор вопросов-ответов, формирует админ. А возможно чтобы посетители сайта отправляли вопросы через форму?

        • Сделать то можно… просто пока не понимаю нужно ли это?

          • Было бы удобно. Человек не найдя ответа на свой вопрос – вписывает свой. И потом ему приходит уведомление на мыло, что ответ появился.

            • slavbase

              Да, это было бы не то что удобно, а шикарно!
              Человек не найдя ответа на свой вопрос – вписывает свой который сразу не публикуется, а проходит проверку.
              И потом ему на мыло приходит уведомление, что его вопрос с ответом опубликован.

              Спасибо за плагин +5 :)

              • Огромное спасибо за проделанную работу. Плагин вышел на славу. А отправка вопросов пользователем через форму была бы просто замечательна. Например, для организации online консультаций.

          • Нам в блог такая функция бы пригодилась, т.к. можно на основе частоты похожих вопросов формировать ответы. Это для нас реально актуально :)

  • По правде говоря запустить плагин не получилось. Если найдется минутка, ответьте пожалуйста как быть.
    Скачал ваш плагин, распаковал, активировал. Зашел в его настройки.
    Написал название книги вопросов и ответов и нажал «Добавить».
    Справа начал крутиться индикататор. Крутиться уже долго. В чем может быть дело? WP 2.7.1
    из плагинов стоят

    Ads-WordPress 2.2.2
    All in One SEO Pack 1.5.1
    RusToLat 0.3
    WP-PageNavi 2.40
    WP DS FAQ

    • При примерно таком же наборе плагинов работает (Ads-WordPress у меня нет).
      Браузер какой?
      (Если Internet Explorer – выскакивает ли какая нибудь ошибка в статусбаре?)

      • Браузер Опера 9,64

        • Провёл ряд дополнительный испытаний.
          Добиться неработоспособности не удалось.
          Можете посмотреть, создались ли у вас в базе данных следующие таблицы?

          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          
          ' CREATE TABLE prefix_dsfaq_name (
              `id` INT NOT NULL AUTO_INCREMENT ,
              `name_faq` TEXT NOT NULL ,
              `mode` INT NOT NULL ,
               PRIMARY KEY ( `id` )
               ) ENGINE = MYISAM ';
           
          ' CREATE TABLE prefix_dsfaq_quest (
              `id` INT NOT NULL AUTO_INCREMENT,
              `id_book` INT NOT NULL,
              `date` DATETIME NOT NULL,
              `quest` TEXT NOT NULL,
              `answer` TEXT NOT NULL,
              `sort` INT NOT NULL,
               PRIMARY KEY ( `id` )
               ) ENGINE = MYISAM ';

          (prefix – должен соответствовать Вашему префиксу…)

          • Если это может помочь, то когда я поставил плагин FAQ-Tastic, создаю там книгу вопросов-ответов. Она создается но при попытке войти в нее такой же «бесконечный цикл». Может дело в каких-то permissons?

      • Ads-WordPress – отключал – безрезультатно.
        Может надо чтото в базе почистить?

      • Видимо глюк был какойто. Снес сайт и переставил все. Всё заработало! Спасибо огромное за замечательный плагин!

  • Deeves

    Спасибо за плагин, наконец-то кто-то это сделал, и я рад что он на русском )

  • Pinguin

    Hi,

    I like your plugin. Great work.
    Perhaps I found a bug. If I put an external link in the answer block and save it, it’ll be destroyed with \\. And the link isn’t working.

    e.g.: blubb before saving
    blubb after saving

    Could you help me with this problem?

    Thanks in advanced.

    Pinguin

  • Pinguin

    before saving: a href=»http://google.com»>
    after saving:
    a href=\\\\\\\»http://www.google.com\\\\\\\»

  • Nice plug-in. I wanted to add web site links to some words but I couldn’t. is it possible ? Do html tags work with this plugin? Thanks..

  • thanks.. I solved the problem…

  • Sebastien

    Nice pLugin, thanks.

    However, there is one thing that bug me: under the settings, I unchecked the box «Show a link to the plugin in the end of the page.»

    But it keeps on coming back, and appearing on the site.

    I did remove the line from the plugin itself, but I prefer not to touch the plugins in general :)

    Thanks

    Sebastien

  • Roman

    Что-то не могу установить плагин, вылазит вот это:

    Плагин не был включён, потому что он вызвал фатальную ошибку.
    Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /var/www/web94/html/HABb/wp-content/plugins/wp-ds-faq/wp-ds-faq.php on line 60

    Версия Вордпресса- 2,8

  • жму вашу мужественную руку мужчина! Молодец что сделал такой нужный плагин! Желаю удачи в развитии проекта!

    (сайт в закладки!) =)

  • drew

    I get this error when I tried to activate this plugin using wp2.8:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /nfs/c05/h02/mnt/72029/domains/skismart.com/html/site/wp-content/plugins/wp-ds-faq/wp-ds-faq.php on line 60

  • another question :)

    it doesn’t support Turkish chracters like ş,ğ,ç,ü,ö. while writing no problem but after saving questions the characters become «?». what can I do ?

  • thanks, I upload 1.3.2 and now eveything is ok..

  • Hi,

    Have had to remove your plugin for now as everr time I click on a FAQ Question, I am sent to the home page of my blog and not the question and anwer contents.

    Any ideas ?

    Regards,
    Peter R-F

  • Google переводчик является лучшим:) Можно ли вставить код на часто задаваемые вопросы, а не в редакторе, например, с помощью кода ? Если нет, то Вы можете принять это во внимание, поскольку оно позволяет для новых решений.

    С уважением Эйдриен

  • По поводу вашего опроса на сайте: я считаю что форма для вопросов администратору – непременно нужна… Но пока её нет, я добавил комментирование к страничке, для того что бы вопросы можно было задавать хотя бы таким образом. Правда сайт молодой, никаких вопросов ещё не задавали, но я думаю что будут.

  • I was unable to install your plugin:

    Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/content/C/l/i/ClintonPTAweb/html/wp-content/plugins/wp-ds-faq/wp-ds-faq.php on line 60

    Any ideas?

  • Thanks. I figured it out.

  • Petrus

    What do the settings need to be for Magic Quotes as I have the following three?

    magic_quotes_gpc
    magic_quotes_runtime
    magic_quotes_sybase

  • Do me a favor… i use a <base href tag on my sites and that jacks with name links that dont have the full url in them. in wp-ds-faq.php on line 297 can you add $_SERVER[REQUEST_URI] to the href to solve this problem?

    i would do it myself but your crylic characters keep causing header info to be sent and causing errors when i save the file in english ascii

    the full line 297 should look like this:

    1
    
    foreach ($quest as $s) { $results .= &#039;<a href="'.$_SERVER[REQUEST_URI].'#'.$s['id'].'"  rel="nofollow">'.$s['quest'].'</a>'; }
  • А нет ли старой версии совместимой с php4 ?

  • Hi,
    it will be nice if theres an order option. Coz i want the question to be ordered in alphabetic order and theres no such option, i have to do all manualy. Is that possible? It will be nice…

  • почему-то не цепляется русский язык после установки плагина – все на английском. не подскажите в чем дело?

  • One more issue… U have something wrong in the code..
    As i try to validate my site with w3c i take the error

    Line 106, Column 24: required attribute «type» not specified

    The attribute given above is required for an element that you’ve used, but you have omitted it. For instance, in most HTML and XHTML document types the «type» attribute is required on the «script» element and the «alt» attribute is required for the «img» element.

    Typical values for type are type=»text/css» for and type=»text/javascript» for .

    maybe you have forgot a tag or a tag too much.. pls check the code again for this issue.. or try to validate the script.. it will be nice..

  • Павел

    в ie7 глюк. после разворачивания и сворачивания вопроса остается расстояние между двумя вопросами как будто пару раз enter нажали… смотриться не очень красиво.
    Как это исправить? (По умолчанию все вопросы у меня закрыты..)

  • Павел

    разобрался :)

    заменил на span’ы

    кстати а нельзя ли каким то образом раскрывать и скрывать вопрос при клике на заголовке, это как то более привычно, чем скроллить в самый низ и кликать по ссылке закрыть?

  • Hi there, I would really like a widget in where my users can put their questions, and that I would be able to answer them, so that they then will be published in the FAQ.

    Is there already something like this?

  • Marcin

    Hi!

    I’ve got a question. In my site FAQ section is quite big and important. But unfortunately the search box doesnt support it :( – there are no results for any words which are included in FAQ.

    is there any way to fix it?

    BTW. The plugin looks and works great :) (besides my problem ;) )

  • Можно ли добавить возможность постраничной навигации. Т.е. чтоб не вытигивать навсю длину ФАК и бить его по 20 вопросов-ответов на 1 страницу – спасибо

  • Реально шикарный плагин. Спасибо!
    Увидел пока одну «бяку» – кавычки перерабатываются и показываются с дополнительными символами.
    Так же актуален вопрос по возможности отправки вопросов админу, чтобы на основе их частоты вносить в ФАК ответы

  • установил активировал. пробую создать книгу – выдает [Error id: 1000]
    если поле «You can create a new FAQ book:» оставить пустым, то выдает сообщение «что то пошло не так :( »
    пробовал и цифры и английские буквы. что не так?

  • Добрый день, Дмитрий. Спасибо вам за такой хороший плагин.

    При щелчке на вопрос делается запрос к серверу и приходит ответ, при повторном щелчке – снова запрос. При закрытии не удалять ответ из DOM, а просто скрывтаь, т.е. если ответ помещен в DOM, то дальше идет работа только с отображением/скрытием.

  • Helma

    Hi,

    The plugin works great! I would like to translate it to Dutch. I see the .po an .mo files. I already have done the translation and made the «wp-ds-faq-nl_NL»-files. How do I go from here. How can I get the plugin to read the language files?

  • Jan

    Hello!
    I have a big issue with IE 6 and 7.
    There is a rendering bug associated with the Js innerHTML used by you to close the answers. Could you fix it ? I’ve tryed with css hacks but nothing works.
    Here a bug topic : http://www.nczonline.net/blog/2006/11/08/ie-s-innerhtml-problem/

    Another bug I’ve noticed is that if I edit 2 or more answers at the same time, when committing one of them, the others mess out ;(

  • I wonder if it is possible to export a faq page to use in another blog.

  • again me… :)
    solved the question. in phpmyadmin I export ds tables and import them into the other blog.. thanks again for this useful plugin..

  • H

    Thanks for the plugin – very useful

    I’m having problems with escaping characters – especially quotes and double quotes. Ideally I’d like to include images in the FAQ – but I can’t do this while the ‘ characters keep getting escaped (presumably for the database layer)

    «Another bug I’ve noticed is that if I edit 2 or more answers at the same time, when committing one of them, the others mess out ;(»

    I’ve seen this bug too!

    Thanks again

    Stuart

  • Народ! Помогите!!!

    Плагин не может быть активирован, поскольку он вызвал фатальную ошибку

    Fatal error: Cannot redeclare wp_pagenavi() (previously declared in Z:\home\wordpress.ru\www\wp-content\themes\irresistible\irresistible\functions\admin-setup.php:162) in Z:\home\wordpress.ru\www\wp-content\plugins\wp-pagenavi\wp-pagenavi.php on line 180

    версия самого плагина 2.50!!! Что делать! плагин очень нужен!!!?!

  • When I add your plugin to our new site, it appears to add your code (about 100 lines) to every page.

    Is there a way to prevent this and only have it add your code to FAQ pages?

    D

  • hey,

    great plugin, thanks!
    Although,The plugin has a bug of improper escaping. Every save the apostrophes are escaped, which results in things like \\\\\\\’.

    You should use stripslahes on $s['answer'] in ajax.php instead of str_replace. You may also consider htmlentities().

  • Moreover the answer fields do not preserve newlines formatting. Maybe you could include the Rich editor that wordpress utilizes as well?
    And then use the htmlentities to encode the specialchars and quotes….

    And please! make the comments and error messages in English not Russian :)

  • Milla

    Gibs das für die Wp Version 2.9.1 ?
    Das FAQ pflugin weißt beim aktivieren auf schwerwiegende Fehler hin —

  • Замечательный плагин.
    Хотелось бы кое чего добавить в его настройки, а именно то, чтоб можно было указывать, на каких страницах выводить фак (по id), чтоб где не нужно, не вылазило лишнего кода от плагина.

  • Robert

    how you backup and then restore the data… I am moving to a new host?

  • И еще одно небольшое пожелание для будущих версий. Сделать сортировку вопросов в книге не с помощью стрелок, а с помощью простого перетаскивания (drag-and-drop это вроде). Просто когда вопросов много, то при создании нового, если его нужно перенести повыше, стрелками не очень удобно это делать. Долго тыкать ))

  • Amitay Isaacs

    I am using the latest (1.3.2) version of WP DS FAQ.

    I noticed that the special characters typed as part of questions and answers get automatically quoted (using addslashes). But there is no way to remove the quotes when displaying the FAQ. I have to manually add stripslashes() to the questions and answers when displaying the FAQ. The changes required are in wp_ds_faq.php.

    Can the authors include these changes in the future version of WP DS FAQ?

    Thanks.

  • Серёга

    Большое спасибо за плагин! Очень полезная вещь.
    А можно ли прикрутить к форме введения вопросов-ответов плагин для форматирования контента (TinyMCE or smth)? Допустим тот, который используется в системе основным. Чтобы можно было ответ по разному форматировать, добавлять картинки, и так далее…

  • Dron

    Я вот что-то никак не могу понять как включить русскую локализацию в этом плагине.

  • Вопрос:
    Я скачал плагин, установил, активировал, создал книгу, вставил на страницу код [dsfaq id="1"], на странице отображается [dsfaq id="1"] и ничего более. Пробовал с кавычками и без.
    В чем может быть проблема?

    PHP 5.3 WP 2.9.1

    • Знаю пока только одну похожую проблему.
      Парсер, который встроен в WordPress, заменяет кавычки. И если просто скопировать текст id, то он может не опознан плагином. Лучше ввести текст с клавиатуры.

      • Благодарю. Действительно получилось.
        Причем надо ввести с клавиатуры полностью весь код, а не только кавычки.

  • Нажал активировать
    Плагин не может быть активирован, поскольку он вызвал фатальную ошибку
    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/oleg/data/www/ruflex.com.ua/wp-content/plugins/wp-ds-faq/wp-ds-faq.php on line 60

    WP 2.9.2
    Что исправить подскажите.

  • а как сделать не только нумерованный список, но и вставить перед каждым вопросов дату написания? очень нужно, но в коде так и не разобрался.

    • В функции faq_shortcode можно в нужном Вам месте вставить переменную $s['date']

      Например в строке 278, где в цикле формируется нумерованный список.

  • Is there a way to create a «short code» to embed links inside one FAQ question to another FAQ question?

    IE. I would like to embed a link in the answer to question three on this page to question one:

    http://koha-community.org/documentation/faq/searching/

    The link would need to be dynamic since the order of the questions may be changed at any time.

    Kind Regards,
    Chris

  • Below is an example. In this example, the short code will create a link to book 1, question 1.

    FAQ

    1. How do I do foo?

    Answer: Do bar first.

    2. How do I do foobar?

    Answer: Do foo first. See [dsfaq id=1.1] on how to do foo.

  • Спасибо классный палагин, сейчас протестирую

  • FAQ used to work but now I get a constant delay and won’t display answer…any ideas?

  • То, что нужно. Спасибо!

  • Возникла проблема в использовании плагина: нумерация первого вопроса – с другой стороны. Проще посмотреть: http://64-bit.su/f-a-q
    Где можно это скорректировать?

  • Terry

    Nice plugin, but how do I remove the slashes «\» that get placed in?

    My text is «can’t», but displays as «can\’t»

  • alex

    hi,
    great plugin. Simple and effective. I’m using ver. 1.3.2

    One half-bug (maybe) that I can’t show you since WP is running at the moment on my PC only, and a little feature request.

    half-bug: I have a book with many questions and answers. The page loads properly, the answers show properly, but when collapsing an answer – say answer no. 2 – about two lines white space remain between question no. 1 and question no. 2. It occurs only (well… as far as I’ve tested) with IE8. Firefox (3.5 and 3.6) is OK. I’m sure it depends on IE. However…

    Feature: I would appreciate if the answer collapses not only when clicking «Close», but also when clicking again on the question. By the way: I really don’t like «Close» at the end of the answer nor the «edit» and «delete question» links. But since there are people out there that for sure do appreciate, would it be possible to have both as an option (as for example the link to your plugin?).

    Thanks anyway.

  • Vladimir

    Здравствуйте.

    Кодом я могу вставить плагин, допустим, в шаблон?

  • Ален

    Добрый день. Спасибо за плагин.
    У меня проблема с отображением бэкслэш (backslash). Если нажать save, то к двойным кавычкам добавляется \, к бэкслэшу добавляется \\. Как от этого избавиться? Использование WP-Syntax не помогло.

    Спасибо.

  • Привет.
    Спасибо за плагин.
    Очень нужная штука, когда читатель может сразу задать свой вопрос, ответ на который он не нашел.

    У меня проблема – слишком маленький размер шрифта ответа.

    Подскажите, плз., как увеличить текс ответа.

    Спасибо.

  • mpt

    OOps… please ignore my last post. The issue of links opening in new windows was due to a plugin called Smart SEO Links. Sorry and thanks :)

  • james

    tried to set faq book and keep getting error id:1000. Tried everything and it wont work..help!

  • mihalych

    Помогите пожалуйста разобраться.
    Пытаюсь в ответ вставить ссылку и получается вот такой код
    . Ссылка естественно не рабочая получается. Спасибо за ответ.

    • mihalych

      код вырезан, вот попробую кусок кода вставить чтобы был понятен вопрос:
      h r e f =\»http://tinyurl.com/users4support\» target=\»_blank\»

      • Проверьте настройки magic_quotes.

        magic_quotes_gpc = on
        magic_quotes_runtime = off
        magic_quotes_sybase = off

        • mihalych

          Спасибо за ответ.
          Сори, я не программист, можно поподробнее? В настройках плагина такой настройки нет. Нашел этот код magic_quotes_gpc в файле ajax.php, но боюсь туда лезть.
          Спасибо.

  • augusteto

    Hi! I am experiencing a strange error with ds_faq. When I add a within the answer in this form:

    this

    it turns out

    http://test/test_url/%5C%22http://test/test_url%5C%22

    in wordpress. This is really annoying….

  • augusteto

    Also… there may be some incompatibility with DB Cache Reloaded…

  • Thank you for nice plugin!
    By the way not only the all htmlfiles of the site but also shows the FAQ-page shows the javascript for this plugin.

    Can I show the javascript to the exact page of FAQ ?

    Best Reagards,

Add reply

 

 

    Добавить в закладки

 

  • Опрос:

    Нужен ли плагину WP DS FAQ отдельный интерфейс для отправки вопросов администратору?

    View Results

    Загрузка ... Загрузка ...

 

 

Поддержка

WM: Z593049462449

WM: R107215206013