Thread Rating:
  • 11 Vote(s) - 4.27 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] DVZ Shoutbox 2.3.2
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
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
(04-19-2015, 08:48 AM)sam.boyer Wrote:
(04-18-2015, 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 :/
Reply
@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
Reply
(04-19-2015, 08:58 PM)sam.boyer Wrote:
(04-19-2015, 08:48 AM)sam.boyer Wrote:
(04-18-2015, 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.

(04-21-2015, 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.
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
(04-21-2015, 12:54 PM)Devilshakerz Wrote:
(04-19-2015, 08:58 PM)sam.boyer Wrote:
(04-19-2015, 08:48 AM)sam.boyer Wrote:
(04-18-2015, 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.
Reply
i think the new version css didn't work? 


edit : fixed


Attached Files Thumbnail(s)
   
Reply
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?
Reply
(05-04-2015, 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.
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
And the 2.0 version doesn't have any known vulnerabilites, correct?
Thank you for your time Smile
Reply
(05-04-2015, 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).
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)