2021-08-07, 11:47 PM
2021-08-08, 12:16 AM
Okay listen,
open you DVS inc/plugins/DVz_Shoutboux.php
stick this code in your shoutbox, you will see, at the beginning of the file, where you see the hooks.
$plugins->add_hook('CUSTOM_PAGE_start', ['dvz_shoutbox', 'load_window']);
/ / load Shoutbox window to {$dvz_shoutbox} variable
or use a mybb page like
$plugins->add_hook('forumdisplay_start', ['dvz_shoutbox', 'load_window']);
/ / load Shoutbox window to {$dvz_shoutbox} variable
your custom page must have this inside, it is called a hook
$plugins->run_hooks('CUSTOM_PAGE_start');.
#1 SO, PLACE THE HOOK IN YOUR CUSOM PAGE
$plugins->run_hooks('CUSTOM_PAGE_start');
#2 AND PLACE THE HOOK IN DVS_SHOUTBOX
$plugins->add_hook('CUSTOM_PAGE_start', ['dvz_shoutbox', 'load_window']);
/ / load Shoutbox window to {$dvz_shoutbox} variable
NOW YOU CAN USE {$dvz_shoutbox} in your custom page, sorry caps got stuck,
there is no #3
let me know if you need any more guide
open you DVS inc/plugins/DVz_Shoutboux.php
stick this code in your shoutbox, you will see, at the beginning of the file, where you see the hooks.
$plugins->add_hook('CUSTOM_PAGE_start', ['dvz_shoutbox', 'load_window']);
/ / load Shoutbox window to {$dvz_shoutbox} variable
or use a mybb page like
$plugins->add_hook('forumdisplay_start', ['dvz_shoutbox', 'load_window']);
/ / load Shoutbox window to {$dvz_shoutbox} variable
your custom page must have this inside, it is called a hook
$plugins->run_hooks('CUSTOM_PAGE_start');.
#1 SO, PLACE THE HOOK IN YOUR CUSOM PAGE
$plugins->run_hooks('CUSTOM_PAGE_start');
#2 AND PLACE THE HOOK IN DVS_SHOUTBOX
$plugins->add_hook('CUSTOM_PAGE_start', ['dvz_shoutbox', 'load_window']);
/ / load Shoutbox window to {$dvz_shoutbox} variable
NOW YOU CAN USE {$dvz_shoutbox} in your custom page, sorry caps got stuck,
there is no #3
let me know if you need any more guide