Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bo Kingo Damgaard 157 posts 456 karma points
    Oct 07, 2010 @ 11:39
    Bo Kingo Damgaard
    1

    Possibility of adding usertypes

    Hi

    It's a great idea, but would it be possible to implement the ability to select which usertypes the indicator should shown for? I normally just log on with the default admin user, which is a Administrator usertype and not admin usertype. Therefore is doesn't work OOB.

    /Bo

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Oct 07, 2010 @ 11:51
    Sebastiaan Janssen
    0

    It should work OOB then, because that is what I do! :-)

    I'm looking at the logged in user and getting th userType.alias, which is admin in default installs.

    But I do like the idea of making the user type configurable, it's going on the todo list, thanks!

  • Bo Kingo Damgaard 157 posts 456 karma points
    Oct 07, 2010 @ 12:05
    Bo Kingo Damgaard
    0

    You are actually right ;) but it doesn't work on the site I tried it on. I even tried to set the environment variable on web.config without luck.

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Oct 07, 2010 @ 12:42
    Sebastiaan Janssen
    0

    Ah, it's weird, try removing the cultiv.environmentindicator.dll from the bin folder, does it give you an error if you reload /umbraco/umbraco.aspx?

    Re-adding the .dll file should make it work then.

    If you don't get the error: Are you on IIS5? I haven't tested that version, maybe IIS6 doesn't understand the .browser files in App_Browsers? Of course, also check if the cultiv.envirnmentindicator.browser file is available in App_Browsers.

  • Bo Kingo Damgaard 157 posts 456 karma points
    Oct 07, 2010 @ 12:50
    Bo Kingo Damgaard
    0

    Hi

    I'm on IIS 7 (Windows 2008 R2) and the cultiv.envirnmentindicator.browser was actually missing on both sites I installed it on (Umbraco 4.5.2). I copy the file into App_Browsers and recycled the apppool and now it works. I think there's a bug in the installation.

    Thx

     

  • Bo Kingo Damgaard 157 posts 456 karma points
    Oct 07, 2010 @ 12:58
    Bo Kingo Damgaard
    0

    Ahhh. It's actually a rights problem. The apppool user only have read rights to app_browser folder - that why it didn't get copied.

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Oct 07, 2010 @ 13:41
    Sebastiaan Janssen
    0

    Ah yes, I'll update the documentation as App_Browsers might not be something that users will generally remember to give rights to.

    Might need to build some detection for this into the installer then. Thanks for getting to the bottom of this!

Please Sign in or register to post replies

Write your reply to:

Draft