PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.

#1 2007-07-13 21:39:03

Lisa
Member
Registered: 2007-07-13
Posts: 18

Shoutbox

Shoutbox mod.. similar to the chatbox mod but different - it creates a smaller shoutbox at the top of all forums, under the banner, where people can chat and stuff. Maybe people know this mod already, vBullitin has it too.

Someone told me its impossible now because it would crash with the header code.. please, someone make this possible. =]

Offline

 

#2 2007-07-13 22:05:20

FSX
Member
Registered: 2006-09-14
Posts: 593
Website

Re: Shoutbox

Why would it now be possible? I think it 's not too hard to make a shoutbox.

Offline

 

#3 2007-07-13 23:32:38

Lisa
Member
Registered: 2007-07-13
Posts: 18

Re: Shoutbox

Great, then someone do it please. tongue

Offline

 

#4 2007-07-14 04:27:58

quaker
Member
From: Bama,USA
Registered: 2006-02-23
Posts: 968
Website

Re: Shoutbox

ok pep's here you go..hehehe......
http://www.punres.net/viewtopic.php?id=1662&p=1

chatbox 2.0
that the basic mod now to get it on the top of something ...
Q


My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Offline

 

#5 2007-07-14 10:26:54

Lisa
Member
Registered: 2007-07-13
Posts: 18

Re: Shoutbox

Yeah I already knew that mod, but how to get it on top of the forums and under the banner?

Offline

 

#6 2007-07-14 18:06:08

vochomaster
Member
Registered: 2007-07-09
Posts: 64
Website

Re: Shoutbox

You need to edit your main.tpl to create an iframe tag where the shoutbox will be displayed, just look for the banner code and place it bellow:

Code:

<iframe src="your_chatbox_file.php" width="100%" height="200" frameborder="0" scrolling="no"></iframe>

Please note that including the iframe tag on main.tpl will generate the chatbox output in all forum pages, not only on forum index.

If you want it to be shown only on forum index, so you have to edit your index.php file and place the code after the line "require PUN_ROOT.'header.php';" as follows:

Code:

require PUN_ROOT.'header.php';

//  end php process and start html output
?>
<iframe src="your_chatbox_file.php" width="100%" height="200" frameborder="0" scrolling="no"></iframe>
<?php
// restart php process

Now you need to edit the chatbox  file to modify some stuff:
1. Make sure to not display anything (header, menu, footer, etc.), except the chatbox itself
2. Adjust the output height to fit the height of your iframe

Don't know how to do that, but maybe someone with better skill than me could help.


Sorry 4 my bad english, hope you can understand me wink

Offline

 

#7 2007-07-14 18:09:19

Mark
Moderator
From: North West England
Registered: 2005-06-06
Posts: 1165

Re: Shoutbox

whats with the iframe??
put the chatbox file in include/user,
then open main.tpl and put this in there were you want the file
<pun_include "chatbox.php">


Cant find something you want? try searching
Also try the wiki

Offline

 

#8 2007-07-15 01:53:57

StevenBullen
Moderator
Registered: 2005-09-13
Posts: 300
Website

Re: Shoutbox

Check out this on punbb PBB Chatbox 2.0 on your index or where you want ! big_smile

Its made for the chatbox mod mentioned above by quaker


Blog - Follow Me and FluxBB on Twitter

Offline

 

#9 2007-07-15 19:41:18

vochomaster
Member
Registered: 2007-07-09
Posts: 64
Website

Re: Shoutbox

Mark wrote:

whats with the iframe??
put the chatbox file in include/user,
then open main.tpl and put this in there were you want the file
<pun_include "chatbox.php">

Sorry, you maybe right, I've suggested using an iframe 'cause that's the way I modded a phpbb to include a shoutbox, next time I'll take care to investigate more about a mod :blushed:

P.S. I feel I'll need a blushed smile installed here big_smile


Sorry 4 my bad english, hope you can understand me wink

Offline

 

#10 2007-07-18 18:37:47

no64
Member
Registered: 2007-06-20
Posts: 179

Re: Shoutbox

Haven't implement the chatbox yet, but what about open the chatbox with Highslide, than it is draggable and not fixed to any page...

Offline

 

#11 2010-02-17 09:08:28

jamesver5
New member
Registered: 2010-02-17
Posts: 2

Re: Shoutbox

any one can make clone of "vB Shoutbox" as used in vBulletin

Offline

 

#12 2011-07-25 10:38:36

orenmichael99
New member
From: Arizona
Registered: 2011-07-24
Posts: 1
Website

Re: Shoutbox

Thanks for the advice " vochomaster " saved me trying a few options I had in mind.


Doing some part time server tech work at the moment while studying for my engineering degree.

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.