This blog is for me to post things that I encounter while I work. Such as questions/problems I encounter and things I find. I'll try to update daily, but we'll see how that turns out.
Friday, November 2, 2012
Site Map and Competition Board
So yesterday I've starting two new projects that shouldn't take much time. The first one I've started is a site map for our main management site. What started me wanting to do this is the iPad and iOS 6. With this new iOS, the drop down menus don't work right like what I can do on my Android phone. You can tap on the menu, and go to that tap, but you cannot access anything that drops down. So I'm taking our header file and I'm going to create a site map that lists all links that are found in the header menus. So far I've striped out all the extra code I don't need and just have links in a table format. So right now it doesn't look pretty. But I'll keep everyone informed with how it goes, but I don't plan on spending much time on this at one time, more for when I need a break from other stuff.
The other project that I've started was a competition/tracking/motivation board on our sight to help keep our account managers motivated in filling spaces in our parks. With this they will be able to track the past weeks progress, whether it be good or bad, and see who did the best for the week. So the managers can put in what there totals where for each of the categories, and that will come up with a total points for the week. Now they have a chance to do a little challenge, like throwing a ball and making a goal, like into an empty trash basket, to earn higher points for the week. But it sounds like they will only get one chance to do it. If they make the goal, then they got the larger points for the week. But if they miss, then they lose all there points, and those points are divided up between all the other managers. Now each category has an x-factor to increase the total points if the bonus is made. So for each category, there are three things kept track of, the first one is what was your goal for that category for the week. Second is what did you achieve. The third is a bonus if you made your goal. So the goal section is worth no points, because its what you are striving to get. The second is worth one point for each home that meets that criteria. Then if the goal was made, then you get five additional points for that category. So things can add up if you set your goal and then make it. Then if you make the challenge of the day, then things can really add up. If the challenge is made, you get to apply the x-factor to the points for the second and third column. So this is what I have to create, and it will probably be done next week I hope. So far I've created the layout sort of with how I want it to look, then I'll need to do the back end math and data base back end for saving the different weeks. So it doesn't sound like as much as I thought it would have been after talking about what I have done yesterday, and what I have to do, but we'll see.
Friday, October 19, 2012
Leaning with PBX in a Flash
Then their was another thing that I found out today about the new system. It was using .htaccess lock to view voicemail. They tried to have admins add this back in March, but when I did, I didn't know my way around, and so I removed the locking file. But with this newer version, they had added it. So after spending lots of time trying to disable it, or find my way through it, I finally understood what the foram was saying for what to do about it. Here at http://www.pbxinaflash.com/community/index.php?threads/freepbx-2-10-latest-beta-voicemail-and-recordings-asks-for-auth-p-a-s-s-w-o-r-d.12407/ at about half way down where wardmundy is talking about what to do, it clicked what I needed to do. She gave the command to add a user for htaccess. She gave "htpasswd /usr/local/apache/p-a-s-s-w-d/wwwpasswd <username>". So I took that and started to enter it in and had to change it some. what I did was "htpasswd -bm /usr/local/apache/passwd/wwwpasswd <username> <password>" and that wrote a user in that file that I could share with everyone. So that was quite a learning experience for me, and a good one to know.
Tuesday, October 16, 2012
Quick Report
Sunday, October 14, 2012
Sorry for the delay and updates
One thing that I have been working on this week is to start moving our VoIP system over to a physical computer to run on. One of the problems we have been having, and seems that it's not that uncommon with running the VoIP server on an VM is the jitter getting to be bad enough where the server has to re-sync the audio during a phone conversation. That means that there will be 3-5 seconds where audio cannot be heard one way or the other, or both parties cannot hear each other. We have tried to dedicate a whole processor to the VM, but that didn't fix the problem. So the next solution is to move to a physical box for the phone server. So this past week I got the hardware for it from NewEgg.com and put it together. Then Wednesday through Friday I have been working on it where I could to get it set to be the phone server for the office. So last week I got to the point where I feel comfortable to start configuring the actual PBX portion of the server this week. I'll try to keep everyone in the loop ask things go along. And I'll also try better to keep adding thing to this blog. -Rob
Thursday, March 8, 2012
Counting Days Difference using PHP
$days = (strtotime($today) - strtotime($olderdate)) / (60 * 60 * 24);
Basically what has to happen is that you convert your dates to seconds with strtotime( ). Then subtract the two dates to get the difference between the two dates. The back half is 60 seconds times 60 minutes times 24 hours. That is 86400 seconds. So take your difference in dates and then divide that by the 86400 or 60 * 60 * 24. Now sometimes if the date has some information indicating time, and you only what to show days, then before you output, you will need to format to only show the number of days by encapsulate $days with number_format($days). This will only show the days without rounding the number.
I hope you enjoyed this little tid bit, thanks for reading.
Wednesday, February 15, 2012
Having fun with div tags
Tuesday, February 14, 2012
$_SESSION issues
I should have more stuff to post the next week and a half as I am revamping a report like system that I created when I first started here and not knowing anything of how things ran and how people where use to seeing things. I worked with a couple of the managers that go out to the parks we own to get a new look designed and cut out all the extra stuff. So it's a shorter report, and will have more vital information that is needed to be seen in a short amount of time. So I'm sure I'll have things to say about that.
Thursday, February 9, 2012
Trouble Shooting and Security Cameras
Sorry I didn't post anything yesterday and being so late today, there hasn't been much going on. For all of this month till yesterday when I had time, I was trying to find a problem within our data for our property management web software. Each month I manually move the ledger system to the next month for each of the parks we own. As part of that process, I have several checks that I do to make sure that the property is ready to advance to the next month. One property of ours had a miss match from the money we collected to what it payed for. So it took me up till yesterday afternoon to find the problem and fix it. I had to load backups of our database to my development server till I could isolate when the problem happened and pick out what changes there where from before it happened to after it happened. Then I was able to find the problem and fix it. This problem was not like what normally happens when we have an allocation miss match, and normally it doesn't take that long to find and fix. Especially when I've been doing this for over a year now.
Then today I did some support tickets and in the afternoon set up a cameras remotely through Log Me In. Normally I support our different offices across the country through Apple's iChat Screen Sharing. But because this office had Window XP, I couldn't do my support my normal way. So once I helped them get it set up for my support account, then I got on and got things set up with their security camera as far as in there network is concerned. Now we just need Comcast open the modem up so they can web host the security camera to record in our office. Also while I was in their computer, I re-mapped a network drive coming from there other computer in the office so they could use there management software on this computer. After I did that, the employee there in the office said that he has had a couple people over in his office to fix the networking problem they had between the two computers, and they couldn't. I did it in under 5 minutes. All it was that the old network drive was set up by IP, and when they switched out there router with a new wireless one, the computers stopped talking to each other. So this time it is set up by the Net BIOS name, so if they have to swap out their router again, it shouldn't fail again.
It was nice doing something other than support and support tickets like I have been doing for most of this month so far, so it feels like. Sorry this is long, I just wanted to give you some background to help you follow what I was explaining. We'll see you tomorrow.
Tuesday, February 7, 2012
New VoIP System Reliability
Monday, February 6, 2012
Finished Rebuild
Friday, February 3, 2012
Tool Kit
Oh ya, when I went out to get the new hard drive, I found out an interesting thing, hard drives are hard to come by right now. Because of the flooding that happened in Indonesia, hard drive production is greatly slowed and is making it tough to find hard drive. At Best Buy, there is a limit of one hard drive per customer. So I went next door to Office Depot, and they have a limit of 2 per customers. Nether stores had hard drives that I needed. So I went to a computer store in town named JPL, and they had some I needed for $15.00 more that what the others had them priced. So I finally got one and went back to work.