View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009261 | mantisbt | plug-ins | public | 2008-06-12 16:33 | 2024-09-28 20:05 |
Reporter | cas | Assigned To | dregad | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | no change required | ||
Product Version | 1.2.0a1 | ||||
Summary | 0009261: FAQ plugin 0.91 | ||||
Description | This plugin enables a FAQ option on the main menu. | ||||
Additional Information | ToDo Any comments/suggestions are welcome. | ||||
Tags | faq, plugin | ||||
Attached Files | strings_german.txt (1,224 bytes)
<?php $s_plugin_FAQ_menu_link = "FAQ"; $s_plugin_FAQ_add_faq = "Neue FAQ hinzufügen"; $s_plugin_FAQ_add_faq_title = "Neue FAQ"; $s_plugin_FAQ_post_faq_button = "FAQ veröffentlichen"; $s_plugin_FAQ_question = "Frage"; $s_plugin_FAQ_answere = "Antwort"; $s_plugin_FAQ_delete_faq_sure_msg = "Soll diese FAQ wirklich gelöscht werden? "; $s_plugin_FAQ_delete_faq_item_button = "Lösche FAQ"; $s_plugin_FAQ_edit_faq_title = "Bearbeite FAQ"; $s_plugin_FAQ_update_faq_button = "Aktualisiere FAQ"; $s_plugin_FAQ_import_faq = "In FAQ veröffentlichen"; $s_plugin_FAQ_search_string = "Den gesamten Text durchsuchen"; $s_plugin_FAQ_close_window = "Fenster schließen"; // config section $s_plugin_FAQ_title = "Mantis FAQ"; $s_plugin_FAQ_config = "Konfiguration"; $s_plugin_FAQ_promote_text = "Probleme können in FAQ veröffentlicht werden"; $s_plugin_FAQ_project_text = "FAQ projektspezifisch abspeichern"; $s_plugin_FAQ_threshold_text = "Minimale Zugangsberechtigung um FAQ zu erstellen"; $s_plugin_FAQ_view_check = "Zugangsberechtigung zum Ansehen der FAQ verwenden"; $s_plugin_FAQ_view_threshold = "Minimale Zugangsberechtigung um FAQ anzusehen"; $s_plugin_FAQ_view_window = "FAQs in neuem Fenster öffnen"; | ||||
Definitely an interesting plugin. I'm going to integrate that bug view menu event into trunk today, since you're the second person who's wanted to use that. However, you seem to be doing some things the hard way, and you are missing out on some of the plugin framework that would help simplify your plugin. If you'd like to look at some of the plugins that I've been working on as a guide on how you can improve yours, I have two Git repositories hosted on GitHub: http://github.com/jreese/mantis-source-integration - this contains the most advanced plugin set, which should show you the "right" way to set up things like hooking events and setting up database schemas to be handled automatically by the framework. http://github.com/jreese/mantis-plugins - these are a bit older and simpler, but still might be of use to you Also, you use htmlspecialchars() in a couple places when creating links, but you should be using urlencode() instead. I know the plugin documentation is rather sparse where it does exist, and rather lacking in most everything. Hopefully I'll be able to get that situation rectified when I get the chance. |
|
Thanks for the feedback, will take a look at your work and try to use to improve this plugin. Also noticed that although there is a reference to EVENT_MENU_MANAGE and EVENT_MENU_MANAGE_CONFIG, those have not been implemented yet(should be a separate issue). The htmlspecialchars comes fom the past. I actually transferred an existing set of scripts into a plugin. |
|
Yes, there are still a few events that are not yet implemented. I'm working on those as I get the chance. |
|
Hi - just installed this plugin (thus replacing my own custom, static FAQ page), and had a bit of hopefully constructive feedback.
Overall, this looks like a great plugin - thanks for your efforts! |
|
Here is the next update, made some changes, got the automatic creation of the table working (not updating/deleting the table yet, have seen no samples yet). |
|
Thanks, looking good so far! I came across Bug 0009267 when trying to update some of the plugin settings, but that's not the plugins fault. Thanks for addressing those suggestions so quickly. |
|
Using the print_successful_redirect( plugin_page( $name, true ) );form will fix the problem mentioned by Blue Ninja. |
|
It seems this isn't necessarily a core plugin system issue, but is independent for each plugin. It's been resolved in the Formatting plugin, but is still exhibited in the FAQ plugin. Looks like you'll have to make the same change here as was made in 0009267. |
|
This indeed fixed the problem. has been handled in source code. |
|
Updated version using the default EVENT_MENU_ISSUE. |
|
@cas, I add plugin to git repositary. |
|
@kirill, |
|
In 0.95 I have error @cas, I write to you: Skype. |
|
Since i am not fully working with Git, can you explain here the problem and solution? |
|
Small updates in version 0.96. |
|
On git.mantisforge.org uploaded 0.96.3 with fix for last git changes. |
|
Does anyone have a version for Mantis 1.1.8 ... I dont use 1.2 and dont plan too any time soon. Best, Tom |
|
It's only for 1.2.x plugin system. |
|
I've installed the FAQ plugin to check it out and noticed that it fails due to PHP notices. The ones I found were when adding a new FAQ question and when attempting to view the full FAQ list. Please test the plugin with all error types enabled with action halt to have the code error / notice free. |
|
@Victor, can you connect with me? I test on my server - I haven't notice and error. |
|
I could really use the ability to link one faq to another. I find I am doing that a lot just by typing the title. links would work great! |
|
Thanks for that plugin, it's really valuable! I also found a bug: Although setting "Use Minimum level for viewing FAQ" to "On" and setting the "Minimum level for viewing FAQ" to "administrator", everyone can see the FAQ, even if he has only viewer rights. Is this a known issue? Will it be fixed? |
|
Version 0.99 is a bugfix release. |
|
0.99b has also the (adjusted) german text file |
|
Hello cas. Thank you for the new version. I tested v0.99b and found two issues: Best regards and a merry christmas! Karl |
|
@Karl, |
|
Hello cas. Thanks for the new version. However, now I get a lot of errors from missing translation on FAQ's configuration page, no matter, if I set my account to English or German language setting. Please see attachment ... |
|
Well, i am not giving up on this one. Have tested it in German and all seems to be fine in version 1.01 |
|
Hello cas. Thanks again for your ongoing effort! I tested the new v1.01 and found 3 minor and 2 major issue: Major:
Minor:
|
|
First the explanation: The other items I will need to look into. |
|
Hello cas. Please change the translation "Wenn ein problem zum FAQ veröffentlicht wird, erst bearbeiten" (English: "Maintain FAQ before promoting") to "FAQ bearbeiten, bevor FAQ aus einem Problem erzeugt wird". Thanks! |
|
First of all, thanks for taking time to develop this plugin. Thanks in advance. |
|
This should be standard functionality. There is a minimum level to access FAQ in general which controls having access or not. |
|
This is WAY off-topic, but I cannot find any other way of asking the question. I am a Mantis BT user, and create notes regularly. I can reference other issues from the note of one issue ( using the "#" notation ) but I have not yet figured out how to reference a specific note from within another note. I notice that @KarlReichert does that here, above; in note 9261:27672, he references note 9261:26006. Is anyone able to enlighten me, please. Many thanks, Simon May |
|
simon.may, these are the recommended ways to get support http://www.mantisbt.org/support.php This is the way to reference to notes |
|
The 3rd party FAQ plugin is available and maintained on GitHub I see no point in keeping this Issue open here. |
|