Re: [SubjectsPlus] Digest for subjectsplus@googlegroups.com - 3 Messages in 2 Topics

4 views
Skip to first unread message

Stephen Klein

unread,
Jan 5, 2012, 8:30:14 AM1/5/12
to subjec...@googlegroups.com
Yes, Andrew, adding:

global $proxyURL;

fixed it.

Thanks.

On Thu, Jan 5, 2012 at 8:08 AM, <subjec...@googlegroups.com> wrote:

Group: http://groups.google.com/group/subjectsplus/topics

    Sigrid Kelsey <sigrid...@gmail.com> Jan 04 02:09PM -0600  

    We are about halfway through installing SubjectsPlus at LSU. Our indexes
    and databases and staff list are up and running on SubjectsPlus, and we
    will be moving our subject guides to the system in the coming months.
     
    We have our indexes & databases listed by subject, and I have found that
    the only way to have a new record listed under a particular subject is for
    the subject librarian to do so. Is there an easy way around this? I would
    like super permissions that give me permission to list a resource under a
    subject without being the subject librarian.
     
    And another permission related question involves giving someone access to
    only the staff database, but not the subject guides. Is that possible in
    an easy way- right now I have her using a linked table in Microsoft Access,
    but one of the advantages for SubjectsPlus is that we won't have to deal
    with that sort of access anymore.
     
    We made a few modifications to the pages- for example, I added a long
    record display for our databases, which allows our users to link to only
    one record:
    http://www.lib.lsu.edu/databases/ I'm happy to share my code, although I'm
    not confident that I did it the best way possible.
     
    Happy New Year!
    Sigrid

     

    Andrew Darby <agd...@gmail.com> Jan 04 03:28PM -0500  

    Hi Sigrid,
     
    You're right, that's annoying about not being able to add any subjects
    you want. Luckily, it's easily fixed! This has only had 3 minutes of
    development and testing put towards it, so tryer beware, but go to
    control/includes/classes/sp_Record.php around line 248, and replace
    what's there with:
     
    if (isset($_SESSION["eresource_mgr"]) &&
    $_SESSION["eresource_mgr"] == "1") {
    $subject_string = getSubBoxes('', 50, 1);
    } else {
    $subject_string = getSubBoxes('', 50);
    }
     
    This means that anyone with the eresource_mgr permission can add any
    subject they want. That's what that permission is meant to do, so I
    gave it that rather than admin, but you could substitute admin in that
    $_SESSION if you'd rather have it work that way.
     
    As for #2, you could add a new permission type to the $all_ptags array
    in config.php, and then use logic like above to stop them from
    creating subject guides. Drop me a line if you'd like more clues . . .
     
    I like your parent categories on that databases page.
     
    Andrew
     

     

You received this message because you are subscribed to the Google Group subjectsplus.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
You received this message because you are subscribed to the Google Groups "SubjectsPlus" group.
To post to this group, send email to subjec...@googlegroups.com.
To unsubscribe from this group, send email to subjectsplus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/subjectsplus?hl=en.

Reply all
Reply to author
Forward
0 new messages