FAQ - CMS

Hook: php_admin_user


Use this hook to execute PHP code in the admin/user.php file.For example:$plugin_user = Display stuff when showing user in admin;if you like to include a file:APP_PATH.'plugins/yourplugin/file_to_include.php';

Read more

Hook: php_admin_setting_post


Use this hook to execute PHP code in the admin/setting.php file.For example:if ($defaults['jak_lang'] == '') { $errors['e6'] = $tl['error']['e29']; }

Read more

Hook: php_admin_setting


Use this hook to execute PHP code in the admin/setting.php file.For example:$plugin_setting = working...;if you like to include a file:APP_PATH.'plugins/yourplugin/file_to_include.php';

Read more

Hook: php_admin_lang


Use this hook to execute PHP language code in the admin/index.php file.For example:if (file_exists(APP_PATH.'plugins/yourplugin/admin/lang/'.$jkv[lang].'.ini')) { $tld = ...

Read more

Hook: php_admin_user_delete_mass


Use this hook to execute PHP code in the admin/user.php file.For example:$jakdb->query('UPDATE '.DB_PREFIX.'faqcomments SET userid = 0 WHERE userid = '.$page2.'');if you like to include a ...

Read more

Hook: php_admin_user_delete


Use this hook to execute PHP code in the admin/user.php file.For example:$jakdb->query('UPDATE '.DB_PREFIX.'faqcomments SET userid = 0 WHERE userid = '.$page2.'');if you like to include a ...

Read more

Hook: php_admin_user_rename


Use this hook to execute PHP code in the admin/user.php file.For example:$jakdb->query('UPDATE '.DB_PREFIX.'faqcomments SET username = '.smartsql($defaults['jak_username']).' WHERE userid = ...

Read more

Hook: php_admin_usergroup


Use this hook to execute PHP code in the admin/usergroup.php file.For example:if (isset($defaults['jak_download'])) { $insert .= 'download = '.$defaults['jak_download'].', downloadpost = ...

Read more

Hook: php_pages_news


Use this hook to execute PHP code in the index.php and news.php file.This hook is used in pages and news, the same php code will be executed.For example:if (!empty($PAGE_ACTIVE)) { $myplugin = 1; }if you like ...

Read more

Hook: php_lang


Use this hook to execute PHP language code in the index.php file.For example:if (file_exists(APP_PATH.'plugins/yourplugin/lang/'.$jkv[lang].'.ini')) { $tlt = ...

Read more