Topic: OLD TOPIC TO DELETE
OLD TOPIC TO DELETE
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → OLD TOPIC TO DELETE
OLD TOPIC TO DELETE
I have installed the chatbox, but it dosent work..
When i send a message it says "Sending..." and nothing happens...
So do you have any idea of what to do now?
wooww.. awsome.. i haven't test it but i think this should be nice
ha ha, it's just this fuc... IE ^^. FireFox was ok for me ^^.
I have made the correction for IE. Just download again the "new" source. And replace all the files. (But don't execute install_mod.php again)
Sorry for this desagreement
Can you please give a link to a working example? I'd like to check out the functionality before I attempt an install.
Thanks
you can see http://www.maglaj.net/forum/chatbox.php ...
How can I do to integrate the chatbox inside an iframe in all the forums pages ??? It would be better to have access on the whole forum instead of a single page, which prevents from surf on the forum.
@faax : Can you post me your traduction, for this mod and PBB Gallery 2.0 mod please for i can add them to the other language.
thx
@Rod : Maybe in the future version ^^ (But before i need to finish PBB Gallery )
Whoops, I get this error when trying to launch the ChatBox:
Fatal error: Cannot redeclare preparse_bbcode() (previously declared in /home/***/public_html/brain/talk/include/parser.php:41) in /home/***/public_html/brain/talk/include/parser.php on line 41
(*** is censored info!)
If someone could tell me how to resolve this, i will be very happy!
there is language
for gallery
<?php
// Language definitions used in gallery.php
$lang_gallery = array(
'Page_title' => 'Galerija fotografija',
'Gallery' => 'Galerija',
'Pictures' => 'Slike',
'Last post' => 'Zadnja slika',
'Empty gallery' => 'Galerija je prazna.',
'Post img' => 'Dodaj novu sliku',
'Index' => 'Po?etak galerije',
'Picture' => 'Pogledaj',
'Views' => 'Pregledano',
'Date post' => 'Datum postavljanja',
'Write message legend' => 'Dodajte Va? naslov, opis, i po?alji prijatelju',
'Title' => 'Naslov',
'Message' => 'Poruka',
'E-mail' => 'E-mail',
'Submit' => 'Potvrdi',
'Post img redirect' => 'Va?a slika je uspje?no postavljena. Preusmjeravam …',
'Announcement' => 'Annonce',
'Announcement_text' => 'The form below enables you to send an image in the gallery of the site. The image must be with format GIF or JPG, with a maximum size of <MAX_SIZE>. Do not forget to add a title and a small description of the image.<br /><br />The team of the site reserves the right to remove your image without notice. All images against the terms of use of the site will be removed. Any abuse will be immediately sanctioned.',
'Modo link' => 'Podesi slike',
'Modo Select' => 'Ozna?i',
'Modo Del' => 'Obri?i',
'Modo Move' => 'Pomjeri',
'Modo No select' => 'Morate ozna?iti sliku.',
'Modo Move legend' => 'Ozna?ite mjesto za pomjeranje',
'Modo Del legend' => 'Potvrdite brisanje',
'Modo Del confirm' => 'Da li ste sigurni da ?elite obrisati slike?',
'Modo Move to' => 'Pomjeri u',
'Modo Move redirect' => 'Slike pomjerene. Preusmjeravam …',
'Modo Del redirect' => 'Slike obrisane. Preusmjeravam …',
'Error Annonce' => 'Gre?ka :',
'Error No subject' => 'Niste upisali naslov.',
'Error Too long subject' => 'Naslov nemo?e biti du?i od 70 znakova.',
'Error No message' => 'Morate upisati poruku.',
'Error Too long message' => 'POruka nemo?e biti du?a od 70 znakova.',
'Error Too large ini' => 'Fajl je prevelik. The server refuses its remote loading.',
'Error Too large' => 'The size of the file exceeds the authorized maximum.',
'Error Partial upload' => 'Partially downloaded file.',
'Error No file' => 'You did not select a file to be downloaded.',
'Error No tmp directory' => 'PHP could not safeguard the file sent in a temporary repertory.',
'Error Move failed' => 'The server could not record the downloaded file. Contact the administrator',
'Error Unknown failure' => 'Nepoznata gre?ka.',
'Error No Img View' => 'Nema slike.',
'Error FTP connect' => 'Connection FTP failed. Start again later !',
'Error FTP upload_picture' => 'Image FTP loading failed. Start again later !',
'Error FTP upload_thumbs' => 'Image miniature FTP loading failed. Start again later !',
);
and for chatbox
<?php
// Language definitions used in chatbox.php
$lang_chatbox = array(
'Page_title' => 'Porukice',
'Chatbox' => 'Porukice',
'Posts' => 'Upisane porukice',
'Sending' => 'Slanje u toku...',
'No Read Permission' => 'Samo registrovani-prijavljeni ?lanovi mogu ?itati.',
'No Post Permission' => 'Samo registrovani-prijavljeni ?lanovi mogu pisati.',
'No Message' => 'Bez 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 prevelika.',
);
There need charset windows-1250
Sorry faax, I just don't get it.
this above is translate jojo's mod's on Bosnian language.
snoogly you need to check what is on line 41 in parser.php ...
Do u have read a readme.txt file about modification ?
Thanks for getting back to me. I followed all the instructions for the mod, and everything went smoothly until i tried to launch the chat box.
Line 4 of parser.php is:
function preparse_bbcode($text, &$errors, $is_signature = false)
Somehow I think something has gone wrong...
Dunno man, the problem is bbcode ... Ask pokemon_jojo for help ... You have unique error
Works for me , but it should have a easy delete voices on chat.
I added some simple code to the end, after the last <?php tag:
<?php
header( 'refresh: 15; url=http://yourdomain.com/chatbox.php' );
?>
Some of my users wanted it to refresh automatically (lazy bums).
Do anyone have this problem with chatbox?
Let´s say you write a message (this message) "Hi, my name is Thomas and you?" You hit the send button and "woala" the line "Hi, my name is Thomas and you?" is included in the chat...so far so good. Okey let´s say you want to update the chatwindow now...you could do this in three diffrent ways...first is to hit the update button below the chat window and it works great no problems...but when you hit the refresh button in your browser or F5 there´s a message that the site "contains data that will be posted again"...this means that the line "Hi, my name is Thomas and you?" is going to be added everytime you hit refresh in your browser...shouldn´t there be some kind of "clearer" of this messeage field when you send the data? Hopefully you understand what I mean
is it possible to refresh the page with AJAX, when there is an update ... ?!
like this :
http://www.devarticles.com/c/a/XML/Buil … -Database/
is it possible to refresh the page with AJAX, when there is an update ... ?!
like this :
http://www.devarticles.com/c/a/XML/Buil … -Database/
I'm working on it
Currently, I've implemented Ajax for posting (testing it at the moment for problems, as this is the first Ajax project I've done), and I'll probably have a nice refresh function there as well when I'm done. I don't have a public demo up yet though.
Ok, I've posted the first live test version of an Ajax version of this great mod (referring to the original script of course)
So far, there's ajax being used for both the send & refresh button. To be able to post, either create a test account for yourself (no verification needed), or use this account:
Username: test
Password: testuser
Feel free to spam, as that's kinda the point of a demo
URL: http://www.thesecondscreen.com/chatbox.php
EDIT: Just added functions to delete messages from the chatbox, both with & without Ajax
Ok, I've posted the first live test version of an Ajax version of this great mod
You trully are a great one!!!
Cant wait for release
+1
this is great !!!
the refresh can be automatic ?! (with a timer for exemple that it check the database with a little sql like the last date... )
@codexp
Did you change lots of the code?
The only reason I ask... is because I have bodged a Shoutbox out of this chatbox mod and would be great to add your ajax aspect to it.
@Gooom: Yes, that wouldn't be that hard, but you wouldn't want to set the time to low, as it *does* actually run a SQL query. Setting it to something like 10-15 seconds would be fine though
@StevenBullen: There is some changed code, but nothing that would be hard to replicate throughout your already modified version.
EDIT:
By the way, here's how the delete links are placed currently (IP's censored):
And here we're deleting a message, using ajax:
Simple & effective. I'm starting to like this ajax thing for certain features, even though this is my first time using it I had a difficult time getting started, as I didn't want to use any of those "use-for-everything" libraries, but now I see that the basics is not really all that hard ).
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → OLD TOPIC TO DELETE
Powered by PunBB, supported by Informer Technologies, Inc.