OK, I have this plugin installed... Anyway if I wanna show DVZ shoutbox for example here in this forum:
url of this forum: myserver.com/Forum-1-2-3
how to do that? thank you
^ if you are using
template conditionals plugin then code like below should work in
forumdisplay template
<if $fid == xyz then>{$dvz_shoutbox}</if>
Hi!
I have few questions:
How would i add custom commands, like command !test
Response will be with text in shoutbox "Bot says this is test command"?
And the bot which is user i have created, will show who sent the command. Like
DjPrison said: !test
Response:
Bot said: this is test command
another example
Test account said: !test
Response:
Bot said: this is test command
How i can add different text color to different user group, like admins have 1 color, moderators have 1 color and registered users have 1 color? all different colors
(2016-01-10, 05:01 PM)eternity123 Wrote: [ -> ]This shoutbox is really good only thing is the delay on shouts . It's a bit laggy/delay on every shout.
There is no way to reduce the lag/delay ?
Every shout appears up to a number of seconds defined in the
Refresh interval setting; if the Shotubox functionality appears slow (so that would affect edit and delete operations as well), it's up to the server at that point.
(2016-01-11, 11:14 AM)DjPrison Wrote: [ -> ]Hi!
I have few questions:
How would i add custom commands, like command !test
Response will be with text in shoutbox "Bot says this is test command"?
And the bot which is user i have created, will show who sent the command. Like
DjPrison said: !test
Response:
Bot said: this is test command
another example
Test account said: !test
Response:
Bot said: this is test command
How i can add different text color to different user group, like admins have 1 color, moderators have 1 color and registered users have 1 color? all different colors
That would require some changes in the source code - you might find someone willing to do this in the
R/S/J section.
Much more better than Inferno. Thank you
Why is the image and date on the following screenshot not at the same line as the others?
See screenshot:
http://prntscr.com/9vo28f
Hello, is there a way to add clickable smiles?
(2016-01-06, 12:26 PM)stryderunknown Wrote: [ -> ]If you want to either place the shoutbox (at the top) on All pages, or just Index and Forumdisplay pages here's what you need to know :
If you want it on all pages, make sure you edit the /inc/plugins/dvz_shoutbox.php file, find the line:
$plugins->add_hook('global_start', ['dvz_shoutbox', 'global_start']);
and add after it:
$plugins->add_hook('global_end', ['dvz_shoutbox', 'load_window']);
Then just add the {$dvz_shoutbox} entry to your header template.
(a previous poster in this thread had a problem with this but I think it was due to where the entry was placed in relationship to other entries in this plugins hooks)
If you want it to appear on just the Index and the forumdisplay (the pages where the list of forums are mentioned not where posts are viewed) then you will need to follow the plugins initial instructions to handle the index, but for adding to Forumdisplay you'll need to edit the /inc/plugins/dvz_shoutbox.php file, find the same line as mentioned in the above for all pages and instead add the following line below it:
$plugins->add_hook('forumdisplay_start', ['dvz_shoutbox', 'load_window']);
You can now add that {$dvz_shoutbox} entry into the forumdisplay template.
I hope that saves some time for some of you (considering it took a little while to debug)
Hi I have shoutbox on my index page and am trying to add it to all pages but I cant get it to show on any other pages. I have edited the shoutbox php code like you suggested and tried placing {$dvz_shoutbox} in various places in the header but I cant get the shoutbox to appear in all the pages. I think I'm placing it in the wrong place??? Can you look at my header template below and maybe tell me where exactly I should be placing {$dvz_shoutbox}?
[
attachment=35948]