Home | Warum | WordPress Widgets & Plugins

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

liveChat Edit Postings Options

Admin Options Area


 liveChat-admin 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 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 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 livechat_es_ES_LiveChat Translation files mo and po (27.03.2006 00:34)

Previous Versions:

Wordspew eXtended Version 1.17 english  Wordspew eXtended Version 1.17 english  (20.12.2005 01:55)

Verwandte Artikel:

76 Kommentare zu “WordPress Plugin: Wordspew Ajax LiveChat eXtended”

  • 1.

    [...]   Wordspew Ajax LiveChat eXtended,一个使用AJAX技术的在线聊天模块,你可以把它扔在首页上。 [...]

  • 2.

    [...] I managed to get another Ajax coding Shoutbox, Its here. Its seem more powerful than my current ones. Screenshot. [...]

  • 3.

    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.

  • 4.

    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.

  • 5.

    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

  • 6.

    [...] Infos und Download  weitere Artikel zu: No Tags [...]

  • 7.

    Any plans for further updates? Timestamp and smileys would be nice features.

  • 8.

    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.

  • 9.

    Yes I see there is option to edit/delete the messages directly. I just needed to elevate the permission from Editor to Administrator.

  • 10.

    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!

  • 11.

    thanks, really nice.

  • 12.

    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

  • 13.

    wenn du den role-manager-plugin verwendest kannst du überprüfen ob du das recht zum anzeigen besitzt.

  • 14.

    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

  • 15.

    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?

  • 16.

    hot to resize it?
    The shoutbox is too big for my side bar..
    :(

  • 17.

    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?

  • 18.

    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

  • 19.

    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.

  • 20.

    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.

  • 21.

    [...] Wordspew Extended es un hack de Wordspew desarrollado por Georg Leciejewski que añade nuevas funcionalidades al plugin. [...]

  • 22.

    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)?

  • 23.

    @nicky: no i don´t have a xoops plan.. sorry :-(

  • 24.

    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!

  • 25.

    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 :-)

  • 26.

    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!

  • 27.

    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.

  • 28.

    I looked at it, but I can’t seem to figure it out. Thanks anyway, and keep up the good work.

  • 29.

    [...] 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. [...]

  • 30.

    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.

  • 31.

    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

  • 32.

    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.

  • 33.

    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

  • 34.

    Nevermind, I just put a word-wrap:break-word; line into the CSS.

  • 35.

    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

  • 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.

  • 37.

    Can’t seem to put this Plugin to work in a page or something….Any idea how?

  • 38.

    no, since i have no idea what your problem is!

  • 39.

    Do you plan to upgrade Wordspew anytime soon?

  • 40.

    I´m actually on it but a JS error just pisses me off. The new version is 75% finished.

  • 41.

    could you add a captcha image to fight spam?

  • 42.

    also IP logging would be great (to block spam IPs)

  • 43.

    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

  • 44.

    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.

  • 45.

    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!!!

  • 46.

    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.

  • 47.

    could it be that you are using this in wordpress 1.5?

  • 48.

    I’m afraid not, I’m using Wordpress 2.0

  • 49.

    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.

  • 50.

    [...] If your willing to help us out please also check: http://www.blog.mediaprojekte.de/ [...]

  • 51.

    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?

  • 52.

    I think filtering messages if there are more than one or two links in them would work quite great too :) .

  • 53.

    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?

  • 54.

    [...] 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…————————————————————————– ————————————————————————– [...]

  • 55.

    OK, here I’m going to show off my ignorance :P
    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

  • 56.

    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 ;)

  • 57.

    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.

  • 58.

    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! :)

  • 59.

    ok… i just installed it. how come i cannot view the Admin page? I am an Admin. waaaah! help! :(

  • 60.

    okay nevermind… i got it to work :) thanks!

  • 61.

    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.

  • 62.

    [...] Wordspew Ajax Live Chat Extended  [...]

  • 63.

    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.

  • 64.

    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.

  • 65.

    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.

  • 66.

    [...] Wordspew Ajax LiveChat eXtended – adds a Live Chat Box to your Wordpress Site [...]

  • 67.

    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

  • 68.

    [...] Visit [...]

  • 69.

    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

  • 70.

    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.

  • 71.

    Nice blog and I liked the comments tooo… Little bit spam but its ok. Keep up your good work.

  • 72.

    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?

  • 73.

    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,

  • 74.

    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.

  • 75.

    [...] 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 [...]

  • 76.

    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’.