Posts: 519
Threads: 86
Joined: Nov 2006
Reputation:
0
2008-08-04, 11:16 PM
http://mods.mybboard.net/view/shoutbox-beta
This wrapper doesn't work with that one, right?
Posts: 893
Threads: 29
Joined: Feb 2006
Reputation:
1
2008-08-04, 11:23 PM
Yes, it does, otherwise there couldn't be a MyBB 1.4 version ...
Posts: 261
Threads: 18
Joined: Aug 2007
Reputation:
0
2008-08-05, 12:03 AM
getting this error:
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
1146 - Table 'db226806307.mybb_mybb_settings' doesn't exist
Query:
INSERT INTO mybb_mybb_settings (`name`,`title`,`description`,`optionscode`,`value`,`disporder`,`gid`) VALUES ('shoutbox_ajax_pages','Show On Pages','Do you want to show the AJAX shoutbox on each page, or do you want to show it only on some settable pages?','yesno','no','16','21')
Posts: 519
Threads: 86
Joined: Nov 2006
Reputation:
0
2008-08-05, 01:18 AM
I noticed an interesting issue when I installed this. I moved the shoutbox call above the forum content. When I installed it, I had yours and the old one there. I had to remove MM's call to get rid of the old one.
Posts: 11
Threads: 0
Joined: Sep 2006
Reputation:
0
2008-08-05, 08:21 AM
(2008-08-04, 11:06 PM)Paretje Wrote: (2008-08-04, 10:11 PM)lenkradschloss Wrote: @Paretje/Musicalmidget: Is it possible to "edit/delete" shouts. Or can you please add something like that.
@Paretje: 1. Please tell me how I can get the ajax shoutbox between the forums and the stats.
2. If I choose display mode "Both Window and Index" only the shoutbox on the index is with ajax, the one with the seperate window is the "old" one. ;-)
Thanks & Greets, lenkradschloss
0. When you click on the header title of the AJAX Shoutbox, or when you click on Shoutbox in the welcome barn you get the shoutbox popup where you can edit and delete the shouts 
1. First: the HTML comments has to be on for this change 
Open inc/plugin/shoutbox_ajax.php and find:
preg_match('#'.preg_quote("<div id=\"content\">").'#i', $page, $matches);
if($matches[0])
{
$page = str_replace($matches[0], "<div id=\"content\">\n".$shoutbox_ajax, $page);
}
Replace with:
preg_match('#'.preg_quote("<!-- end: forumbit_depth1_cat -->").'#i', $page, $matches);
if($matches[0])
{
$page = str_replace($matches[0], "<!-- end: forumbit_depth1_cat -->\n".$shoutbox_ajax, $page);
}
2. Both Window and Index is the mode of the Shoutbox of Musicalmidget, this plugin only delivers a AJAX interface around that system. That setting has no effect to the AJAX SHoutbox
Hi Paretje,
0 : Cool, thanks!
1 : Works nearly fine. But I have more than one category, so in the moment the shoutbox appears between each category and not only under the last category over the stats.
2 : Ok.
Thanks, lenkradschloss
Posts: 893
Threads: 29
Joined: Feb 2006
Reputation:
1
2008-08-05, 10:36 AM
(This post was last modified: 2008-08-05, 12:37 PM by Paretje.)
(2008-08-05, 12:03 AM)incadudeF Wrote: getting this error:
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
1146 - Table 'db226806307.mybb_mybb_settings' doesn't exist
Query:
INSERT INTO mybb_mybb_settings (`name`,`title`,`description`,`optionscode`,`value`,`disporder`,`gid`) VALUES ('shoutbox_ajax_pages','Show On Pages','Do you want to show the AJAX shoutbox on each page, or do you want to show it only on some settable pages?','yesno','no','16','21')
Strange error. Can you try this plugin-file:
shoutbox_ajax.php (Size: 14.85 KB / Downloads: 111)
(2008-08-05, 01:18 AM)Soshite Wrote: I noticed an interesting issue when I installed this. I moved the shoutbox call above the forum content. When I installed it, I had yours and the old one there. I had to remove MM's call to get rid of the old one.
You mean the Shoutbox of Musicalmidget was still on the index-page? You have to set then the Display Mode value of the Shoutboxthen to "Window Only".
(2008-08-05, 08:21 AM)lenkradschloss Wrote: Hi Paretje,
0 : Cool, thanks!
1 : Works nearly fine. But I have more than one category, so in the moment the shoutbox appears between each category and not only under the last category over the stats.
2 : Ok.
Thanks, lenkradschloss
1. Change that same piece of code to this:
preg_match('#'.preg_quote("<!-- start: index_boardstats -->").'#i', $page, $matches);
if($matches[0])
{
$page = str_replace($matches[0], $shoutbox_ajax."\n<!-- start: index_boardstats -->", $page);
}
Posts: 2
Threads: 0
Joined: Aug 2008
Reputation:
0
2008-08-05, 11:47 AM
Where exactly do you upload the files to?
Posts: 893
Threads: 29
Joined: Feb 2006
Reputation:
1
2008-08-05, 12:38 PM
The file are sorted in the right way of directories out of the root of your MyBB root.
Posts: 2
Threads: 0
Joined: Aug 2008
Reputation:
0
2008-08-05, 01:02 PM
Where is this Directory?
Posts: 58
Threads: 3
Joined: Aug 2005
Reputation:
0
2008-08-05, 10:23 PM
(This post was last modified: 2008-08-05, 10:26 PM by Idren.)
This plugin is incompatible with MyBB 1.4
|