+ Post New Thread
Page 3 of 3 FirstFirst 123
Results 31 to 36 of 36
Home Access Plus+ Thread, Bookings - Multiple Sessions in Projects:; Yes, I updated the v8.5 release on Monday, you downloaded the Saturday version...
  1. #31
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,520
    Thank Post
    37
    Thanked 501 Times in 432 Posts
    Rep Power
    113
    Yes, I updated the v8.5 release on Monday, you downloaded the Saturday version

  2. #32
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,298
    Thank Post
    619
    Thanked 162 Times in 147 Posts
    Blog Entries
    78
    Rep Power
    83
    Done...and the Show to works fine now . For the Hide from to work, what should be in the Show to for this to work?

  3. #33
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,520
    Thank Post
    37
    Thanked 501 Times in 432 Posts
    Rep Power
    113
    HideFrom can be nothing or can contain either users or groups. ShowTo is first, then it runs the hidefrom list

  4. #34
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,298
    Thank Post
    619
    Thanked 162 Times in 147 Posts
    Blog Entries
    78
    Rep Power
    83
    Gah....typing fail. Ive got the show to to work fine, but if I want the hide from to work, should show to be blank?

  5. #35
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,520
    Thank Post
    37
    Thanked 501 Times in 432 Posts
    Rep Power
    113
    Hmm, it should work, hidefrom goes first in the code, then the show to

    Code:
            private bool isVisible(string showto, string hidefrom)
            {
                if (showto == "All" || isBSAdmin || User.IsInRole("Domain Admins")) return true;
                foreach (string s in hidefrom.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries))
                    if (ADUser.UserName.ToLower().Equals(s.ToLower().Trim())) return false;
                    else if (User.IsInRole(s.Trim())) return false;
                foreach (string s in showto.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries))
                    if (ADUser.UserName.ToLower().Equals(s.ToLower().Trim())) return true;
                    else if (User.IsInRole(s.Trim())) return true;
                return false;
            }

  6. #36

    Join Date
    Apr 2012
    Posts
    46
    Thank Post
    0
    Thanked 6 Times in 5 Posts
    Rep Power
    6
    "Did we get any further with adjusting the column widths at all fo display as well, or the catagories of resources a la earlier versions?"

    Whilst not adjusting the column widths directly - assuming Nick doesn't disagree, I added a change earlier to display just the Day/Month on the bookings page and not the year. I've then knocked ~30 pixels off the width of the columns which for me does mean it starts to fit better - although with that shorter width you start to hit issues with truncation so it does need some more work.

SHARE:
+ Post New Thread
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Multiple booking systems
    By beneal in forum Home Access Plus+
    Replies: 2
    Last Post: 24th August 2012, 03:25 PM
  2. Replies: 2
    Last Post: 6th June 2012, 06:26 AM
  3. Books & CDS
    By russdev in forum Books and Manuals
    Replies: 19
    Last Post: 22nd March 2006, 02:33 PM
  4. Firefox + Multiple Tabbed Homepages
    By Dos_Box in forum How do you do....it?
    Replies: 0
    Last Post: 15th July 2005, 01:01 PM
  5. A Good Free Online PHP Book
    By Diello in forum Coding
    Replies: 1
    Last Post: 22nd June 2005, 10:05 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •