From 7b5f7d5f5c0faeba0c7949582fe360b3cfb6b932 Mon Sep 17 00:00:00 2001 From: phl0 Date: Thu, 27 Apr 2023 16:42:05 +0200 Subject: [PATCH] Add some xOTA hastags for tweets --- application/views/view_log/qso.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/application/views/view_log/qso.php b/application/views/view_log/qso.php index c28aad90..0c6e3ead 100644 --- a/application/views/view_log/qso.php +++ b/application/views/view_log/qso.php @@ -371,6 +371,18 @@ $twitter_band_sat = $row->COL_BAND; $hashtags = "#hamr #cloudlog"; } + if($row->COL_IOTA != null) { + $hashtags .= " #iota"; + } + if($row->COL_SOTA_REF != null) { + $hashtags .= " #sota"; + } + if($row->COL_POTA_REF != null) { + $hashtags .= " #pota"; + } + if($row->COL_WWFF_REF != null) { + $hashtags .= " #wwff"; + } if (!isset($distance)) { $twitter_string = urlencode("Just worked ".$row->COL_CALL." in ".ucwords(strtolower(($row->COL_COUNTRY)))." on ".$twitter_band_sat." using ".($row->COL_SUBMODE==null?$row->COL_MODE:$row->COL_SUBMODE)." ".$hashtags); } else {