Schreikasten – Plugin para WordPress

Los ShoutBox fueron ampliamente usados cuando se inició la fiebre del Web 2.0 y de los Blogs, porque permitían escribir mensajes fuera del contexto de los reportes y ofrecer un servicio de libro de visitas acorde con los cambios que experimentaba Internet. Sin embargo los ShoutBox sufrieron las consecuencias de su éxito y pronto fueron blanco fácil de los spammers que llenaron los libros de visita hasta dejarlos sin espacio y haciéndolos tediosos de mantener. Algunos ShoutBox optaron por crear listados negros, otros usaron palabras prohibidas pero cada vez los spammer aprendían cómo superar la seguridad de los ShoutBox y su uso decayó. Hoy en día se ven pocos, pero la idea sigue teniendo su atractivo inicial y aveces salen proyectos que requieren uno. Este es precisamente mi caso, así que después de algunas consultas en Internet descubrí que lo mejor que podría hacer era crear un ShoutBox propio que empleara un servicio anti-spam y que se integrara a WordPress empleando algunas técnicas Ajax que ya había usado.

El resultado fue Schreikasten, cuyo nombre es una traducción literal de la palabra ShoutBox al alemán. Su objetivo principal es ser sencillo para instalar, ofrecer lo básico para escribir mensajes y controlar el spam empleando el servicio Akismet. Para activar el filtro es necesario conseguir una clave API de Akismet que se puede solicitar gratis para páginas personales. Para uso comercial la API tiene un costo, pero ofrece ventajas que se deben tener en cuenta cuando el portal que administramos deja beneficios y el Spam es un problema.

El plugin ofrece un widget para ser instalado en la barra lateral, su template está separado del código para facilitar su integración al diseño gráfico de la página. Al escribir un comentario se consultará con Akismet si es Spam y en caso afirmativo será marcado como tal y no se presentará en la lista de mensajes. En la sección de comentarios de WordPress está la lista de mensajes que se han enviado, permitiendo así indicar si un comentario aceptado por Akismet en realidad es Spam o si por el contrario si un mensaje marcado como Spam en realidad no lo es. Esta es la ventaja de Akismet, el servicio aprende de sus errores y con eso se mantiene actualizado ante las nuevas técnicas de los spammers. También es posible eliminar un mensaje sin enviar una señal de actualización a Akismet, y se creó un link que permite borrar todos los mensajes que estén marcados como Spam.

En la barra lateral, en la pestaña de comentarios, se puede ver un ejemplo funcional de Schreikasten.

El plugin está bajo licencia GPL para que lo usen, abusen y descuarticen, solo recuerden dar los créditos del caso. Si lo desean usar a nivel comercial deberán comprar la clave API especial.

Ir a la página de descarga.

Internacionalización

Muchas gracias por su tiempo amigos.

Características

  • Shoutbox con ajax y akismet
  • Schreikasten está disponible en el servidor SVN de WordPress.
  • Genera código XHTML válido
  • Valida comentarios con akismet
  • Informa al administrador por email
  • Sistema de respuesta
  • Sistema de seguimiento a comentarios
  • Almacena comentarios de usuarios registrados
  • Permite definir si solo usuarios registrados pueden enviar comentarios
  • Emplea la restricción de WordPress para definir si todo comentario requerirá de un correo electrónico y si debe o no ser revisado antes de su publicación
  • Emplea datos en COOKIES del usuario
  • Administrador de bloqueo de computadores
  • Integrado a Gravatar
  • Archivo de estilo propio

218 comentarios para “Schreikasten – Plugin para WordPress”

  1. Segia dice:

    My Spanish is not too good, so excuse me for saying this in English. Anyway, the plugin is really good, thanks a lot! I would like a setting where I can set 1/2/3/4 shouts per page, now the minimum is 5.

    Again, thanks!

    • sebaxtian dice:

      Hi Segia and thanks for use Schreikasten.

      I put this limit because I thought nobody would ask for something like that. If you know how to program php you can modify it in the template sk_widgetconfig. The next version would let to write any number.

  2. Segia dice:

    I thought 5 was pretty good, but apparently my visitors enjoy lengthy shouts. ;) I’m not much with PHP, I’ll just patiently wait for the next version. Thanks for the quick response and I’ll be sure to look out for your plugins. :)

  3. Segia dice:

    Due to hosting issues my blog has been out all day, so I wasn’t able to test it out until now. It works like a charm.

    Thanks a lot, that was the best ‘service’ I’ve seen so far. I’ll keep checking for bugs and do anything I can to support this plugin!

    Kind regards,

    Segia

    • sebaxtian dice:

      Hi Segia.

      I have noticed your shoutbox isn’t working. It seems the situation is in the ‘nonce system’ Can you help me with this? Send me your SK and WP version numbers and i’ll replicate this configuration at home.

      Thanks.

  4. Kai dice:

    Hi there,

    I really like Schreikasten, but I’d like to insert it directly into PHP. I can’t use the widget, because all of my other stuff in my sidebar aren’t widgets.

    Which function calls Schreikasten directly?

    Hope you understand my bad english.

    Best regards,
    Kai

  5. faiz dice:

    how to disable required email?

  6. Karim Aziz dice:

    Hello Sebaxtian,

    The number per characters per shout is very small and limited, is there a way I can increase the number of permitted characters per message?

    Thank you,
    Karim Aziz
    http://www.karimaziz.net

  7. Karim Aziz dice:

    Also just wanted to tell you, thanks for your great work and quick answer, it is by far the best Shoutbox plugin I found around :)

    • sebaxtian dice:

      Thanks Karim.

      I’m doing my best to create an useful plugin, and users with great ideas help a lot.

      Best regards.

    • sebaxtian dice:

      Hi Karim, is Sebaxtian the programmer of Schreikasten.

      I see you try to write greek letters in a shout and can’t get them… all you get where question marks.

      Well, since version 0.11.14 (I guess) SK use UTF8 in the database. Would you try to write the Bibble passage again and see if it works?

      Thanks.

  8. Segia dice:

    Wow, you noticed before I did! Anyway, I was using the previous version of Schreikasten on WordPress 2.9. I updated the plugin and it works fine now :-)

    Thanks a lot anyway, though!

  9. Segia dice:

    You’re right, apparently it shows up when you are not logged in, but works fine when you are. I’ll be on MSN Wednesday evening, if that’s ok? Or we could just do it via e-mail.

  10. Leo dice:

    Hi,

    I would like to ask you for a way to get a smaller text box for Alias and EMail. With current size, it is broken my layout, in single page, not the home page.

    And, if possible, put the submit button up and dont in right side of message “Logged in….”

    By the way, in the future, can you move all words for the po file for easy translation ?

    Thanks and excuse me my bad english.

    • sebaxtian dice:

      Hi Leo.

      To change the size of the text box copy the file schreikasten.css into your theme directory and edit the input.sk-text to fit your theme.

      With the current layout there is no way you can put the button over the message, but i think i would try to create a new layout.

      The PO files has all the words as far as I know. Wich word isn’t there? Did you crate a translation file?

      Tnx.

    • sebaxtian dice:

      Hi Leo.

      The new release has a new layout in the widget. Copy the css file to your theme and search for the commented part to put the button over the text.

      The ‘forgotten’ texts are now in the PO file. Can you help me to translate it into PO?

      Thanks.

  11. ahue dice:

    Hey,
    I just translated the plugin to German. You can download the language files here:
    http://dl.dropbox.com/u/601844/2010-01-30-wp-schreikasten-de_DE.rar
    Maybe there are some mistakes in it but if I find some I’ll provied you with a new version.
    Greets,
    Andreas – btw: real nice plugin!!!

  12. mateo dice:

    Hi Sebastian, your plugin looks great but for a reason I cannot understand, the WordPress Key I type (and that I use for Akismet) in the field for configuration is not accepted (I have no error message, though). Is there a way to bypass this in the source in order to integrate manually the wordpress key as a variable ?

    thanks !

  13. Pulsuz Sayt dice:

    Hi,
    Thanks, that is great plugin for my WPMU
    I think there is little error on backend while doing bulk action without any selection:
    Warning: Invalid argument supplied for foreach() in /home/XXXXX/public_html/wp-content/plugins/schreikasten/schreikasten.php on line 1244

    Thank you very much :)

    • Pulsuz Sayt dice:

      Also how to make it to be UTF8 compatable?
      İ use Azerbaijani language and ğ,ı,ə,ş umlauts not showing.

      Thanks

    • sebaxtian dice:

      Hi Pulsuz, thanks for your bug report. I’ll check it today.

      About your second point: Spanish has special chars too and SK was developed to show those characters. It is a UTF8 compliant plugin.

      I have send you a reply with special characters. Check it.

      Can you activate SK in your site to see this situation?

      Thanks

    • sebaxtian dice:

      I used the list of characters you send (ğ,ı,ə,ş) and you are right, there is a problem. I’ll check it today.

  14. Joe dice:

    Hi,
    Great plugin! I have a web page that allows user to select between dark/light. When they select dark, they can’t see the username and date/time from any other shout. When they select light you can see it. I put the schreikasten.css in my theme folder. I think I would just like to change the color to a permanent green maybe. What do you think?

    • sebaxtian dice:

      Hi Joe.

      Search for the .sk-userdata-user class inside your schreikasten.css and delete the background-color line, or change it to a color that fits in your theme.

      Thanks for using SK.

  15. Pulsuz Sayt dice:

    Hi,
    sorry i have make too much trouble. I have another problem and that is directly related to Woredpres MU. I use default sidebar widget code like:
    ‘My Categories’ ));

    update_blog_option($blog_id, “sidebars_widgets”,
    array(“sidebar-1″ => array(“pages”,”categories”, “schreikasten”),
    “sidebar-2″ => array(“wp_sidebarlogin”, “calendar”, “archives”, “recent-posts”)
    ));
    }
    add_action(‘wpmu_new_blog’, ‘default_widgets’);
    ?>

    This code assigns these default widgets to all newly created blog in my site and i added your plugin as default to this code. I got some problem about title of this plugin and some warning at the end of widget. Still created widget shows this errors but while i click save button of widget through backend all errors gone away. I think this trouble is because of this code in schreikasten.php :
    function sk_widget($args) {
    extract($args);
    $options = get_option(‘widget_sk’);
    $title = $options['title'];
    echo $before_widget . $before_title . $title . $after_title;
    sk_shoutbox();
    echo $after_widget;
    }

    As i understand this requires title for widget. Also you can see my test WPMU domain and i test all my plugins there before use it:
    http://vsayt.saytda.co.tv
    You can also register there.

    Please help me, i also translated it into Azerbaijani language, if you want i can give it.

    • sebaxtian dice:

      The good news is it works now with AZ. Write something in AZ and add the translation, please.

      I’ll check the new bug and try to release in 2 hours.

      Thanks.

    • sebaxtian dice:

      About this new bug, i have a question first. Did you activate the plugin or just add it to the sidebar? Maybe it is working without the needed settings.

      Call the sk_activate() function before create the sidebars. Maybe you have to include the schreikasten.php.

      Tell me how it goes.

    • sebaxtian dice:

      And off course, send me the AZ translation. I’ll put it in the new release and create the links to your page.

  16. Pulsuz Sayt dice:

    Thanks, Translation is here:
    http://rapidshare.com/files/347581767/sk-az_AZ.zip
    And thanks for link :) also language could be written as “azerbaijan” on wordpress plugin page and my name is turkel. “Pulsuz sayt” is the slogan of site :)

    Also i couldn`t make default widget. :( I also use plugin to activate the default widget plugins during registration process. “plugin comander” activates all default plugins on setup process. After auto activation there is no plugin title and seems the default settings is also not sets automatically, after pressing save button on widgets it is normalizes. I think something need to set on default widget code, during registration seems plugin properly activates.

    • sebaxtian dice:

      Hi Turkel :)

      My pleasure to link to contributor’s pages. Check if the corrections are ok. Write something in azerbaijan in the shoutbox with translation to see it working.

      About how to put it as a default widget, try with this code, and put it before the function update_blog_option();

      require_once(‘path_to_schreikasten.php’);
      sk_activate();
      $options = array(‘title’=>”, ‘registered’=>false, ‘avatar’=>true, ‘replies’=>false, ‘alert_about_emails’=>true, ‘items’=>’5′, ‘refresh’=>0, ‘bl_days’=>’7′, ‘bl_maxpending’=>’2′, ‘announce’=>’1′, ‘requiremail’=>’1′, ‘maxchars’=>’225′);
      update_option(‘widget_sk’, $options);

      Tell me how it goes.

    • Pulsuz Sayt dice:

      All azerbaijani umlauts are works, then would be better to replace “azerbaijan” with “azerbaijani” as sentence is about language translation on plugin page and Azerbaijan is a name of country, “azerbaijani” is its language. (sorry it is my fault)

      Thank you very much that code worked :) But i got error on main frontpage, sub blogs works perfectly with all default widgets ex: http://demo.saytda.co.tv/

      And error code on from frontpage: Fatal error: Call to undefined function wp_get_current_user() in /home/trecords/public_html/wp-includes/capabilities.php on line 926
      That is because of default widget code. There is also a problem happens on activating this plugin while this code is on, but that is not necessary.
      Please, can you check where is the mistake there.
      Thank you very much.

    • sebaxtian dice:

      Try putting an if sentence before the require_once

      if(get_option(‘sk_db_version’)) { … }

    • Pulsuz Sayt dice:

      Everything 100% works :-)
      Thank you for all of your work

    • sebaxtian dice:

      I made a mistake there, it has to be

      if(!get_option(’sk_db_version’)) { … }

      because the idea is to create the config data if there isn’t a previous configuration… check again with this change.

      Sorry, my mistake.

    • Pulsuz Sayt dice:

      So last code not worked as default widget, but it is possible to deactivate plugin now, also i got main frontpage error:
      wp_get_current_user() in /home/trecords/public_html/wp-includes/capabilities.php on line 926

      First one works good but i can`t deactivate plugin, deactivates but still show plugin settings and widget.
      Is it possible to make (get_option(’sk_db_version’)) code to work only on blog setup?

    • sebaxtian dice:

      Turkel, mail me the files where those scripts are. I’ll check it.

  17. fher98 dice:

    H0la…

    Quiero poner tu chat dentro de una pagina… no widgetizado en la barra. En el readme encontre __sk\_shoutbox()__… pero la verdad no me ayudo mucho.

    • fher98 dice:

      Por cierto, gracias por la ayuda que me puedas brindar ;-)

    • sebaxtian dice:

      Hola Fher.

      Todos los caracteres extras que tiene la función los puse para que en la página de WordPress saliera en negrilla.

      El verdadero nombre de la función es sk_shoutbox();

      Trata con esa y me cuentas.

      • fher98 dice:

        Es que eso hago pongo la funcion, pero me despliega dentro de un text box:

        Loged in as El Jefe Log out.

      • fher98 dice:

        Ok, te trate de responder pero como que no paso por todo el html que iba.

        Ya he puesto la funcion en una pagina, pero lo que hace es meter dentro de un textbox todo el codigo del chat y luego el resto del contenido de mi pagina.

        Es decir, luego del chatbox ya no muestra nada mas en mi sitio mas que el css.

    • sebaxtian dice:

      Pásame el URL de la página, o envíame al correo un snapshoot del problema. La página que sale en tus comentarios se ve bien. ¿Es esa?

      Te prometo que lo miraré en la noche.

        • sebaxtian dice:

          Fher, la nueva versión (0.11.16) tiene un mecanismo para activar seguimiento por feed, una idea que leí en tu chat.

          ¿Te sigue poniendo problemas o ya se solucionó todo?

        • fher98 dice:

          Ni enterado que habia nueva version. Pues es que si lo incluyo en el side bar, todo bien. Pero dentro de su propia pagina con la funcion.. es que me sale el problema.

        • sebaxtian dice:

          Ahm, es que precisamente en el README dice que no se pueden tener dos shoutbox, sea uno en una página y el otro en el sidebar… bueno, esa restricción era para otros tiempos… ya entiendo dónde está el problema.. Voy a trabajar en ese bug hoy por la noche, si la peste me deja ;-)

        • fher98 dice:

          Si lo lei, pero como no me funciono en la pagina y necesitaba del chat entonces lo puse en la barra.

          Y es que la funcionalidad de que esta integrado con los usuarios de wp es lo que andaba buscando.

        • sebaxtian dice:

          Trata quitándolo ya de la barra lateral. Ya la configuración está almacenada.

          Pero antes mira el feed y lo agregas a la página en cuestión.

        • fher98 dice:

          Pues lo acabo de quitar del widget y nada. Por cierto, en Plugins >> configuracion no me parece la opcion del feed o donde esta?

        • sebaxtian dice:

          Está en la configuración del widget. Jejejeje.

        • sebaxtian dice:

          Hola Fher

          Te tengo una buena noticia. La nueva versión de SK puede que te ayude mucho.

          Ahora puedes agregar un chatbox a páginas o posts con la etiqueta [sk-shoutbox], y puedes definir una página a donde llegarán las solicitudes de los feed, en tu caso sería agregar la siguente línea de código al archivo wp-config.php

          define(‘SK_CHAT’,'http://www.chapincraft.com/chat/’);

          Mira el FAQ de SK para ver qué más cambió.

          Cuéntame que tal lo ves ahora.

      • fher98 dice:

        Quedo buenisimo, muchas gracias. Pero con lo de editar el archivo config, no mucha gente ha de tener acceso o conocimietos para hacerlo.

        • sebaxtian dice:

          Hola Fher, gracias por reportarme el bug.

          Recuerda que SK no está diseñado para ser un chat, así que estas primeas versiones con la solución en el config son apenas para desarrolladores y ‘beta-testers’ ;-) y seguro que con el paso de las vertsiones será amigable.

          De hecho hoy voy a volverlo multiwidget…. no veo por qué sería necesario pero alguien preguntó si podría hacerlo….

      • fher98 dice:

        Por cierto, los reply ya no sirven.

  18. fher98 dice:

    Bueno en ese caso, si estas abierto a recomendaciones, se podria hacer que los autores o administardores les apareciera con color de letra configurable, para que resalte si un admin escribe.

    Y quizas un reply que en lugar de ser publico tambien haya privados?

    Por cierto, agrege el define al archivo y no veo el rss.

    • sebaxtian dice:

      Hola Fher.

      Lo que el define hace es modificar el feed para que los enlaces en los items lleguen a la página correcta.

      Te toca agregar manualmente el enlace a la fuente.

      En tu caso es
      http://www.chapincraft.com/wp-content/plugins/schreikasten/ajax/feed.php

    • sebaxtian dice:

      Sobre si se puede hacer que resalten los comentarios de los administradores, lo que podemos hacer es que desde el CSS puedas definir un color específico para los usuarios del grupo administrador, del grupo editor y del grupo de simples mortales. No será amigable para el usuario, pero tampoco hará que sea complejo en su administración. SK es un simple shoutbox así que ponerle muchas arandelas tampoco seria bueno para futuros ciclos de desarrollo del plugin.

      Sobre las respuesta privadas, mi política con SK es que sea un foro abierto para preguntas al propietario del sitio, y que dado el caso en que un usuario se esté pasando de pesado puedas bloquear el PC desde donde escribe. La posibilidad de respuesta la puse para que llegara directamente a quien hacía la pregunta, pero esta capacidad se convirtió rápido en un chat y ya varias páginas lo están usando con este fin.

      No creo posible hacer los mensajes privados porque las personas se escudarían en ese mecanismo para escribir cualquier cosa a cualquier persona, mientras que como está ahora siempre tendrán algo de decoro al escribir.

      Yo tomé por costumbre que si dos personas se escriben recurrentemente en el ShoutBox en un tono amigable, les envío un mensaje a los dos diciéndoles que los puedo poner en contacto enviando a cada uno el correo del otro. Luego elimino el hilo de charla entre ellos.

      Recurda que SK es un shoutbox, pero que por sus características se puede usar como chat, y jamás tratará de ser un chat completo.

    • sebaxtian dice:

      Hola Fher.

      Nueva versión de SK con dos tags para poner en las páginas, y CSS nuevo con clases para cambiar los colores de los comentarios de administradores, autores, editores y simples mortales.

      Mira el FAQ y me cuentas cómo te va.

  19. Joachim dice:

    this Plugin is very cool. We use it for Kids in the 4 th class und they love it. It is easy and its working fine. Only changing the parameters, e.g. rising the amount of showed entries ist, is not so easy because we use it with a shortcut within a page. so I have to add the widget, change the parameters, save the widget and then delete it quickly. but it works ;-) Maybe using the Parameterpage at the dashboard would make it easier.

    thank you for this plugin.

    • sebaxtian dice:

      Hi Joachim

      Your comment touched my heart. Thanks!

      I have some ideas for the next release, but I’m working in other project now, the one that pay the bills :-)

      All I can say now is SK would have multiwidget capabilities and an Icon in the editor to add chats in pages and posts, and the shortcut will determine the parameters.

      Say ‘Hola niños, y gracias desde Colombia’ (‘Hi kids, and thanks from Colombia’) to your class.

    • sebaxtian dice:

      Hi Joachim.

      You wrote some time back to tell me your history with the kids in the 4th class. In this message you told me about some usability isues. Well, I can tell you Schreikasten has been redesigned and your observations are now parte of the new design. See the readme to know about the new features.

      If you still use the plugin with the kids, I want to see your page to create a post celebrating the 1.0 release of Schreikasten.

      Big regards.

  20. punzer dice:

    it gets error in mystique theme

  21. punzer dice:

    ok it have been fixed,thx a lot

  22. Eddie dice:

    Nice plugin! Is there any easy way to delete old entries? Maybe you can make an option that deletes messages older then .. days (e.g. 7 days)

    • sebaxtian dice:

      Hi Eddi and thanks.

      I want Schreikasten to fit inside WordPress politics, and there isn’t a way to delete comments older than N days in WordPress.

      If you know about plugin to do this (with WordPress comments), tell me where to find it and I will try to use it with SK comments.

  23. Jim dice:

    Hey sebaxtian, great plugin man but i got a little question:

    How can i change the background of the Shoutbox (where the ppl write their shouts/comments). I mean i got a completely black theme and the editbox of the plugin is huge-white!

    I’d like to make black backgrounds for the editboxes: Alias/Email/Message. Thanks in advance, Jim.

    • sebaxtian dice:

      Hi Jim and thanks for use SK.

      Search for schreikasten.css, copy this file to your theme directory and edit it as you require. If you don’t know much about CSS I can send you the needed lines to modify it, but to do this I requrie a link where I can see the situation you have described.

      Big regards.

  24. Jim dice:

    sebaxtian, thanks for the quick reply. I don’t know much but I got it working using a color palette via the Internet and now it’s perfect!

    Thanks again and for once more, great plugin! :)

  25. dragonnegro dice:

    En mi sitio tengo algunos problemas con la codificacion. Mi wordpress funciona bajo UTF-8, sin embargo tuve que usar utf8_decode para $text_comment, y aun asi no se ve bien hasta el primer refresh. (Minimo 5 seg)

    • sebaxtian dice:

      Hola dragonnegro.

      Te habrás dado cuenta que hice una prueba en tu sitio, y que en la prueba tanto el alias como el texto tienen (tenían) tilde. El alias presentaba los caracteres especiales bien en un principio y cuando el shoutbox se recargaba aparecían los rombos negros. Por el contrario con el texto inicialmente aparecía los rombos negros y luego al recargarse aparecía bien el texto, que es según me dices lo que logras con la función de formato.

      Según te entendí en el hilo inicial la función para formatear el texto la pusiste para el texto, pero no para el alias. ¿Podrías decirme dónde está exactamente esa función? O si puedes enviarme una copia del plugin como respuesta al correo que te debe llegar informando de este comentario.

      Un último detalle, ¿podrías eliminar la línea blanca al inicio de tu theme? El tag de apertura debe ser por estandar lo primero en la página. Eso lo modificas en el header.php de tu tema personal. No se me haría raro que eso solucionara este bug ;-)

      Espero poder ayudarte a encontrar una pronta solución.

      • dragonnegro dice:

        Hola Sebaxtian, te envie copia del php del plugin a tu casilla de Gmail. Te agradezco muchisimo la ayuda. Elimine el espacio en blanco del header, y luego comente la linea que habia agregado, y sigue todo igual.

        Desde ya muchisimas gracias por adelantado.

    • sebaxtian dice:

      Hola Dragonnegro.

      Una pregunta ¿Agregaste la función de formato a los alias? Es para saber si hubo un cambio reciente.

    • sebaxtian dice:

      ¿Podrías hacer unas pruebas por mi? Comenta las partes que has modificado del código de SK, cambias al tema por defecto y miras si se sigue presentando el problema.

    • sebaxtian dice:

      ¿Tienes forma de crear un dump de la tabla wp_schreikasten? Solo necesito la estructura, no los datos.

    • sebaxtian dice:

      Has la siguiente prueba. Ve a la sección de plugins en WP y desactiva Schreikasten, luego lo vuelves a reactivar. Me avisas una vez hayas hecho esto.

    • sebaxtian dice:

      Vuelve a hacer el dump de la estructura de la tabla a ver si ya está usando la nueva estructura. Y dime si está con la función de formateo en UTF-8.

      ¿Y cuál versión estás usando?

      • dragonnegro dice:

        Hola, el dump me parece que sigue siendo igual. Por otro lado, no cambio la estructura me parece.

        La funcion de formateo esta desactivada, estoy usando la ultima version. (Estaba actualizada automaticamente, pero la borre, y volvi a subir una nueva bajada del repositorio de plugins de wordpress y esta sin tocar)

  26. [...] This post was mentioned on Twitter by AZLINA BINTI ZABHA. AZLINA BINTI ZABHA said: http://www.sebaxtian.com/acerca-de/schreikasten The best shoutbox plugin ever for wordpress. :) [...]

  27. admin dice:

    so i do not speak Spanish. but there is my problem,

    i am running WP 2.9.2 with WP-United and PHPBB3 the problem i am having is that when i send a shout all i see is SENDING and that is all there is. is there something i am missing cause i would like to get this up and running.

  28. admin dice:

    well ty for your help. this is the only shoutbox i can find that works and having it to auto approve is a key feature i am needing, i guess i will remove until it is fixed, and figure something else out.

    once again thank you for your help.

  29. Hola Sebaxtian, al actualizar a la nueva versión ha desaparecido el problema con los caracteres con acento y similares. Excelente trabajo, felicitaciones y muchas gracias.

    Un abrazo.

    • sebaxtian dice:

      Que buena noticia. Además te informo que puedes eliminar Minimax porque esta nueva versión de SK hace los llamados AJAX usando las librerías de WP.

      Pero nada es perfecto :-( Apareció un nuevo bug en los sitios que usan temporizador. Cuando se está en medio de un proceso de refresco (temporizador) y se cambia de página sin que antes termine el refresco, el indicador se detendrá antes de pasar a la nueva página, lo que es un poco desconcertante desde la perspectiva de usuario.

      Trabajaré en ese bug hoy y te tendré al tanto.

      • Hola. Noticias:

        Si desactivo minimax, no esta funcionando, borre cache local, borre cache del plugin correspondiente, y recargue varias veces y aun asi no funciona desactivando minimax.

        Sobre el error de refresco, no termino de entender bien a que te referis. ¿Es acaso a los refrescos de redireccion, como un location en php o una redireccion meta?

    • sebaxtian dice:

      El objetivo es dejar de usar Minimax. Revisaré lo que me dices.

      Sobre le temporizador, que es la función que refresca la pantalla de chat, hay un refresco incómodo que hace que se vean cosas raras. Trataré de solucionarlo localmente para una próxima versión.

      Revisa también lo del feed que indica una usuaria de tu página. Supongo que con agregar encoding=”utf-8″ a la línea 96 dentro de schreikasten/libs/Simple… se soluciona.

  30. Hola. Probe lo que me dijiste pero causaba un error.

    Funciono mejor agregando la linea:
    header(‘Content-type: text/html; charset=utf-8′);

    en el archivo feed.php dentro de /ajax/

    Saludos. Y como siempre, gracias por todo.

    • sebaxtian dice:

      La nueva versión implementa tu recomendación y soluciona la última dependencia (eso creo) con mínimax.

      Solo queda un último bug con el temporizador pero de momento puede esperar.

      Han sido de gran ayuda tus recomendaciones y tu tiempo. Espero puedas seguir ayudándome con los detalles que faltan para publicar la versión 1.0 en unas semanas.

      Gracias.

      • dragonnegro dice:

        Con todo gusto te ayudare en lo que necesites.

      • dragonnegro dice:

        Revisando la seccion de “Plugin -> Configuracion de Schreikasten” encontre el siguiente error:

        ——-
        You have to install minimax 0.0 in order for this plugin to work.

        Necesita una llave API de Akismet para habilitar el filtro antispam.
        ——-

        Sigue buscando a minimax, y por otro lado tiene configurada una clave API de Akismet, pero no recuerdo si la pide de todos modos aun cuando este configurada.ç

        • sebaxtian dice:

          Hola Dragonnegro y gracias por el reporte. Voy a hacer los cambios requeridos inmediatamente porque es un Bug incómodo para los nuevos usuarios.

          Aun hay un Bug en cuanto al temporizador (refresco de la charla) pero solo se presenta cuando se trabaja con una conección muy lenta y se sobreponen los llamados, así que lo dejo para el próximo fin de semana porque el objetivo inmediato es eliminar el uso de Minimax en otro plugin que hace uso extensivo de él.

  31. dragonnegro dice:

    Hola Sebaxtian,
    vengo a dejarte algunas cuestiones para que pienses xD:

    1) ¿Se podria hacer que se pudiera poner un titulo vacio? O un checkbox del estilo “sin titulo”, ya que en muchos casos no se utiliza y es necesario editar los archivos con las molestias obvias al actualizar el plugin. Es solo una idea.

    2) ¿Seria posible tener la opcion de eliminar comentarios sin necesidad de que al poner eliminar en el widget, se vaya a otra pagina esperando confimacion? O al menos tener la opcion de al dar en “Eliminar” que se borre sin confirmacion desde el widget mismo?

    Gracias por la paciencia.

    Saludos.

    • sebaxtian dice:

      Hola dragonnegro.

      1) Tal vez no había pensado en esta situación porque por lo general le pongo título a los widgets. Lo tendré en cuenta para los casos en que no se tenga título. ¿Pero qué hacer si pide poner el ícono RSS y no haber título?

      2) De momento voy a terminar de pulir SK con la nueva versión de Ajax, hasta sentirme cómodo con la nueva implementación. Pero precisamente esta opción está dentro los siguientes cambios.

      • dragonnegro dice:

        Excelente. Por cierto, una cosa mas:
        ¿seria posible evitar el filtrado de los comentarios de los administradores? Escribiendo en mi propio shoutbox mas de una ves me ha mandado mi comentario a spam y tengo que ir y publicarlo manualmente.

        Saludos.

        • sebaxtian dice:

          ¿Por qué te filtra un mensaje tuyo como spam en tu sitio? ¿Tienes idea de por qué lo hace?

        • sebaxtian dice:

          ¿Podrías ayudarme con algo? He publicado una versión RC. Agregué el asunto del título (que espero te ayude) y modifiqué algunos aspectos del script para solucionar el bug que te decía se presenta en conexiones muy lentas (de esas revisiones me encargo yo con un bloqueador de velocidad de ancho de banda).

          ¿Podrías ayudarme poniendo a prueba el plugin? Si todo sale bien esta sería la versión 1.0. Dos semanas después iniciaría el ciclo para la 1.1 que añadiría los procesos de administrador vía ajax (apara eliminar los formularios de aceptación o eliminación).

          El bug que indicas que pone como spam los posts de administradores, te recomendaría primero mirar en la configuración general de WP, en la sección de comentarios, si tienes algún límite que lleve tus comentarios a la lista de spam.

          Un saludo y de antemano gracias por toda tu ayuda.

        • dragonnegro dice:

          Hola Sebaxtian, ya estoy probando Schreikasten.

          Lo del titulo obviamente me es muy util para no tener que andar editando manualmente el plugin.

          Note un error en la configuracion del Widget, sigue apareciendo este mensaje:

          ‘You have to install minimax 0.0 in order for this plugin to work.’

          Igual, nada grave considerando que es una RC.

  32. Gerd Eibach dice:

    Hello Sebaxtian
    sorry, for my writing in englisch, but i dont speak any word in spanish.
    First i want to thank you for your easy to handle wp plugin. I really enjoy it very much, but i have a problem. Maybe you can help me easily, but i’m a little bit stuck in it.
    On my homepage i have a forum installed, using a domain alias forum.homepage.de . I am using two different sidebars. In the domainalias i cant use the schreikasten widget. it appears and everything seams perfect, but i cant post. The new text stays in the [send] stade and a random avatar is shown. It seems, as if it would wait for being accepted. when you write the next text, the first disappears and the next stays in the same state.
    Sorry, maybe this is more a personal message or a question for support, but i have no idea how to fix it. If you need more input, contact me or visit my homepage. So long and thanx for all the fish!

    • sebaxtian dice:

      Hi Gerardand thanks for using SK. Kein Problem, ich spreche und verstehe Englisch. Tut mir leid, ich kann nicht sagen das Gleiche von meinem Deutsch. Ich habe vergessen was ich gelernt habe.

      About your situation with SK, it uses AJAX technology and because of security reasons AJAX gets data only from the same host.domain combination. So, as your forum is in a different host but in the same domain, SK can’t read or write data to the database.

      I will check how to solve this special situation. Maybe with the AJAX library i’m using now there is a way to fix it.

      May the force be with you.

      • dragonnegro dice:

        Hola. Segun entendi el alias o subdominio que usa para el foro en realidad no es mas que una “redireccion” para su http://www.dominio.de/forum, ¿no es posible que funcione si de su wordpress quitara la www. de la configuracion?

        Es solo una suposicion.

        • sebaxtian dice:

          Si mal no recuerdo en algún momento alguien tuvo un problema similar y la solución fue precisamente poner el www delante del dominio en la configuración, que era lo que faltaba. Voy a probar esta idea localmente pero creo que genera problemas. AJAX es muy quisquilloso con ese detalle de seguridad.

  33. Gerd Eibach dice:

    Some informations, that could help solving my problem.
    - I am still using WordPress 2.9.2.
    - Using two sidebars, sidebar1.php and sidebar2.php.
    - There are no really subdomains, just domainaliases.
    - In the main page everything is fine. Schreikasten works perfect.
    - If I use forum.homepage.de all the old Messages stay visible, but i can’t post.

    • sebaxtian dice:

      New release with an internal hack to ‘masquerade’ the AJAX functions and use the ‘guessed’ hostname instead the configured one.

      Tell me how it goes so far.

      And congrats because of the Fußball match.

      • Gerd Eibach dice:

        Incredible! Everything is fine with the new Version! I allready figured out, that there is a common problem with Ajax and subdomains and tried to fix it, but my knowledge of php is poor. Thanks a lot for your amazing work. Flash, the fastest man alive! I never had a faster support before. Thank you very much!
        Thanks for the congratulations for the footballgame, but it wasn’t really good, except the goal.
        Übrigens ist dein Deutsch überhaupt nicht schlech. Besser als mein englisch ;-)

        • Gerd Eibach dice:

          There is a little problem with the Spam function now. Every post is spammed, until i have accepted the first post of the user. Than everything works fine. Is there a possibility of whitelisting all registered users?

      • sebaxtian dice:

        I think the situation with the spam comes from the fact that the messages arrived from one domain but declares other when asking to akismet. I should check it today.

        But, as your forum requires the user to be logged, I think you can avoid the use of the spam filter. Just delete your spam API key, and set the ‘messages should be moderated’ item in the widget to ‘no’. Remember SK uses the general configuration. Maybe you have set the ‘users require one comment to be accepted to publish’ in the general configuration / comments.

  34. Gerd Eibach dice:

    It depends on the IP Adress. Now I am at home and wanted to tipe a new message – spam. One verified and it works again.
    I deleted the API Key, but spam still works. I had allready changed the moderation mode to no. I have tested some different login names.

  35. Gerd Eibach dice:

    …the point is, with the deleted api key, EVERY new posting ends up in the spam folder! I don’t understand this.

    • Gerd Eibach dice:

      Everything works! You are the greatest. It was yust a problem in my akismet installation. Thanks!
      If you need help in something i know better, ask me! You have my email.

      • sebaxtian dice:

        Great to hear it works.

        At this time do you use akismet or did you disabled the spam filter? Just to know if there is still a bug to catch.

        You’re welcome. Any other idea don’t hesitate to ask.

  36. Gerd Eibach dice:

    I did try several constellations. After installing original akismet in addition to your plugin everything is fine. I thought, akismet is allready integrated in WP, but there seems to be a difference, if you really install the plugin.
    Now i have the spam filter running.
    The widget configuration is:
    Avatar “on”
    only registered users “yes”
    moderation “no”
    email needed “no”
    It was really an akismet problem. Because the same configuration did not work without the plugin.
    Thanks Gerd

  37. Gerd Eibach dice:

    Today I updated to WP 3.0 and everything is fine! So the plugin is absolutely compatible up to 3.0.
    Thanks again
    Gerd

    • sebaxtian dice:

      Good news to read it works it works in your 3.0 envirnonment!

      Can you help me with someting please? I’m testing a new release, just two new features (for another user SK has) and some new elements in the timer script (for this other user also). But if you can help me to beta test this, you would help me a lot.

      If everything goes ok with this release candidate, it would become the 1.0 release.

  38. Gerd Eibach dice:

    Shure i will test it! Maybe this weekend I’m not spending to much time at the computer, but it will be enough for testing. Send me the plugin as zip or tell me where to download it.

  39. Gerd Eibach dice:

    Everything is fine. I can`t see any differences. In my opinion your release candidate seems to be ready for 1.0. Nice job! Gerd

  40. fher98 dice:

    Sebax,

    Saludos nuevamente, no si tiene la opcion de agregarle un nofollow a los links que los usuarios ya sea registrados o no publican en el shoutbox.

    • sebaxtian dice:

      Hola Fher. Tiempo sin verte.

      ¿Podrías explicarme un poco mejor la idea? No la he entendido del todo.

      • fher98 dice:

        Pues mira vos por aca visitando.

        Ahora te cuento, sucede que hay veces que hay que abrir el shoutbox a cualquiera que ponga su correo, con el fin de que haya mas comunicacion.

        Pero muchas veces al akismet se le pasa uno que otro spam, y en su mayoria son links a sitios poco recomendables.

        Entonces si fuera posible que al tag href se le agregara el nofollow a todo link posteado en el schreikasten.

        gracias

  41. Job dice:

    It’s magic ! Thanks a lot for this wonderful work !
    Just report one bug : if my ‘Nombre’ has an apostrophe (apóstrofo), the plugin cut my name in the shoutbox.
    Exemple :
    “L’ignare” become “L” in the shoutbox.
    Thousand thanks.

  42. kg dice:

    Upgraded from WP 2.8 to 3.0, and then installed plugin for first time. Added a shout, added another, deleted latest shout, error. I cannot navigate to …/edit-comments.php?page=skmanage

    • sebaxtian dice:

      Hi Kg.

      I have followed your report, but I can’t duplicate this error. Do you still have this situtation? If so, can you please send me a link where I can see this error?

      • kg dice:

        Sorry, i cannot send a link, the issue is visible only on my dev server. I upgraded to new release today and the issue still exists. Here is error output from my debug library…

        “Parse error: parse error in \public_html\wp-content\plugins\schreikasten\templates\sk_manage.php on line 204″

        when trying to navigate to that page, i tried to find the cause for you but cannot see why either – hmm. I guess we have to see if anyone else sees this issue or whether it is isolated.

        • sebaxtian dice:

          The line 204 closes the Spam Service connection, so I have an idea where your bug is. Go to Settings / Schreikasten and delete the Akismet API key and write a new comments. If it works, then write again the Askismet key and write a new comment.

          Tell me how it goes now.

  43. kg dice:

    I don’t have a key. I tried “123″, result=invalid key, added a comment, still failed. I upgraded today to 0.13.93.

  44. Gerd Eibach dice:

    Since the newest update I get the following error message:

    Warning: Division by zero in /var/www/vhosts/comicdealer.de/httpdocs/wp-content/plugins/schreikasten/schreikasten.php on line 384

  45. Gerd Eibach dice:

    The default settings of the new version seem to overwrite the manually changed ones. After setting the refresh rate of the widget away from “never” everything is fine.

    • sebaxtian dice:

      Hi Gerd. Thanks for reporting this bug.

      I have changed SK’s widget system, now you can have multiple SK widgets, but this started some bugs because of the update system.

      This is the last item in my checklist to the 1.0 release. Keep on reporting any bug you found.

      Big regards.

  46. kg dice:

    Also, have you implemented appropriate anti XSS and anti SQL injection mechanisms before going with 1.0. Tip: mysql_real_escape_string($unescaped_string); is your friend here

    • sebaxtian dice:

      Thanks for the tip. I’ll check it too.

    • sebaxtian dice:

      Akismet isn’t required by SK, just the API Key. The GUI has been modified to clarify this situation.

    • sebaxtian dice:

      About the real_escape function, in this particular case I use the ‘prepare’ method from the class WPDB, and it applies internally the escape_string filter. Thanks for pointing me about this, now I feel more confident about SK’s security.

    • sebaxtian dice:

      The only way I figure to do now is ‘update, deactivate, uninstall and reinstall’. The new release drop the table in the database when you uninstall the plugin.

      About the API Key, it is required only if you want to use the anti spam filter. The new GUI helps you to get an api Key.

      Tell me how it goes now.

  47. gerdM dice:

    hi sebaxtian, first of all, you did a very nice job with schreikasten! i want to ask you something with your newest version. after upgrade to 0.13.103, nobody can shout a message. after a short time, it shows shortly the sendig message, the shout disapears. nothing goes to spam. i cant see the shout anywhere? note, 1 use a nginxproxy in front of my webserver. this setup was also the same before upgrading.

    do you have any idea?

    • sebaxtian dice:

      Hi GerdM.

      Strange things the computers are. Can you please send me a snapshot (or the list) of the configuration you use (Configuration/Schreikasten and Widget/Schreikasten) to duplicate in my test machine? Also, save the configuration again, even without changes, maybe it lost something wile updating.

    • sebaxtian dice:

      I have found the bug. New release coming. Can I ask you to vote for SK into WordPress plugins list?

  48. brianb dice:

    hi there-

    thanks for this great plugin. it works perfectly for me as a place for users to ask questions and get answers.

    the only issue i am having is with the pagination. i set the widget to show only 3 items at a time. it does this, however if i only have 5 items, it still creates a third page in the pagination navigation? and on that 3rd page it’s blank – nothing there.

    i’ve tried changing the number of items to 4 and it still creates a 3rd page.

    can you think of a reason it is always adding a blank page?

    thank you!

  49. gerdM dice:

    hi sebaxtian,

    i´ve voted for sk at wordpress plugin list. now 1 have updated to version 0.13.104. failure still appears. is this your bugfix version?

    thank you, gerd

  50. Gerd Eibach dice:

    Hi Sebaxtian

    maybe there is a problem with your shoutbox making a lot of traffic.
    Since your plugin is the only plugin i have installed, using ajax, all proofs point on your schreikasten. I have extraordinary high traffic. number one ranking is the ajax-admin.php. Maybe i have to solve it myself wrapping the file. Maybe you can solve it. My Traffic has increased from usually 5 to 7 to over 13 GB.
    If you have any comments or solutions, i’ll be lucky :-)

  51. Gerd Eibach dice:

    I have set the refresh rate to 60 seconds. But the traffic is still very high. I’m not really shure if this is really “normal”.
    First thing is that the traffic is to high for only calling the ajax-admin.php. There must be other consequences.
    Second is, that there was a security leak in an earlier version of ajax. Maybe there are still attacs on the file.
    I am working on a solution. I think the wrapper works fine so far…

    • sebaxtian dice:

      Ok, have reverse-enginered some ‘chat box’ (SK was designed as a shoutbox) and found one solution, but cannot implement it until mittwoch.

      Maybe someone is using your AJAX URL to hack your site. Even if you don’t use an AJAX plugin, crackers would use these URL.

      Do you have any reference of those attacks? SK uses WP security filters, so any help with this would be highly appreciated.

    • sebaxtian dice:

      Hello Gerd.

      First step to develop an heuristic into the ‘chat’ situation. Theres no way we can eliminate the calls to ajax-admin.php because it’s the only way to know there is a change. But now by default it returns ‘none’ when there is no change and we do not force the change. This will decrease a lot in the bandwidth. Tell me of any bug yo found because I have to modify a lot of code for this.

      Big regards.

    • sebaxtian dice:

      I have tested the new release against the old release, and these are the results: after 11 minutes, a site with the old release requieres 440KB of data for the asynchronus conections (AJAX), and the new requires 1,61 KB.

      Each conversation in your page requires 16KB, then an usual chat in your page (10 messages) would add 160KB to each visit + 2KB each 11 minutes.

      I think this solve the bandwidth situation. :-)

  52. Chestnut dice:

    I have just made Japanese language files, namely sk-ja.po and sk-ja.mo, based on the previous version of 0.13.108.

    Please download the zipped file from at “http://staff.blog.bng.net/downloads/schreikasten-0.13.108.zip”.

    I hope you will include the files in the next version.

  53. Chestnut dice:

    Hi Sebaxtian,

    My Website is in Japanese as I am a Japanese.
    I run multiple blog sites using WordPress and BuddyPress.

    The site, http://staff.blog.bng.net/, is one of the blog sites which focus on how I have been developing multiple sites. Japanese language files for many plugins are open on the site, and I have sometimes customized plugins in order for them to be compatible with Japanese characters.

    Chestnut is not my real name, of course, and I use this nickname just for foreigners. I use another nickname for Japanese :) When you cite me in your plugin, just use Chestnut as my name along with e-mail, if neccessary.

  54. Chestnut dice:

    Hi Sebaxtian,

    Thank you for your comment on my site and release of new version.
    You just mis-typed my site url, though :)

    My site is http://staff.blog.bng.net, and you forgot the last “t”. But don’t worry, just forget about it, ok!

    Well, I am really glad that you added “nowrap” value.

    Line 2125, which reads “”.__(‘For’, ‘sk’).”:”, will be also needed nowrap, if you do not mind.

    Thank you!

  55. Chestnut dice:

    Sorry that I have written so many times.

    I have just found a bug. Since I cannot see commant management even when I click “Schreikasten” in the “Comment” at admin panel, I looked Apache’s error log.

    It says that line 204 of sk_manage.php produces PHP Parse error.

    I just modified the line as following:

    Before:
    } ?>

    After:
    ?>

    Yes, I just delete “}”, and sk_manage.php seemed to work properly. Please check it out, thank you.

    • sebaxtian dice:

      Oh, don’t worry. I love beta testers.

      Have modified the line 2125 (added nowrap), and fixed your URL.

      About the bug in sk_manage.php, can you please send me an image with your sk/options and your tag [schreikasten:blah,blah,blah], to duplicate your configuration in my local machine?

      Maybe there is something I didn’t tested.

      Kind regards.

  56. Nelson dice:

    Hi
    How can i create a page with Schreikasten? (not sidebar)

  57. Nelson dice:

    Sure, but please request to my mail.

  58. Cesar dice:

    Hola Sebastián,

    Te pregunto una cosita… por que será que no me anda en WP 2.9.2? Me pasa que me aparece el título, un espacio en blanco bastante grand y después el textarea para escribir. Escribo, aparece el loader de ajax arriba del textarea, hace uno o dos segundos la animación pero nunca aparece ningún chat (ningún mensaje). Te pregunto por si habías visto ese problema antes. Si quieres, dime a que dirección te mando el link (privado por el momento) y te lo envío para que lo veas.

    Gracias ;)

    • sebaxtian dice:

      Hola Cesar.

      Esta situación se puede presentar por una de muchas razones. Envíame el link en respuesta a este mensaje (por defecto mi página te enviará un correo de respuesta) para mirar si es un problema de dominio, ajax o un javascript con problemas.

  59. Shareen dice:

    Hi Sebastian… previously when I’m using Wp Wall, all comments or chat will be awarded point within Cubepoints. However, after change to Schreikasten, no point is awarded to user who chat or write within schreikasten.

    Any solutions for me? The Cubepoints member jus giving me this code

    if( function_exists(‘cp_alterPoints’) && is_user_logged_in() ){
    cp_alterPoints(cp_currentUser(), 2);
    }

    but I really did not know where to put it…

Escriba su comentario