20. Dezember, 2005
WordPress Plugin: Wordspew Ajax LiveChat eXtended
We are using the Wordspew Live ChatBox Plugin by Andrew Sutherland for quite a time now, but somehow i was missing some functionality. I made some big enhancements in the Wordpress LiveChat-Backoffice, added User-Capabilities and provided gettext translation from Version 1.18 on.
If you don´t know this plugin, this adds a Live Chat Box to your Wordpress Site, like seen on this site, my Testing Site, or Live on the frisbeeblog.de (Please don´t post Bullsh.. there). Normally it is put inside the sidebar.
Screenshoots of the Backoffice
Admin Manage Postings Area
Admin Options Area
Version History
Version 1.18 (01.07.2006)
Annotations:
This Version is only for Wordpress 2.0! This is because i adapted the new User Capabilities System for the backoffice.
The other big enhancement is the Gettext – Translation for better translation into you native language. Download comes with German translation only. Please feel free to translate. I´ll put it here on the site too.
Changelog from Version 1.17 to 1.18
1. Now uses the new Capabilities + Group System of Wordpress 2.0 -> You can choose a Group which is allowed to edit the ChatBox entries.
1.a You can also use the RoleManager Plugin by Owen Winkler to give the Edit + Admin rights to a Group or check Who has which rights.
2. New Capabilitiy: AdminLiveChat -> is allowed to edit Entries + Change System Settings in Options Panel, Defaults to the Administrator-Role.
3. New Capabilitiy: EditLiveChat -> is allowed to edit entries, Defaults to the Editor-Role.
4. Language File -> gettext Translation file, you can translate all Textstrings freely now!
5. Customizable String for the Frontpage if a User is not logged in. (ex. "Please log in to post" )
6. Validated HTML of Backoffice
Version 1.17
Annotations:
This Plugin is maily for Wordpress 1.5 x but also Works with Wordpress Version 2.0. This is because in WP2 you have also implemented the old Users Levels from 0 – 10, for backward Capabilities.
Changelog from original Wordspew Version 1.16 to 1.17
i made the following changes mainly to the LiveChat Adminarea.
1. Separated the Options Page and Edit Message Page
2. Admin Page Cleanup
3. Admin Page new Option to set User Level to Edit / Delete Postings
4. Admin Page new Option to set the number of Postings
5. Installation and Admin Options Page now only visible to Super Admin (Level 10)
6. Edit Page Cleanup
7. Multiple Posting Delete on Edit Page
8. Stuff you don´t see: Some Code Cleanup + phpDocumentor Comments for functions
Installation
1. Read the Readme.txt
Upgrade:
1.Only install Version 1.18 if you are running Wordpress 2.0 !! if you accidentially installed on older Wordpress, just copy the wordspew.php from Version 1.17 over installed version.
2.Read the Readme.txt text it should be no Problem to upgrade from 1.17 or jalenack wordspew 1.16 or previous versions like said in the readme.
Hints:
The Version 1.18 Download includes the german mo + po files. if you want to translate your own and don´t know how to just gimme a comment for now .. i´ll explain in another artikel on how to handle translations.
Please backup your files and Database so you can perform a rollback.
Please give me a feedback if you run into problems or give me a note if you need other functions.
Download
Latest Version:
wordspew extended 1.18.zip (07.01.2006 17:18)
Translation Files
The translation zip´s contain the mo and po version. Thank you very much for your Files!!!
Danish Translation done by Marlene Karecki from karecki.dk
liveChat_da_DK LiveChat Translation files mo and po (27.03.2006 00:29)
Spanish Translation done by Neil from http://neil.apalankada.net
livechat_es_ES_LiveChat Translation files mo and po (27.03.2006 00:34)
Previous Versions:
Verwandte Artikel:



76 Kommentare zu “WordPress Plugin: Wordspew Ajax LiveChat eXtended”
Pingback von Blogging Pro China » Blog Archive » WordPress Plugin: Wordspew Ajax LiveChat eXtended am 30. Dezember, 2005 um 6:08
[...] Wordspew Ajax LiveChat eXtended,一个使用AJAX技术的在线聊天模块,你可以把它扔在首页上。 [...]
Pingback von AJAX Shoutbox « thTeong WebLog am 25. Januar, 2006 um 3:50
[...] I managed to get another Ajax coding Shoutbox, Its here. Its seem more powerful than my current ones. Screenshot. [...]
Kommentar von Vinu am 28. Januar, 2006 um 19:35
Hi,
Can i run this in a popup window, when i click on a hyperlink ? which is available in my WP sidebar?
Please assist me in this…
Thanks,
Vinu.
Kommentar von MP:Schorsch am 28. Januar, 2006 um 21:40
you could put the call into a template and let this popup via jScript over a static link. haven´t tried it and could have some catches.
Kommentar von Vinu am 30. Januar, 2006 um 19:16
It’s Not working seperately…
Could you please show me a sample ?
I have tried, live.php with ” ” caller in root and thems folder.
Please give me some guidance…
Thanks,
Vinu
Pingback von 50 Jahre und kein bisschen leise.. » WordPress Plugin: Wordspew Ajax LiveChat am 31. Januar, 2006 um 12:13
[...] Infos und Download weitere Artikel zu: No Tags [...]
Kommentar von Scott am 17. Februar, 2006 um 18:21
Any plans for further updates? Timestamp and smileys would be nice features.
Kommentar von Abhishek am 28. Februar, 2006 um 4:31
Simply Incredible. I really like your plugin. You can see it live on http://www.theplanetcalls.com I would be more happy if you could add a separate config page for admins to delete/edit the messages. Thanks.
Kommentar von Abhishek am 2. März, 2006 um 13:49
Yes I see there is option to edit/delete the messages directly. I just needed to elevate the permission from Editor to Administrator.
Kommentar von Joost am 3. März, 2006 um 14:24
Great plugin! Thanks! I just want to change the time-notation… Eg. instead of “minutes” (English), i’d like to see “minuten” (Dutch). Any idea how I can
change that? (please answer by e-mail).
Thanks in advance!
Kommentar von thesuperstar am 11. März, 2006 um 9:50
thanks, really nice.
Kommentar von Ernst am 17. März, 2006 um 21:49
Hallo, ein ganz klasse Plugin! Das einzige Problem, das ich habe : Der “Live Chat Edit” – Bereich, der wohl im Bereich Verwaltung auftauchen sollte, wurde bei mir nicht angelegt. Kann mir jemand sagen, wie ich diesen Administrationsbereich erhalte. Ich verwende Wordpress
v2.0.1
Vielen Dank & Grüße
Ernst
Kommentar von MP:Schorsch am 18. März, 2006 um 8:52
wenn du den role-manager-plugin verwendest kannst du überprüfen ob du das recht zum anzeigen besitzt.
Kommentar von Ernst am 18. März, 2006 um 12:20
Hallo,
hab den Rolemanager eben eingebunden. Der funktioniert soweit auch. Ich habe auch das Maximum an Rechten, das ein Admin haben kann .Was ich aber nicht habe: die Möglichkeit den Chat zu verwalten, also z.B. Edit Data, Delete all Data etc. – so wie das hierauf der Seite oben in dem Screenshot des “LiveChat edit” angezeigt wird.
Vielen Dank schon mal & Grüße
Ernst
Kommentar von Piotrek am 23. März, 2006 um 11:20
Hello,
I have a problem with chat. Old entries are not deleted from database automatically.
For example when I set 10 entries only 10 are displayed in the shoutbox and in the control panel but I see they are still in the database and when I set larger limit shoutbox starts displaying them.
Should I change anything in the plug-in code?
Kommentar von fendi am 23. März, 2006 um 23:40
hot to resize it?
The shoutbox is too big for my side bar..
Kommentar von kretzschmar am 24. März, 2006 um 23:01
Super, klappt soweit alles. Allerdings gelingt es mir nicht, auf die deutsche Sprache umzustellen. Ich habe bereits versucht, die beiden DE-Dateien ins Plugin Hauptverzeichnis zu kopieren ohne Erfolg.
Was mache ich falsch?
Kommentar von Nicky am 26. März, 2006 um 17:04
I use xpress with xoops. I install live chat but I get an error message on the admin screen. Sorry No Access for you! You need to be the Super Admin to edit the options. Any plan to modify livechat to be compatible with xpress.
Thnx
Kommentar von MP:Schorsch am 26. März, 2006 um 23:07
Oh a lot of questions, i was off a couple of day so i´m trying to answer all in one comment in your language.
@Piotrek:
old entries are only purged after you insert a new one. so just changeing the values does not delete any entries.
@fendi
The resizing must be done in the css-code in css.php. you´ll find some relevant code right on top of the file from line 22 on.
@kretzschmar
Du musst vorher deine Wordpress installation mit dem deutschen language file ausrüsten und die sprache in der wp-config einstellen. Dann wird die im LiveChat enthaltene DE Datei automatisch benutzt.
@nicky
I haven´t tried it inside Xoops but you should get yourself the rolemanager for wordpress. Whith this killer plugin you can check if the your account has the appropriate rights to view the admin screen. if not you can assign it with the rolemanager.
Kommentar von MP:Schorsch am 26. März, 2006 um 23:23
I started enhancing this plugin with some new features, user Feedback and some bugfixes.
I can´t tell a time when it will be ready but stay tuned.
For the time beeing i´ll put on a spanisch and Danish translation which where contributed by Neil(Spain) and Marlene Karecki
Thank you both and sorry for the delay.
Pingback von eL BLoG De NeiL » Blog Archive » Wordspew Extended am 27. März, 2006 um 8:37
[...] Wordspew Extended es un hack de Wordspew desarrollado por Georg Leciejewski que añade nuevas funcionalidades al plugin. [...]
Kommentar von Nicky am 4. April, 2006 um 3:16
I installed it. It created a table. I am able to access to admin page.. but my typings don’t echo on the main box after I hit send..Any plan to make shoutbox compatible with xpress (wordpress for xoops)?
Kommentar von MP:Schorsch am 4. April, 2006 um 10:17
@nicky: no i don´t have a xoops plan.. sorry
Kommentar von Jag am 7. April, 2006 um 20:28
Great work on the plugin!
Is there a way to change the text box (the message input) to go above the chat output? (if that makes any sense – I’d like the username and message fields to go above the output).
Thanks!
Kommentar von MP:Schorsch am 8. April, 2006 um 9:15
of course you could do that.the function outputting this is inside the wordspew.php. In function jal_get_shoutbox ()you have to move the whole block from line 686-721 aboe the chatbox div. I haven´t tried this and it might be problematic. it could be cleaner to move the whole input code into another function and call this funtion at some point in get_shoutbox
… hope i´m not to technical for you
Kommentar von Jag am 8. April, 2006 um 16:15
hey! i tried shifting the code block to above the chatbox div, but now the user gets the option of changing their name (even though i’d set it such that only registered users can post). i hope its not too much trouble, but how would i go about it by changing the function calling part? thanks again!
Kommentar von MP:Schorsch am 9. April, 2006 um 2:21
yeah shifting the codeblocks need a little attention of the surrounding tags. have a look at the sourrounding {}tags. with an editor like notepad++ you can easiely find those matching brackets and if statements.
you probably missed the if_current_user_can if tag. i´m sorry but i´m currently writing some other code so i can´t dig to deep with you into this. i hope you understand.
Kommentar von Jag am 9. April, 2006 um 2:35
I looked at it, but I can’t seem to figure it out. Thanks anyway, and keep up the good work.
Pingback von Live Shoutbox » Max Thrane’s Cyberspace am 26. April, 2006 um 23:16
[...] PS: Seems there’s a new version out (1.8) which runs on WP 2.x only. You can get Wordspew Ajax LiveChat eXtended here. [...]
Kommentar von GeminiGeek am 29. April, 2006 um 11:06
it’s a sad think that you can’t still edit shouter’s URL. some shouter likes to put their URL without http:// in front.
Kommentar von Alex am 29. April, 2006 um 21:04
Falls jemand bei der Sprache verzweifelt :
liveChat-DE_de.mo
liveChat-DE_de.po
sollte
liveChat-de_DE.mo
liveChat-de_DE.po
heissen, sonst klappts nicht unter UNIX
Kommentar von MP:Schorsch am 30. April, 2006 um 0:01
Danke für den Tipp werd ich für´s nächste Update checken. Grundsätzlich sollte der Anhang “de_DE” so heißen wie die Wordpress Language Datei in includes/lang.
Kommentar von Jag am 5. Mai, 2006 um 22:00
Hey, is there any way that we can force a word to be wrapped? If you have a long word in the chatbox, it messes everything up
Kommentar von Jag am 5. Mai, 2006 um 22:07
Nevermind, I just put a word-wrap:break-word; line into the CSS.
Kommentar von NeiL am 9. Mai, 2006 um 12:32
Hi,
Is there any way to fight spam in LiveChat?. I’ve been out for a couple of weeks and when re-visited my site there was a lot of spam.
NeiL
Kommentar von MP:Schorsch am 9. Mai, 2006 um 14:36
You have a setting with which you can allow only logged in Users to post.. i know spam can be horrible. that´s what this is for.
Kommentar von Shawn am 12. Mai, 2006 um 9:19
Can’t seem to put this Plugin to work in a page or something….Any idea how?
Kommentar von Administrator am 12. Mai, 2006 um 22:03
no, since i have no idea what your problem is!
Kommentar von Scott am 15. Mai, 2006 um 17:39
Do you plan to upgrade Wordspew anytime soon?
Kommentar von MP:Schorsch am 16. Mai, 2006 um 9:01
I´m actually on it but a JS error just pisses me off. The new version is 75% finished.
Kommentar von sskhalsa am 29. Mai, 2006 um 17:17
could you add a captcha image to fight spam?
Kommentar von sskhalsa am 29. Mai, 2006 um 17:17
also IP logging would be great (to block spam IPs)
Kommentar von sven am 11. Juni, 2006 um 13:22
arg, ich bekomme immer wieder eine fehlermeldung nach dem posten in der shoutbox:
Fatal error: Call to undefined function: get_option() in /www/htdocs/w0067ba8/madbutphat/wp-content/plugins/wordspew/wordspew.php on line 613
Kommentar von Spinaker am 20. Juni, 2006 um 7:33
Fatal error: Call to undefined function get_option() in /store/music/wp-content/plugins/wordspew/wordspew.php on line 613
In opera browser. In Mozilla – all ok.
Kommentar von Michbeck am 2. Juli, 2006 um 15:07
Benutze die Shoutbox als Plattformübergreifende Chatvariante ohne lästige extra-Programme (a la Trillian etc.) Einziger Nachteil: wenn man nicht gerade auf das Fenster schaut(z.B. man surft in anderem Tab …) verpasst man schnell Chatnachrichten. Gibt es irgendwo die Option dass ein kleiner Sound abgespielt wird wenn eine Nachricht geschrieben wird? Wenn nicht könnte man das einbauen?
Danke auf jeden Fall für das tolle Plugin!!!
Kommentar von Mike am 10. Juli, 2006 um 10:43
Fatal error: Call to undefined function get_option() in /store/music/wp-content/plugins/wordspew/wordspew.php on line 613
That’s in Firefox, I’d like to fix it as your admin backend makes deleting multiple comments so much easier.
Kommentar von Administrator am 10. Juli, 2006 um 15:35
could it be that you are using this in wordpress 1.5?
Kommentar von Mike am 10. Juli, 2006 um 16:13
I’m afraid not, I’m using Wordpress 2.0
Kommentar von Marcelo am 12. Juli, 2006 um 21:29
Hello, anyone knows of a way to put two wordpews in the same blog? I use one on the first pages for reminders and want to use another on a chat page. Thnks.
Pingback von Ochblog Bullshit Chat » Blog Archive » About the Bullshit Chat am 21. Juli, 2006 um 3:39
[...] If your willing to help us out please also check: http://www.blog.mediaprojekte.de/ [...]
Kommentar von Piotrek am 31. Juli, 2006 um 11:18
It will be nice if you add some spam protections in new version:
for example hidden input which mustn’t be filled – robots will fill it and spam will be easily filtered;
or maybe a captcha which should be typed only once and then non-spam-users are remembered in cookie?
or even integration with Akismet or Spam Karma plug-in?
Kommentar von Piotrek am 2. August, 2006 um 12:32
I think filtering messages if there are more than one or two links in them would work quite great too
.
Kommentar von Rupe am 24. August, 2006 um 1:06
I want to try the chat plugin, but I am using a sidebar widget and when I try to put it in the text widget it breaks the theme. Any idea how easy this would be to turn into a widget so I can us it with the side bar widget?
Pingback von DTK’s Sports Page » Two very sloppy wins, inching back towards the top, and a New Chat feature. am 31. August, 2006 um 16:28
[...] I’ve added a new chat/shout out box feature. I openly admit it, I had a motive. I was inspired by the Chi-Sox Blog, where its members comment during the game. I thought to myself, self, what if we did it in a live chat session? Then I hunted, and found this wordpress plugin called wordspew. I installed it and it tests well. I’d like to give it a live game test with multiple users. If you’re interested in participating in a live chat during the game, let me know. ————————————————————————– Possible Related Posts Slip sliding away…A fabulous sight at the little league world series.Jenkies, We Win.Having issues with the theme…The problems of not living in the market of your favorite team…————————————————————————– ————————————————————————– [...]
Kommentar von Paolo am 31. August, 2006 um 18:33
OK, here I’m going to show off my ignorance
I was wondering as someone else did here, if it is possible to put the wordspew chat in another page (frame), same server, even same folder as any other plugin, but ler say in a static page called side.html, or php, but with other html elements on it
You can see (maybe… I’m still working on it) here the frames
I think it is a great plugin!
Thanks
Kommentar von Herman am 3. September, 2006 um 16:54
Hi. This is a great plugin! I used it before in a Wordpress 1.5 install without any problems.
But now I installed the newest Wordpress 2.0.4. When I activate the plugin (version 1.18) there is no way to manage the Livechat, because the option is missing in the “Manage” menu in the admin page.
Is the new version of Wordpress the problem or do I have the change the configuration somehow?
Please advice
Kommentar von Hurry am 3. Oktober, 2006 um 21:40
Greetings, it works great. But I want to use it like a live announcement box so I want an option to set that only Admin can post messages in the box not even registered members. I want an option the input box to disppear for registered like it does for guests and only be visible to the admin so only the admin can post. Please do help me in this as I don’t know php. Eagerly awaiting your kind response and thanks in advance.
Kommentar von jayms am 7. Oktober, 2006 um 4:56
hi! is there a way to disable the NAME field? some people pretend to be other people by changing their names after logging on to the account they made. it’s really a security issue because i manage a blog about a movie and sometimes other people pretend to be actors.
if there’s a way to disbale the NAME field, it would be really great. i don’t know php so any help you can give would be really appreciated!
Kommentar von jayms am 7. Oktober, 2006 um 5:46
ok… i just installed it. how come i cannot view the Admin page? I am an Admin. waaaah! help!
Kommentar von jayms am 7. Oktober, 2006 um 7:24
okay nevermind… i got it to work
thanks!
Kommentar von Knut am 22. Oktober, 2006 um 13:09
Well, one thing that might improve this plugin, would be Captcha. If you have a captcha for anonymous users, so that you get down the SPAM.
Pingback von NeuroMemories » Blog Archive » Nuovi Plugins Wordpress am 24. November, 2006 um 10:51
[...] Wordspew Ajax Live Chat Extended [...]
Kommentar von Lost am 6. Dezember, 2006 um 4:59
Hi! I have a problem. This plugin works fine when I leave a message in english, but my site has cp1251 encoding, so when I use cyrillic characters, they are written in mysql db in a wrong way (other wp data is written correctly). I tried to change UTF-8 to windows-1251 (or cp1251) in wordspew.php but it didn’t change anything. Is it possible to force this script to write data in cp1251 encoding? And how I can do it?
Thanks a lot! Vladimir.
Kommentar von ralph emerson am 16. Dezember, 2006 um 7:57
I also had to get rid of Spam Karma and go for Akismet as Spam Karma and Ajax Comments didn’t play well together. Either way, I should have excellent spam protection.
Kommentar von Gonzalo am 17. Januar, 2007 um 15:22
Kommentar von jayms am 7. Oktober, 2006 um 5:46
ok… i just installed it. how come i cannot view the Admin page? I am an Admin. waaaah! help!
I had, exactly, the same problem. I rid out of that by installing “role mode” plugin. It just works, don’t ask me why.
Pingback von Top WordPress Plugins « designcreatology am 22. März, 2007 um 21:40
[...] Wordspew Ajax LiveChat eXtended – adds a Live Chat Box to your Wordpress Site [...]
Kommentar von Angeline Julie am 9. Mai, 2007 um 15:16
I am glad to post my views and points in this blog, but I must say that webmaster of this blog has done a very great job to make his blog more informative and more discussable but unfortunately everthing is same here that more than 80% in this and other blogs post their comments for making spam!!!, so i will really all this spam links to google band tool, because webmaster makes blogs for making discuss and for sloving each other problems. thanks http://www.gordoniihoodia.net
Pingback von WP Plugins DB » Blog Archive » Wordspew eXtended am 20. Mai, 2007 um 9:49
[...] Visit [...]
Kommentar von Angelina Julie am 30. Mai, 2007 um 13:23
I am glad to post my views and points in this blog, but I must say that webmaster of this blog has done a very great job to make his blog more informative and more discussable but unfortunately everthing is same here that more than 80% in this and other blogs post their comments for making spam!!!, so i will really all this spam links to google band tool, because webmaster makes blogs for making discuss and for sloving each other problems. thanks http://www.gordoniihoodia.net
Kommentar von Natural Gain Plus am 1. Juni, 2007 um 22:23
We have helped literally thousands of men successfully enlarge their penis and increase their performance our pills are thoroughly tested and naturaly enlarge your penis.
Kommentar von penis enlargement am 14. Juni, 2007 um 8:38
Nice blog and I liked the comments tooo… Little bit spam but its ok. Keep up your good work.
Kommentar von Andy am 25. Dezember, 2007 um 15:39
Thanks again for this plugin, really great stuff! I already sent in a French translation by email but the Po file doesn’t change months, hours, minutes, etc under “Last message”. I’ve found that you can translate these by changing lines 441 to 446 in wordspew.php
Would it be possible to include these terms in a future Po file?
Kommentar von David am 25. Januar, 2008 um 20:10
Hi,
Nice plugin. I did a translation for Portuguese and created the po and mo files (I can send to you if you like). However, the traslation is not working. I tried naming the file liveChat.mo and liveChat-PT_pt.mo and loaded them to wp-content/plugins/wordspew/
In my wp-config.php I have:
define (’WPLANG’, ‘pt’);
What am I doing wrong? Do I have to disable the plugin and enable it again for it to see the files?
Thanks,
Kommentar von Lucy am 1. Februar, 2008 um 16:10
Thanks for the plugin.
Any idea why the CSS appears to wotk in IE7, but not in Firefox 2? Usually it’s the other way round.
Pingback von BlogSecurity » Blog Archive » dmsguestbook, st_newsletter, Wordspew, wp-footnotes vulnerabilities am 5. Februar, 2008 um 11:39
[...] SQL Injection was made public by S@BUN again, for Wordspew here is the parameter id in wordspew-rss.php. This parameter is not sanitized and therefore open to [...]
Kommentar von Tom am 13. Juli, 2008 um 18:02
Very nice widget. To the problem with spam:
You can put this code in the function jal_addData
(wordspew.php):
$pos1 = strpos(strtoupper($jal_user_text),’HTTP://’);
if ( $pos1 !== false) {
$jal_user_text = “spam”;
return 0;
}
Then no entry with an url is allowed. I don’t need
any urls in this small box, so this is my
‘anti-spam-solution’.