I just installed the shoutbox but can't get it to work. I'm pretty new to this, so I'd appreciate some help here! I particularly need help with steps 2 & 3 in the 'installation' section:
Quote:1.Upload
Upload the files from UPLOAD to your MyBB root directory.
2. CSS Code
Copy the CSS included in the package (STYLES.txt) into your theme stylesheets (for example global.css).
3. {$dvz_shoutbox}
Insert the {$dvz_shoutbox} variable into your index template.
4. Install the plugin in the ACP
In Step 2, I copied content into my forum/cache/themes/global.css file, and to the end of the file. Is that correct, or is there a specific location I need to include it into?
In Step 3, I simply added the following line to my forum/index.php file just below the line $plugins -> like so:
$plugins->run_hooks('index_start');
$dvz_shoutbox;
Is that correct, or is there a specific location I need to add it to?
After these steps I installed it form ACP, which gave me a message saying it was successful. But I can't simply see it on my forum.
Forum Info
-------------
MyBB Version: 1.8.21
PHP Version: 7.2.25
SQL Engine: MySQLi 10.1.43
Thanks!
(2019-12-18, 07:14 PM)sach Wrote: [ -> ]In Step 2, I copied content into my forum/cache/themes/global.css file, and to the end of the file. Is that correct, or is there a specific location I need to include it into?
That sounds good.
Quote:In Step 3, I simply added the following line to my forum/index.php file just below the line $plugins -> like so:
$plugins->run_hooks('index_start');
$dvz_shoutbox;
Is that correct, or is there a specific location I need to add it to?
This step refers to theme templates that can be found in ACP's
Templates & Style → Templates - in the template set of used theme(s), you should be able to find
Index Page Templates → index.
Adding
{$dvz_shoutbox}
after
{$forums}
and saving should result in the Shoutbox being visible below the forum list.
(2019-12-18, 07:43 PM)Devilshakerz Wrote: [ -> ] (2019-12-18, 07:14 PM)sach Wrote: [ -> ]In Step 2, I copied content into my forum/cache/themes/global.css file, and to the end of the file. Is that correct, or is there a specific location I need to include it into?
That sounds good.
Quote:In Step 3, I simply added the following line to my forum/index.php file just below the line $plugins -> like so:
$plugins->run_hooks('index_start');
$dvz_shoutbox;
Is that correct, or is there a specific location I need to add it to?
This step refers to theme templates that can be found in ACP's Templates & Style → Templates - in the template set of used theme(s), you should be able to find Index Page Templates → index.
Adding {$dvz_shoutbox}
after {$forums}
and saving should result in the Shoutbox being visible below the forum list.
That worked, thanks!
Appreciate the very quick reply.
(2019-12-18, 07:43 PM)Devilshakerz Wrote: [ -> ] (2019-12-18, 07:14 PM)sach Wrote: [ -> ]In Step 2, I copied content into my forum/cache/themes/global.css file, and to the end of the file. Is that correct, or is there a specific location I need to include it into?
That sounds good.
Quote:In Step 3, I simply added the following line to my forum/index.php file just below the line $plugins -> like so:
$plugins->run_hooks('index_start');
$dvz_shoutbox;
Is that correct, or is there a specific location I need to add it to?
This step refers to theme templates that can be found in ACP's Templates & Style → Templates - in the template set of used theme(s), you should be able to find Index Page Templates → index.
Adding {$dvz_shoutbox}
after {$forums}
and saving should result in the Shoutbox being visible below the forum list.
I might still need help though.
Now I can see the shotbox, and there's a message posted from admin account by default, just saying 'DVZ Shoutbox!'.
However, when I enter something in the textbox and hit Enter, it doesn't post the new message to the shoutbox. I tried from the admin account as well as a non-admin account with the same result.
DVZ Shoutbox settings are all in their defaults. Is there another setting I need to do?
Never mind, I figured out the problem.
I had not uploaded the dvz_shoutbox.js file to the jscripts folder.
^ looks like that is a problem related to mentions plugin
.
if you have mentions plugin then can you temporarily disable it & check ..
Hello.
I'm using inferno and because it is not maintained anymore I'm thinking about changing to DVZ Shoutbox.
It seems that a great feature in inferno does not exists in DVZ. Is there a way to have a shout entry when someone creates a new thread in mybb, like "*Username created a new post: Topic name*"
(2016-01-10, 05:44 PM).m. Wrote: [ -> ]^ if you are using template conditionals plugin then code like below should work in forumdisplay template
<if $fid == xyz then>{$dvz_shoutbox}</if>
Sorry if I quote this old post. I'm using
PHP in templates plugin and I don't get this working inside
forumdisplay template:
<?php
if($fid==XYZ){
echo'{$dvz_shoutbox}';
}
?>
I saw this post about hooks when shoutbox is added to other pages than index:
https://community.mybb.com/thread-156080...pid1098807
Am I missing to add one or what else?
^ suggested code should also work in
forumdisplay template
with
PHP in templates plugin
<if $fid == xyz then>{$dvz_shoutbox}</if>
IIRC, adding a hook might not be required to display the shoutbox on
a forum page
installed it on new forum and for some reason it doesnt show right
Hello,
I want to get the shoutbox on al pages. Like it was wrote, I places
{$dvz_shoutbox} in the header-Template and I changed the php to this:
$plugins->add_hook('global_start', ['dvz_shoutbox', 'global_start']);
$plugins->add_hook('global_end', ['dvz_shoutbox', 'load_window']); // cache shoutbox templates
$plugins->add_hook('global_end', ['dvz_shoutbox', 'global_end']); // catch archive page
$plugins->add_hook('xmlhttp', ['dvz_shoutbox', 'xmlhttp']); // xmlhttp.php listening
$plugins->add_hook('index_end', ['dvz_shoutbox', 'load_window']); // load Shoutbox window to {$dvz_shoutbox} variable
It doesn't work, so I tried this:
$plugins->add_hook('global_start', ['dvz_shoutbox', 'global_start']);
$plugins->add_hook('global_end', ['dvz_shoutbox', 'load_window']); // cache shoutbox templates
$plugins->add_hook('xmlhttp', ['dvz_shoutbox', 'xmlhttp']); // xmlhttp.php listening
$plugins->add_hook('index_end', ['dvz_shoutbox', 'load_window']); // load Shoutbox window to {$dvz_shoutbox} variable
It doesn't work too
There's Nothing to see :/
Can you help me please?
My Forum is there:
http://exodus.bplaced.net/index.php
Kindly regards
Alexej