MyBB Community Forums

Full Version: DVZ Shoutbox support
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Parse error: syntax error, unexpected '[' in /home/page/public_html/forum2/inc/plugins/dvz_shoutbox.php on line 5

and i cant see other plugins only that plugin error. 

  1. (done)CSS Code
    Copy the CSS included in the package (STYLES.txt) into your theme stylesheets (for example global.css).

  2. (cant figure this one out) {$dvz_shoutbox}
    Insert the {$dvz_shoutbox} variable into your index template.
plugin's page' Wrote: [ -> ]this plugin requires PHP version 5.4 or higher

php version is shown on the home page of forum admin panel.
you can contact your web host for upgrading php
Did that how do i do this one now?

(cant figure this one out) {$dvz_shoutbox}
Insert the {$dvz_shoutbox} variable into your index template.
^ that needs to be added to the index template of your forum's active theme

admin panel >> templates (left side column menu) >> your theme templates >> Index Page Templates >> index

find {$forums} and add {$dvz_shoutbox} above {$forums} & save the template

see also templates related guidance
Also how do i remove SELENIUM name at the top of SELENIUM Theme and replace my own, its a header

Got the chat box working but its all messed up any idea how to fix it?
content of styles.txt file from the plugin's pack should be added to bottom of global.css stylesheet of your active theme

admin panel >> themes (left side column menu) >> your theme >> global.css >> edit in advanced mode (tab)
--> navigate to bottom of the stylesheet --> add content from styles.txt --> save the stylesheet

then visit your forum's index page & hard refresh your browser (eg. press CTRL + F5)

can we have your forum url ..

ive already upaded the styles.txt at the end of global.css
^ you should remove earlier added content.

it should be added in advanced mode of global.css - and at the bottom
(there will be two tabs - simple mode & advanced mode)
i did add it in advanced after /** Impromptu End */

.jqi .jqiarrowrb{
right: -20px; bottom: 10px; border-left-color: #ffffff;
}


/** Impromptu End */


/* DVZ Shoutbox */
#shoutbox { margin-bottom: 10px; border: solid 2px rgba(0,0,0,0.1); }
#shoutbox .head { padding: 8px; }
#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-top: 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 { border-top: solid 2px rgba(0,0,0,0.1); overflow-y: scroll; }
#shoutbox .data { display: table; width: 100%; border-top: solid 2px rgba(0,0,0,0.1); font-family: Arial, sans-serif; font-size: 12px; }
#shoutbox.front .data { border-top: none; }

#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:target { background-color: rgba(50,200,255,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 .entry.unread .info:before { display: inline-block; position: relative; top: -2px; margin-right: 10px; height: 4px; width: 4px; content: ''; background: rgba(255,100,0,0.8); border-radius: 10px; }
#shoutbox .info a { color: inherit; }
#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; }
^ No, the content is added at incorrect location (as part of #container properties)
Pages: 1 2