Re: OLD TOPIC TO DELETE
Very nice...
AJAX is such a nice touch.
When do you think you will release?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → OLD TOPIC TO DELETE
Very nice...
AJAX is such a nice touch.
When do you think you will release?
Hehe, I'm not quite sure... I mean, it does work now, but I'd like to optimize & tweak a little more first. My best guess would be later today or tomorrow
Oh that sounds good to me.
I cant sort my site out until the end of the weekend, so any day soon would be great for me. Cheers
Hi i have download it but it not work with punbb 2.1.11 sick sick!!!!! when the new release????
Bye thanksss
Ok, I think my ajax modification if the chatbox is working well enough for a release now
As I've previously mentioned, here are the most important functions I've added:
* AJAX for posting & refreshing chatbox.
* Added a delete function for moderators and admins. This is also handled using AJAX.
+++
Installation:
Just unzip the archive directly into your PunBB directory, overwriting the following files if they exist:
<root>chatbox.php
<root>include/js/ajax_chat.js
Please note that you need the the original version of Pokemon_JOJO's chatbox installed first.
Enjoy
EDIT: A small update, as I forgot a minor details. I've already updated the archive, but if you've downloaded before this edit, either re-download, or simply open up chatbox.php & change line 252 from:
global $db, $lang_chatbox, $pun_config, $pun_user;
to
global $db, $lang_chatbox, $pun_config, $pun_user, $lang_common;
thank you !! it works perfectly
great code
MMM not work!!! it
when i launch install_mod.php i see this msg You are running a version of PunBB (1.2.11) that this mod does not support. This mod supports PunBB versions: 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6
MMM not work!!! it
when i launch install_mod.php i see this msg You are running a version of PunBB (1.2.11) that this mod does not support. This mod supports PunBB versions: 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6
http://punbb.org/forums/viewtopic.php?id=10518
Great job CodeXP and thank you so much!
Using Ajax is such a great idea for this mod
@codexp
for the list_chatbox_msg & handleResponse functions, it well be cool to add only the new messages ...
@codexp
for the list_chatbox_msg & handleResponse functions, it well be cool to add only the new messages ...
I don't think I quite understand what you mean?
This is a guess....
But I think he means instead of refreshing the whole page of chat just to refresh the new chat messages. Which I doubt would be possible.....
This is a guess....
But I think he means instead of refreshing the whole page of chat just to refresh the new chat messages. Which I doubt would be possible.....
Would not be possible the way the chatbox works now. I guess you could do some XML parsing, but that would require a total rewrite of the way the chatbox outputs data... Also, it would add some new SQL queries to the code, so it wouldn't really be worth it. You might save a few bytes of bandwidth on each update, but then again, you would also add more strain on the server so I don't really see the point.
- hmm for exemple with javascript we can save the date or id of the latest message and send it to server with refreshBox function.
- in list_chatbox_msg (php), adding "where date>jsdate" in the query.
- in handleResponse (js), doing document.getElementById("scrollbox").innerHTML += response;
but you are right ! it is complicated for finally nothing
the idea comme from http://www.phpfreechat.net ^^
(sorry for my poor english )
Always good to put in suggestions though... So fair play to you...
As for the english... mine is worse... and I am english.
Ok, I think my ajax modification if the chatbox is working well enough for a release now
As I've previously mentioned, here are the most important functions I've added:
* AJAX for posting & refreshing chatbox.
* Added a delete function for moderators and admins. This is also handled using AJAX.
+++
This is not accessible at the moment. Where else can this be downloaded? Thank you.
CodeXP wrote:Ok, I think my ajax modification if the chatbox is working well enough for a release now
As I've previously mentioned, here are the most important functions I've added:
* AJAX for posting & refreshing chatbox.
* Added a delete function for moderators and admins. This is also handled using AJAX.
+++This is not accessible at the moment. Where else can this be downloaded? Thank you.
My server is down (permanentely?), but I still have the file
Hi, great work so far. I was wondering if there was a way to have the chatbox work on the main page instead of it being on a separate page.
hi,
this mod is great but i'm interesting to make a shoutbox in order to place it on all the page of my website. and i want to desactivate big image.
Any idea ?
Hey is there a easy way to move this chat to main page, make it more low and put it under the announcement ?
CodeXP, if you need free hosting for your files or websites just ask me, i can give you a http://codexp.ww7.be within 30 mins
( you links dont work ;( http://www.freefileupload.net/file.php? … x_ajax.zip
ok after 200 tries I could download it.
I've put it on http://ww7.be/neofutur/tools/punbb/
and named it PBB_ChatBox_1.1ajax.tar.gz
it works very well on http://valombre.ww7.be and http://s2.travian.ww7.be
good work you too ( and special thanks for your ajax tricks codeXP )
PS: CodeXP contact me for a free codexp.ww7.be, your contributions needs hosting )
I 'm integrating the chatbox with javascript added.
I dont understand the rights code :
if ($pun_user['g_id'] > PUN_MOD)
and why is there no group control ?
i made a fast patch to have _minimum_ group control for guests cho cant read board to work.
see it at http://ww7.be/neofutur/tools/punbb/diff … ghts.patch
but its only a beginning, more needs to be done on group rights control
this is nearly a security problem nop ?
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → OLD TOPIC TO DELETE
Powered by PunBB, supported by Informer Technologies, Inc.