Deprecated: Creation of dynamic property idna_convert::$slast is deprecated in /data/2/b/2b399539-bfdb-41a1-b961-e61413b3a1b1/onge.cz/sub/hub/vendor/simplepie/simplepie/idn/idna_convert.class.php on line 96

Deprecated: Creation of dynamic property Zotlabs\Web\HttpMeta::$ogproperties is deprecated in /data/2/b/2b399539-bfdb-41a1-b961-e61413b3a1b1/onge.cz/sub/hub/Zotlabs/Web/HttpMeta.php on line 15

Deprecated: Creation of dynamic property idna_convert::$slast is deprecated in /data/2/b/2b399539-bfdb-41a1-b961-e61413b3a1b1/onge.cz/sub/hub/vendor/simplepie/simplepie/idn/idna_convert.class.php on line 96
Help: Validate_channelname
Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /data/2/b/2b399539-bfdb-41a1-b961-e61413b3a1b1/onge.cz/sub/hub/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719

Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /data/2/b/2b399539-bfdb-41a1-b961-e61413b3a1b1/onge.cz/sub/hub/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719

Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /data/2/b/2b399539-bfdb-41a1-b961-e61413b3a1b1/onge.cz/sub/hub/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719

Deprecated: Creation of dynamic property Smarty_Internal_Extension_Handler::$_foreach is deprecated in /data/2/b/2b399539-bfdb-41a1-b961-e61413b3a1b1/onge.cz/sub/hub/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182

Deprecated: Creation of dynamic property Smarty_Variable::$do_else is deprecated in /data/2/b/2b399539-bfdb-41a1-b961-e61413b3a1b1/onge.cz/sub/hub/store/[data]/smarty3/compiled/be3946df2506eaddae3628ee41500d88c8832126_0.file.navbar_default.tpl.php on line 390
Directory
Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /data/2/b/2b399539-bfdb-41a1-b961-e61413b3a1b1/onge.cz/sub/hub/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719
Help Language
Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /data/2/b/2b399539-bfdb-41a1-b961-e61413b3a1b1/onge.cz/sub/hub/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719
Random Channel
Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /data/2/b/2b399539-bfdb-41a1-b961-e61413b3a1b1/onge.cz/sub/hub/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719
Report Bug
Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /data/2/b/2b399539-bfdb-41a1-b961-e61413b3a1b1/onge.cz/sub/hub/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719
Search

Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /data/2/b/2b399539-bfdb-41a1-b961-e61413b3a1b1/onge.cz/sub/hub/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719

Hubzilla Documentation:

Contents

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.');
    



    

Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /data/2/b/2b399539-bfdb-41a1-b961-e61413b3a1b1/onge.cz/sub/hub/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719