Hubzilla-Dokumentation
This page is not yet available in Deutsch. See /help/developer/developer_guide#Translations for information about how to help.
Inhalt
validate_channelname
Called when creating a new channel or changing the channel name in mod/settings.php
Hook data consists of an array
array(
'name' => supplied name
);
If the hook handler determines the name is valid, do nothing. If there is an issue with the name,
set $hook_data['message'] to the message text which should be displayed to the member - and the name will
not be accepted.
Example:
if(mb_strlen($hook_data['name']) < 3)
$hook_data['message'] = t('Name too short.');
Diese Website verwendet Piwik, um die Besucherzugriffe auszuwerten. Wenn Du nicht möchtest, dass Deine Besuche zu diesem Zweck gespeichert werden, kannst Du ein Cookie setzen, welches Piwik davon abhält, Deine weiteren Besuche auf dieser Website zu verfolgen (Opt-out).