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.
Is there a way to make a custom php page with that?

I'm looking for a chat.php but idk how will put my chat on that direction
I get that error in plugins

Parse error: syntax error, unexpected '[' in /home4/socketus/public_html/lfk/inc/plugins/dvz_shoutbox.php on line 5

My hostgator PHP is 5.4.45

MyBB dashboard shows PHP as 5.2.17

what's going on here?

I have added the css Styles.txt to the bottom of the global.css  found in Themes/Stylesheets, placed after the last }
I have uploaded the 2 folders
I have added {$dvz_shoutbox} to the index template found in Default Templates
(2018-05-27, 09:17 PM)stufz Wrote: [ -> ]I get that error in plugins

Parse error: syntax error, unexpected '[' in /home4/socketus/public_html/lfk/inc/plugins/dvz_shoutbox.php on line 5

My hostgator PHP is 5.4.45

MyBB dashboard shows PHP as 5.2.17

what's going on here?

I have added the css Styles.txt to the bottom of the global.css  found in Themes/Stylesheets, placed after the last }
I have uploaded the 2 folders
I have added {$dvz_shoutbox} to the index template found in Default Templates

Minimum PHP requirements for the plugin is 5.6.
(2018-05-27, 10:55 PM)Ben Wrote: [ -> ]
(2018-05-27, 09:17 PM)stufz Wrote: [ -> ]I get that error in plugins

Parse error: syntax error, unexpected '[' in /home4/socketus/public_html/lfk/inc/plugins/dvz_shoutbox.php on line 5

My hostgator PHP is 5.4.45

MyBB dashboard shows PHP as 5.2.17

what's going on here?

I have added the css Styles.txt to the bottom of the global.css  found in Themes/Stylesheets, placed after the last }
I have uploaded the 2 folders
I have added {$dvz_shoutbox} to the index template found in Default Templates

Minimum PHP requirements for the plugin is 5.6.

oh. did not see that on the DL page nor the first 15 pages of this thread. Thanks.

From the dl page - This plugin requires PHP version 5.4 or higher.

I guess that covers the author.
Hello, why is the username not aligned with the text, is it possible for an easy fix?.

[Image: 68747470733a2f2f692e696d6775722e636f6d2f...322e6a7067]
Why like this? When I try to send a message. The page refreshed automatically and there is no message appeared in the shoutbox?
(2018-05-16, 08:02 AM)BananaPhone Wrote: [ -> ]Is there a way to make a custom php page with that?

I'm looking for a chat.php but idk how will put my chat on that direction

Is that how you want your chatroom (DVZ Shoutbox) setup as shown on the screenshot?

[Image: 38deebf7f11c830e459b79ce198d5e68.png]
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1146 - Table 'u6346123_forum.mybb_dvz_shoutbox' doesn't exist
Query:
SELECT s.*, u.username, u.usergroup, u.displaygroup, u.avatar FROM mybb_dvz_shoutbox s LEFT JOIN mybb_users u ON u.uid = s.uid WHERE s.text IS NOT NULL ORDER BY s.id DESC LIMIT 20
Hello mates!

sometimes when some user send a message doesn't appear till the complete page is reload (f5), there is a way to fix this?

and by the other hand, I'ts possible that the shoutbox don't enter in stand by when the users are innactive in the index page?

Thanks in advance!

Salutes!

(2018-03-28, 07:30 PM)p00lz Wrote: [ -> ]seem to be having issues

post a message, it shows and messages appear from other people come up for a few seconds, but any following messages will not auto load and needs a page refresh


general.js?ver=1800:531 Uncaught ReferenceError: cookieSecureFlag is not defined
   at Object.set (general.js?ver=1800:531)
   at Object.updateLastRead (dvz_shoutbox.js:526)
   at Object.eval [as success] (dvz_shoutbox.js:146)
   at j (jquery.js:3099)
   at Object.fireWith [as resolveWith] (jquery.js:3211)
   at x (jquery.js:8264)
   at XMLHttpRequest.eval (jquery.js:8605)


edit;
fixed by updating my headerincludes .js to have the right ?ver=XXXX at the end of them and adding var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}"; into it

sorry, can you show in what line you add that var please?

Thanks in advance!
I have a problem :'c

Uncaught SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Function.n.parseJSON (jquery.js?ver=1813:4)
    at Object.success (dvz_shoutbox.js:97)
    at i (jquery.js?ver=1813:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1813:2)
    at y (jquery.js?ver=1813:4)
    at XMLHttpRequest.c (jquery.js?ver=1813:4)

Can anyone helpme?