Non-core contributed modules

Createed the trouble ticket block

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9, 1.9.1
  • Fix Version/s: None
  • Component/s: Block: Trouble ticket
  • Labels:
    None

Description

Block Description

The trouble ticket block was developed to provide Moodle users with a simple way to notify Moodle site administrators of a problem with the site or a specific module or block. The trouble ticket block allows Teachers to add multiple types of trouble tickets to a page as either a link or a button. Each Trouble ticket can be configured with a specific email to send the notification to as well as a custom response to the user.

Developers
Mike Avelar, Sam Chaffee, Jason Hardin, Mark Nielsen

Activity

Hide
Anthony Borrow added a comment -

Jason - Thanks for submitting the trouble_ticket block. I installed it; however, I am getting the following error:

Warning: require_once(/home/arborrow/Moodle/code/19stable/course/format/page/lib.php) [function.require-once]: failed to open stream: No such file or directory in /home/arborrow/Moodle/code/19stable/blocks/trouble_ticket/ticket.php on line 17

Is that the flexpage format? In any case, it is not included in the zip file so I'll wait to hear back from you as to how to proceed.

Peace - Anthony

Show
Anthony Borrow added a comment - Jason - Thanks for submitting the trouble_ticket block. I installed it; however, I am getting the following error: Warning: require_once(/home/arborrow/Moodle/code/19stable/course/format/page/lib.php) [function.require-once]: failed to open stream: No such file or directory in /home/arborrow/Moodle/code/19stable/blocks/trouble_ticket/ticket.php on line 17 Is that the flexpage format? In any case, it is not included in the zip file so I'll wait to hear back from you as to how to proceed. Peace - Anthony
Hide
Anthony Borrow added a comment -

Also, could you create an INSTALL file. I know that you have some of the information about browsercap.ini in the README file; however, it would be good for there to also be an INSTALL file (IMO) or perhaps something in docs (either way). That might be a good place to mention any other requirements for this block.

Show
Anthony Borrow added a comment - Also, could you create an INSTALL file. I know that you have some of the information about browsercap.ini in the README file; however, it would be good for there to also be an INSTALL file (IMO) or perhaps something in docs (either way). That might be a good place to mention any other requirements for this block.
Hide
Jason Hardin added a comment -

Anthony, I will take a look at this. I forgot about the browsercap.ini. The file being required is a flex page file, I will see why that is in there and take it out if it isn't needed other wise we will have to look into adding this release with the flex page only.

Show
Jason Hardin added a comment - Anthony, I will take a look at this. I forgot about the browsercap.ini. The file being required is a flex page file, I will see why that is in there and take it out if it isn't needed other wise we will have to look into adding this release with the flex page only.
Hide
Jason Hardin added a comment -

Anthony - the trouble ticket block isn't supposed to delete courses, I am assuming you mean the course management block you are having issues with?

Show
Jason Hardin added a comment - Anthony - the trouble ticket block isn't supposed to delete courses, I am assuming you mean the course management block you are having issues with?
Hide
Anthony Borrow added a comment -

Jason - Thanks for following up on browsercap.ini. I have deleted my comment here and posted it in the course_management issue which is what I intended. Peace - Anthony

Show
Anthony Borrow added a comment - Jason - Thanks for following up on browsercap.ini. I have deleted my comment here and posted it in the course_management issue which is what I intended. Peace - Anthony
Hide
Jason Hardin added a comment -

Here is an updated file with the removal of the warning about the missing file for the page format and a readme and install file.

Show
Jason Hardin added a comment - Here is an updated file with the removal of the warning about the missing file for the page format and a readme and install file.
Hide
Anthony Borrow added a comment -

Jason - Thanks for the modifications. I also noticed a similar problem with the thanks.php file looking for the page lib file. I used your approach of checking for the file to exist before requiring it. I also renamed INSTALL and README to include the txt extension as that avoids any confusion about them possibly being binary files. I've uploaded the code to CVS and will work on setting up the component here in the tracker, bumping your privileges so you can maintain and address issues related to the trouble_ticket module, etc. Also, I modified the instructions in INSTALL.txt to use the name of the zip file that folks will get from download.moodle.org which should be trouble_ticket.zip so you may want to double check that what I put there is in fact what you want. Thanks again for your work on these and efforts to maintain this code in CONTRIB. Let me know if I can be of any help. Peace - Anthony

Show
Anthony Borrow added a comment - Jason - Thanks for the modifications. I also noticed a similar problem with the thanks.php file looking for the page lib file. I used your approach of checking for the file to exist before requiring it. I also renamed INSTALL and README to include the txt extension as that avoids any confusion about them possibly being binary files. I've uploaded the code to CVS and will work on setting up the component here in the tracker, bumping your privileges so you can maintain and address issues related to the trouble_ticket module, etc. Also, I modified the instructions in INSTALL.txt to use the name of the zip file that folks will get from download.moodle.org which should be trouble_ticket.zip so you may want to double check that what I put there is in fact what you want. Thanks again for your work on these and efforts to maintain this code in CONTRIB. Let me know if I can be of any help. Peace - Anthony
Hide
Anthony Borrow added a comment -

Also, I'm not sure if you've done this or not but I would encourage you to review http://docs.moodle.org/en/Development:Guidelines_for_contributed_code and add documentation in docs.moodle.org for the trouble_ticket block and also an entry in the Moodle.org Modules and Plugins database.

Show
Anthony Borrow added a comment - Also, I'm not sure if you've done this or not but I would encourage you to review http://docs.moodle.org/en/Development:Guidelines_for_contributed_code and add documentation in docs.moodle.org for the trouble_ticket block and also an entry in the Moodle.org Modules and Plugins database.
Hide
Anthony Borrow added a comment -

Jason - I'm marking this issue as resolved. We have the code in CVS, I've given you access to it, and created the component in the tracker. Let me know if you need anything else. Peace - Anthony

Show
Anthony Borrow added a comment - Jason - I'm marking this issue as resolved. We have the code in CVS, I've given you access to it, and created the component in the tracker. Let me know if you need anything else. Peace - Anthony
Hide
Anthony Borrow added a comment -

moving to newly created Block: Trouble ticket component

Show
Anthony Borrow added a comment - moving to newly created Block: Trouble ticket component
Hide
Anthony Borrow added a comment -

Closing all of my resolved issues. Peace - Anthony

Show
Anthony Borrow added a comment - Closing all of my resolved issues. Peace - Anthony

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: