Search found 77 matches

by peter
Tue May 12, 2015 3:47 am
Forum: Time Tracker
Topic: Clients role, only Reports of allocated Projects possible?
Replies: 9
Views: 4341

Re: Clients role, only Reports of allocated Projects possibl

Here is a function that will get only users assigned to projects for a single client. You can use it in reports.php instead of getActiveUsers() to obtained filtered down list of users in team. // The getActiveUsersForClient obtains all active users in a team that are assigned to projects relevant to...
by peter
Wed Mar 11, 2015 2:20 pm
Forum: Time Tracker
Topic: MDB2 Error: connect failed
Replies: 3
Views: 3712

Re: MDB2 Error: connect failed

After creating a database, you'll need to grant access to it to a Time Tracker user:

Code: Select all

mysql> GRANT ALL PRIVILEGES ON timetracker.* TO 'ttuser'@'localhost' IDENTIFIED BY 'yourpassword';
by peter
Tue Dec 30, 2014 2:22 am
Forum: Time Tracker
Topic: Password reset required each time I login
Replies: 11
Views: 4875

Re: Password reset required each time I login

I am assuming you use a self-hosted Time Tracker, correct? How can we see the issue? Difficult to say what is happening without details. Perhaps someone (like a team manager) changed it? Could there be something that interferes with your database? If you have access to the database, see what your pa...
by peter
Mon Dec 29, 2014 7:56 pm
Forum: Time Tracker
Topic: Password reset required each time I login
Replies: 11
Views: 4875

Re: Password reset required each time I login

nessumsara wrote:Every time I login I'm forced to reset my password because my password is not excepted when I login. I use the same password each time when I reset it. The password works fine when I login after rest, but the next time I have to login, my login gets rejected.
Do you have cookies enabled in browser?
by peter
Wed Dec 03, 2014 3:19 pm
Forum: Time Tracker
Topic: I can't find the Uncompleted Entry
Replies: 11
Views: 6259

Re: I can't find the Uncompleted Entry

hmm, i think there is another optimisation. In the info line stands OWNUSERNAME (MANAGER) for USERNAME, OWNUSERNAME For my opinion it is not good to display the ownusername again at the end. Please think about it and when you agree, cut the ownusername at the end please. The last part is actually a...
by peter
Mon Nov 10, 2014 1:02 pm
Forum: Time Tracker
Topic: Need rule numbers in my reports, anyone?
Replies: 11
Views: 5323

Re: Need rule numbers in my reports, anyone?

I have 1 question regarding this solution. Do I have to edit both the IF and ELSE area? No, you don't have to put anything in the IF section. The data in the IF section are obtained from the form (after the form is POSTed) and then a report is sent without interaction with user. If you don't allow ...
by peter
Thu Nov 06, 2014 3:50 pm
Forum: Time Tracker
Topic: Need rule numbers in my reports, anyone?
Replies: 11
Views: 5323

Re: Need rule numbers in my reports, anyone?

I was wondering, is it possible to make this second field (bcc) equal to the already registered e-mail address of the user? I know that the address will be remembered by default.. however this can make it a little bit easier. Maybe to avoid typos :wink: Try adding this line if (!$cl_cc && $user->em...
by peter
Sat Oct 25, 2014 3:07 pm
Forum: Time Tracker
Topic: MDB2 messages in dbinstall.php
Replies: 2
Views: 2287

Re: MDB2 messages in dbinstall.php

Hi, I installed TT 1.8 and when running dbinstall.php i get the following messages: Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\pear\MDB2.php on line 390 Looks like you are using PEAR from xampp, make sure you have the code below in WEB-INF/config.php. /...
by peter
Sat Oct 25, 2014 3:00 pm
Forum: Time Tracker
Topic: Need rule numbers in my reports, anyone?
Replies: 11
Views: 5323

Re: Need rule numbers in my reports, anyone?

Second question: how can I make de To-field, in the mail report screen, static. In our situation this should always be 1 e-mail address. The BCC-field may remain dynamic. See repond_send.php file. The "To:" field is remembered and re-used from the last time. You can modify this file if you want a s...
by peter
Thu Oct 02, 2014 4:18 am
Forum: Time Tracker
Topic: Database Design tt_log vs. Blob
Replies: 3
Views: 3628

Re: Database Design tt_log vs. Blob

Can you create a view that contains the custom field column and use it in ODBC query?
by peter
Wed Sep 03, 2014 2:01 pm
Forum: Time Tracker
Topic: Unable to create schema in database "MDB2 Error: not found"
Replies: 6
Views: 3572

Re: Unable to create schema in database "MDB2 Error: not fou

Easiest way to fix this is to open a support incident and allow remote access for troubleshooting.
by peter
Tue Sep 02, 2014 10:08 pm
Forum: Time Tracker
Topic: Unable to create schema in database "MDB2 Error: not found"
Replies: 6
Views: 3572

Re: Unable to create schema in database "MDB2 Error: not fou

One thing to check is to point your browser at phpinfo.php file and see if you have mysql extension enabled in web server.
by peter
Tue Sep 02, 2014 4:35 pm
Forum: Time Tracker
Topic: Unable to create schema in database "MDB2 Error: not found"
Replies: 6
Views: 3572

Re: Unable to create database "MDB2 Error: not found"

Just tried installing the latest version of Time Tracker locally - it worked for me. Generally, you see the "MDB2 Error: not found" error when it cannot find the mysql driver. In the latest version of Time Tracker, this driver is WEB-INF/lib/pear/MDB2/Driver/mysql.php - also the PEAR Itself is a par...
by peter
Tue Aug 26, 2014 11:55 pm
Forum: Time Tracker
Topic: Version 1.8 and new 'client' role
Replies: 2
Views: 1907

Re: Version 1.8 and new 'client' role

You'll probably want to introduce right_view_users access right, introduce another role, assign right_view_users to roles you want to allow viewing users, and then modify header.tpl that defines the menu, and user*.php files where a security check is done.
by peter
Sun Aug 10, 2014 5:00 pm
Forum: Time Tracker
Topic: Multiple Time Entries On Same Day
Replies: 4
Views: 3410

Re: Multiple Time Entries On Same Day

This also doubles up as another 'bug' If you edit and entry and click save as new it will save another identical entry on that same time. I think you may be referencing an older or modified version of the code, as I can't reproduce this problem with 1.8.0.3205. I may be missing something. Can you r...