Not logged in. · Lost password · Registration disabled
Forum: Overview Files & Mods / Datein & Mods RSS
Free-pick categories [Solution]
cahlin #1
Member since Jul 2010 · 2 posts · Location: Stockholm, Sweden
Group memberships: Mitglieder
Show profile · Link to this post
Subject: Free-pick categories [Solution]
I have a case where I don't want people to have subcats since I have like this
Cat1: CompanyInfo
Cat1.1: DivisionInfo
Cat1.1.1.: GroupInfo

So I want people to get CompanyInfo, DivisionInfo and GroupInfo, but not another groups info.
(I do have CaPa, so people can't read the wrong info, but still, to reduce mail)

To do this I just found "pncats.js" and just commented away code with /* and */ like this:

function post_notification_cats_init(){
    var boxes =  document.getElementsByTagName("input");
    var tocheck = "";

       ... [lots of code]...

                if(boxes[i].checked == true){
                    tocheck = boxes[i].id; //From now on this is the new String
    post_notification_running = false;
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum