Pages: 1 2 3 4 5 6 7 8 9 10
I'm wondering if anyone has created a mysql script for the shoutbox which, when the shoutbox reaches the max shouts per page limit, deletes the oldest message before adding another one, so that there are no pages and no older messages.
any alternatives to iframes?
Nice Instructions, thank you very much!
Question: Ist it possible to deactivate the redirection-page after shouting something?
Another important question: When "shouting" more than one page: Is it possible to show the last page as default after the redirect?
Hi,
I have implemented several of the fixes (not completely done yet) to have the shoutbox appear with the latest shout first. In the tweaking instructions he mentions a problem:
"At present when you obtain several shouts and two pages is need the latest shout will appear on the second page, causing a problem seeing the last shout made. The only temporary fix at the moment is to go into your shoutbox settings and change the max number of shouts per page to a high amount. Then routinely log into your MySql database and delete the older shouts."
I have found an easy solution for this. Just have the last page (or $total_pages) be the default page (when no page number is given).
This is how to do it, find:
if(intval($mybb->input['page']))
{
$page = intval($mybb->input['page']);
}
else
{
$page = 1;
}
Replace:
if(intval($mybb->input['page']))
{
$page = intval($mybb->input['page']);
}
else
{
$page = $total_pages;
}
Someone? This is serious!
Personally I'd recommend using Spicefuse Shoutbox. It was really to install
You can google it to get the plugin.
Pages: 1 2 3 4 5 6 7 8 9 10