^ I'd suggest to show it on
forum display pages &
topics pages (along with the
index page & may be the
portal)
that requires adding
different hooks and using the
shoutbox variable on
relevant templates
forumdisplay hook (already given)
$plugins->add_hook('forumdisplay_start', ['dvz_shoutbox', 'load_window']);
for
topics pages
$plugins->add_hook('showthread_start', ['dvz_shoutbox', 'load_window']);
for the
portal it can be like this
$plugins->add_hook('portal_start', ['dvz_shoutbox', 'load_window']);
(2016-03-19, 03:01 AM).m. Wrote: [ -> ]^ I'd suggest to show it on forum display pages & topics pages (along with the index page & may be the portal)
that requires adding different hooks and using the shoutbox variable on relevant templates
forumdisplay hook (already given)
$plugins->add_hook('forumdisplay_start', ['dvz_shoutbox', 'load_window']);
for topics pages
$plugins->add_hook('showthread_start', ['dvz_shoutbox', 'load_window']);
for the portal it can be like this
$plugins->add_hook('portal_start', ['dvz_shoutbox', 'load_window']);
Thanks .m. I'll give that a try.
(2016-03-19, 03:19 AM)maintainin Wrote: [ -> ] (2016-03-19, 03:01 AM).m. Wrote: [ -> ]^ I'd suggest to show it on forum display pages & topics pages (along with the index page & may be the portal)
that requires adding different hooks and using the shoutbox variable on relevant templates
forumdisplay hook (already given)
$plugins->add_hook('forumdisplay_start', ['dvz_shoutbox', 'load_window']);
for topics pages
$plugins->add_hook('showthread_start', ['dvz_shoutbox', 'load_window']);
for the portal it can be like this
$plugins->add_hook('portal_start', ['dvz_shoutbox', 'load_window']);
Thanks .m. I'll give that a try.
Worked just like you said. Added it to forum and topics pages.
I'm getting these to errors for shoutbox.
1) JSON.parse: unexpected character at line 1 column 1 of the JSON data
2) PHP Fatal error: Function name must be a string in /home/.../public_html/forums/inc/plugins/dvz_shoutbox.php on line 626
$handler();
Please help.
(2016-03-20, 04:58 PM)Finn Wrote: [ -> ]2) PHP Fatal error: Function name must be a string in /home/.../public_html/forums/inc/plugins/dvz_shoutbox.php on line 626
$handler();
Follow-up: the plugin doesn't work when PHP is configured with
eAccelerator enabled (you can disable it in your
php.ini file, using
ini_set() or
php_flag in
.htaccess).
Alright buds
Got abit of a problem, Added the above shoutbox to myBB forum, but when i press enter, instead of sending a message it refreshes the page.
A yser i had test it has also said the same, anything i can do to fix it?
^ post your forum url & a test user account so that someone can check it
Hey is there any way to filter words and or phrases in the DVZShoutbox 2.2.1
How do we replace the
»
with an
@
, Ive looked in the .js and .php but cant find it.
^ where are you seeing that » symbol ?
How can I add smilies in shoutbox?