MyBB Community Forums

Full Version: the shoutbox on the portal.... is possible?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
Hmm I don't get it , zaher.

I have now something like this:

http://chat2b.be/forum/index.php

Is this correct? Where should I add code for my shoutbox etc?

Can you explain it a bit more? thx.
Alright, good progress till now.

Open index.php

Find

 if($mybb->settings['showwol'] != "no" && $mybb->usergroup['canviewonline'] != "no")

Add above it add the php code found in post#3

now in the index template, find the $search which is the only box you have now in side boxes, and below it, add

<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td>
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" width="100%">
<tr>
<td cellspacing="0" cellpadding="0" >
<span class="smalltext">
$shoutbox</span>
<div align="center">$shoutboxlink | </div>
</td>
</tr>
</table>
</td></tr></table>
<br />

regards
Weird, see this: http://chat2b.be/forum/

Is this correct?
try to add it below the search box, else if that did help, use this code

<table cellspacing="0" cellpadding="0" border="0" width="20%">
<tr>
<td>
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" width="100%">
<tr>
<td cellspacing="0" cellpadding="0" >
<span class="smalltext">
$shoutbox</span>
<div align="center">$shoutboxlink | </div>
</td>
</tr>
</table>
</td></tr></table>
<br />

Well it is working fine

however there is a big gap below the forums , i guess it is due to the number of thr forums you have.

however you can change the settings of the shoutbox it self to limit the last shouts to something that fits with the forums' size

regards
Can you give an example?
in the code i have provided find

 $limit = 24;

and set it to what is better for u

regards
So I think something like 32 is better.

Like this, not? (cause the box will still 'grow' when posting..)

Besides, When I click on your 'shoutbox'-link, I see above the page (#)
that there are "2" pages which I can see. But that is mentioned twice, and it isn't readable. :/ How can I fix this?
Yeah 32 is too much.

Umm the # is just because we are opening a popup. and it is by default in that mod. try a the orignal link of the shoutbox it is the same.

and that window is needed so you can add shouts, coz from here you can only see the shouts.

regards
Pages: 1 2 3 4 5 6