solved Private Tracker

blindmime
@blindmime
9 years ago
772 posts
How do I make all Issues private in the Issue tracker.?
updated by @blindmime: 03/25/16 05:12:48PM
SteveX
SteveX
@ultrajam
9 years ago
2,584 posts
You could put it on a private profile.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
9 years ago
10,148 posts
SteveX:
You could put it on a private profile.

This is how you do it.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michael
@michael
9 years ago
7,715 posts
@blinemime Help me write the docs for this, I've been trying to get it finished for about a week. Ever since your last issue tracker question
Docs: "Issue Tracker"
https://www.jamroom.net/the-jamroom-network/documentation/modules/2909/issue-tracker

What are the questions you had when starting to use this module and what would you liked to have seen in the docs?

Thanks.
blindmime
@blindmime
9 years ago
772 posts
I want the profile to be public, but the issues to be private to each profile. I want the profiles to be public. I just want the issues to be private.
michael
@michael
9 years ago
7,715 posts
Check the checkbox for "Private Tracker" for each issue. That's what we do. Then only the profile owners will see those issues.
blindmime
@blindmime
9 years ago
772 posts
My question is how would I make them private by default?
douglas
@douglas
9 years ago
2,790 posts
You'll want to modify your jrTracker modules index.php and change this:

    // Private
    $_tmp = array(
        'name'     => 'tracker_private',
        'label'    => 73,
        'help'     => 74,
        'type'     => 'checkbox',
        'validate' => 'onoff',
        'default'  => 'off',
        'required' => true
    );
    jrCore_form_field_create($_tmp);


to this:

    // Private
    $_tmp = array(
        'name'     => 'tracker_private',
        'label'    => 73,
        'help'     => 74,
        'type'     => 'checkbox',
        'validate' => 'onoff',
        'default'  => 'on',
        'required' => true
    );
    jrCore_form_field_create($_tmp);




--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
michael
@michael
9 years ago
7,715 posts
Dougs way is the correct way if its a module of yours, but since you want to keep receiving updates from the developer, in this case the correct way is to use the Form Designer.

Docs: "Using the Form Designer"
http://www.jamroom.net/the-jamroom-network/documentation/getting-started/1275/using-the-form-designer

* open the CREATE screen on a tracker
* click the FORM DESIGNER button in the top right
* locate the 'private tracker' field and click MODIFY
* locate the 'Default' option set to "off" and change it to "on"
* Save Changes
blindmime
@blindmime
9 years ago
772 posts
Awesome, thanks.

Tags