{"id":4173,"date":"2010-07-01T13:28:55","date_gmt":"2010-07-01T11:28:55","guid":{"rendered":"http:\/\/www.weweb.cat\/es\/2010\/07\/01\/modul-antispam-silverstripe-mollom\/"},"modified":"2016-12-22T13:41:31","modified_gmt":"2016-12-22T12:41:31","slug":"modulo-antispam-silverstripe-mollom","status":"publish","type":"post","link":"https:\/\/www.weweb.cat\/es\/modulo-antispam-silverstripe-mollom\/","title":{"rendered":"M\u00f3dulo AntiSpam para SilverStripe: Mollom"},"content":{"rendered":"<p>[et_pb_section admin_label=\u00bbsection\u00bb background_image=\u00bbhttp:\/\/www.weweb.cat\/wp-content\/uploads\/2016\/01\/bg-header.jpg\u00bb transparent_background=\u00bboff\u00bb allow_player_pause=\u00bboff\u00bb inner_shadow=\u00bboff\u00bb parallax=\u00bboff\u00bb parallax_method=\u00bboff\u00bb padding_mobile=\u00bboff\u00bb make_fullwidth=\u00bboff\u00bb use_custom_width=\u00bboff\u00bb width_unit=\u00bbon\u00bb make_equal=\u00bboff\u00bb use_custom_gutter=\u00bboff\u00bb gutter_width=\u00bb3&#8243; custom_css_main_element=\u00bbposition:absolute;||top:0;||left:0;||margin-top:0;||margin-left:0;||width:100%;||height:100px;\u00bb][et_pb_row admin_label=\u00bbrow\u00bb][et_pb_column type=\u00bb4_4&#8243;][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section admin_label=\u00bbSection\u00bb fullwidth=\u00bboff\u00bb specialty=\u00bboff\u00bb][et_pb_row admin_label=\u00bbRow\u00bb][et_pb_column type=\u00bb3_4&#8243;][et_pb_text admin_label=\u00bbText\u00bb background_layout=\u00bblight\u00bb text_orientation=\u00bbleft\u00bb use_border_color=\u00bboff\u00bb border_color=\u00bb#ffffff\u00bb border_style=\u00bbsolid\u00bb]<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-4171\" src=\"http:\/\/www.weweb.cat\/wp-content\/uploads\/2010\/07\/mollom2.jpg\" alt=\"Mollom\" width=\"400\" height=\"85\" srcset=\"https:\/\/www.weweb.cat\/wp-content\/uploads\/2010\/07\/mollom2.jpg 400w, https:\/\/www.weweb.cat\/wp-content\/uploads\/2010\/07\/mollom2-300x64.jpg 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>Como sucede con todos los formularios de cualquier p\u00e1gina, tambi\u00e9n llegan comentarios Spam a trav\u00e9s de los formularios para escribir comentarios a las p\u00e1ginas web creadas con el CMS <a title=\"SilverStripe\" href=\"http:\/\/www.nbsp.cat\/es\/2010\/04\/30\/silverstripe-cms\/\" target=\"_blank\"><strong>SilverStripe<\/strong><\/a>. Para solucionar este problema, podemos utilizar los m\u00f3dulos <a title=\"Mollom\" href=\"http:\/\/doc.silverstripe.org\/modules:mollom\" target=\"_blank\"><strong>Mollom<\/strong><\/a> o <strong>Recaptcha<\/strong> que encontramos entre las <a title=\"Extensiones de SilverStripe\" href=\"http:\/\/silverstripe.org\/extending-silverstripe\/\" target=\"_blank\">extensiones<\/a> ofrecidas por <strong>SilverStripe<\/strong>. En nuestro caso hemos utilizado la opci\u00f3n <strong>Mollom<\/strong>, que as la que explicaremos, pero la opci\u00f3n <strong>Recapctha <\/strong>funciona pr\u00e1cticamente del mismo modo. Simplemente escogimos la opci\u00f3n <strong>Mollom <\/strong>porque el texto que tiene que introducir el usuario es m\u00e1s f\u00e1cil de comprender que el texto proporcionado por <strong>Recaptcha<\/strong>.<\/p>\n<p>Para el funcionamiento de este m\u00f3dulo <strong>Mollom<\/strong> es necesario instalar pr\u00e9viamente el m\u00f2dulo <a title=\"Spam Protection\" href=\"http:\/\/doc.silverstripe.org\/modules:spamprotection\" target=\"_blank\"><strong>Spam Protection<\/strong><\/a>. Los pasos a seguir para instalar este m\u00f3dulo son:<\/p>\n<ol>\n<li>Descargar el fichero <i>.tar.gz<\/i> (en este momento <strong>spamprotection-v0.3.tar.gz<\/strong>) de la <a href=\"http:\/\/silverstripe.org\/spam-protection-module\/\" target=\"_blank\">p\u00e1gina del m\u00f3dulo<\/a>.<\/li>\n<li>Descomprimir este fichero y asegurarnos que el directorio tenga por nombre <strong>spamprotection<\/strong>. Copiar esta carpeta a la ra\u00edz del servidor, donde encontramos por ejemplo los directorios &#8216;<i>cms<\/i>&#8216;, &#8216;<i>jsparty<\/i>&#8216; y &#8216;<i>sapphire<\/i>&#8216;.<\/li>\n<li>Escribir la siguiente url en el navegador: http:\/\/www.<i>tupaginaweb<\/i>.com\/dev\/build?flush=1.<\/li>\n<\/ol>\n<p>En este momento ya tenemos instalado el m\u00f3dulo <strong>Spam Protection<\/strong> a nuestra p\u00e1gina web y ya podemos proceder a instalar el m\u00f3dulo <strong>Mollom<\/strong>. Los pasos a seguir son los siguientes:<\/p>\n<ol>\n<li>Descargar el fichero <i>.tar.gz<\/i> (en este momento <strong>mollom-v0.3.tar.gz<\/strong>) de la <a href=\"http:\/\/silverstripe.org\/mollom-module\/\" target=\"_blank\">p\u00e1gina del m\u00f3dulo<\/a>.<\/li>\n<li>Descomprimir este fichero y asegurarnos que el directorio tenga por nombre <strong>mollom<\/strong>. Copiar esta carpeta a la ra\u00edz del servidor, donde encontramos por ejemplo los directorios &#8216;<i>cms<\/i>&#8216;, &#8216;<i>jsparty<\/i>&#8216; y &#8216;<i>sapphire<\/i>&#8216;.<\/li>\n<li>Conseguir la <strong>Mollom API Key<\/strong> de la p\u00e1gina web <a title=\"Mollom\" href=\"http:\/\/mollom.com\/\" target=\"_blank\">http:\/\/mollom.com\/<\/a>. Nos tenemos que registrar y a\u00f1adir un nuevo site desde <i>Manage Sites<\/i>. Nos proporcionar\u00e1n una clave privada y una p\u00fablica que utilizaremos posteriorimente.<\/li>\n<li>Editar el fichero<strong> _config.php<\/strong> que encontramos en el directorio &#8216;<i>mysite<\/i>&#8216; y escrbir las siguientes l\u00ednias de c\u00f3digo (y utilizando las claves que acabamos de obtener):<br \/>\n<i>Mollom::setPublicKey(&#8216;la-clave-p\u00fablica-de-mollom&#8217;);<br \/>\nMollom::setPrivateKey(&#8216;la-clave-privada-de-mollom&#8217;);<br \/>\nSpamProtectorManager::set_spam_protector(&#8216;MollomSpamProtector&#8217;);<\/i><\/li>\n<li>Escribir la siguiente url en el navegador: http:\/\/www.<i>tupaginaweb<\/i>.com\/dev\/build?flush=1.<\/li>\n<li>Ahora ya nos deber\u00eda aparecer el campo AntiSpam a nuestros formularios de la p\u00e1gina web.<\/li>\n<\/ol>\n<p>Para m\u00e1s informaci\u00f3n pod\u00e9is visitar las p\u00e1ginas de SilverStripe que hablan de <a href=\"http:\/\/doc.silverstripe.org\/modules:mollom\">Mollom<\/a> yi <a href=\"http:\/\/doc.silverstripe.org\/modules:spamprotection\">Spam Protection<\/a>.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][et_pb_column type=\u00bb1_4&#8243;][et_pb_sidebar admin_label=\u00bbSidebar\u00bb orientation=\u00bbright\u00bb area=\u00bbsidebar-1&#8243; background_layout=\u00bblight\u00bb remove_border=\u00bboff\u00bb header_font_size=\u00bb18&#8243; body_font_size=\u00bb14&#8243;] [\/et_pb_sidebar][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n<!-- Begin Yuzo --><div class='yuzo_related_post style-1'  data-version='5.12.70'><div class='yuzo_clearfixed yuzo__title yuzo__title'><h3>Articles relacionats<\/h3><\/div>\n\t\t\t\t\t\t  <div class=\"relatedthumb \" style=\"width:200px;float:left;overflow:hidden;\">  \n\t\t\t\t\t\t\t  \n\t\t\t\t\t\t\t  <a  href=\"https:\/\/www.weweb.cat\/es\/bancos-de-imagenes-donde-obtener-fotografias-para-una-pagina-web\/\"  >\n\t\t\t\t\t\t\t\t\t  <div class=\"yuzo-img-wrap \" style=\"width: 200px;height:200px;\">\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<div class=\"yuzo-img\" style=\"background:url('https:\/\/www.weweb.cat\/wp-content\/uploads\/2014\/03\/img-banc-fotos-150x150.jpg') 50% 50% no-repeat;width: 200px;height:200px;margin-bottom: 5px;background-size: contain; \"><\/div>\n\t\t\t\t\t\t\t\t\t  <\/div>\n\t\t\t\t\t\t\t\t\t  \n\t\t\t\t\t\t\t\t   <span class=\"yuzo__text--title\" style=\"font-size:14px;\">Bancos de im\u00e1genes donde obtener fotograf\u00edas para web<\/span>\n\t\t\t\t\t\t\t  \n\t\t\t\t\t\t\t  \n\t\t\t\t\t\t\t  <\/a>\n\n\t\t\t\t\t\t  <\/div>\n\t\t\t\t\t\t  <div class=\"relatedthumb \" style=\"width:200px;float:left;overflow:hidden;\">  \n\t\t\t\t\t\t\t  \n\t\t\t\t\t\t\t  <a  href=\"https:\/\/www.weweb.cat\/es\/la-tendencia-de-colores-otono-invierno-2014-15\/\"  >\n\t\t\t\t\t\t\t\t\t  <div class=\"yuzo-img-wrap \" style=\"width: 200px;height:200px;\">\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<div class=\"yuzo-img\" style=\"background:url('https:\/\/www.weweb.cat\/wp-content\/uploads\/2014\/09\/img-colors-tardor-2014-150x150.png') 50% 50% no-repeat;width: 200px;height:200px;margin-bottom: 5px;background-size: contain; \"><\/div>\n\t\t\t\t\t\t\t\t\t  <\/div>\n\t\t\t\t\t\t\t\t\t  \n\t\t\t\t\t\t\t\t   <span class=\"yuzo__text--title\" style=\"font-size:14px;\">La tendencia de colores para este oto\u00f1o invierno 2014-15<\/span>\n\t\t\t\t\t\t\t  \n\t\t\t\t\t\t\t  \n\t\t\t\t\t\t\t  <\/a>\n\n\t\t\t\t\t\t  <\/div>\n\t\t\t\t\t\t  <div class=\"relatedthumb \" style=\"width:200px;float:left;overflow:hidden;\">  \n\t\t\t\t\t\t\t  \n\t\t\t\t\t\t\t  <a  href=\"https:\/\/www.weweb.cat\/es\/debo-tener-pagina-web-optimizada-pra-moviles\/\"  >\n\t\t\t\t\t\t\t\t\t  <div class=\"yuzo-img-wrap \" style=\"width: 200px;height:200px;\">\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<div class=\"yuzo-img\" style=\"background:url('https:\/\/www.weweb.cat\/wp-content\/uploads\/2015\/09\/web-optimitzada-per-a-mobils-150x150.jpg') 50% 50% no-repeat;width: 200px;height:200px;margin-bottom: 5px;background-size: contain; \"><\/div>\n\t\t\t\t\t\t\t\t\t  <\/div>\n\t\t\t\t\t\t\t\t\t  \n\t\t\t\t\t\t\t\t   <span class=\"yuzo__text--title\" style=\"font-size:14px;\">\u00bfDebo tener una p\u00e1gina web optimizada para m\u00f3viles?<\/span>\n\t\t\t\t\t\t\t  \n\t\t\t\t\t\t\t  \n\t\t\t\t\t\t\t  <\/a>\n\n\t\t\t\t\t\t  <\/div>\n\t\t\t\t\t\t  <div class=\"relatedthumb \" style=\"width:200px;float:left;overflow:hidden;\">  \n\t\t\t\t\t\t\t  \n\t\t\t\t\t\t\t  <a  href=\"https:\/\/www.weweb.cat\/es\/pagina-web-responsiva-para-auditoria-consultoria-activa\/\"  >\n\t\t\t\t\t\t\t\t\t  <div class=\"yuzo-img-wrap \" style=\"width: 200px;height:200px;\">\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<div class=\"yuzo-img\" style=\"background:url('https:\/\/www.weweb.cat\/wp-content\/uploads\/2015\/06\/img-activa-responsiva-150x150.jpg') 50% 50% no-repeat;width: 200px;height:200px;margin-bottom: 5px;background-size: contain; \"><\/div>\n\t\t\t\t\t\t\t\t\t  <\/div>\n\t\t\t\t\t\t\t\t\t  \n\t\t\t\t\t\t\t\t   <span class=\"yuzo__text--title\" style=\"font-size:14px;\">P\u00e1gina web responsiva para la auditor\u00eda y consultor\u00eda ACTIVA<\/span>\n\t\t\t\t\t\t\t  \n\t\t\t\t\t\t\t  \n\t\t\t\t\t\t\t  <\/a>\n\n\t\t\t\t\t\t  <\/div>\n<\/div> <style>\n\t\t\t\t\t\t\t\t.yuzo_related_post img{width:210px !important; height:200px !important;}\n\t\t\t\t\t\t\t\t.yuzo_related_post .relatedthumb{line-height:16px;background: !important;color:!important;}\n\t\t\t\t\t\t\t\t.yuzo_related_post .relatedthumb:hover{background:#fff7f4 !important; -webkit-transition: background 0.2s linear; -moz-transition: background 0.2s linear; -o-transition: background 0.2s linear; transition: background 0.2s linear;;color:!important;}\n\t\t\t\t\t\t\t\t.yuzo_related_post .relatedthumb a{color:#ff7900!important;}\n\t\t\t\t\t\t\t\t.yuzo_related_post .relatedthumb a:hover{ color:}!important;}\n\t\t\t\t\t\t\t\t.yuzo_related_post .relatedthumb:hover a{ color:!important;}\n\t\t\t\t\t\t\t\t.yuzo_related_post .yuzo_text {color:!important;}\n\t\t\t\t\t\t\t\t.yuzo_related_post .relatedthumb:hover .yuzo_text {color:!important;}\n\t\t\t\t\t\t\t\t.yuzo_related_post .relatedthumb{  margin: 0px  0px  0px  0px;   padding: 2px  10px  10px  10px;  }\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<\/style> <script>\n\t\t\t\t\t\t  jQuery(document).ready(function( $ ){\n\t\t\t\t\t\t\t\/\/jQuery('.yuzo_related_post').equalizer({ overflow : 'relatedthumb' });\n\t\t\t\t\t\t\tjQuery('.yuzo_related_post .yuzo_wraps').equalizer({ columns : '> div' });\n\t\t\t\t\t\t   })\n\t\t\t\t\t\t  <\/script> <!-- End Yuzo :) -->","protected":false},"excerpt":{"rendered":"<p>Como sucede con todos los formularios de cualquier p\u00e1gina, tambi\u00e9n llegan comentarios Spam a trav\u00e9s de los formularios de las p\u00e1ginas web creadas con el CMS SilverStripe. Para solucionar este problema, podemos utilizar los m\u00f3dulos Mollom o Recaptcha.<\/p>\n","protected":false},"author":1,"featured_media":4171,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[242,333],"tags":[334,335,336,337,338,339,340],"_links":{"self":[{"href":"https:\/\/www.weweb.cat\/es\/wp-json\/wp\/v2\/posts\/4173"}],"collection":[{"href":"https:\/\/www.weweb.cat\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weweb.cat\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weweb.cat\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weweb.cat\/es\/wp-json\/wp\/v2\/comments?post=4173"}],"version-history":[{"count":6,"href":"https:\/\/www.weweb.cat\/es\/wp-json\/wp\/v2\/posts\/4173\/revisions"}],"predecessor-version":[{"id":7774,"href":"https:\/\/www.weweb.cat\/es\/wp-json\/wp\/v2\/posts\/4173\/revisions\/7774"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weweb.cat\/es\/wp-json\/wp\/v2\/media\/4171"}],"wp:attachment":[{"href":"https:\/\/www.weweb.cat\/es\/wp-json\/wp\/v2\/media?parent=4173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weweb.cat\/es\/wp-json\/wp\/v2\/categories?post=4173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weweb.cat\/es\/wp-json\/wp\/v2\/tags?post=4173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}