1 (edited by whiteh0rs3 2005-04-11 20:37)

Topic: ChatBox (Multi)

##
##        Mod title:  ChatBox (Multi)
##
##      Mod version   :  1.0
##   Works on PunBB:  1.2.*
##     Release date   :  2005-04-11
##           Author      :  Aryo Sandiyudo - whiteh0rs3 (whiteh0rs3@yahoo.com)
##
##      Description:  Add a very simple chatbox in punbb
##                         Support Multi Languages
##                         Support Multi Skins
##                         Easy Setup
##
##   Affected files:  none
##
##       Affects DB:  No
##
##            Notes:  This mod was originally based on ChatBox 1.0 by pokemon_JOJO
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##

Download:

- Punres
- LangIT Forums + Demo

Re: ChatBox (Multi)

Nice remix of my mod ^^

good job

wink

Re: ChatBox (Multi)

Thanks... big_smile All I have done is just make a little modification to your mod so that it can integrated with my forums and offcourse works with the newest PunBB versions smile But the rest is your works... good job to you too smile

4

Re: ChatBox (Multi)

Good work, that what i need smile

If your people come crazy, you will not need to your mind any more.

Re: ChatBox (Multi)

Re-uploading, download again. Upgrade: just replace chatbox.php

Fixes:
- Problem with refresh button
- Cleaning-up code

Re: ChatBox (Multi)

lol, the refresh button and this fuc... navigator called IE ^^

7

Re: ChatBox (Multi)

Euh .. http://www.Sortons.net/forum/chatbox.php

all blank.

8 (edited by whiteh0rs3 2005-04-12 11:23)

Re: ChatBox (Multi)

Take a look at line 12-13 of chatbox.php. If you want guest can access the chatbox, add // in front of it.

9

Re: ChatBox (Multi)

Stlll blank.

OK it doesn't work for me ... easy to install. But nothing happens for me.

No luck.

Re: ChatBox (Multi)

http://nevethir.tox.pl/punbb/forum/index.php
it's working smile

Re: ChatBox (Multi)

Rod your problem doesn't make sense for me, It should be easy. I've already take a look at your page before, but I didn't see any problem on it.
One think I'm sure is page that I saw isn't chatbox.php it must be another file that you get wrong upload or anything else. Try to download again at punres or at my site...

Re: ChatBox (Multi)

If someone has install Easy BBCode 1.0.1 by Rickard Andersson, you can use ChatBox 1.0.1

(Btw this is my first mod of Pokemon_JOJO mod, I'm newbie in php so suggestion and comments are very2 welcome)

Re: ChatBox (Multi)

whiteh0rs3 wrote:

If someone has install Easy BBCode 1.0.1 by Rickard Andersson, you can use ChatBox 1.0.1

(Btw this is my first mod of Pokemon_JOJO mod, I'm newbie in php so suggestion and comments are very2 welcome)

I noticed the Easy BBCode and I was like "Nice!!"

Re: ChatBox (Multi)

the Easy BBcode does not work in the ChatBox. The images and stuff are there for it but when you click it nothing happens.

Re: ChatBox (Multi)

Have you installed Easy BBCode correctly?

look at line 121

<?php require PUN_ROOT.'mod_easy_bbcode.php'; ?>

It has to be pointed to the correct file name

Re: ChatBox (Multi)

It is installed correctly it works on everything else. it shows up on the Chatbox but when I click for a smile or BB nothing happens

Re: ChatBox (Multi)

mmhh... but it works on me, now I will give you a hint how to solve this. I hope can be usefull smile

The big difference between ChatBox 1.0 and 1.0.1 to make it works with Easy BBCode is at textbox name and type

at 1.0 line 116

<input type="text" name="message"......

and at 1.0.1 line 122

<textarea name="req_message"......

You can look that the name for 1.0.1 is req_message, that's are not coincidence.

Now take a look at mod_easy_bbcode.php line 8, it should be same.

$bbcode_field = 'req_message';

Other dependecies is at line 6

$bbcode_form = 'post';

which is at Chatbox <form method="post"....

Now try to solve it by yourself, because I have a know idea what have you done with ur code.
Just let me know the progress.... good luck.... wink

18 (edited by shinko_metsuo 2005-04-16 22:40)

Re: ChatBox (Multi)

I've tried everything and it does not work

Edit: the code does not work with some browsers.

Re: ChatBox (Multi)

Yeeah... probably that's the main problem, but on IE and Firefox works fine...

Re: ChatBox (Multi)

it does not work with firefox (sadly enough) I tried IE and it worked but my CSS was off ><

21

Re: ChatBox (Multi)

how can i delte mesages and get smiles???

Re: ChatBox (Multi)

you can delete messages by going to chatbox.txt and taking out the post (its easy considering its marked by XML) and I'm not sure what you mean by get smiles.

23 (edited by shinko_metsuo 2005-04-17 03:40)

Re: ChatBox (Multi)

I got EasyBB to work in firefox

Find

<form method="post" name="form_room" action="?action=send" onsubmit="this.submit.disabled=true;if(process_form(this)){return true;}else{this.submit.disabled=false;return false;}">

replace with

<form id="post" method="post" name="form_room" action="?action=send" onsubmit="this.submit.disabled=true;if(process_form(this)){return true;}else{this.submit.disabled=false;return false;}">

the difference is id="post" was not in.

Re: ChatBox (Multi)

uppss... I must missed it... big_smile

Re: ChatBox (Multi)

I did not think about it till I looked at the topic of the Easy BBcode and Rickard posted how do put it for the quick reply box and I noticed on the change he had what I just posted. I tried it on the chatbox and Bam it worked.