Booked Scheduler Community Support
July 17, 2018, 05:39:52 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Booked is proud to recommend Shift Capsule in the employee shift scheduling space www.ShiftCapsule.com
 
   Home   Help Login Register  
Pages: [1] 2 3 ... 10
 1 
 on: Today at 04:24:35 AM 
Started by digicrat - Last post by digicrat
This modification adds a dropdown menu to the Users management page to filter by group. 

Note that there is a slight bug in that the selected value for the dropdown is not restored - it wasn't important enough for me to figure out how to fix that yet.

Quote
diff --git a/Pages/Admin/ManageUsersPage.php b/Pages/Admin/ManageUsersPage.php
index 1fd8c95..903b45f 100644
--- a/Pages/Admin/ManageUsersPage.php
+++ b/Pages/Admin/ManageUsersPage.php
@@ -296,6 +296,21 @@ class ManageUsersPage extends ActionPage implements IManageUsersPage
    }
 
    /**
+    * @return int
+    */
+   public function GetGroupId()
+   {
+      $id = $this->GetQuerystring(QueryStringKeys::GROUP_ID);
+      if (empty($id))
+      {
+         $id = $this->GetForm(FormKeys::PK);
+      }
+
+      return $id;
+   }
+
+
+   /**
     * @param BookableResource[] $resources
     * @return void
     */
diff --git a/Presenters/Admin/ManageUsersPresenter.php b/Presenters/Admin/ManageUsersPresenter.php
index 6f35061..ccb37bf 100644
--- a/Presenters/Admin/ManageUsersPresenter.php
+++ b/Presenters/Admin/ManageUsersPresenter.php
@@ -192,6 +192,9 @@ class ManageUsersPresenter extends ActionPresenter implements IManageUsersPresen
             $userList = $this->userRepository->GetList(1, 1, null, null,
                 new SqlFilterEquals(ColumnNames::USER_ID, $this->page->GetUserId()));
         }
+   elseif ($this->page->GetGroupId() != null) {
+                $userList = $this->groupRepository->GetUsersInGroup($this->page->GetGroupId(), 1, 100);
+   }
         else {
             $userList = $this->userRepository->GetList($this->page->GetPageNumber(), $this->page->GetPageSize(),
                 $this->page->GetSortField(),
diff --git a/Web/scripts/admin/user.js b/Web/scripts/admin/user.js
index 9283728..daba43f 100644
--- a/Web/scripts/admin/user.js
+++ b/Web/scripts/admin/user.js
@@ -7,6 +7,7 @@ function UserManagement(opts) {
 
       userAutocomplete: $('#userSearch'),
       filterStatusId: $('#filterStatusId'),
+           filterGroupId: $('#filterGroupId'),
 
       permissionsDialog: $('#permissionsDialog'),
       passwordDialog: $('#passwordDialog'),
@@ -124,6 +125,11 @@ function UserManagement(opts) {
          window.location.href = options.filterUrl + statusid;
       });
 
+      elements.filterGroupId.change(function () {
+         var gid = $(this).val();
+         window.location.href = options.filterUrl + elements.filterStatusId.val() + "&gid=" + gid;
+      });
+
       elements.addedGroups.delegate('div', 'click', function (e) {
          e.preventDefault();
          $('#removeGroupId').val($(this).attr('groupId'));
@@ -400,4 +406,4 @@ function UserManagement(opts) {
    var deleteUser = function () {
       elements.deleteDialog.modal('show');
    };
-}
\ No newline at end of file
+}
diff --git a/tpl/Admin/manage_users.tpl b/tpl/Admin/manage_users.tpl
index ac47521..40d48e1 100644
--- a/tpl/Admin/manage_users.tpl
+++ b/tpl/Admin/manage_users.tpl
@@ -70,8 +70,13 @@ along with Booked Scheduler.  If not, see <http://www.gnu.org/licenses/>.
                 {html_options selected=$FilterStatusId options=$statusDescriptions}
             </select>
         </div>
-        <div class="col-xs-6">
-            &nbsp;
+        <div class="form-group col-xs-2">
+            <label for="filterGroupId">{translate key=Group}</label>
+            <select id="filterGroupId" class="form-control">
+            <option selected>All</option>
+                  {object_html_options selected=$GroupStatusId options=$Groups label=Name key=Id}
+            </select>
+
         </div>
         <div class="clearfix"></div>
     </form>

 2 
 on: Today at 04:23:06 AM 
Started by brettvan - Last post by evmal
I have the same situation.
v2.5.15

 3 
 on: July 16, 2018, 09:48:57 PM 
Started by Cisco AS Mobility WiFi COE - Last post by Cisco AS Mobility WiFi COE
Hello all,

Sometime last week, Booked became unable to send any emails. The only change that was done was a few weeks back to a email template, but everything was working fine for over a week after the change so I am trying to figure out what happened. We are running version 2.6.5.

I enabled debugging (http://php.brickhost.com/forums/index.php?topic=12004.msg23298#msg23298) and created a few reservations for test, but I have not seen any error messages. I have searched through other posts with no luck. SMTP relay is still functioning. What are my next steps?

Any help would be much appreciated as I have recently inherited administration over this application and am not yet familiar with the inner-workings.

 4 
 on: July 16, 2018, 11:30:34 AM 
Started by Flowby - Last post by lucap
Look at the "Schedules" menu.
Update the schedules based on your needs.
Nothing too strange!

Or maybe I didn't understand your question...

However, reading the documentation can help a lot.

LucaP

 5 
 on: July 16, 2018, 11:15:28 AM 
Started by cbrherms - Last post by lucap
Hi
I am not sure if this is a bug or if we are missing something, but I have the same problem. Both on 2.6.8 and 2.7.1.
Here another user http://php.brickhost.com/forums/index.php?topic=15142.0.

When I call reservation API, the timezone is always +0000 in all fields.
However the API description says the timezone is the current timezone of the date parameter or the browser timezone.

I never asked on the forum but I resolve the issue with a little update to the logic, like this:

I changed line 61 in WebServices/Responses/ReservationItemResponse.php
from
$this->startDate = $reservationItemView->StartDate->ToIso();
to
$this->startDate = $reservationItemView->StartDate->ToTimezone($server->GetSession()->Timezone)->ToIso();

You can change it in every model you need it.

LucaP

 6 
 on: July 16, 2018, 07:47:03 AM 
Started by RCPWisc - Last post by YZone
Hi,

I have noticed that on the demo and installed 2.7.1 version, if you select for example the ‘Flemish’ language to login, you will get a lot of question marks.
This means that some text is not translated for this language.
Can you check if you login as ‘English US’ or ‘English UK’ you still get these question marks.

YZone

 7 
 on: July 15, 2018, 04:09:20 PM 
Started by TechCoder - Last post by TechCoder
Hossam,

Please note that you have posted this 'negative sounding' comment on a post that is about a product released by CashFlowProducts.com (CFP), without any regard to the product directly (as we discontinued it some time ago - it is highly unlikely you have even seen our product....)

What you seem to be referring to is that Booked Scheduler (made by Twinkle Toes Software) has the ability to retain login information when you use Google login with the released (unmodified) version of Booked Scheduler - - - yes, this is true and I'm also not a fan of it (and not a fan of it not being disclosed either.....) - though that is how they choose to present the software.

CFP does NOT keep any information of yours when you are using our products (the exception to that is if you are using our SaaS service(s), etc. and we have to retain identifying info as part of the login sequence, permissions, etc. - and we still do not keep anything other than a minimal set of reference information - i.e., nothing 'personal'...)

Please do not spread 'rumors' - be sure you are talking about the right product on the right forum post.  I really believe your post should be on some other place than one talking about the free product we (CFP) offered for those using older versions of Booked Scheduler.

To be fair, the likely reason the developers at Twinkle Toes Software (the makers of Booked Scheduler) retain this is for easy of installation for those new to the software - otherwise, you have to go through signing up as a Google developer and get your own codes, etc. (not difficult, but a lot of extra effort just to get the software running..... - one of the challenges we faced when releasing our product - - - - we chose to provide detailed information on how to sign up to Google for the codes instead of retaining it as Twinkle Toes Software does in Booked Scheduler - simply a business policy choice....)

And, as for your question of "any chance that any one did it?!" - while it isn't clear what you mean by that, I think you mean to ask if anyone is using their Google account to log into Booked Scheduler.  I'm sure there are many that do - I can say that I use it regularly (and, yes, I understand what that means.....)

So, now that you understand what they are doing, and that some people (at least 1! Smiley are using it, perhaps it is a good opportunity for you to contribute to the forum in a positive way and provide those interested in the code on how to not be 'tracked' by Twinkle Toes Software...... (much better than posting 'negative sounding' comments!)

 8 
 on: July 15, 2018, 02:48:26 PM 
Started by TechCoder - Last post by Hossam
they are keeping googleresume.php in their host!!!!
any chance that any one did it?!

 9 
 on: July 13, 2018, 03:22:14 PM 
Started by TechCoder - Last post by TechCoder
Need reliable (GDPR/EU compliant) hosting? - well, here it is!  Smiley

https://cashflowproducts.com/product.php?prodId=BookedHosting

Professionally installed and set up with the latest released version of Booked - ready to log in!

You also get FTP access (for the more technically inclined) and a Control Panel so you can put other files on there as well (if you like....)

Check out the features!  https://cashflowproducts.com/product.php?prodId=BookedHosting

 10 
 on: July 13, 2018, 03:15:01 PM 
Started by jbolyard - Last post by TechCoder
Welcome to the forum!
 
Reading your message reminds me of a 'time long past' where I used to go out with some movers/shakers to fly on a hill in Petaluma, CA - many times new designs were tested there (and all very cautious of 'design flaw' potentials! Smiley - of course, my little kit project was still given time for me to learn now/then (the guys were really great about that...) - well, anyway.......

For your 'slow times', you should talk with the administrator of your calendar - likely (no, absolutely!) something changed, somewhere - - - it could be they changed PHP versions or even hosting services - - - something obviously changed.....

You should also recommend that they upgrade the Booked version - there were some bad 'slow' problems some time ago and we haven't noticed any in the last several versions (there will also be some new features for you to try, etc....)

Note that I am not (nor affiliated with) the developers of Booked, but I do post a lot on the forum (which may/not reflect any knowledge! Smiley  I am the Lead Programmer/Support for CashFlowProducts.com, where we do a lot of mods/plugins/etc. for Booked fans (like us).  https://CashFlowProducts.com

Pages: [1] 2 3 ... 10
Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!