2017-03-31, 07:36 AM
(2017-03-31, 01:20 AM)metulburr Wrote: @Noobly
Quote:I want it on the index as it is as well as on a separate page called livechat. It must work on both pages simultaneously.
Quote:Did you ever come right with this? @metulburr if you have do you mind PMing me the solution, I am at my wits end here.wow yeah i have come a long way in just 5 months of tinkering with things.
Yes i figured it out. You need to add this exact line in your hooks in the file /inc/plugins/dvz_shoubox.php (i put it right after the other hooks)
$plugins->add_hook('dvz_shoutbox_start', ['dvz_shoutbox', 'load_window']); // load Shoutbox window to {$dvz_shoutbox} variable
After this, you can put in {$dvz_shoutbox} variable in both your index page and in any custom pages
Why this is not in the settings i am not sure? It seems like it should be
An example would be our chat here on the index at the bottom
https://python-forum.io/index.php
as well as on a custom page by itself
https://python-forum.io/shoutbox.php
Does not seem to work, how did you built the shoutbox.php page?
Perhaps this Shoutbox is not comparable with this tutorial -> https://coderwall.com/p/jnw-pg/mybb-custom-pages