You are currently browsing the archives for January, 2014.

Its All About Position!

January 9, 2014 // Posted in Main, Tips and Tricks (Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ) |  No Comments

triplepivotPosition is important in many things in life, work, football, cricket and even sex.

If you are not in the right position something will go wrong!

It is the same with code on your pages, particularly with jquery and jquery-ui.

How many times have you added an additional jquery widget to one of your pages only to find something else that used to work, no longer does.

I get many requests for help for exactly the same issue and see many posts on forums with the same problems. When you look at the responses that others have given, you will often see complicated modifications to javascript libraries, or lots of additional code or changes to code that are supposed to fix the issues, such as jquery noConflicts and the like. In some cases these do fix the immediate problem, but involve quite a bit of work and some require a reasonable knowledge of javascript coding.

In almost all of the situations I have been asked to help with, however, I have found the solution to be much simpler, it’s about position and what is loaded and when.

Before entering into any complicated code changes here is something to try first, it won’t  require any modifications to code or re-writing javascript libraries and even those with little or no javascript knowledge can make the changes.

Let’s imagine you have a javascript gallery on your page, this will require a jquery library, some code in the head of your page and some in the body, when using WebPlus these will be added automatically by the program and will not be moveable as WebPlus controls their location.  You now add a third party javascript add-on that tells you to add some code to the head of your page and some to the body, they will also tell you to include a jquery library and perhaps a jquery-ui library. Well first of all forget adding the jquery library if WebPlus has already added it’s own, as if there is two on the same page that will in itself cause conflicts.

Secondly if the code you added to the head for your third party contains $ signs to call functions in jquery etc then you will more than likely find that something will not work after you add it, either your javascript gallery or your new add-on.

Before you get into complicated modifications here is a tip when your new add-on causes issues with your currently working javascript add-on :

Firstly forget the old addage of ‘You must add your scripts to the head of your page’, that’s a load of twoddle.

Move the code that you added for your new add-on to the body of your page, firstly just after the body tag (in WebPlus paste it over the !– Page Body Start — tag), so that all your new code is below your original add-on’s code.

If that doesn’t get both working move your new code to just before the body end tag, (In WebPlus paste it over the — Page Body End — tag).

In most cases the above will fix the issue and both your add-ins will work happily together.

Sometimes you may have more than two add-ins on a page and one or another stops working when the additional ones are added. Play around with the position of each script on the page  until you get the right combination, and you will fix most conflicts with positions. Don’t forget to also check for duplicate libraries, and make sure that the libraries are loaded before any scripts that call them come into play, It’s all about position again.

As I said at the start I have found that most problems with javascript conflicts can be fixed with position of the scripts, so you can save yourself a lot of work by playing with positions before anything else.

I hope that this helps someone.

Steve

 

 

 

 

 

Cloud Computing – A Stupid Question?

January 3, 2014 // Posted in General, Main (Tags: , , , , , , , , , , , , , , , , , , , , ) |  No Comments

incloudsYou will probably think this is a stupid question, but what is the difference between cloud computing and what we already had?

 

I have been trying to get my head around this for some time now. Cloud computing is described as storing your data on a cloud (third party) server on the internet.

But if that is what cloud computing is then isn’t it the same as having your web space on a third party server and storing your data on a database server linked to your web space etc. You can also save all your files etc on that same server.

Obviously a cloud server is not really storing your data in a cloud, it would be very clever if it was. What happens when it rains, does your data come down with it?

Seriously though, if you have a shared hosting package on someone elses servers, or even have your own dedicated server in someone elses building, then your data is stored on a physical device not directly controlled by you but remotely accessed. Isn’t that the same as a Cloud Service? Your data is stored on a physical device in someone elses premises that you manage remotely.

How does one differ from the other? Are they both not the same?

DSCF0141DSCF0138My idea of cloud computing is more like my current method of connecting to the internet. Due to cabling issues my service provider connected me to their data centre some 2-3 miles away via a radio link and in order to be able to see the receiver/transmitter the other end, had to put up a 30ft plus pole, so my modem is ‘in the clouds’, now that’s what I call cloud computing.

 

Comments and answers welcomed

Steve

Santa has been and gone and you have a new device.

January 2, 2014 // Posted in Computer Tips, General, Main (Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ) |  No Comments

santagiftsYes Santa has been and gone and the festivities are now over.

 

You may have gotten a new device from Santa, but he forgot to include some very important items.

So if you did get a new device, a laptop, home PC, tablet, phone or other mobile device don’t forget to add the following important items:

  • Set up a master pin code or password so that if your device gets stolen or lost, the person that currently has it in their possession cannot use it easily.
  • Install anti-virus and anti-spam software to protect your device. I have tried many different AV programs over the years and I have found the best to be AVG Total Internet Security, it doesn’t add too much overhead to your system, always appears to install correctly first time, is updated automatically very regularly to keep you protected, and gives full protection. On Mobile devices the AVG solution is also very effective and adds additional feature which I will cover a little later.
  • If your new device is a mobile one with GPS, install location software, AVG’s mobile solution has this facility and will allow you to find out where your device is if it is lost or stolen.
  • Again if your device is mobile install remote wiping and locking software, so if your device goes missing you can set it to sound alarms if  someone attempts to use it, you can lock the device and even delete everything on it by issuing a command over the internet. These features are also available in AVG’s mobile solutions.
  • Many mobile devices allow purchase within Apps, make sure you turn these off so that you do not accidentally make purchases.
  • Check your privacy settings in all devices, laptops,PC’s and mobile devices, and make sure you are not sharing something you do not want to.

Protect yourself, as your device will not do it for you without the right additions.

Happy New Year and enjoy your new device safely.

Steve

 

 

Do you need an on-line booking and managment system for a hotel?

January 2, 2014 // Posted in General, Main (Tags: , , , , , , , , , , , , , , , , , , , , , , , ) |  No Comments

Are you looking for an online booking system for a hotel?

 

Then why not take a look at Hotel-iBooker for WebPlus. This is not just a template, it is a complete hotel management system built in a single web plus document.

The latest versions use PHP and MySQL and there is now a new PLUS+ version too.

Here are just some of the features:

  • Unlimited Number of Rooms
  • Unlimited Room Types
  • Unlimited Seasons
  • NEW!  Automatic Single Occupancy Surcharges/Discounts
  • NEW!  Add Unlimited number of Date and Time Stamped Notes to orders.
  • NEW! Improved database performance.
  • NEW! Ultimate easy set-up – Just a few clicks and you are ready to go in just 5 minutes.
  • NEW! Select auto rounding Up/Down/None on seasonal factor calculations.
  • NEW! Enhanced graphical room view.
  • NEW! Improved PayPal interface and gateway.
  • NEW! Easy quick one click switching from PayPal Sandbox to Live Status.
  • NEW! New ‘Q’ Status for PayPal Pending and Incomplete transactions.
  • NEW! Locally raised orders now have option to email payment link to customer when paid order automatically updated to book and paid status.
  • NEW! New Management Functions:
  1. Optimise Database.
  2. Back Up Database.
  3. Download Back Up.
  4. Delete Backup File.
  5. Delete All ‘Q’ Status records.
  6. Change Database Settings.
  7. And more….
  • NEW!  Enhanced room blocking.
  • Auto Room Pricing: Set Factors for each Season to automatically change room prices. eg: If during Easter your Room Prices are 20% higher than Normal Season, enter a factor of 1.20 for Easter Season and Room Prices are automatically changed in room charge calculations.
  • Auto Discounts: Set Discounts based on number of Nights Booked. Eg: book for 2 to 4 nights get 5% discount, 5-8 get 10% etc. Discount automatically applied to qualifying bookings.
  • Auto Validation: When customer selects room type, date and nights, the system checks for availability and either validates the booking or says that no room available.
  • Room Disabling: Rooms can be disabled from booking online individually or by type. This means that if a room is out of service it cannot be booked, or the hotelier can reserve specific rooms for booking locally only and make them not available online.
  • Cross season bookings, are automatically calculated on relevant rates. eg: Customer books dates that mean that 2 nights fall in the normal season and 2 nights in the Easter season, the system charges two nights at normal rate and 2 at Easter Rate, and it applies the relevant multiple night discount percentage to the total cost if applicable.
  • Auto Email Confirmation: An email is sent immediately to the Hotel Owner, or other email and to the Customer to confirm booking and payment.
  • Auto PayPal Submission: The system automatically creates the necessary code for the customised PayPal Gateway and automatically generates the return URL’s for successful and unsuccessful payments.
  • Owner pages allow full administration online and can also be used for booking and managing rooms locally and are fully protected. If not logged in successfully the sub-menus in the navigation element are disabled and if a page is manually accessed no data can be displayed and a warning note replaces the usual data.
  • Many system parameters can be set in the Maintenance area avoiding the need to edit the code directly.
  • Pages can be customised to blend in with the Hotel site scheme.
  • Maintenance area includes deletion of un-needed records, table statistics and validation of set up data.
  • Unlimited number of local user accounts.
  • Graphical view of Room Status which is interactive with the Orders Page.
  • Owner can move bookings from date to date, change number of nights, and move booking to another room  amongst other changes. New room costs are automatically calculated and old booking details removed.
  • Rooms can be blocked from booking for selected dates whilst room is renovated etc.
  • Installation of Customer Booking into current Hotel Web Site takes less than 5 minutes.
  • Setting up the room details etc takes less than 20 minutes (if room details and season info etc.is readily available)
  • PHP and MySQL enabled server compatible (PHP 5.0 or later and MySQL 5.0 or later recommended).
  • FREE Support  & FREE Help with Set Up
  • Customisation available (may incur extra cost depending on the customisation complexity)
  • Can be installed using  http: or https: SSL to improve security and user confidence

And in the PLUS+ version:

  • Enhanced GUI.
  • Add additional charges to rooms such as Room Service, Telephone, Restaurant Bill, Newspapers etc.
  • Tag full customer address to order.
  • NEW RePOS, Hotel Reception screen to manage rooms, payments etc locally, includes:
  1.  Select Room
  2. Add Extra Charges
  3. Add Payments
  4. New Booking
  5. Change Booking
  6. Create Invoice
  7. Add Notes
  8. Add/Edit Address
  9. Cash Up
  10. Daily Room Status
  11. View Room Summary charges/payments
  12. And more…
  • New status code ‘Z’ used when room booking is complete, fully paid and vacated.
  • Cash Up allows you to select a Date (or range of dates) and the summary of the total payments received that period in each payment type is created so that cash, cheques etc can be reconciled.
  • Daily Room status provides a summary of all rooms that are active during that day and their current status, you could use this in conjunction with the ‘Z’ status to identify  which rooms are vacated and ready for cleaning etc.
  • The enhanced order summaries views have the option to go to the RePOS page and work with the selected room on the Orders Views.
  • Enhancements have been made to several original pages and views.

Fully hosted and WPP versions available.

More information and details here: Hotel-iBooker PHP

%d bloggers like this: