Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing Shoutbox on Index page + Reversing Shout Order + More...
#31
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.
Reply
#32
any alternatives to iframes?
Reply
#33
Nice Instructions, thank you very much! Smile

Question: Ist it possible to deactivate the redirection-page after shouting something?
Reply
#34
Another important question: When "shouting" more than one page: Is it possible to show the last page as default after the redirect?
Reply
#35
Rookie-Doo Wrote:Another important question: When "shouting" more than one page: Is it possible to show the last page as default after the redirect?

Ah... http://community.mybboard.net/showthread...#pid136225

damn... -_-

Cool
Reply
#36
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;
}
Reply
#37
It doesn't work. This is what it says after I click edit template.

http://img176.imageshack.us/img176/6125/...e23ts8.png
[Image: q2mtjssm7few8uaw5qfx.jpg]
Reply
#38
Someone? This is serious!
[Image: q2mtjssm7few8uaw5qfx.jpg]
Reply
#39
Personally I'd recommend using Spicefuse Shoutbox. It was really to install Smile You can google it to get the plugin.
Current motto: Cross referencing threads by providing links is a good idea!
Back-on Online - Back-on Fansite
http://www.backon-online.com/

WordPress Snippets
http://www.wpsnippets.com/
Reply
#40
Flick, it gets stuck in the "loading..."

What do i do?
http://sayin21.sarorahost.com/forums/index.php
[Image: q2mtjssm7few8uaw5qfx.jpg]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)