The plugin User - Email Check has now been published in the Joomla Extensions Directory (JED). It validates the email domain, the part that comes after the @ sign, by looking it up from the Domain Name System (DNS).
The plugin checks the email field in the user data, when it is entered into the registration form or the profile form by the frontend user or edited by the administrator through the backend of the website.
More information and links to the support forum available from https://extensions.talikka.com.
- Details
- Written by: Toivo Talikka
- Category: Joomla
- Hits: 8128
If clicking the button 'Send Test Email' ends up in an error message or the test email does not arrive, it is possible to debug the mail function and find out what is wrong. Follow these Joomla tutorials to get a detailed log, consisting of the SMTP connection dialogue and all the status codes. If the reason for the failure is a mystery, create a topic at the Joomla Support Forum and copy and paste the log file for the volunteer Joomla experts to study and give their advice.
How to debug SMTP mail in Joomla 4
How to debug SMTP mail in Joomla 5
Please note that Joomla 3 and Joomla 4 send the test email to the email address specified in the field 'From Email' in the Mail section of the Global Configuration,, a few lines up from the Send Test Mail button, whereas Joomla 5 and Joomla 6 send the test email to the email address of the logged-in Super User. That makes sense, because it allows you to test different email addresses, but remember to change your email address back after the test.
- Details
- Written by: Toivo Talikka
- Category: Joomla
- Hits: 318
Would you like to create a module to display some statistics from another Joomla site, hosted in the same server? That is perfectly possible and relatively simple, by using the Joomla database connection to an external database.
A proof of concept module, Databases, can be downloaded from https://extensions.talikka.com/downloads/databases/mod_databases-1.0.0.zip
- Details
- Written by: Toivo Talikka
- Category: Joomla
- Hits: 13180
This example displays three user custom fields, fielda, fieldb and fieldc. It uses the PHP function array_column() and therefore it does not need a foreach loop.
use Joomla\CMS\Factory;
use Joomla\Component\Fields\Administrator\Helper\FieldsHelper;
$customFields = FieldsHelper::getFields('com_users.user', Factory::getUser(), true);
$values = array_column($customFields, 'value', 'name');
// echo 'values = ' . print_r($values, true);
echo 'fielda = ' . $values['fielda'] . ' fieldb = ' . $values['fieldb'] . ' fieldc = ' . $values['fieldc'];
- Details
- Written by: Toivo Talikka
- Category: Joomla
- Hits: 24195