Webmaster Notes

Scabusa

Remove "Create New Account" From User Block

1. Comment out this line in /home/dhane/scabusa/drupal/modules/user/user.module:
$items[] = l(t('Create new account'), 'user/register', array('attributes' => array('title' => t('Create a new user account.'))));
2. Then flush the cache
3. Don't forget to fix .htaccess after updates or the site looses the ability to redirect http to https:
https://help.dreamhost.com/hc/en-us/articles/215747758-Force-your-site-t...

Front Page Slideshow Schedule

A look back at the 'YEAR' Forum - Mid January
Gearing up for field season - mid March
Field season in full swing - Early July
Wrapping up the field season - early Sept
Gearing up for the 'YEAR' Forum - mid October

WEBDAV

URL: https://scabusa.ag.cornell.edu/webdav
Command line testing tool: cadaver https://scabusa.ag.cornell.edu/webdav
Unix access: URL in filebrowser webdavs://scabusa.ag.cornell.edu/webdav/

Admin Settings Interface

https://scabusa.org/test/USWBSI_Settings.php

DreamHost File Delete Commands

chown -R dlhane /home/dlhane/davehane.com.OFF
and then cd inside davehane.com.OFF
and run
find . -type f -exec chmod 644 {} \;
and
find . -type d -exec chmod 755 {} \;

USA Jobs Link

https://www.usajobs.gov/Search/?d=AG&k=plant&p=1

ScabSmart

Logo Info

Green: hex # 419a1c
Yellow: hex # f5e50f
Light yellow: hex # ffedb2
Font: Italiana

MySQL utf8 -> utf8mb4

https://mathiasbynens.be/notes/mysql-utf8mb4#column-index-length
https://www.eversql.com/mysql-utf8-vs-utf8mb4-whats-the-difference-betwe...

DreamHost vs baycompservice MySQL modes

DreamHost =
mysql> SELECT @@GLOBAL.sql_mode;
+------------------------+
| @@GLOBAL.sql_mode |
+------------------------+
| NO_ENGINE_SUBSTITUTION |
+------------------------+

BayCompService:
mysql> SELECT @@GLOBAL.sql_mode;
+-------------------------------------------------------------------------------------------------------------------------------------------+
| @@GLOBAL.sql_mode |
+-------------------------------------------------------------------------------------------------------------------------------------------+
| ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION |
+-------------------------------------------------------------------------------------------------------------------------------------------+