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.
(2016-05-20, 12:25 PM)Devilshakerz Wrote: [ -> ]
                    $syncConditions = $mybb->settings['dvz_sb_sync']
                        ? "OR (s.modified >= " . (time() - $mybb->settings['dvz_sb_interval']) . " AND s.id BETWEEN " . abs($mybb->get_input('first', MyBB::INPUT_INT)) . " AND " . abs($mybb->get_input('last', MyBB::INPUT_INT)) . ")"
                        : null
                    ;

                    $data = self::get_multiple("WHERE (s.id > " . abs($mybb->get_input('last', MyBB::INPUT_INT)) . " AND s.text IS NOT NULL) " . $syncConditions  . " ORDER BY s.id DESC LIMIT " . self::async_limit());

Alright, nice to hear. Also patched it, thanks.
Ah! Nice! Will update now! Big Grin
Do you consider adding a private message functionality. Would be an awesome addition.
+1 for eternity's feature request Big Grin
Version 2.3.1 (build #12, MD5: 36eaa3570d784d981dbc924c453f1c93)
  • PostgreSQL and SQLite (from MyBB 1.8.8) support
  • fixed empty banlist saving bug
  • fixed message deletion problems
  • last read mechanism corrected & enabled by default
  • fixed reversed order-related issues
  • fixed "division by zero" issues
  • minor fixes and optimizations

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

http://community.mybb.com/mods.php?actio...3&bid=1809

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAABCAAGBQJXQeIqAAoJEOL9rFzOOKd9P04IAK6Z7Ftxygbdfnk1dcS0hGia
Vs5nr2aldnM0hU32lRKEuU/NVkTeFpDtnE4GtHjSZGul8yT/xHP9BvwpBfMxVUo7
wEFs0d3PDYqQDGfae1NEdnO1Fcr6qBGhkLWWg1/5Gw65LNQY7ZSiP1tnw8Uu2uPC
PGzJp5LGbd4bHdn0lyp+GvCc0LB33cSXyGMe1/fX9ZEzD8yEFECWeZvYc25WIC2I
S3zmsS1ktPWm74lDmAbhvyOcsxAl29Px/J8kb0Ukf03qFpYHsyUZCLXOUkZLEZXS
5KQvCOYoigJNtf7ZCACgIpal4BY8TJmfebLAyOuvgyiysLZiYeGjT701zShjZrM=
=kscP
-----END PGP SIGNATURE-----

Thank you! I am going to update it soon
Since updating I keep getting "You do not have permissions to perform this action." when I or anyone else trys to send a message, permissions should be setup fine

Seems to work for a few seconds after updating settings before it breaks
I was using an older version and after upgrading to this one nothing loads...

tried installing it on a test mybb 1.8.7 server i freshly ran up and it also doesnt load anything


Further to this, im trying to add it to my portal.php template, not the index.

I guess i need to do somethign extra to have the java script load here? Can you help ?



(2014-09-03, 06:56 PM)Devilshakerz Wrote: [ -> ]
Quote:Also, any idea why when I put "{$dvz_shoutbox}" on the portal it doesn't show up? I really need it to display on my portal but it just doesn't appear at all, no where to be found.
You need to add a hook at the beginning of the plugin's file:
$plugins->add_hook('portal_end', 'dvz_shoutbox');
(2014-12-05, 10:38 PM)grasmanek94 Wrote: [ -> ]How do I change the text color of "/me <text>" from red to anything else? I can't seem to find it anywhere (js, css, php files) Sad And googling did not turn up any results:

"DVZ Shoutbox change me color"

I also am stuck with this and need to change it, but I've looked through the entire thread and can't find anyone offering you a solution. Does anyone know how I would be able to change this too?