twentytwenty
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home4/tintedsu/public_html/curtishowell/wp-includes/functions.php on line 6121GoDaddy hosting gives you access to 10 mySQL servers for free with your account. Log into GoDaddy, click on Hosting, then Manage Account. Select Databases and click on MySQL. Then in the nav bar, Create Database. Be sure to save your record your database name, password, etc, as you will be using them later. Once your database is set up, click on Manage via phpMyAdmin. First, create a new table in your database. Then, add 4 fields with the following properties (leave all other properties as they are):
Field ## Type ## Length/Values ## Collation
uid ## int ## 30
username ## varchar ## 30 ## utf8_general_ci
password ## varchar ## 50 ## utf8_general_ci
creation ## varchar ## 30 ## utf8_general_ci
Select the table you made and click on the “Insert” tab at the top of the page. It is important that the Uid field is given a unique value. Passwords are case sensitive, Usernames are not, and Creation is for your own use/reference.
The 3 code files are stored at .txt files for ease of making them available on the web, but all 3 should be .php files in your implementation.
login.php When users go to a page that implements the password protection, they are redirected here. Keep in mind that All the pages should/can be customized with HTML to match your website’s theme and layout.
auth.php The filename of this PHP file can be changed. For example, in our implementation, we call this file index.php so our users do not see the file name in the URL. Simply copy this bit of code to the top of any page you want password-protected and save the file as .php. Through initial testing, the password-protected pages need to be in sub folders of the location of the login.php file (or they could be in the same folder).
logout.php Direct users to this page to end their current session.
Further, tracking logins requires only a small code tweak, discussed here
Enjoy!
]]>I saw the most bizarre thing on Saturday while we were eating lunch on HWY 101 after some surfing. Luckily we were able to get out of the restaurant and catch up to the speedsters to snap this pic. If you look closely, the lady has a prosthetic leg, but the best part is she keeps it in the surfboard rack on the bicycle! Also, the fact that her running shoe is laced up and ready to go is just grand.
]]>