En viagra pharmacie France, les pratiques évoluent très lentement. Il en viagra pharmacie a maintenant 87 et il est en pleine forme. Nous sommes www sildenafil des voleurs de mots. Les effets ou acheter du viagra du tabac sont méconnus et minimisés. Un propecia en ligne france quatrième a pu être sauvé in extremis. Le suspense meilleur site pour achat propecia sera bientôt levé. L édition acheter antabuse 2012 se veut décidément optimiste. Une achat atarax 25mg question de volonté politique , conclut-il. Ses coups peux t-on acheter du viagra en pharmacie sans ordonnance médiatiques. Quelque 40 acheter du vrai viagra en ligne % des cas se concentrent au Texas. Le achat propecia jeune homme s en va, impassible. Et viagra prix en france les ordres de médecins freinent. Elle a cytotec pas cher bénéficié à 220 000 sans-papiers en 2011. Soignants acheter duphaston et patients le déplorent. Ce acheter roaccutane sur internet matin-là, un homme a pu faire sa toilette lui-même. coli lasilix prix ou de bactérie intestinale. Voire les acheter lamisil partager, pour se comparer à d autres. Le comparatif viagra en ligne jeune homme se fait dépister chaque année. Je buvais commander vardénafil le midi. The FORUMS loop - SPIP
SPIP

[ar] [ast] [bg] [br] [ca] [co] [cpf] [cs] [da] [de] [en] [eo] [es] [eu] [fa] [fon] [fr] [gl] [id] [it] [ja] [lb] [nl] [oc] [pl] [pt] [ro] [ru] [sk] [sv] [tr] [vi] [zh] Espace de traduction

Download

The FORUMS loop

October 2003 — updated on : October 2010

All the versions of this article:

The FORUMS loop returns a list of forum messages.

<BOUCLEn(FORUMS){criterion... }>


The selection criteria

Use one of the following criteria to control which messages are selected:

-  {id_forum} returns the message identified by id_forum. As each message identifier is unique, this criterion returns either one message or none.

-  {id_article} returns the messages corresponding to this article.

-  {id_rubrique} returns the messages corresponding to this section. Warning: this does not mean the messages for the articles in this section, but only the messages directly linked to the section itself. This is because the private zone does allow you to enable forums for each section if you so wish.

-  {id_breve} returns the messages corresponding to this news item.

-  {id_syndic} returns the messages corresponding to this site.

-  {id_thread}, introduced with [SPIP 1.8], returns the messages belonging to the current discussion thread.
Note: id_thread is simply the id_forum of the first message in the discussion.

-  {id_parent} returns the messages that depend on the current message, i.e. are lower down in the same thread. This criteria is essential for managing threads in the discussion forums.

-  {id_enfant} returns the message upon which the current message depends, thus allowing you to move upwards in a thread (introduced in SPIP 1.3).

-  {meme_parent} returns the other messages answering the same message (introduced in SPIP 1.3).

-  {plat} (i.e. “flat”) or {tout} (i.e. “all”). Returns all (within the limits of the other criteria, of course) forum messages regardless of their hierarchy. Using this criterion, you can, for example, select all the messages whatever their position in a thread. This in turn makes it possible to display messages in strict chronological order. Or this criterion can be used to count the total number of contributions in a forum.

N.B. In the absence of the {id_forum} or {id_parent} criteria, when {plat} is not used, only messages without parents (i.e. at the root of the thread) will be displayed.

-  {id_secteur} returns the messages corresponding to the sector. At first sight, not very useful; but it makes it possible, for example, to build a large forum on a subject by gathering all the messages from a sector.

From SPIP 1.4 onwards, keywords may be linked to forum messages. The following keyword criteria can now be used in (FORUMS) loops:

  • {id_mot}, {titre_mot=xxx} return the messages related to the keyword whose number is id_mot or whose title is titre_mot respectively;
  • {id_groupe}, {type_mot=yyyy} the messages related to keyword group with the identifier of id_groupe, or the title type_mot respectively.

The display criteria

You can use any of the criteria applicable to all loops.

Tags for this loop

Tags read directly from the database

The following tags represent items retrieved from the database. Any of them may also be used as a sort criterion — {par titre} for example.

-  #ID_FORUM returns the unique identifier of the message.

-  #ID_THREAD, introduced with [SPIP 1.8], gives the identifier of the discussion thread to which this message belongs. (This is the id_forum of the first message in the thread.)

-  #URL_FORUM, introduced with [SPIP 1.8], gives the canonical address of the page showing the message. With SPIP’s normal URLs this would be, for example, article.php3?id_article=8#forum15 — for message 15 associated with article 8.

-  #ID_BREVE returns the identifier of the news item to which this message is attached. Note, this tag is not recursive: a message which answers a message attached to news item does not itself contain the number of the news item.

-  #ID_ARTICLE is the identifier of the article which the message answers.

-  #ID_RUBRIQUE the identifier of the section which the message answers.

-  #ID_SYNDIC the identifier of the site which the message answers.

-  #DATE is the date of publication.

-  #TITRE is the title.

-  #TEXTE is the text of the message.

-  #NOM_SITE is the name of the website indicated by the author.

-  #URL_SITE is the address (URL) of that website.

-  #NOM is the message author’s name.

-  #EMAIL is the author’s email address, in the form of a direct email link (including the mailto: code). It therefore uses [(#EMAIL)] so that the email address is shown as well as providing a clickable link to create a new email message to this address.

-  #IP is the author’s IP address when the message was sent.

Tags calculated by SPIP

-  #FORMULAIRE_FORUM displays an interface allowing a reply to be posted. To find out more, please refer to "Forms".

-  #PARAMETRES_FORUM returns a list of the variables needed to create a link to the forum making it possible to answer this message. It can be used in this way:

Since [SPIP 1.8.2], this tag can be passed a parameter detailing the return address to be redirected to after having posted the message. For example: <a href="spip.php?page=forum&(#PARAMETRES_FORUM{#SELF})">Reply to this message</a> will return the visitor to the current page once the message has been validated.

Historical note: In versions prior to [SPIP 1.9], it was necessary to code the page reference as forum.php3? and not as spip.php?page=forum&.

Generally speaking, for versions prior to [SPIP 1.9], the URLs of SPIP generated sites were in the form: http://mysite.net/xxx.php3 and not http://mysite.net/spip.php?page=xxx.


Show the template of this page Site powered by SPIP | Translation area | Private area