#392 Private bookings visible to all logged users?

open
nobody
None
1
2013-10-04
2013-10-03
Anne Page
No

Hi,

I am trying to set up so that all users who have a login can view each others private posts, especially the descriptions. But where any non-logged in user sees the private label.
We need to be able to share our private information between users (levels 1 and 2)

So far I only succeeded in getting the private to make all except the users own bookings private. How do I change this so that we can view other users private bookings?

We also need to be able to keep some bookings public to anyone. hence having everything private isn't a solution.

I tried adding this to the config.php file, nothing happened though.

if ($authGetUserLevel != 0)
{
$private_override = "public";
}
else
{
$private_override = "none";
}

Related

Support Requests: #392

Discussion

  • I haven't tested this but I would try inserting the following line

    $private_override = (getAuthorised(1)) ? "public" : "private";
    

    just after the checkAuthorised() call on each page

    Campbell

     
  • Anne Page
    Anne Page
    2013-10-04

    No change.

    Anne


    "Overcome us that, so overcome, we may be ourselves." C.S. Lewis

    "A dress should be tight enough to show you're a woman, yet loose enough to
    prove you're a lady." Edith Head

    On Fri, Oct 4, 2013 at 3:32 AM, Campbell Morrison
    cimorrison@users.sf.netwrote:

    I haven't tested this but I would try inserting the following line

    $private_override = (getAuthorised(1)) ? "public" : "private";

    just after the checkAuthorised() call on each page

    Campbell

    Status: open
    Created: Thu Oct 03, 2013 05:52 PM UTC by Anne Page
    Last Updated: Thu Oct 03, 2013 05:52 PM UTC
    Owner: nobody

    Hi,

    I am trying to set up so that all users who have a login can view each
    others private posts, especially the descriptions. But where any non-logged
    in user sees the private label.
    We need to be able to share our private information between users (levels
    1 and 2)

    So far I only succeeded in getting the private to make all except the
    users own bookings private. How do I change this so that we can view other
    users private bookings?

    We also need to be able to keep some bookings public to anyone. hence
    having everything private isn't a solution.

    I tried adding this to the config.php file, nothing happened though.

    if ($authGetUserLevel != 0)
    {
    $private_override = "public";
    }
    else
    {
    $private_override = "none";
    }


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/mrbs/support-requests/392/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Support Requests: #392

    • Anne Page
      Anne Page
      2013-10-04

      correct that, I missed a file, it does work!

      Thank-you.

      Anne


      "Overcome us that, so overcome, we may be ourselves." C.S. Lewis

      "A dress should be tight enough to show you're a woman, yet loose enough to
      prove you're a lady." Edith Head

      On Fri, Oct 4, 2013 at 12:18 PM, Anne Page anne.e.page@gmail.com wrote:

      No change.

      Anne


      "Overcome us that, so overcome, we may be ourselves." C.S. Lewis

      "A dress should be tight enough to show you're a woman, yet loose enough
      to prove you're a lady." Edith Head

      On Fri, Oct 4, 2013 at 3:32 AM, Campbell Morrison <cimorrison@users.sf.net

      wrote:

      I haven't tested this but I would try inserting the following line

      $private_override = (getAuthorised(1)) ? "public" : "private";

      just after the checkAuthorised() call on each page

      Campbell

      Status: open
      Created: Thu Oct 03, 2013 05:52 PM UTC by Anne Page
      Last Updated: Thu Oct 03, 2013 05:52 PM UTC
      Owner: nobody

      Hi,

      I am trying to set up so that all users who have a login can view each
      others private posts, especially the descriptions. But where any non-logged
      in user sees the private label.
      We need to be able to share our private information between users (levels
      1 and 2)

      So far I only succeeded in getting the private to make all except the
      users own bookings private. How do I change this so that we can view other
      users private bookings?

      We also need to be able to keep some bookings public to anyone. hence
      having everything private isn't a solution.

      I tried adding this to the config.php file, nothing happened though.

      if ($authGetUserLevel != 0)
      {
      $private_override = "public";
      }
      else
      {
      $private_override = "none";
      }


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/mrbs/support-requests/392/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Support Requests: #392


Anonymous


Cancel   Add attachments