Life is a Highway (highway) wrote in lj_dev,
Life is a Highway
highway
lj_dev

Patches to see_request.bml v1.20 and supportlib.pl v1.19

Let's try this one more (re: http://www.livejournal.com/talkread.bml?journal=lj_dev&itemid=299888 & http://www.livejournal.com/talkread.bml?itemid=20552316) ... made additional modifications to the patch so that it's cleaner than before (and some recommendationed changes to patch from bradfitz).

I would like to request the following patch be applied to /support/see_request.bml so that support volunteers can see additional information with regards to the status of the request: For example:

Status: open (still waiting for approved answers) --> no answer submitted
Status: open (answered, but still needs help) --> answered but user needs more help (similar to help.bml)
Status: open (answered, awaiting closure) --> answer submitted.

You can find the diff at http://www.callete.com/~highway/see_request_121.diff
http://lj.teencity.org/support/see_request.bml?id=5 (example of answered request)
http://lj.teencity.org/support/see_request.bml?id=6 (example of non-answered request)

This will work with the additional patch to /cgi-bin/supportlib.pl where the verbiage will be stored instead of clogging see_request.bml. /support/see_request.bml calls a function in supportlib.pl, which returns a hash, a hash that contains the needed verbiage which is appended to $state in /support/see_request.bml

You can find the diff at http://www.callete.com/~highway/supportlib_120.diff
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 4 comments