1 (edited by pokemon_jojo 2016-09-16 13:32)

Topic: OLD TOPIC TO DELETE

OLD TOPIC TO DELETE

2 (edited by StevenBullen 2006-06-25 08:37)

Re: OLD TOPIC TO DELETE

Ok... what difference between this and the CodeXP AJAX Chatbox... Cheers.

Dont suppose this refreshs the messages automatically? in other words you dont have to ever hit refresh button?


Side note:
If this is a good change then will re-code my PunShout to work on this mod instead of the orignal chatbox with CodeXP's ajax hack.

3 (edited by pokemon_jojo 2006-06-25 18:33)

Re: OLD TOPIC TO DELETE

The difference is that my mod have not the same code source of CodeXP.

I use Prototype JavaScript Framework v1.4.0, so code source is more clean.

Then all ajax feature are :
- Auto reload message list every X second (Adjusting in admin panel)
- Add only new messages, dont reload the entire liste
- Can on/off Autoscroll
- All errors are now in the chatbox (you can personalize them)
- You can change messages separation display
- Loading image when chatbox request server
- maybe other ^^

That's all for the moment

Re: OLD TOPIC TO DELETE

Result... Cheers. Will update shoutbox around this. wink

5

Re: OLD TOPIC TO DELETE

This is a nice chatbox.

I have a question/Request:

I would like to place the chatbox at the bottom of my forums, just before the footers, and only on the index.
When I include the chatbox.php it's a mess. I get the headers and footers all over again. Mess.

How can I change the code so that I can include the chatbox on the index?

6

Re: OLD TOPIC TO DELETE

Also, I'm using this mod with version 1.2.12 and it's fine (so far)

Re: OLD TOPIC TO DELETE

Hum... don't use the chatbox on your site !!!! it's actually only a beta so, with a lot of bugs. Just test it and said me if you find any bug wink

Next when the final release comming, i explain to you how made to install chatbox on your index.php

8 (edited by StevenBullen 2006-06-26 11:35)

Re: OLD TOPIC TO DELETE

Yeah that's cool.. Will you do a diff file for it tho? Because hopefully not to many bugs. wink

Working ok on my test site at present.


One more thing... any chance of adding the AJAX delete feature that CodeXP had? cheers. Its much easier...

Re: OLD TOPIC TO DELETE

Hi pokemon_jojo:

I tried your chatbox out.  I think I installed everything correctly.  But I got this error:


Fatal error: Cannot redeclare check_cookie() (previously declared in /home/xxx/include/functions.php:28) in /home/xxx/include/functions.php on line 28

Re: OLD TOPIC TO DELETE

Very good work ! wink

Re: OLD TOPIC TO DELETE

starshiner wrote:

Hi pokemon_jojo:

I tried your chatbox out.  I think I installed everything correctly.  But I got this error:


Fatal error: Cannot redeclare check_cookie() (previously declared in /home/xxx/include/functions.php:28) in /home/xxx/include/functions.php on line 28

hum.... i don't know why ! maybe you have made a mistake in your install ! Because i have no function check_cookie() in my script !!! I just include the common file.

12

Re: OLD TOPIC TO DELETE

I LOVE it so much that i did the german translation for you ;D

<?php

//German Translation made by LooDo (netzwerge@gmail.com)
// Language definitions used in chatbox.php
$lang_chatbox = array(

'Page_title'                        =>        'ChatBox',
'Chatbox'                        =>        'ChatBox',
'Posts'                                =>        ' ChatBox Einträge',
'Sending'                        =>        'Sende...',

'No Read Permission'                =>        'Dir fehlt die Berechtigung um die Chatbox zu lesen.',
'No Post Permission'                =>        'Dir fehlt die Berechtigung um in die ChatBox zu schreiben.',
'No Message'                        =>        'Keine Einträge in der ChatBox.',

'Message'                        =>        'Eintrag',
'Btn Send'                        =>        'Senden',
'Autoscroll'                        =>        'Automatisch Scrollen',

'Error Title'                        =>        'Fehler',
'Error No message'                =>        'Du musst eine Cahcricht eingeben.',
'Error Too long message'        =>        'Deine Nachricht ist zu lang.',

);

Re: OLD TOPIC TO DELETE

Thx a lot, i will add it in the next version.

14 (edited by ascerb 2006-06-28 18:14)

Re: OLD TOPIC TO DELETE

Very good mod. I like it wink

Translation to RUSSIAN

<?php
//Russian tranlsation by aScerb ( from sibirsky.org )
// Language definitions used in chatbox.php
$lang_chatbox = array(

'Page_title'            =>    '???',
'Chatbox'            =>    '???',
'Posts'                =>    ' ????????? ????',
'Sending'            =>    '????????????...',

'No Read Permission'        =>    '? ??? ??? ???? ??? ????????? ????????? ????.',
'No Post Permission'        =>    '? ??? ??? ???? ??? ???????? ????????? ? ????.',
'No Message'            =>    '??? ????????? ? ????.',

'Message'            =>    '?????????',
'Btn Send'            =>    '?????????',
'Autoscroll'            =>    '?????????',

'Error Title'            =>    '??????',
'Error No message'        =>    '??????? ?????????.',
'Error Too long message'    =>    '????????? ??????? ???????.',

);

Re: OLD TOPIC TO DELETE

Final version with no bug (normaly ^^) is online.

Re: OLD TOPIC TO DELETE

hello

A version without sql is it possible?

on my site is necessary no resources sql supplementary ...

Re: OLD TOPIC TO DELETE

If somebody rewrite my mod maybe ^^ but not from me sorry.

And maybe i'm wrong, but i think PBB Chatbox (if you have a lot user who use them) use lower sql ressource in AJAX because on each refresh only new messages are send and post use same resource.

18

Re: OLD TOPIC TO DELETE

Works fine on my system, I'm currently allowing members to try it out.

Two features would be nice tho:
userlist (who's online in the chat)
moderation (allowing mods/admins to delete messages)

Re: OLD TOPIC TO DELETE

Another feature request: Banning rights. To individually ban members from posting if necessary.

Re: OLD TOPIC TO DELETE

qubertman wrote:

Another feature request: Banning rights. To individually ban members from posting if necessary.

If they're causing trouble, shouldn't you just ban them from the forum as a whole?

Looking for a certain modification for your forum? Please take a look here before posting.

21

Re: OLD TOPIC TO DELETE

I'd love see the topmost new message appear at the top, or have an option to choose top or bottom order.

also would love to see this on the index at the bottom of the page (working on this now)

22 (edited by mdfh 2006-07-02 08:24)

Re: OLD TOPIC TO DELETE

An error occurred and the auto scroll will be no function.
Notice:  Undefined variable:  cur_index in /home/*****/public_html/chatbox.php on line 582  which is

document.write('<span class="conr" style="width:150px;" ><?php echo $lang_chatbox['Autoscroll'] ?>: <input type="checkbox" id="autoscroll" value="" checked  tabindex="<?php echo $cur_index++ ?>" /></span>');


Did I miss something?

23

Re: OLD TOPIC TO DELETE

bosnian language (charset - utf-8 or windows-1250)

<?php

// Language definitions used in chatbox.php
// jezik za podatak chatbox.php
$lang_chatbox = array(

'Page_title'        =>    'Na brzaka...',
'Chatbox'                =>    'Brzinski ;)',
'Posts'         =>    ' komentari',
'Sending'                =>    'upisivanje u toku...',

'No Read Permission'                =>    'Nemate pristupa, registrujte se!',
'No Post Permission'                =>    'Nemate pristupa, registrujte se!',
'No Message'                =>    'Nema poruka...',

'Message'         =>    'Poruka',
'Btn Send'                =>    'Po?alji',
'Btn Refresh'            =>    'Osvje?i',

'Error No message'                =>    'Morate upisati poruku.',
'Error Too long message'  =>    'Va?a poruka je preduga...',

);

i use chatbox here is still under developing wink

it's just me...

Re: OLD TOPIC TO DELETE

Very nice!
It would be nice if admins and mods could delete messages!
I like this script!

I'm from Germany, so my english might be wrong sometimes. Sorry!

25

Re: OLD TOPIC TO DELETE

faax,
Please tell how do u include chatbox on index.php your forum?