OLD - ChatBox II - Discussion and Feedback

e107 CMS » Forums » e107 Code » Code Modification / Plugin / Announcement and Releases << Previous thread | Next thread >>
Go to page  1 2 3 4
His MAJESTY
Jul 05 2008, 07:51AM
Registered Member #43876
Joined: Mar 12 2008, 01:40PM
Posts: 189
okay.

Will wait then
Go to top
Taffman
Jul 10 2008, 06:43AM
Registered Member #19702
Joined: Jul 29 2005, 05:46AM
Location: Hertfordshire, UK
Posts: 290
Great plugin, I have a particular application where I have been using an adapted guestbook. This is infinatly better. I am looking to use chatpage.php as a replacement. Once enhancement I'd like to see to chatpage is a post button that make the post message box and emotes visible. Once the message is posted the message editor box is invisible again. Currently tge message editor is visible all the time which is great for chatbox but maybe not for chatpage. Just a thought. Keep up the great work.

PS the proposed link to phpfreechat will be really cool, cant wait for that.
Go to top
Hans Arends
Jul 13 2008, 05:18AM
Registered Member #5000
Joined: Dec 21 2003, 03:22AM
Posts: 61
First off all... when this plugin will work for me... it's really great!

I am having the following issue... when I want to submit a post there is coming an error on my screen that is saying the following: "Error: noerr".
I already tried to play with the settings, but it's not going away. Every post I try to submit is giving this error.

Maybe anyone have an idea what can be the reason of this error message? Flood Protection is turned off.

THanks,
Hans
Go to top
Hans Arends
Jul 18 2008, 06:28AM
Registered Member #5000
Joined: Dec 21 2003, 03:22AM
Posts: 61
Anyone?
Go to top
BillyBoy0823
Jul 19 2008, 06:36PM
Registered Member #14644
Joined: Feb 14 2005, 04:20PM
Location: Leominster, MA USA
Posts: 505
Hi Hans,


The 'noerr' message is coming from one of the javascript files. What it means is for some reason, it is sending request and getting noerr, but it should be passing the info, not the 'noerr'.

First thing is try to clear your cache in your browser and then go back to your site and try it again.

If not, try uninstalling it, and reinstalling it, without deleting the Database info, if you have already used it, or converted it.

If that doesn't work, let me know.
Go to top
BillyBoy0823
Jul 19 2008, 06:39PM
Registered Member #14644
Joined: Feb 14 2005, 04:20PM
Location: Leominster, MA USA
Posts: 505
Taff, I undetstand what you mean, but not sure how easy it is to implement for me at this time.


I am also not sure if I will ever get to intergrate with phpfreeChat. I've worked on this thing for over a month and there are a few things I have to fix as it is, so I need to make it stable before I add anything new to it.

Go to top
BillyBoy0823
Jul 19 2008, 06:41PM
Registered Member #14644
Joined: Feb 14 2005, 04:20PM
Location: Leominster, MA USA
Posts: 505
TO ALL,

I am workiing on the NEXT Rev of this, and it has some IMPORTANT changes SO, be sure to check back and get the latest revision.

Thanks to all for the feedback.
Go to top
redenex
Jul 20 2008, 05:17AM
Registered Member #39074
Joined: Aug 10 2007, 10:44PM
Location: Kochi, India
Posts: 68
I am using this since yesterday, and an awesome effort! Thanks.
Go to top
Wolfseye
Jul 23 2008, 02:03AM
Registered Member #15167
Joined: Mar 02 2005, 11:46PM
Location: Germany
Posts: 85
Does eCaptcha work with it ?

Also, instead of the time it shows {TIMEDATE}.
[ Edited Jul 23 2008, 02:11AM ]
Go to top
BillyBoy0823
Jul 23 2008, 07:22AM
Registered Member #14644
Joined: Feb 14 2005, 04:20PM
Location: Leominster, MA USA
Posts: 505
I am not going to add eCaptcha to it at this time. For one, I personally think it's bad to allow non-members to be posting. In what scenario's would it be good to add the eCaptcha to the ChatBox? Just wondering.

2nd, I have to make what changes I've already made to be stable before I add much more.

{TIMEDATE} may be showing because a unique $CHATBOXSTYLE is defined elsewhere, such at in the theme.php file. You may want to comment it out and/or copy the $CHATBOXSTYLE defined in the chatbox2_menu.php to where ever it is (probably the theme.php) so you can edit it and create your own style. If you simply comment it out in the theme with //'s, it will use the one in the chatbox2_menu instead.

I could have it look for the {TIMEDATE} and replace it with "" blank, but if there are spans or divisions involved, it may not look neat.
[ Edited Jul 23 2008, 07:25AM ]
Go to top
BillyBoy0823
Jul 23 2008, 07:30AM
Registered Member #14644
Joined: Feb 14 2005, 04:20PM
Location: Leominster, MA USA
Posts: 505
I HATE having to mickey mouse things to satify the e107 gods at this point. This should be a direct replacement for the chatbox because the chatbox has so many things already embedded into the core.

I don't want to keep doing mickey mouse fixes for things such as;

cache
CHAT Percentage
etc...

There are things I will still have to work around because of more controls, Like {TIMEDATE}
and the page it's on (because that's calulated in class2.php.

Hopefully in the next e107 version. ALL plugins, including the chatbox will have defined hooks through an API and not specific code in the core so it's easier to work with.

If I had just done this as the chatbox, as I started out to, the only problem is it would have initially failed the core file tests. And that happens a lot anyway when people do mods.



End of rant.
[ Edited Jul 23 2008, 07:54AM ]
Go to top
BillyBoy0823
Jul 23 2008, 07:37AM
Registered Member #14644
Joined: Feb 14 2005, 04:20PM
Location: Leominster, MA USA
Posts: 505
The latest release should fix the following;

1. A security issue.
2. XHTML compliance
3. Showing correct page it's on (instead of chatbox_control).


for #3, this hapeens because of the refresh, and the class2.php doesn't recognize it. I will have to create a work-around to undo what the class2.php does but deciding on which page the users on.

Hopefully class2.php will be broken into seperate parts in the future versions, so that those parts, can be used individually. Many parts of class2.php are needed for the security of having the dynamic refresh safe. (Without it, I was able to do some insecure, and pretty funny things.)

If anyone finds security issues after this next release, please post them so they can be addressed.
Go to top
BillyBoy0823
Jul 23 2008, 08:17AM
Registered Member #14644
Joined: Feb 14 2005, 04:20PM
Location: Leominster, MA USA
Posts: 505
If you look in the USER PROFILE, The Chatbox percentage is always 0%. If you NEED this to work, here's a hack to get it to work.

The Percentage is calulated in a shortcode, because the original chatbox is so embedded in the core.

A hack to fix this is (BUT< it may make e107 core file integraty checks fail;

edit \files\shortcode\batch\user_shortcodes.php

1. Look for the line;

if (isset($pref['plug_installed']['chatbox_menu']))

and change it to;

if (isset($pref['plug_installed']['chatbox2_menu']))

2. THEN Look for the line;
$chatposts = $sql->db_Count("chatbox");

change it to;
$chatposts = $sql->db_Count("chatbox2");

3. Go into the Chatbox II and have it recalulate chatbox entries.

That should resolve it.
Go to top
Wolfseye
Jul 24 2008, 01:22AM
Registered Member #15167
Joined: Mar 02 2005, 11:46PM
Location: Germany
Posts: 85
Could fix the {TIMEDATE} thing, but now I have other Problems. Sometimes when one posts in the Chatbox and hits Submit, it does refresh and all that but it isn´t posting anything in the acutal chat posts. Doesn´t matter if its immediately after another post or just sometimes. It just doesn´t disply. Also in the Admin of e107 it still tells me the last number of entries in the Chatbox. That I already actually posted more, is not visible in the Chatbox itself or in the e107 Admin.

Sometimes, not all the time, even the "MODERATE CHAT" link at the bottom is gone. I already installed it 2x, the latest Version that I found in e107 Plugins.
Go to top
BillyBoy0823
Jul 24 2008, 01:44AM
Registered Member #14644
Joined: Feb 14 2005, 04:20PM
Location: Leominster, MA USA
Posts: 505
I will check these out now, I am about finished with the latest changes.

1. Is to avoid the {TIMEDATE} issue, if it's defined elsewhere.

As far as not posting, do you have the Settings correct in the General settings, so they match who you allow to post?

I explain in the plugin and elsewhere, that the number show after Moderate is NOT the Total.

Because it is Dynamic, if I did it that way, it would be wrong after any posts. SO, the value you see, will always be TOTAL CHATS - CHATS SHOWING.

So, if there are if you have it set to show 10 and there were 15 already, the number would be (5).

That way when someone posts and you see 11, it's still 5 you don't see. So it's accurate.

If you refresh, it will become 10 and [6].

Can you tell me what setting you have, so I can try to recreate the dissapearing moderate chat link?

Which setting are you using in the general settings?
Is it the chat page, or chatbox, or both doing it?

Thanks for the feedback!
[ Edited Jul 24 2008, 01:45AM ]
Go to top
Wolfseye
Jul 24 2008, 02:10AM
Registered Member #15167
Joined: Mar 02 2005, 11:46PM
Location: Germany
Posts: 85
Actually, i did post by now around 7 with all the test posts, and it still shows only 4. And it is set to show max. 15 posts. And I mean the chatbox. The other posts are just not there.

Here the settings.





And about the "MODERATE" links, well, i can´t tell you exactly when its showing or not, sometimes it just doesn´t. Sorry,can´t specifiy that.
Go to top
BillyBoy0823
Jul 24 2008, 01:09PM
Registered Member #14644
Joined: Feb 14 2005, 04:20PM
Location: Leominster, MA USA
Posts: 505
Wolfeye,

I think there are still conflicts if the Original Chatbox is Loading on the page, so I am not sure if that's an issue.

I don't know if you can try some of these things.

1. Update Java to latest version.
2. Disable Chatbox (No need to delete table data or files. Just deactivate menu should be enough.
3. Clear your Browser Cache.
4. See if the problem is in your theme.php. It's possible there's a $CHATBOXSTYLE there, and ChatBox II would try to use it.
5. Is it happening in IE AND FF? Or just one.
6. Try disabling e107 cache.
7. I am not sure if you have another site to try in on.

Last, If you can deactivate ALL menu's but the basics, and see if it works, and then add them back one by one, to see if there's some conflict.

Other things that would help to know is if you are getting JS errors, in the bottom left of IE, at these times.

I've put it on over 5 sites smoothly, but I have seen the error you had, but it happened to me when I modified the js files, and I had to clear them out of cache before it seemed stable again.

Hopefully v 1.4.4, which I just posted at e107coders.org will fix some issues.
Go to top
BillyBoy0823
Jul 24 2008, 01:31PM
Registered Member #14644
Joined: Feb 14 2005, 04:20PM
Location: Leominster, MA USA
Posts: 505
*******************************************************
********* CHATBOX II - Version 1.4.4 RELEASED **************
*******************************************************

I've Uploaded version 1.4.4 at e107coders.org.

It has a LOT of changes. Anyone having a previous version should REALLY Upgrade to this version.

CHANGES and Abilities.
********************
XHTML Compliance on chatpage and chatbox II
Disabled HTML less than(<) Tags for security
User list on chatpage.php location selectable on top or bottom
Option for whether users can post consecutively or once and wait for response.
Made JS files easier to edit for Language changes (All Lang at top of file)

(next two found in the _readme.txt file)
Added HACK documentation for class2.php to show user location properly
Added HACK doc. for files\shortcode\batch\user_shortcodes.php to show user post % correctly


Previous changes and enhancements over Older Chatbox.
Optional Headers for Chatbox or Chatpage
Option to Allow users to delete their own posts (Shows their posts with an X in place of image).
Same option - Shows MODS an X in place of image for all posts for easy deletion.
Dynamic Updating for both Chatbox and Chat page.
User Colorization option
Sound Option
Custom Colors for chat area.
....

No more changes are expected, only fixes until extremely stable.

Please post any problems and security issues found HERE. (e107coders comments are hard to fine, or completely dissappear on newer versions submitted.

I currently can't log into plugins.e107.org, but once I can, I will upload it there as well...

Good Luck!!!!
[ Edited Jul 24 2008, 09:38PM ]
Go to top
Wolfseye
Jul 25 2008, 01:39AM
Registered Member #15167
Joined: Mar 02 2005, 11:46PM
Location: Germany
Posts: 85
wrote ...

1. Update Java to latest version.
2. Disable Chatbox (No need to delete table data or files. Just deactivate menu should be enough.
3. Clear your Browser Cache.
4. See if the problem is in your theme.php. It's possible there's a $CHATBOXSTYLE there, and ChatBox II would try to use it.
5. Is it happening in IE AND FF? Or just one.
6. Try disabling e107 cache.
7. I am not sure if you have another site to try in on.


Did all that, even installed it on a 2nd Site i am responsible for. Same result. Sometimes the chatposts won´t stay after posting them, its just as they would not have been posted.

Does that on FF3 and IE7, I don´t use other browsers, and these are the most used anyways.

Thank you for your effort, but if it doesn´t work for me, then I can´t use it. Was a try, didn´t work, thats life. I hope its just on my sites and anyone else don´t have those problems. The Chatbox is a great piece of work , too bad it won´t work for me.
Go to top
BillyBoy0823
Jul 25 2008, 03:31AM
Registered Member #14644
Joined: Feb 14 2005, 04:20PM
Location: Leominster, MA USA
Posts: 505
Not sure what's causing your issue. You could still use it without the Dynamic Updating so you have the other features.

If you want email me, at the email addy shown with the plugin, I can come look at the site.

A few other things, I wonder if the entries are making it into the database, just not being passed back to the page. If you hit refresh, they should then appear.

I have tried to give everything it's own unique names, but I have seen where there've been conflicts with other scripts.

There's also another possibility, I've seen web hosting caching cause trouble, and If I waited a day, Their cache cleared and js errors would go away. So, it's a possibility that they are caching old stuff too.

Sorry, if it doesn't work, but if you want me to look, or try to figure it out, I'd need a lot more info, such as host, versions of everything like php, apache, Your config of browser and system (cause borwser settings could be an issue). Maybe give it a day, and try from a different computer to rule out cache issues, and computer settings.

If you want, I let me know, and I will open anonymous posting again at [-link-] and you can see if it works there, it's not a problem for me there. and that's a simple shared host.

I am trying to cover everything, so maybe the way it's uploaded corrupts it too. I don't know if you use something like the latest version of filezilla to upload it.

Sorry, don't know what more I can do. But maybe if you can see if you can get it to work for you, where it aready works for others, to figure it out. Good luck!!
Go to top
Go to page  1 2 3 4  

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System