MyBB Community Forums
the shoutbox on the portal.... is possible? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: the shoutbox on the portal.... is possible? (/thread-7817.html)

Pages: 1 2 3 4 5 6


RE: the shoutbox on the portal.... is possible? - destroyer - 2006-04-11

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.


RE: the shoutbox on the portal.... is possible? - zaher1988 - 2006-04-11

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



RE: the shoutbox on the portal.... is possible? - destroyer - 2006-04-11

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

Is this correct?


RE: the shoutbox on the portal.... is possible? - zaher1988 - 2006-04-11

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 />




RE: the shoutbox on the portal.... is possible? - destroyer - 2006-04-12

So, this?

http://chat2b.be/forum


RE: the shoutbox on the portal.... is possible? - zaher1988 - 2006-04-12

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


RE: the shoutbox on the portal.... is possible? - destroyer - 2006-04-12

Can you give an example?


RE: the shoutbox on the portal.... is possible? - zaher1988 - 2006-04-12

in the code i have provided find

 $limit = 24;

and set it to what is better for u

regards


RE: the shoutbox on the portal.... is possible? - destroyer - 2006-04-12

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?


RE: the shoutbox on the portal.... is possible? - zaher1988 - 2006-04-12

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