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 for MyBB series 1.8.x is now available for download: http://community.mybb.com/mods.php?action=view&pid=63.
This release includes heavy modifications introducing new functionality, performance related fixes and compatibility updates. This version also comes with redesigned look keeping the Shoutbox as simple as possible.
  • lang from 'shoutbox archive' link cut to 'archive'
  • removed 'forced' attribute from main loop
  • registering archive browsing activity (Who's Online)
  • implemented support for Merge Users tool
  • implemented support for IPv6
  • corrected settings descriptions
  • "@" username call on click on avatar (compatible with DVZ Mentions)
  • visual appearance improved
  • moderation panel moved before pagination in archive mode
  • switched from "jQuery" to "$" in JavaScript
  • default *dvz_shoutbox database table engine set to InnoDB
  • replaced dvz_shoutbox::member_of($groups) with MyBB 1.8's is_member($groups)
  • default avatar changed from '.gif' to '.png'
  • compatibility set to 18*
  • extended API [custom callbacks for events]
  • code cleanup [PHP >= 5.4]

Note: The Who's Online will show Unknown location when browsing the Shoutbox archive on MyBB 1.8.0. This issue will disappear on MyBB 1.8.1 as it is related to a bug in MyBB code.

Please keep in mind that DVZ Shoutbox requires PHP version 5.4 or higher in order to work. Uploading the plugin to servers with lower PHP version will result in errors in the ACP panel.

Upgrading 2.0 to 2.1:
Reinstalling the plugin will result in deletion of plugin settings and shouts.
Keeping the old Shoutbox entries can be achieved by restoring the previously created backup of the  *dvz_shoutbox database table. After restoring the table the following SQL queries have to be run (this will result in loss of IP addresses assigned to the old entries):
ALTER TABLE *dvz_shoutbox ENGINE = InnoDB;
ALTER TABLE *dvz_shoutbox DROP COLUMN `ip`;
ALTER TABLE *dvz_shoutbox ADD COLUMN `ipaddress` varbinary(16);
[20-Sep-2014 00:13:00 Europe/Tallinn] PHP Parse error:  syntax error, unexpected '[' in /*/inc/plugins/dvz_shoutbox.php on line 5
[20-Sep-2014 00:13:05 Europe/Tallinn] PHP Parse error:  syntax error, unexpected '[' in /*/inc/plugins/dvz_shoutbox.php on line 5


What's problem? In admin CP plugins tab blank page

Line 5

$plugins->add_hook('global_end', ['dvz_shoutbox', 'global_end']);    // load language file, catch archive page

// Got fixed by changing PHP version from 5.3 to 5.4, thanks to plugin author.
(2014-09-19, 09:15 PM)Typhome Wrote: [ -> ]
[20-Sep-2014 00:13:00 Europe/Tallinn] PHP Parse error:  syntax error, unexpected '[' in /*/inc/plugins/dvz_shoutbox.php on line 5
[20-Sep-2014 00:13:05 Europe/Tallinn] PHP Parse error:  syntax error, unexpected '[' in /*/inc/plugins/dvz_shoutbox.php on line 5


What's problem? In admin CP plugins tab blank page

Line 5

$plugins->add_hook('global_end', ['dvz_shoutbox', 'global_end']);    // load language file, catch archive page

// Got fixed by changing PHP version from 5.3 to 5.4, thanks to plugin author.



to old php
update it to 5.4 minimum
How can i update my php version 5.3 to 5.4?
I'm having probs with my shoutbox. I got it to work but it's not displaying properly. Any ideas?

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

http://www.childrenofghost.com/forum
(2014-09-20, 04:40 AM)X210JUGGALOX Wrote: [ -> ]I'm having probs with my shoutbox. I got it to work but it's not displaying properly. Any ideas?

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

http://www.childrenofghost.com/forum
You have not added css


/* DVZ Shoutbox */
#shoutbox { margin-bottom: 10px; border: solid 2px rgba(0,0,0,0.1); }
#shoutbox .head { padding: 8px; border-bottom: solid 2px rgba(0,0,0,0.1); }
#shoutbox.front .head { cursor: pointer; }
#shoutbox .head .right { float: right; margin: 0; font-size: 13px; }
#shoutbox.collapsed .head { opacity: 0.6; }
#shoutbox.collapsed .body { display: none; }

#shoutbox .panel { border-bottom: solid 2px rgba(0,0,0,0.1); }
#shoutbox input.text { margin: 0; padding: 10px 8px; width: 100%; box-sizing: border-box; border: none; box-shadow: inset 0 2px 4px rgba(0,0,0,0.08); font-family: Arial, sans-serif; font-size: 12px; color: #000; }
#shoutbox .minposts, #shoutbox .blocked { padding: 6px; font-size: 11px; }
#shoutbox .panel.minposts { background: #FFFED8; color: #727250; }
#shoutbox .panel.blocked { background: #FCEFEF; color: #543A3A; }
#shoutbox .panel p { margin: 0; }

#shoutbox .window { overflow-y: scroll; }
#shoutbox .data { display: table; width: 100%; font-family: Arial, sans-serif; font-size: 12px; }

#shoutbox .entry { display: table-row !important; width: 100%; transition: background-color 0.2s; }
#shoutbox .entry:nth-child(even) { background-color: rgba(0,0,0,0.01); }
#shoutbox .entry.new { background-color: rgba(255,255,100,0.1); }
#shoutbox .entry > div { border-bottom: dashed 1px rgba(0,0,0,0.05); }
#shoutbox .entry:last-child > div { border-bottom: none; }

#shoutbox .entry > div { display: table-cell; padding: 6px; }

#shoutbox .avatar img { margin: 0 auto; vertical-align: middle; max-height: 20px; max-width: 20px; border: solid 1px rgba(255,255,255,0.1); box-shadow: 0 0 2px rgba(0,0,0,0.1); cursor: pointer; }
#shoutbox .user { border-right: solid 1px rgba(0,0,0,0.05); text-align: right; white-space: nowrap; }
#shoutbox .text { width: 100%; color: #555; }
#shoutbox .info { font-size: 11px; color: #AAA; white-space: nowrap; text-align: right; }
#shoutbox .mod { padding: 6px 8px; font-size: 9px; font-weight: bold; color: #AAA; text-decoration: none; }
#shoutbox .mod:nth-of-type(2) { margin-right: 5px; border-left: solid 1px rgba(0,0,0,0.1); }
#shoutbox  .ip { margin-right: 10px; color: #CECECE; }
add this to your thema css pack
Still having problem with shoutbox update. Users have to refresh shoutbox (aka page) if they want see any new shouts.
(2014-09-19, 11:03 PM)Lyklor Wrote: [ -> ]How can i update my php version 5.3 to 5.4?

The panel of your hosting.

(2014-09-20, 09:05 AM)Typhome Wrote: [ -> ]Still having problem with shoutbox update. Users have to refresh shoutbox (aka page) if they want see any new shouts.

Forum Adres?
*****
(2014-09-20, 09:03 AM)Supryk Wrote: [ -> ]
(2014-09-20, 04:40 AM)X210JUGGALOX Wrote: [ -> ]I'm having probs with my shoutbox. I got it to work but it's not displaying properly. Any ideas?

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

http://www.childrenofghost.com/forum
You have not added css



/* DVZ Shoutbox */
#shoutbox { margin-bottom: 10px; border: solid 2px rgba(0,0,0,0.1); }
#shoutbox .head { padding: 8px; border-bottom: solid 2px rgba(0,0,0,0.1); }
#shoutbox.front .head { cursor: pointer; }
#shoutbox .head .right { float: right; margin: 0; font-size: 13px; }
#shoutbox.collapsed .head { opacity: 0.6; }
#shoutbox.collapsed .body { display: none; }

#shoutbox .panel { border-bottom: solid 2px rgba(0,0,0,0.1); }
#shoutbox input.text { margin: 0; padding: 10px 8px; width: 100%; box-sizing: border-box; border: none; box-shadow: inset 0 2px 4px rgba(0,0,0,0.08); font-family: Arial, sans-serif; font-size: 12px; color: #000; }
#shoutbox .minposts, #shoutbox .blocked { padding: 6px; font-size: 11px; }
#shoutbox .panel.minposts { background: #FFFED8; color: #727250; }
#shoutbox .panel.blocked { background: #FCEFEF; color: #543A3A; }
#shoutbox .panel p { margin: 0; }

#shoutbox .window { overflow-y: scroll; }
#shoutbox .data { display: table; width: 100%; font-family: Arial, sans-serif; font-size: 12px; }

#shoutbox .entry { display: table-row !important; width: 100%; transition: background-color 0.2s; }
#shoutbox .entry:nth-child(even) { background-color: rgba(0,0,0,0.01); }
#shoutbox .entry.new { background-color: rgba(255,255,100,0.1); }
#shoutbox .entry > div { border-bottom: dashed 1px rgba(0,0,0,0.05); }
#shoutbox .entry:last-child > div { border-bottom: none; }

#shoutbox .entry > div { display: table-cell; padding: 6px; }

#shoutbox .avatar img { margin: 0 auto; vertical-align: middle; max-height: 20px; max-width: 20px; border: solid 1px rgba(255,255,255,0.1); box-shadow: 0 0 2px rgba(0,0,0,0.1); cursor: pointer; }
#shoutbox .user { border-right: solid 1px rgba(0,0,0,0.05); text-align: right; white-space: nowrap; }
#shoutbox .text { width: 100%; color: #555; }
#shoutbox .info { font-size: 11px; color: #AAA; white-space: nowrap; text-align: right; }
#shoutbox .mod { padding: 6px 8px; font-size: 9px; font-weight: bold; color: #AAA; text-decoration: none; }
#shoutbox .mod:nth-of-type(2) { margin-right: 5px; border-left: solid 1px rgba(0,0,0,0.1); }
#shoutbox  .ip { margin-right: 10px; color: #CECECE; }
add this to your thema css pack

Well I feel stupid ha. Thank you very much! It worked!