depwl9992 / anomalyjobs

Automatically exported from code.google.com/p/anomalyjobs
0 stars 0 forks source link

+jhelp manage4 missing #172

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Type +jhelp manage3, see that there should be +jhelp manage4, but +jhelp 
manage4 returns nothing.

What version of the product are you using? On what MU* Server?
v6.5

Please provide any additional information below.
Also wanted to ask an unrelated question, if I may.  Discovered this while 
trying to figure out how to set jobs to auto-update their due dates to some set 
number of days in the future whenever a player or staffer posts a new comment 
to the job.

Original issue reported on code.google.com by DancesWi...@gmail.com on 28 Apr 2014 at 3:46

GoogleCodeExporter commented 9 years ago
Seems it is named '+jhelp manage 4' instead of 'manage4'. Will fix. 

What's the unrelated question?

If it is 'how do I set jobs to auto-update their due dates to some set number 
of days in the future upon a new comment', then you're looking for action hooks 
(see '+jhelp hooks', and specifically you want HOOK_ADD for updating on a new 
comment). If you want the behavior to be for a single bucket, you'd add 
HOOK_ADD to the bucket itself. If you want the behavior to be global then you'd 
add it to the Job Parent Object. I can't recall off-hand if the JPO already has 
a HOOK_ADD by default, so if it does, you'd want to modify the existing one and 
add your code there.

Original comment by Fleety...@gmail.com on 28 Apr 2014 at 8:45

GoogleCodeExporter commented 9 years ago

Original comment by Fleety...@gmail.com on 28 Apr 2014 at 8:47

GoogleCodeExporter commented 9 years ago
Fixed in r430.

Original comment by Fleety...@gmail.com on 27 May 2014 at 2:49