MyBB Community Forums

Full Version: DVZ Shoutbox 2.3.4
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Version 2.1.3 (build #8, MD5: fcdd6f44dcd64eb53a8afa3cf41e4c29)
  • MyBB's native Word Filters support
  • default avatar URL pulled from MyBB settings
  • smart username inserting (compatible with DVZ Mentions syntax)
  • strict input filtering (security)
  • minor JavaScript optimizations

Upgrading: Overwrite inc/plugins/dvz_shoutbox.php and jscripts/dvz_shoutbox.js.

http://community.mybb.com/mods.php?action=view&pid=63
(2015-04-19, 08:48 AM)sam.boyer Wrote: [ -> ]
(2015-04-18, 03:35 PM)Devilshakerz Wrote: [ -> ]You would need to add a proper hook. In case of the portal page: http://community.mybb.com/thread-156080-...pid1143986

Thanks, but I can't find where to put the code to add the hook. I can't see an index_end hook either :/

Actually, since I would like then shout box to appear on all the pages on the forums, would it be easier to put the {$dvz_shoutbox} into the end of the header template?

Sorry, I'm quite new to this and php :/
@Devilshakerz
thanks, but I think there is a problem how this work will be Sad

http://i.imgur.com/n8kq2b5.png

my theme:http://community.mybb.com/mods.php?action=view&pid=235
(2015-04-19, 08:58 PM)sam.boyer Wrote: [ -> ]
(2015-04-19, 08:48 AM)sam.boyer Wrote: [ -> ]
(2015-04-18, 03:35 PM)Devilshakerz Wrote: [ -> ]You would need to add a proper hook. In case of the portal page: http://community.mybb.com/thread-156080-...pid1143986

Thanks, but I can't find where to put the code to add the hook. I can't see an index_end hook either :/

Actually, since I would like then shout box to appear on all the pages on the forums, would it be easier to put the {$dvz_shoutbox} into the end of the header template?

Sorry, I'm quite new to this and php :/
The index_end hook is on line 8; if you would like the Shoutbox to be displayed everywhere, you need to put {$dvz_shoutbox} into the header template and change the hook into global_end.

(2015-04-21, 04:49 AM)SerdarErdem Wrote: [ -> ]@Devilshakerz
thanks, but I think there is a problem how this work will be Sad

http://i.imgur.com/n8kq2b5.png

my theme:http://community.mybb.com/mods.php?action=view&pid=235
I haven't found any issues with that theme - that's probably a JavaScript issue with custom modifications or other plugins.
(2015-04-21, 12:54 PM)Devilshakerz Wrote: [ -> ]
(2015-04-19, 08:58 PM)sam.boyer Wrote: [ -> ]
(2015-04-19, 08:48 AM)sam.boyer Wrote: [ -> ]
(2015-04-18, 03:35 PM)Devilshakerz Wrote: [ -> ]You would need to add a proper hook. In case of the portal page: http://community.mybb.com/thread-156080-...pid1143986

Thanks, but I can't find where to put the code to add the hook. I can't see an index_end hook either :/

Actually, since I would like then shout box to appear on all the pages on the forums, would it be easier to put the {$dvz_shoutbox} into the end of the header template?

Sorry, I'm quite new to this and php :/
The index_end hook is on line 8; if you would like the Shoutbox to be displayed everywhere, you need to put {$dvz_shoutbox} into the header template and change the hook into global_end.
I've looked at line 8 in dvz_shoutbox.php and the hook not there, yet it functions fine on the index page. Anyway, I added 

$plugins->add_hook('global_end',    ['dvz_shoutbox', 'load_window']);

at line 8 (just before the body) and nothing happens. If I try putting the line of code in 'curly brackets' like all the other bits are in the php file, I get this error:


A potential security issue was found in the template. Please review your changes or contact the MyBB Group for support.
i think the new version css didn't work? 


edit : fixed
Is it safe for SQL injection?
if you type '; or 1=1 /* it just adds it to database .. .doesn't it mean you can SQL inject it?
(2015-05-04, 02:11 AM)SomeoneToxic Wrote: [ -> ]Is it safe for SQL injection?
if you type '; or 1=1 /* it just adds it to database .. .doesn't it mean you can SQL inject it?

There are no known security issues. The values are escaped so you can insert any character you want into the message.
And the 2.0 version doesn't have any known vulnerabilites, correct?
Thank you for your time Smile
(2015-05-04, 04:37 PM)SomeoneToxic Wrote: [ -> ]And the 2.0 version doesn't have any known vulnerabilites, correct?

It's safe to use, but you should consider updating to MyBB 1.8 (DVZ Shoutbox 2.0 is for 1.6).