{yichalal} | 1 Mar 10:30
Picon
Favicon

spam through contact forms

hi!
i'm looking on my server (with several installations of spip, joomla  
and drupal) what contact forms are used by spammers. so one of the  
options is within the spip sites. i've been looking for a way to  
secure the contact forms but i can't find any articles discussing this.
any ideas?
stijn

{yichalal} grafische vormgeving

Werkhuizenstraat 31 3010 kessel-lo
016 49 12 00 www.yichalal.be
gsm:0484 974 882

Gilles Vincent | 2 Mar 13:04
Picon
Gravatar

Re: spam through contact forms

Maybe the plugin Akismet can help you :
http://zone.spip.org/trac/spip-zone/browser/_plugins_/_dev_/akismet
(it's inside the archive
http://miroirspip.ventre.name/builds/plugins/plugins_dev.zip)

But you can also work on the code of the forms generated for the
forums : a dynamic hidden field is generated at each call.

I recognize that all this seriously lacks of documentation :/

A last question : why do you use SPIP for contact forms ? Maybe other
solutions can better manage spams while being integrated to your site.

.Gilles
--
On Sat, Mar 1, 2008 at 10:30 AM, {yichalal} <info@...> wrote:
> hi!
>  i'm looking on my server (with several installations of spip, joomla
>  and drupal) what contact forms are used by spammers. so one of the
>  options is within the spip sites. i've been looking for a way to
>  secure the contact forms but i can't find any articles discussing this.
>  any ideas?
>  stijn
>
>  {yichalal} grafische vormgeving
>
>  Werkhuizenstraat 31 3010 kessel-lo
>  016 49 12 00 www.yichalal.be
>  gsm:0484 974 882
>
(Continue reading)

{yichalal} | 2 Mar 16:58
Picon
Favicon

Re: spam through contact forms

i must apologize. i thought the spam mails got generated on my server  
(looking t othe headers) but i looked at the mail spamassassin created  
and not teh original mail that got sent in attachment. so there is no  
spam coming from the spip forms.
(i don't use spip for forms on my own website but on several other  
websites i host where i use spip)
thanks anyway and yes it would be nice to have some form of protection  
in contact forms. i now use mailcrypt from 'couteau suisse'.

stijn

Op 2-mrt-08, om 13:04 heeft Gilles Vincent het volgende geschreven:

> Maybe the plugin Akismet can help you :
> http://zone.spip.org/trac/spip-zone/browser/_plugins_/_dev_/akismet
> (it's inside the archive
> http://miroirspip.ventre.name/builds/plugins/plugins_dev.zip)
>
> But you can also work on the code of the forms generated for the
> forums : a dynamic hidden field is generated at each call.
>
> I recognize that all this seriously lacks of documentation :/
>
> A last question : why do you use SPIP for contact forms ? Maybe other
> solutions can better manage spams while being integrated to your site.
>
> .Gilles
> --
> On Sat, Mar 1, 2008 at 10:30 AM, {yichalal} <info@...> wrote:
>> hi!
(Continue reading)

Iswaria | 17 Mar 05:32

Last updated date

Hi all

    I am using spip 1.8.2 d .

    Few of my rubriques is showing the last updated date as the current date.

    How to correct this problem?

I have enclosed the table structure and two records .

The first rubrique, "Practical Information" (first sql statement below) is showing the correct updated date, whereas "L'Institut" (the second sql statement below) is showing the last updated date as the current date.

Thanks.

-------------------------------------------------------------------
INSERT INTO `spip_rubriques` (`id_rubrique`, `id_parent`, `titre`, `descriptif`, `texte`, `id_secteur`, `maj`, `export`, `id_import`, `statut`, `date`, `lang`, `langue_choisie`, `idx`, `extra`, `url_propre`, `statut_tmp`, `date_tmp`) VALUES (7, 1, '5. Practical Information', '<abbr title="Institut Français de Pondichéry" lang="fr">IFP</abbr>', 0x7b7b7b5265616368696e6720746865204946507c616262727d7d7d0d0a0d0a3c70207374796c653d226865696768743a3230307078223e0d0a3c61626c653e, 1, '2008-02-04 17:12:16', 'oui', 0, 'prive', '0000-00-00 00:00:00', 'en', 'non', '', '', 'Practical-Information', 'prive', '0000-00-00 00:00:00');
 
 
INSERT INTO `spip_rubriques` (`id_rubrique`, `id_parent`, `titre`, `descriptif`, `texte`, `id_secteur`, `maj`, `export`, `id_import`, `statut`, `date`, `lang`, `langue_choisie`, `idx`, `extra`, `url_propre`, `statut_tmp`, `date_tmp`) VALUES (8, 2, '1. L''Institut', 'Présentation', 0x7b7b7b446972656374696f6e7d7d7d0d0a446972656374657572203a204a65616e2d506965727265204d756c6c657220283c6120687265663d222e22028646f6e7420332076c3a9686963756c657320e2809c746f75732d7465727261696e73e2809d292e0d0a, 2, '2008-03-17 09:50:19', 'oui', 0, 'publie', '2006-12-21 00:00:00', 'fr', 'non', 'oui', '', 'L-Institut', 'publie', '2006-12-21 00:00:00');


CREATE TABLE `spip_rubriques` (
  `id_rubrique` bigint(21) NOT NULL auto_increment,
  `id_parent` bigint(21) NOT NULL default '0',
  `titre` text NOT NULL,
  `descriptif` text NOT NULL,
  `texte` longblob NOT NULL,
  `id_secteur` bigint(21) NOT NULL default '0',
  `maj` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
  `export` varchar(10) default 'oui',
  `id_import` bigint(20) default '0',
  `statut` varchar(10) NOT NULL default '',
  `date` datetime NOT NULL default '0000-00-00 00:00:00',
  `lang` varchar(10) NOT NULL default '',
  `langue_choisie` char(3) default 'non',
  `idx` enum('','1','non','oui','idx') NOT NULL default '',
  `extra` longblob,
  `url_propre` varchar(255) NOT NULL default '',
  `statut_tmp` varchar(10) NOT NULL default '',
  `date_tmp` datetime NOT NULL default '0000-00-00 00:00:00',
  PRIMARY KEY  (`id_rubrique`),
  KEY `lang` (`lang`),
  KEY `idx` (`idx`),
  KEY `id_parent` (`id_parent`),
  KEY `url_propre` (`url_propre`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=59 ;
 

-------------------------------------------------------------------
Paolo | 17 Mar 09:34
Picon
Favicon

Re: Last updated date

Iswaria wrote:
>     Few of my rubriques is showing the last updated date as the current 
> date.

Can you give rather the URLs of the page where this is happening, and also the 
URL of the template which is producing the page?

Paolo

Paolo | 17 Mar 10:45
Picon
Favicon

Re: Last updated date

Iswaria wrote:
 > The url of the template is http://www.ifpindia.org/ifp2005blue/rubrique.html
 > Rubriques showing the latest update date:  (see at the end of the page
 > for date)
 >
 > http://www.ifpindia.org/-The-Institute-.html
 >
 > Correct date:
 > http://www.ifpindia.org/-Practical-Information-.html

Iswaria,
*Please* :

- always correspond through the list and do not send private emails (other 
people may be interested, and this does not put any one particular person under 
pressure to help).

- use plain text rather than HTML messages.

The date at the end of the page, for example,
"Latest addition : 29 January 2008"
appears to be displayed by line 168 in your template:
[<:dernier_ajout:> : (#MAJ|affdate)]

#MAJ (not mentioned in SPIP's documentation) in this context will give you the 
timestamp of the last change to the text of the *section* and not of the the 
last change to the articles contained in the section.

As mentioned in the documentation (http://www.spip.net/en_article2429.html), 
"The date of a section is that of the most recent item contained in the 
section." So you could use
[<:dernier_ajout:> : (#DATE|affdate)]

However, if what you want is the last *change* to the articles in the section 
and not just the date of the last published article, then you will need to use a 
loop and do something like this:

<BOUCLE_lastchange(ARTICLES){id_rubrique}{par date_modif}{inverse}{0,1}>
[<:dernier_ajout:> : (#DATE_MODIF|affdate)]
</BOUCLE_lastchange>

(not tested).

Or else, of course, simply change the main date of an article manually whenever 
you make a significant change to the text and you wish to advertise the change 
as an "update" -- this is what we do on our site.

I hope this helps.

Paolo

Barnie | 17 Mar 12:17

Plugin "Under Construction"

 From http://www.spip-contrib.net/Plugin-Under-Construction:

"... and if you are an administrator of the site, you can even access  
the public front office with your login and password (to check the  
result of your work before re-opening the website, for example)"

How does the admin (owner) access the "public front office" when the  
plugin is active? - I always end up on the page created by this  
plugin as I don't have the chance to login.

Gilles Vincent | 17 Mar 14:35
Picon
Gravatar

Re: Plugin "Under Construction"

On 3/17/08, Barnie <spip2@...> wrote:
>  From http://www.spip-contrib.net/Plugin-Under-Construction:
>
>  "... and if you are an administrator of the site, you can even access
>  the public front office with your login and password (to check the
>  result of your work before re-opening the website, for example)"
>
>  How does the admin (owner) access the "public front office" when the
>  plugin is active? - I always end up on the page created by this
>  plugin as I don't have the chance to login.
>

This isn't possible with this plugin. However  the same fonctionality
exists in the plugin 'couteau suisse'
(http://www.spip-contrib.net/Le-Couteau-Suisse)
It's a toolbox where you activate some fonctionalities you want. One
of them is to put the site in a "under construction" state, except for
the admins that can visit the site normally.

url of the plugin archive :
http://miroirspip.ventre.name/builds/spip-zone/couteau_suisse.zip

.Gilles
---
>
>  _______________________________________________
>  spip-en@... - http://listes.rezo.net/mailman/listinfo/spip-en
>
Picon

Lay out in spipBB

Finally I managed to make spipBB work on a site.
Very good.
But it sems that its rather difficult to change the lay out.
Has anybody any good ideas.
It seems quite difficult to change the lay out in both right and Left  
sides.
I would like to have pictures on both sides.
Anybody know how to do that..
Tried making some CSS modification, and it worked fine.
Stil cannot palce any pictures/boxes on either sides.
Did see the http://www.koakidi.com/spip.php?article256
page, and will try to see If I can combine it with spipbb
Still all ideas are apriciated..
Tom

Gilles Vincent | 18 Mar 06:49
Picon
Gravatar

Re: Lay out in spipBB

On Mon, Mar 17, 2008 at 4:35 PM, tom@...
<tom@...> wrote:
> Finally I managed to make spipBB work on a site.
>  Very good.
>  But it sems that its rather difficult to change the lay out.
>  Has anybody any good ideas.
>  It seems quite difficult to change the lay out in both right and Left
>  sides.
>  I would like to have pictures on both sides.
>  Anybody know how to do that..
>  Tried making some CSS modification, and it worked fine.
>  Stil cannot palce any pictures/boxes on either sides.
>  Did see the http://www.koakidi.com/spip.php?article256
>  page, and will try to see If I can combine it with spipbb
>  Still all ideas are apriciated..

This website uses GaFoSPIP : maybe it's easier to skin :
http://www.koakidi.com/spip.php?rubrique89
(and it looks like spipBB)
But in this website the central content is inside a div named
"conten_corps" : I'm convinced that you can put a spipBB inside.

here are the files that I would overwrite :
spipBB/article-1.html:<body id="artforum" dir="#LANG_DIR">
spipBB/article-1.html:</body>
spipBB/connexion.html:<body id="connexionfor" dir="#LANG_DIR">
spipBB/connexion.html:</body>
spipBB/inscriptionBB.html:<body id="forumsect" dir="#LANG_DIR">
spipBB/inscriptionBB.html:</body>
spipBB/membres_liste.html:<body id="listmem" dir="#LANG_DIR">
spipBB/membres_liste.html:</body>
spipBB/nouveaux_messages.html:<body id="nouvmsgfor" dir="#LANG_DIR">
spipBB/nouveaux_messages.html:</body>
spipBB/poster.html:<body id="posterfor" dir="#LANG_DIR">
spipBB/poster.html:</body>
spipBB/profil_BB.html:<body id="profilbb" dir="#LANG_DIR">
spipBB/profil_BB.html:</body>
spipBB/profile.html:<body id="profilmod" dir="#LANG_DIR">
spipBB/profile.html:</body>
spipBB/recherche_forum.html:<body id="recherforum" dir="#LANG_DIR">
spipBB/recherche_forum.html:</body>
spipBB/resultats_forum.html:<body id="resultforum" dir="#LANG_DIR">
spipBB/resultats_forum.html:</body>
spipBB/rubrique-1.html:<body id="forumsect" dir="#LANG_DIR">
spipBB/rubrique-1.html:</body>
spipBB/rubrique=1.html:<body id="forumsect" dir="#LANG_DIR">
spipBB/rubrique=1.html:</body>
spipBB/statistiquesBB.html:<body id="forumsect" dir="#LANG_DIR">
spipBB/statistiquesBB.html:</body>
spipBB/voirsujet.html:<body id="voirsujet" dir="#LANG_DIR">
spipBB/voirsujet.html:</body>

and finally I'd replace <body> tags by a corresponding div that would
be put inside the central part of your website. Easy, no ?

.Gilles
---------
>  Tom
>
>  _______________________________________________
>  spip-en@... - http://listes.rezo.net/mailman/listinfo/spip-en
>

Gmane