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:
WordPress Plugin: Wordspew Ajax LiveChat eXtended
You can follow all the replies to this entry through the comments feed.
- By on 20.05.2007 at 9:49
- By on 22.03.2007 at 21:40
- By on 24.11.2006 at 10:51
- By on 31.08.2006 at 16:28
- By on 21.07.2006 at 3:39
- By on 26.04.2006 at 23:16
- By on 27.03.2006 at 8:37
- By on 31.01.2006 at 12:13
- By on 25.01.2006 at 3:50
- By on 30.12.2005 at 6:08




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.
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
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
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?
I think filtering messages if there are more than one or two links in them would work quite great too
.
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?
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.
I’m afraid not, I’m using WordPress 2.0
could it be that you are using this in wordpress 1.5?
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.
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!!!
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.
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
also IP logging would be great (to block spam IPs)
could you add a captcha image to fight spam?
I´m actually on it but a JS error just pisses me off. The new version is 75% finished.
Do you plan to upgrade Wordspew anytime soon?
no, since i have no idea what your problem is!
Can’t seem to put this Plugin to work in a page or something….Any idea how?
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.
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
Nevermind, I just put a word-wrap:break-word; line into the CSS.
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
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.
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
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.
I looked at it, but I can’t seem to figure it out. Thanks anyway, and keep up the good work.
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.
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!
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
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!
@nicky: no i don´t have a xoops plan.. sorry
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)?
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.
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.
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
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?
hot to resize it?
The shoutbox is too big for my side bar..
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?
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
wenn du den role-manager-plugin verwendest kannst du überprüfen ob du das recht zum anzeigen besitzt.
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
thanks, really nice.
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!
Yes I see there is option to edit/delete the messages directly. I just needed to elevate the permission from Editor to Administrator.
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.
Any plans for further updates? Timestamp and smileys would be nice features.
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
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.
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.