FAQ

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

Hook: php_rss


Use this hook to execute PHP code in the rss.php file.For example:if ($displayRSS) { echo My RSS: .$displayRSS; }if you like to include a file:APP_PATH.'plugins/yourplugin/file_to_include.php';

Read more

Hook: php_index_bottom


Use this hook to execute PHP code at the very end in the index.php file.For example:if (isset($page3)) { echo CMS is ready...; } else { echo CMS is always ready...; }if you like to include a ...

Read more

Hook: php_index_top


Use this hook to execute PHP code in the index.php file before anything else.For example:define('MY_VAR', cool);if you like to include a file:APP_PATH.'plugins/yourplugin/file_to_include.php';

Read more

Hook: php_sitemap


Use this hook to execute PHP code in the sitemap.php file.For example:if ($cat) { echo Categories: .$cat; }if you like to include a file:APP_PATH.'plugins/yourplugin/file_to_include.php';

Read more

Hook: php_tags


Use this hook to execute PHP code in the tags.php file.For example:if ($cleanTag) { echo Your tag: .$cleanTag; }if you like to include a file:APP_PATH.'plugins/yourplugin/file_to_include.php';

Read more