Barnie | 8 Oct 22:28
Picon

rubrique, secteur, sector

Hello

I wonder if there is a tag for the titre of a secteur. My lines

<BOUCLE1(RUBRIQUES){id_rubrique}>
#ID_SECTEUR,  #TITRE
</BOUCLE1>

e.g., give me the correct secteur id and, however, the titre of the  
current rubrique what is of course only the secteur titre if this is  
the first rubrique above the root. (Probably I am confused about  
rubrique, secteur, and sector.) What I need throughout the site are  
the names of the "1st level" above the root sections.

Thanks
Gilles Vincent | 8 Oct 23:48
Picon
Gravatar

Re: rubrique, secteur, sector

Hello Barnie,

id_secteur is available, like id_rubrique, for articles and sections :
So you can directly do
<BOUCLE1(RUBRIQUES){id_secteur}>
#ID_RUBRIQUE,  #TITRE
</BOUCLE1>

You can have a look at the reference of SPIP here :
http://www.spip.net/ <at> ?lang=en

hope it helps,

.Gilles
---
2006/10/8, Barnie <barnie.de.los.angeles@...>:
> Hello
>
> I wonder if there is a tag for the titre of a secteur. My lines
>
> <BOUCLE1(RUBRIQUES){id_rubrique}>
> #ID_SECTEUR,  #TITRE
> </BOUCLE1>
>
> e.g., give me the correct secteur id and, however, the titre of the
> current rubrique what is of course only the secteur titre if this is
> the first rubrique above the root. (Probably I am confused about
> rubrique, secteur, and sector.) What I need throughout the site are
> the names of the "1st level" above the root sections.
>
(Continue reading)

Gilles Vincent | 13 Oct 10:32
Picon
Gravatar

Fwd: ! [spip-dev] Update of PclZip and chmod modification

Hi,

the library pclzip which enables Spip to manage zip files has just been updated.
Thanks to Philippe Drouot who found the bug !
This update introduces a mechanism to make zip files extraction more
secure (cf. http://www.phpconcept.net/pclzip/index.php#nouveautes --
in french --)
The "chmod" usage also modified [NoT: it's the mechanism that manages
acces and write restrictions on Unix filesystems]. That enables to
spip_loader to work on some hosting providers who caused some problems
with the last version of Spip.

[This update is only available actually on the dev. version of Spip]

--
James
translated with 3 hands and no brain by Gilles ;)

---------- original message ----------
From: James <james@...>
Date: 12 oct. 2006 23:14
Subject: ! [spip-dev] Mise à Jour de PclZip et ajustement de
l'application du chmod
To: spip-core@...

Salut,

la librairie pclzip qui permet à spip de gérer les fichiers zip vient
d'être mise à jour.

(Continue reading)

Barnie | 15 Oct 19:53
Picon

Re: rubrique, secteur, sector

Thanks. That works in the way that it prints the titre of the current  
secteur. I don't know however how to use this string in an html link.  
E.g,. say <link rel="stylesheet" href="http:// 
<here_goes_the_secteur_titre>/style.css" /> should link css from a  
different domain that has the same name as my current secteur.

On 2006 Oct 9, at 1:00, Gilles Vincent wrote:

> oops! Sorry, I' made a mistake (my loop returned of course ALL  
> sectors)
>
> This should work :
> <BOUCLE_root(RUBRIQUES){id_rubrique=#ID_SECTEUR}>
> #ID_RUBRIQUE,  #TITRE
> </BOUCLE_root>
>
> or if you want to avoid confusion in your templates :
> <BOUCLE_root(RUBRIQUES){id_rubrique=#ID_SECTEUR}>
> #_root:ID_RUBRIQUE,  #_root:TITRE
> </BOUCLE_root>
>
> 2006/10/9, Barnie <barnie.de.los.angeles@...>:
>>
>> On 2006 Oct 8, at 23:48, Gilles Vincent wrote:
>>
>> > id_secteur is available, like id_rubrique, for articles and  
>> sections :
>> > So you can directly do
>> > <BOUCLE1(RUBRIQUES){id_secteur}>
>> > #ID_RUBRIQUE,  #TITRE
(Continue reading)

Barnie | 16 Oct 13:14
Picon

Re: rubrique, secteur, sector

Thank you. I think this, http://www.spip-contrib.net/Un-noyau- 
SPIP-1-9-plusieurs-sites, is to complicated for me. I never really  
understood all that fuzz about .htaccess. I'd rather wait for the  
spip 2.

On 2006 Oct 15, at 21:56, Gilles Vincent wrote:

> 2006/10/9, Barnie :
>> I need only throughout the site one
>> title: the title of the first rubrique (guess u call it "sector")
>> above the root where the current article or subsection is in. I'll
>> try to manage three sites with one spip installation.
>
> Since the version 1.9, it's possible (I'm using it) to install several
> sites on a unique spip kernel. It's more or less explained here (in
> french) : http://www.spip-contrib.net/Un-noyau-SPIP-1-9-plusieurs- 
> sites
> I can detail one method if you precise the structure of your sites..
>
> You can also use a "template switcher" witch is available as plugin :
> http://zine.spip.org/spip.php?article8
> (but here there won't be a separation of the data)
>
> There is also a method of syndication by keywords. It was explained
> for the old versions of Spip here :
> http://www.spip-contrib.net/syndiquer-par-mot-clef
> For spip 1.9, the documentation is available here :
> http://www.spip-contrib.net/ecrire/?exec=articles&id_article=1427
> (needs an account on spip-contrib -- it's free ;)
>
(Continue reading)

Barnie | 16 Oct 13:16
Picon

Re: rubrique, secteur, sector

Thank you. That worked for me.

On 2006 Oct 15, at 22:15, Gilles Vincent wrote:

> If I understand, you want to save the value of your sector title, and
> use it elsewhere in your templates.
> For this, you can use the "quite not really documented" keyworks :
> #GET and #SET (cf
> http://listes.rezo.net/archives/spip-core/2006-08/msg00005.html for an
> explanation)
> -------------------------
> <BOUCLE_root(RUBRIQUES){id_rubrique=#ID_SECTEUR}>
> [(#SET{site_url,#TITRE})]
> </BOUCLE_root>
>
> <link rel="stylesheet" href="http://[(#GET{site_url})]/style.css" />
> -------------------------
> Sorry, I didn't think about this quite simple solution before..
>
> .Gilles
>
> -
> 2006/10/15, Barnie <barnie.de.los.angeles@...>:
>> Thanks. That works in the way that it prints the titre of the current
>> secteur. I don't know however how to use this string in an html link.
>> E.g,. say <link rel="stylesheet" href="http://
>> <here_goes_the_secteur_titre>/style.css" /> should link css from a
>> different domain that has the same name as my current secteur.
>>
>> On 2006 Oct 9, at 1:00, Gilles Vincent wrote:
(Continue reading)

Barnie | 16 Oct 13:19
Picon

Re: rubrique, secteur, sector

Thank you. It works fine. I am including the boucle anywhere with  
<INCLURE{fond=...} {id_secteur}>.

On 2006 Oct 16, at 10:28, {mozna} wrote:

> can't test here and i'm not so fantastic at spip, but i would think  
> 'just
> add the code you need'
>
>>> <BOUCLE_root(RUBRIQUES){id_rubrique=#ID_SECTEUR}>
> <link rel="stylesheet" href="http://#TITRE/style.css" />
>>> </BOUCLE_root>
>
> although probably zou will have towrite the website url or leave  
> out the
> http://
>
> hope this helps.
> stijn
>
>
>
>
> Barnie <barnie.de.los.angeles@...> said:
>
>> Thanks. That works in the way that it prints the titre of the current
>> secteur. I don't know however how to use this string in an html link.
>> E.g,. say <link rel="stylesheet" href="http://
>> <here_goes_the_secteur_titre>/style.css" /> should link css from a
>> different domain that has the same name as my current secteur.
(Continue reading)

Picon

getting hacked in forum

im being "auto hacked" in my forum, on a spip 1.8.3b install..
Anybody having the same problem..
Untill now, I can delete manually..
But if a server, or this "hacker" starts hacking for real, I have to  
close the forum..
Is there any fixes on this subject, in the newer versions??
kindly
Tom
Picon

Sorry more explanation

Somebody found out how to autogenerate text and post it in the public forum at the site..( its not yet "registrered only" )

what i think happens, is that he/she found a way to autogenerate txt and post it to an article ( forum)
eg.
( my respons to the "hacker") (have to remove the discuting links he puts on my site..)

The ( btw. not visible text is) some not working html....

>ionolsen23 I like your site <a href="http://www.aesthetic-partners.com/porn.html">free porn video</a> cd<a href="http://www.aesthetic-partners.com/incest.html">adult insest stories</a> cd<a href="http://www.aesthetic-partners.com/gay.html">gay teens</a> cd<a href="http://www.aesthetic-partners.com/nude.html">Olsen twins nude</a> cd<a href="http://www.aesthetic-partners.com/interracial.html">Interracial fucking</a> cd<a href="http://www.aesthetic-partners.com/main.html">horrible animal sex</a> cd


I would be a bit sad, if I have to close the forum, or force it to be a "closed one"

The reason why I also write this, is that if he can hack my site, he can hack all sites containing url "...php3?id_article=....." sites, eg. all spip sites that he can find on google..

PS
I might be lucky, that it is just some that dont like my site, but i doubt it??

kindly
Tom

As mentioned, the site is 1.83b
Simon Schneebeli | 22 Oct 17:51
Favicon

Re: getting hacked in forum

Same happened to me just today. Actually it's quite surprising that this 
didn't happen before. But it's probably high time to install some (how 
do you call these) control mechanism, where you have to enter some code 
from a picture. Hope this will be done soon.

Simon

tom@... wrote:
> im being "auto hacked" in my forum, on a spip 1.8.3b install..
> Anybody having the same problem..
> Untill now, I can delete manually..
> But if a server, or this "hacker" starts hacking for real, I have to  
> close the forum..
> Is there any fixes on this subject, in the newer versions??
> kindly
> Tom
> _______________________________________________
> spip-en@... - http://listes.rezo.net/mailman/listinfo/spip-en
>   


Gmane