MyBB Community Forums

Full Version: [Websocket] Miuna Shoutbox 9.0.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to install the shoutbox on a different page, but it does not seem to work. I made the change down but when I try to open a topic the screen goes blank, and some bugs happen. Thanks in advance.
http://prntscr.com/8bn60z
http://prntscr.com/8bn637

(2015-06-15, 06:03 AM)martec Wrote: [ -> ]in inc/plugins/miunashoutbox.php

find

if ($settings['miunashout_online'] && !$settings['miunashout_des_index']) {
$plugins->add_hook('index_start', 'MiunaShout');
}
if ($settings['miunashout_online'] && $settings['miunashout_act_port']) {
$plugins->add_hook('portal_start', 'MiunaShout');
}

replace:

if ($settings['miunashout_online']) {
$plugins->add_hook('global_start', 'MiunaShout');
}

find:

if (THIS_SCRIPT == 'portal.php' && $mybb->settings['miunashout_act_port']) {
$templatelist .= 'codebutmiuna,templateShoutBox,templateShoutBoxGuest';
}

add below:

if (THIS_SCRIPT == 'chatroom.php') {
$templatelist .= 'codebutmiuna,templateShoutBox,templateShoutBoxGuest';
}
(2015-09-02, 05:37 AM)nightcrawlerplay Wrote: [ -> ]I am trying to install the shoutbox on a different page, but it does not seem to work. I made the change down but when I try to open a topic the screen goes blank, and some bugs happen. Thanks in advance.
http://prntscr.com/8bn60z
http://prntscr.com/8bn637

(2015-06-15, 06:03 AM)martec Wrote: [ -> ]in inc/plugins/miunashoutbox.php

find

if ($settings['miunashout_online'] && !$settings['miunashout_des_index']) {
$plugins->add_hook('index_start', 'MiunaShout');
}
if ($settings['miunashout_online'] && $settings['miunashout_act_port']) {
$plugins->add_hook('portal_start', 'MiunaShout');
}

replace:

if ($settings['miunashout_online']) {
$plugins->add_hook('global_start', 'MiunaShout');
}

find:

if (THIS_SCRIPT == 'portal.php' && $mybb->settings['miunashout_act_port']) {
$templatelist .= 'codebutmiuna,templateShoutBox,templateShoutBoxGuest';
}

add below:

if (THIS_SCRIPT == 'chatroom.php') {
$templatelist .= 'codebutmiuna,templateShoutBox,templateShoutBoxGuest';
}

what you trying made? put where? i not recommend you put in forumdisplay, showthread etc..
(2015-09-02, 05:52 AM)martec Wrote: [ -> ]
(2015-09-02, 05:37 AM)nightcrawlerplay Wrote: [ -> ]I am trying to install the shoutbox on a different page, but it does not seem to work. I made the change down but when I try to open a topic the screen goes blank, and some bugs happen. Thanks in advance.
http://prntscr.com/8bn60z
http://prntscr.com/8bn637

(2015-06-15, 06:03 AM)martec Wrote: [ -> ]in inc/plugins/miunashoutbox.php

find

if ($settings['miunashout_online'] && !$settings['miunashout_des_index']) {
$plugins->add_hook('index_start', 'MiunaShout');
}
if ($settings['miunashout_online'] && $settings['miunashout_act_port']) {
$plugins->add_hook('portal_start', 'MiunaShout');
}

replace:

if ($settings['miunashout_online']) {
$plugins->add_hook('global_start', 'MiunaShout');
}

find:

if (THIS_SCRIPT == 'portal.php' && $mybb->settings['miunashout_act_port']) {
$templatelist .= 'codebutmiuna,templateShoutBox,templateShoutBoxGuest';
}

add below:

if (THIS_SCRIPT == 'chatroom.php') {
$templatelist .= 'codebutmiuna,templateShoutBox,templateShoutBoxGuest';
}

what you trying made? put where? i not recommend you put in forumdisplay, showthread etc..

It was exactly these places that I wanted to put the chat rsrsrs, but okay. Thank you for plugin.
Hello I need help asap, I put all the files in the /public file then i get this http://prntscr.com/8bvx7s
Can't send a message nor do anything.
(2015-09-02, 07:59 PM)Each Wrote: [ -> ]Hello I need help asap, I put all the files in the /public file then i get this http://prntscr.com/8bvx7s
Can't send a message nor do anything.

you installed Miuna Shoutbox Server?
if not read first post http://community.mybb.com/thread-166773-...pid1138228
Hi, in file yui.editior.js I need change this code:


function addemot(emot, emoturl, qse_area, type) {
	area = '';
	if (type) {
		area = '.yuieditor-emoticons-more_'+qse_area+'';
	}
	else {
		area = '.yuieditor-emoticons_'+qse_area+'';
	}
	$(area).append('<li><a class="yuieditor-emoticons" title="'+emot+'" onclick="editor.insert_text(\' '+emot+' \',\'\', \''+qse_area+'\');$(\'.yuieditor-dropdown\').hide()"><img src="'+emoturl+'" alt="'+emot+'"></a></li>');
}


And for the title="" of the link I want to have not emot code but emot title from ACP. For example, cod for smile is :smile : and I want have title for link "This is smile icon". Or something like that. Just I need to change this title="'+emot+'".

How to do it?
@martec
Hi Bruh, do you know how to set the Chatbox on the 'Portal' page and not the 'Forum Index' page? Thanks!
(2015-09-05, 07:36 AM)liisyaoron Wrote: [ -> ]@martec
Hi Bruh, do you know how to set the Chatbox on the 'Portal' page and not the 'Forum Index' page? Thanks!

plz check acp settings of this plugin...
Why ShoutBox read only first line for smilies? :/ It is possible to fix this?
(2015-09-05, 11:55 AM)IdolwSzutrab7 Wrote: [ -> ]Why ShoutBox read only first line for smilies? :/ It is possible to fix this?

??
you can explain better?