Categories
Web Stuffs

Choosing a web host

Disclaimer: This article contains referral links but I recommend the host based on my own personal experience of over a decade being with them.

If you’re in the market for a web hosting company, chances are you have already heard of big names like GoDaddy, CrazyDomain as these guys pushed for strong advertising campaign in the past and they have been around for as long as I can remember.

The one hosting that I chose and am still with them after 11 years is an Australian player, based on Melbourne – VentraIP Australia. They have exceptional customer support by local employees. Back in the days I was running a web agency, this host company was my go-to and they never failed me.

If you just aim for having a blog site, their sister company – Zuver – offers plans that are specially made for WordPress hosting. It comes as no surprise that this blog is being hosted by Zuver to take advantage of this setup along with the quality of the customer service.

Recently, I received an email from VentraIP saying that:

Yesterday it was announced that Webcentral Group (ASX:WCG), which includes brands such as Netregistry and Melbourne IT, recommended a scheme of arrangement to its shareholders to be wholly acquired by multi-billion dollar US company Web.com Group Inc.

This is the same company who recently acquired Dreamscape Networks, which included brands such as Crazy Domains and Vodien.

If this acquisition is approved by their shareholders it will see VentraIP Australia become the largest Australian owned and operated web hosting and domain name company, and whilst that is a personally humbling achievement as a business owner, it means that more than 80% of the local market share will then be foreign owned.

Another one bites the dust! – Email sent by VentraIP on 14 Jul 2020, 16:47 AEST

Now that’s not a piece of good news because it seems the big player is trying to consolidate the market share and reduce competition as a result.

Reasons for VentraIP

VentraIP then reminds me of the reasons that I would support them:

1. You will be supporting a truly local company that provides 24/7 Australian-based service and technical support.
 2. ​You will avoid paying unnecessary overseas transaction fees with your bank as they process their payments offshore.
 3. You will have peace of mind knowing that all of your customer data and private information will remain right here in Australia.

Another one bites the dust! – Email sent by VentraIP on 14 Jul 2020, 16:47 AEST

While point #2 is not much of a relevance (because pricing will be factored in the final product), I would prefer to support an Australian based business, especially they continue to offer great service and return on value for their product.

I would add more points to the list such as:

  1. If you only require a domain name, their pricing is very competitive and remains one of the lowest I have ever seen.
  2. They offer a 45-day money back guarantee and a pro rata refund on the hosting plan. There’s nothing to lose!

These days, I only manage 3 sites and while I had a brief period of looking for an alternative (just to see what new out there), I am happy to stay put knowing that I’m in good hands.

So, why don’t you give them a go and see it for yourself. Let me know below if there’s any question!

Categories
Badminton

Useful badminton YouTube channels

Last updated on August 16th, 2020 at 10:49 am AEST (+10:00)

A compilation of useful YouTube channels for badminton enthusiasts

Badminton Famly (not Family as I first read 😁) : https://www.youtube.com/c/BadmintonFamly

  • I’m following this channel below closely these days. It has a great amount of free contents. The videos are succinct but informative, and not to mention they are professionally created and choreographed. There’s a paid option if anyone is interested:
Badminton Famly - an awesome YouTube badminton channel

I hope they go well and will consider getting a subscription some time in the future.

thejym: https://www.youtube.com/c/thejym

  • As I pointed out in my beginner guide, footwork is a critical part of improving your game. I can see that in the social baddy groups I currently play not everyone can move around effectively. Most of them picked up the experience by playing for years, they have the instinctive skill sets but lack the foundation of the game. This old but gold channel is one of the first ones I followed. It contains short videos of the important pieces of footwork:
thegym - YouTube badminton channel

betterbadminton: https://www.youtube.com/user/betterbadminton

  • The very first channel I watched a lot back in the days is this one below. Anna Rice – the instructor – spent a lot of time going into details in her videos. A lot of stuffs may not make sense first of all but if you revisit the videos after some time, it will start to click.
betterbadminton - a YouTube badminton channel
Categories
PrestaShop

How to add Product Comment Manually in PrestaShop

Prerequisites:

PrestaShop installation (1.7.6.4 at the time of this writing)
Product Comments module (by PrestaShop) (v4.0.1 at the time of this writing)

As we all know, customer reviews are crucial to drive sale due to a trust factor. Sometimes, it’s not possible to ask the customers to leave a proper review on the website. It may be a sale from someone who purchased the product offline and only gave the feedback via SMS or Messenger.

Assuming the customer was added to the back office, the easiest way to add the product comment is to go to insert an entry in the database.

  • id_product_comment: the id of the entry in this table
  • id_product: look up the id of the product via the back office
  • id_customer: look up the id of the customer via the back office
  • title: this is the title of the review
  • content: this is the description of the review
  • customer_name: the name of the customer
  • grade: 1 to 5 (corresponds to the number of stars)
  • validate: 1
  • deleted: 0
  • date_add: choose the date & time of the review (in UTC)

That’s it! Now go to the front end to view the result.

Categories
WordPress

Building WordPress child theme

Last updated on July 20th, 2020 at 06:25 pm AEST (+10:00)

This short article is to document a crash course on building a WordPress child theme, based on the TwentyTwenty theme.

Building a child theme is quite straightforward it seems. There’s quite a few good tutorials out there that can help you up to speed. This is my attempt so far:

  1. Create the folder twentytwenty-child under wp-content/themes
  2. Create the file functions.php under twentytwenty-child
<?php

function childtheme_parent_styles() {
	$parent_handle = 'parent'; // This is 'twentytwenty-style' 
	
    // enqueue style
 	wp_enqueue_style(
		$parent_handle, 
		get_template_directory_uri().'/style.css'
	); 	
}
add_action( 'wp_enqueue_scripts', 'childtheme_parent_styles' );

// Remove 'twentytwenty-style-inline-css'
add_action( 'wp_enqueue_scripts', function() {
	$styles = wp_styles();
	$styles->add_data( 'twentytwenty-style', 'after', array() );
}, 20 );
  1. Create the file style.css under twentytwenty-child and insert your own style
/*
Theme Name: Twenty Twenty
Template: twentytwenty
Text Domain: twentytwentychild
Version: 1.0.0
Requires at least: 4.7
Requires PHP: 5.2.4
Description: Child theme of Twenty Twenty
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Author: Huy Vu
Author URI: https://iamhuy.id.au/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)
*/
..... 
.....
.....
  1. Activate the theme under Appearance > Themes

Note:

  • You need to update the Version number (in style.css) to serve a new copy of the child theme’s CSS when there’s a change.
  • I prefer not to use inline style as it can interfere and overwrite my changes. The snippet of code was added to functions.php to remove it.

Reference:

Categories
SugarCRM

How to modify the Preview View of the Intelligence Pane in SugarCRM Sidecar interface

A quick guide on how to modify the preview pane in Sugar sidecar

Previewing From List Views

When the user previews a record from the module list view, the intelligence pane will display the record\’s details with key information regarding the record as well as any related activity stream information.

By default, the code to display the preview view is found in:

  • clients/base/views/preview/preview.hbs
  • clients/base/views/preview/preview.js

If you take a look at the file ‘clients/base/views/preview/preview.js’, it is clear that this view is extended from the ‘RecordView’.

The load order of the view files are: 

So if you need to modify the Preview view of the Opportunities module, for example, the file ‘modules/Opportunities/clients/base/views/record/record.php’ will need to be overwritten in an upgrade-safe manner into the file ‘custom/modules/Opportunities/clients/base/views/record/record.php’

One practical example is to hide the Renewal field for instances that do not use the Renewal model:

  • Edit the file ‘custom/modules/Opportunities/clients/base/views/record/record.php’
  • Comment out / delete the reference to the field ‘Renewal’
  • Perform a Quick Repair and Rebuild under Admin > Repair

That’s it!

More reading:

Categories
Badminton

Finding the gap

Badminton double play is fun and requires coordination between partners to solve the puzzle. Sometimes, it’s not the stronger team that wins, but rather the one with better coordination.

Categories
Badminton

The Essential Guide To Footwork Maestro

Last updated on July 20th, 2020 at 01:23 pm AEST (+10:00)

* This guide is written for the double footwork under the assumption the player is right handed.

During the course of my training, also back in 2018, I came across a coach who emphasised on footwork so understandably a large portion of each training session (probably 20 mins) was dedicated to footwork.

Here it is, my attempt to put all this training into words:

Basic elements

  • Hopping (left and right) 
    • Majority of the time we want to hop left: moving back diagonally to the left or moving back straight
    • The rest we hop right and land with right foot at the back
  • Rolling
  • Left foot in or right foot in
    • Left foot in to cover a short distance (straight) as it takes an even number of steps (2-4-6, etc)
    • Right foot in to cover a longer distance (diagonal) as it takes an odd number of steps (3-5-7, etc)
    • Aim for 1 or 2 steps (majority of the time) and a maximum of 3 (sometimes)

Front court

There are 2 variations:

  • Left foot in, right foot in, hit (both forehand and backhand)
  • Right foot in hit, right foot back 1 step, split step (square)

The triangles

Visualise in each quadrant of the court, there are 2 triangles, each can be navigated in 2 directions: clockwise and anti-clockwise. 

There will be 4 different variations as illustrated below:

To navigate we start at the smiley icon then follow the arrows. To go back we use the hopping and left or right foot in as per description above. 

To move sideway, we move to the centre and do a split step (square feet) and do the front footwork (1st variation)

Back hand

There are 4 variations:

  • Spin left, right foot in and hit
  • 1 hop left, spin left, right foot in and hit
  • 2 hop left, spin left, right foot in and hit
  • Right foot back 1 step, left foot back 1 step, spin left and hit

Hope that helps. Let me know your footwork tip in the comment section below!

Categories
Badminton

The Survival Guide in Baddy

Last updated on July 22nd, 2020 at 08:30 am AEST (+10:00)

Back in February 2018 when I was helping out with running a badminton group in Granville, I put together a short guide with the intention of giving it to the newbies as they discover the group.

As I found out, there’s nothing better than having someone to take you through the first steps in the sport in order to stay with it for the long run.

What it really means is when you start baddy in a social group and get mixed with different levels, in order to have a fun time and be able to mix with everyone, you need to put in the work and move up from the rank of newbies. Of course the other option is to hit the thing any way you like but the point of joining a social group is not really there.

Here is how it goes:

“Prelude

Congratulations! So you picked up a racquet and decided to wander in new territory. It can be daunting at first but with proper guidance it could be an enjoyable journey.

I’m writing this from the perspective of a newbie once I was. It’s not meant to be a detailed walkthrough but should have the essential elements to get you started. 

Shoes:

It’s paramount to have a good pair of badminton shoes. Ones that give you good grip on courts. So while your Nike runners are nice, they don’t really belong on the court (for your own safety)

In my own experience, you need to invest in something decent that last for a while. My first pair (Victor brand) lasted nearly 2 years. You can grab something on sale at Victor Badminton Centre (47/2 Slough Ave, Silverwater NSW 2128) at around $80-$90.

Racquet

No need to go overboard here. You can get something decent for around $100 or less.

Brand name manufacturers like Yonex or Victor make great racquets and they are expensive. My first 4 racquets were Yonex and Victor but after clashing them I realised it’s a real danger of wasting lots of unnecessary money here. 

After all, we’re not pro players who get sponsorship for their gear.  

These days I use Prince Tour Lite (Fig. 1 & 2)  and similar racquets like Toalson Wave Nano Power (Fig. 3). They’re really good in value, well rounded racquets suitable for most people.

Prince Tour Lite
Figure 1: Prince Tour Lite
Prince Tour Lite
Figure 2: Prince Tour Lite‘s specifications
Toalson Wave Nano Power
Figure 3: Toalson Wave Nano Power

Cheap but effective. It feels almost the same as Prince Tour Lite, that means awesome maneuverability.

String:

When you first start out, best to have a low tension (21 lbs – 23 lbs) because the higher the tension the more force required to generate power on the shuttle. When you get stronger, you can experiment with higher tensions to achieve better control.

I have only used Yonex 65, 66 and now 99. If you first start out, use Yonex 65 so it lasts a lot longer.

Footwork

Ever seen the pros float around the court so effortlessly? Thanks to efficient footwork, they preserve energy yet maximise their reach in retrieving the shuttle. 

If you want to learn by yourself, there’s no better source than YouTube. The more you watch the better you will understand the concept. 

Footwork is so important that you will need to at least get the basic steps first before thinking about hand techniques. 

Training

I assume at this point you still want to stick around the sport and want to get better. It’s recommended to have some training to reinforce the basic such as footwork and the fundamental shots. 

It will be probably the greatest investment in this sport for something that you carry with you for a long time.

I still attend training at the point of this writing. My late coach told me to work on my wrist strength which I did and I could see a big difference. My latest coach emphasised so much on footwork and the smooth movement on court. It was like watching a dancer executing his seamless choreography!

If training is not an option, at least observe the experienced players and ask questions. I’m sure most will be willing to help every here and then. It will probably take longer to notice your improvement however.

Conclusion

Now that we have reached the end of this guide, I hope that you find some useful pointers and build on from here.

See you on the courts!”

There was one guy who seemed keen at first. I decided he’s the one that I will dedicate this guide to so I printed a copy and gave it to him. He did not turn up any more after that 😅

I hope I did not scare off the bloke, let me know your newbie tip in the comment section below!

UPDATE:

The Toalson Wave Nano Power is no longer available. A similar model can be found here: Toalson Mega Flex Nano Power 55