Skip to main content

Posts

A Blogger Responsive Mobile Templates Bug

This issue has been raised on Blogger Community last year, now the question is locked and comments is disabled.
On responsive mobile templates (contempto, Notable, Empirio, Soho) links on a mobile device (android - android web view/Chrome) do not work. On desktop is everything OK.
Interestingly, on click <a> does not work, but if a visitor selects to open link in a new tab, they will be opened and displayed correctly.
The person who raises this question asked that this issue may be caused by AdSense auto ad code which is implemented. 
I have tried to remove all AdSense ads, then the mobile view is RESPONSIVE as normal, no problem at all. You may click any link, and it works fine.
I also tried to remove all AdSense from the Layout, but instead, paste a line of Code from AdSense directly into the Template (by clicking the three verticle dots beside the theme preview and then clicking the "Edit HTML"), then the issue seems to disappear on some Android Phone, but seems on Chrom…
Recent posts

VPN only connects after restart: a Simple Fix

Windows 10 with PPTP incoming connection only connects after restart, if you Google it, you will find a very fine article that teaches you how to fix the problem, it mentioned six methods, includes:


TCP/IP configuration, Tray-bar VPN menu bug, Glitched VPN Network connection,Corrupted WAN Miniport (PPTP), Corrupted VPN dependency, PPTP and L2TP miniports are stuck in a limbo state, 

these solutions are very technical, for a lay person like me, non of these make sense.

I saw somewhere in a discussion group, one person says, he fixed this problem buy turning off Fast Start-up, it's one of the Power Saving options, which is supposed to help start your PC faster after shutdown. You can find it on Control Panel:

Control Panel\Hardware and Sound\Power Options\System Settings

I am not sure exactly what HAPPENS (or not), but it definitely causes one of the afore-mentioned six possible configuration errors and then causes the Incomming Connection corrupt and refuse VPN connection.


Should "Confirm Password" Die?

Some people suggest that website shouold get rid of the "Confirm your passowrd" field on a Sign Up Form, but I have been so used to it, that I typed twice when I signed up a Spotify account, and then my password was displayed as my username.

Then I have to close my Spotify account and register again with another email. And this time I noticed that actually Spotify Sign Up Form has only one field for your to privide password, instead of the "Confirm Passord", it's "What Should We call you?" field, that will display the username on the up right corner of the page when you login.

Vodafone Router Configuration for Incoming Connection and other Services

This post is about specific Vodafone Home Broadband Router configuration for Incoming Connection and other service on your home computer.

This is not a tutorial, and will not be going into details of the services and router configuaration, I just want to point out couple of points you need to pay attention to.

1. Port Forwarding. Vadafone Router has its own name for Port Forwarding, it's called Port Mapping under Port Management category.The picture below shows that I set up web server on my desktop, I map my local address on port 80; and I set up PPTP incoming connection by mapping local address on port 1723.

2. Exposed Host.If you have set up Port Mapping, you still can't get what you want, then you have to put your device outside the Firewall, i.e. bypass Vodafone Connects (means Router) firewall, in a Demilitarised Zone (DMZ), using it's Exposted Host Function.

Static NAT (Network Address Translation) means the Router will translate public address into your local address…

Show excerpts on front page in WordPress TwentySixteen Theme

With the help of this post, I have created a bare bone child template for TwentySixteen theme. The  working trick is that you have to put the custom content.php under a folder "template-parts", because TwentySixteen theme expects content.php to be in this folder. If you put it in the root of the child theme, it will be ignored.

This child theme include four files:

-- the functions.php
--the screenshot.png
-- the style.css

and
-- the content.php under the folder 'template-parts'.

To download here, then follow the link.

The demo site here >>>>

Amazon EC2 Bitnami Wordpress on Ubuntu Server installation Tips

1. How to access your WordPress Blog:
After you successfully lauched the instance, use the public DNS or IP address to connect your website:

The WordPress default user name is "user"

Password is generated randomly, and stored in the system log. You access the log at Actions > Instance Settings > Get system log.

After you login to WordPress dashboard, you may change your admin password, or add another user as administrator.

2. Connect to the Ubuntu server.
You should note that a public key is required to connect the server, so you'd better generate a new key when you start launching an instance, and download the the .pem file.

Putty need a private key to login, you need PuttyGen to generate a private key.

Login user name is "bitnami" with the private key.

3. Access to database using phpmyadmin from a browser.
The database can only be accessed from localhost, 127.0.0.1, so you need a open a tunnel to do that. Open a putty new session when you use Windows, …

Pricing information is missing or not applicable

One of Google Play Books "Needs Action" issues is "Pricing information is missing or not applicable",  this is caused by the payment settings, you have to set up "Payment Profile", "Sale Territories", and "Currency Conversion" if you sell your book to the "WORLD".

Some authors or publishers spend hours to tweak the Prices setting when they add new books, and feel very confused and frustrated, this happened to me too. Then I realized that you have to set up your Payment Method first, adding bank account for your payment profile. After that you wait for Google to deposit some cents to verify the bank account.

You have to add sales territories as well, if the territory is WORLD, you have to TURN ON currency conversion, too.

You have also to specify the On-Sale Date, although its help tips (when hover mouse on the question mark ? ) says "Leave this field blank if the book can be made available for sale on Google Play immedia…