View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012505 | mantisbt | plug-ins | public | 2010-11-02 12:08 | 2012-11-24 12:18 |
Reporter | cas | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Product Version | 1.2.3 | ||||
Summary | 0012505: PM Plugin | ||||
Description | Attached an initial version of a Private Message plugin. | ||||
Tags | plugin | ||||
Attached Files | |||||
Version 0.91, for changes see the changelog |
|
Hello Is this version compatible with the latest MantisBT environment? I was trying to following the instructions. I unzipped the folder, put it into my webspace and updated the config file for the path. But your plugin would not show in the list. Andrew |
|
Andrew, |
|
Bugfix and tested in 1.2.8 |
|
I am using 1.2.8. I will try your new download. |
|
I am using your latest. The g_path is set. I put the PM folder into the plugins folder. I go to manage plugins and yours is not listed. |
|
I got it to install. The server that I am using must be unix because the php file had to be named: PM.php and not pm.php I have selected it and altered the code. One question. When I click a name, I can see the new PM stuff. But a warning shows in red at the top: APPLICATION WARNING #100: Configuration option "plugin_PM_pm_add_threshold" not found. |
|
Your code has a bug:
Should be: |
|
I am very confused ... I tried sending a message. Now this comes up: APPLICATION ERROR # 401 Database query failed. Error received from database was # 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's" link for any you sent. Andrew', NOW(),'O')' at line 2 for the query: INSERT INTO mantis_plugin_PM_messages_table ( pm_user, pm_rec,pm_title,pm_desc,pm_created,pm_type ) You click on the persons name to do it. And at the top is a "My PM's" link for any you sent. Andrew', NOW(),'O'). Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section. |
|
I think you need to spend a bit of time on this please. If I write words like: don't it throws out the syntax because of the '. Perhaps you should double-quote any ' first. Else it throws an error. |
|
have another go, did a quick fix (i hope) |
|
Sounds like a nice plugin idea. You should consider adding it on github. Some questions:
|
|
Thanks for the update. |
|
@Victor, There is another plugin for mailin multiple persons, see http://www.mantisbt.org/bugs/view.php?id=12276 |
|
I am currently running Mantis version 1.2.10. I have installed this plugin and set $g_path in my config_inc file, however when clicking on a user id on the View Bug page I receive the error "APPLICATION WARNING #2400: Event "EVENT_VIEW_USER" has not yet been declared." Any information you can provide to assist with correcting this error? |
|
See the documentation: In the same document (install.txt) it is described what change you should make in the referenced php-script. |
|
I followed the documentation to a "T" and the proper change was made to "view_user_page.php" per the provided install.txt. The "view_user_page.php" is where the error occurs. If the event wasn't added to the "view_user_page.php" file, I would not get an error stating that the event has not been declared when loading the "view_user_page.php" page. I read the documentation, I installed the plugin per the provided instructions. |
|
The event is declared in the plugin itself so it looks you did not activate the plugin? |
|
I have no button to create a private messsage |
|
From the View issue page, you click on the user. From that page, you can send a pm. |
|