Jonas Wagner | 13 Dec 00:16
Picon
Picon
Gravatar

umlauts in passwords result in blank page

Dear SPIP team,

today, I used SPIP for the first time. As a diligent user, one of the 
first things I did was to change my password. I noted that if my 
password contains an umlaut (e.g. ü, u with trema), the password is not 
changed and a blank page is displayed instead. I would expect instead 
that my password is changed, and some confirmation displayed. Non-ASCII 
characters in passwords should provide no problem, especially for an 
application that makes internationalization a priority.

A second issue is that I haven't find a way to post a proper bug report 
on your website; hence the message to the mailing list.

Best,
Jonas
Serge Markitanenko | 1 Dec 14:26
Picon

The mystery with search in SPIP

Greeting,

as we work in Ukraine for Ukraine & Russian market. Most of our websites are in cyrillic.
And there is a mystery with search result in Russian language.

Search works perfectly in private space, but totally could not found anything if we submit
the search form via public interface. Of course the search string should be typed in cyrillic.  

The search works well in 1.9.xx branch, but doen't in 2.x.x.
And the same with  SPIP 3 beta. I did bug report year or two ago.

We did own search module for public part of the site for our needs.
But what could be the source of the mystery? Is any idea or solution?

Best regards,
Serge
Serge Markitanenko | 30 Nov 13:09
Picon

Re: How-to show the revision history of article on frontend?

Thanks! This is great, but to see what was changed in article the visitors had to login to private space.
Is the way to show the diffs on front-end?

Thanks again
Serge

2011/11/30 Gilles VINCENT <gilles.vincent-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Hi,

versions are stored in the table spip_versions

so you can use something like that (not tested):
 
<BOUCLE_rev(spip_versions){id_article}{id_version>0}{!par id_version}>
<BOUCLE_aut(AUTEURS){id_auteur}>#SET{nom,#NOM}</BOUCLE_aut>
<li><a href="ecrire/?exec=articles_versions&id_article=#ID_ARTICLE&id_version=#ID_VERSION#diff">Revision #ID_VERSION</a> ([(#DATE|aff_court)]) : #TITRE_VERSION (#GET{nom})</li>
</BOUCLE_rev>

Your template can be more complicated and include the detail of the version..

.Gilles

On Wed, Nov 30, 2011 at 12:30 PM, Serge Markitanenko <serge.markitanenko-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Greeting!

The SPIP has a wonderful tool named as "Revision tracking" and it very useful for keeping the history of document 
inside the private area.

But now we have to make the viewing the history of modification and what was modified in this article at front-end of the website.
Allmost the same as if we see article via /ecrire/?exec=articles_versions&id_article=15 interface.

Is any soultion via BOUCLES or Plugins or PHP code.

Thanks in advance.

Serge Markitanenko

_______________________________________________
spip-en-JM9gtpQu/Ho@public.gmane.org - http://listes.rezo.net/mailman/listinfo/spip-en



Serge Markitanenko | 30 Nov 12:30
Picon

How-to show the revision history of article on frontend?

Greeting!

The SPIP has a wonderful tool named as "Revision tracking" and it very useful for keeping the history of document 
inside the private area.

But now we have to make the viewing the history of modification and what was modified in this article at front-end of the website.
Allmost the same as if we see article via /ecrire/?exec=articles_versions&id_article=15 interface.

Is any soultion via BOUCLES or Plugins or PHP code.

Thanks in advance.

Serge Markitanenko
Tereza Loparic | 7 Nov 15:07
Picon

forum doesn't work

Hi!

My forum doesn't work... I click the button "Voir ce message avant de
le poster" and nothing happens...

I wonder why?

http://www.sergiobasbaum.net/spip.php?page=forum&id_article=1

tks
tereza
Tereza Loparic | 20 Oct 15:59
Picon

SPIP-listes at dreamhost - quota problem

Hi

I'm trying SPIP-listes for the first time. It looks nice :)

But my website is hosted at Dreamhost, that doesn't allow me to send
more than 100 messages per hour:

http://wiki.dreamhost.com/SMTP_quota

Is there how to configure this limit?

thank you in advance
tereza
Gilles VINCENT | 19 Oct 14:21
Picon
Gravatar

Re: SPIP caching

Hi,

can you give us an extract from your code that reproduces your problem ?
This is curious because #TRI and {tri} seems to correspond to your needs

Here is a code that works for me :

#CACHE{0}
<B_>
#PAGINATION
<table>
<thead>
<th>
<td><a href="?page=test&order=id_article">ID</a></td>
<td><a href="?page=test&order=titre">TITLE</a></td>
</th>
</thead>
<tbody>
<BOUCLE_(ARTICLES){tri #ENV{order,id_article}}{pagination 10}>
<tr><td>#ID_ARTICLE</td><td>#TITRE</td></tr>
</BOUCLE_>
</tbody>
</table>
</B_>

On Wed, Oct 19, 2011 at 12:54 PM, Алексей Ярощук <a.yaroshuk-aqWXh9evr3oH6wp9xFTt+g@public.gmane.org> wrote:
Thanks for your answers. I will definitely try to use plugin "iterateurs". According to description it is very useful tool.

I tried to use calculer_balise_dynamique for transforming SPIP-BONUX's static tag TRI into dynamic, but had no good results. Using this tag is described here: http://www.spip-contrib.net/Utiliser-la-balise-TRI-et-le-crietre-tri-dans-les I wanted to modify this tag with possibility of changing sort order via clicking on table <th> elements. My modifications worked only if I manually cleared cache between clicks. According to this I made a conclusion that problem is in SPIP caching. Eventually I found another decision. If someone is interested, I can describe it.

I'll keep trying and looking for better solution for this "chaching" problem.

Picon

Fwd: SPIP caching


Thanks for your answers. I will definitely try to use plugin "iterateurs". According to description it is very useful tool.

I tried to use calculer_balise_dynamique for transforming SPIP-BONUX's static tag TRI into dynamic, but had no good results. Using this tag is described here: http://www.spip-contrib.net/Utiliser-la-balise-TRI-et-le-crietre-tri-dans-les I wanted to modify this tag with possibility of changing sort order via clicking on table <th> elements. My modifications worked only if I manually cleared cache between clicks. According to this I made a conclusion that problem is in SPIP caching. Eventually I found another decision. If someone is interested, I can describe it.

I'll keep trying and looking for better solution for this "chaching" problem.

denisb | 18 Oct 09:33
Favicon
Gravatar

Re: SPIP caching

Le 17/10/11 17:39, Алексей Ярощук a écrit :
> For example, I need criteria witch would influence BOUCLE every time page is
> calculated.

Unfortunately, the loops do not have a specific cache, and I think you
have to use the potential of conditional <INCLURE>

> Also in some cases I want to change static tag (balise) cache time, or even
> make its output absolutely dynamic.

You might find interesting information here :
   http://doc.spip.org/ <at> Balises-dynamiques-trucage-d  (in french)

http://passingcuriosity.com/2009/dynamic-tags-fake-arguments-ast-mangling-in-spip/ 
  (in English)

_______________________________________________
spip-en <at> rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en
Gilles VINCENT | 17 Oct 21:25
Picon
Gravatar

Re: SPIP caching

Hi,

SPIP already offers some mechanisms for making loops more context-dependant :
cf. http://www.spip-contrib.net/how-to-extend-the-capabilities-of-your-loops

You can use #ARRAYS, dynamic variables defined by #SET and #GET, custom functions (called with [(#VAL|my_dynamic_function)] for ex. ).

What do you want to do that can be done with such tools ? You talk about loop and criteria that are not static because they are transformed into PHP functions in the cache of SPIP (you can verify it with the ?var_mode=debug parameter).

Hope it helps,

.Gilles
---

On Mon, Oct 17, 2011 at 5:39 PM, Алексей Ярощук <a.yaroshuk-aqWXh9evr3oH6wp9xFTt+g@public.gmane.org> wrote:
Hello everyone!
Can anybody help me to cope with SPIP caching? Talking about caching I don't mean squelettes, my question is about programming structures like balises and criterias.
For example, I need criteria witch would influence BOUCLE every time page is calculated.
Also in some cases I want to change static tag (balise) cache time, or even make its output absolutely dynamic.
I tried to find some information on programmer.spip.org, but nothing helped me.
Is it possible at all to avoid caching SPIP static elements?

Thanks in advance,
Yaroshchuk Aleksey.

_______________________________________________
spip-en-JM9gtpQu/Ho@public.gmane.org - http://listes.rezo.net/mailman/listinfo/spip-en


Picon

SPIP caching

Hello everyone!
Can anybody help me to cope with SPIP caching? Talking about caching I don't mean squelettes, my question is about programming structures like balises and criterias.
For example, I need criteria witch would influence BOUCLE every time page is calculated.
Also in some cases I want to change static tag (balise) cache time, or even make its output absolutely dynamic.
I tried to find some information on programmer.spip.org, but nothing helped me.
Is it possible at all to avoid caching SPIP static elements?

Thanks in advance,
Yaroshchuk Aleksey.


Gmane