| Sondage sous le sujet et multi sondages |
|
|
| |
---|
Oxyman1982 Membre
| Mar 4 Juin - 9:45 | |
| Salut le Doc et l' infirmière infirmier (pardon mon doit avait glissé) Bon plus sérieusement je voudrait que mes sondage apparaisse sous le sujet (actuellement les sondage apparaisse au dessus) et je voudrait également pouvoir mettre plusieurs sondage dans le même sujet. Exemple:Titre du sujet
Blabla du sujet Blabla du sujet Blabla du sujet Blabla du sujet Blabla du sujet Blabla du sujet Blabla du sujet Blabla du sujet Question 1Choix A Choix B Choix C Choix D Question 2Choix A Choix B Choix C Choix D Question 3Choix A Choix B Choix C Choix D J'espère avoir été claire Merci par avance |
|
|
Mr. Docteur Expert en ForumActif
| Mar 4 Juin - 15:41 | |
| Coucou Oxy, Est-ce que tu peux me montrer une image avec le problème que je comprenne mieux ? De plus c'est bien pour ta nouvelle version phpBB2 ? Cordialement, |
|
|
Oxyman1982 Membre
| Mar 4 Juin - 17:24 | |
| Salut Doc Oui c'est bien pour le phpBB2 (le phpBB3 on peut l'oublier définitivement) Voici une simulation de ce que je voudrait pouvoir faire: Merci |
|
|
Mr. Docteur Expert en ForumActif
| Mer 5 Juin - 15:39 | |
| Coucou Oxy, À moins que je ne m'abuse, il est impossible de faire plusieurs sondages l'un à la suite de l'autre sur une même page. Par contre, je peux toujours te mettre tes sondages en dessous des message si tu le veux ? Cordialement, |
|
|
Oxyman1982 Membre
| Mer 5 Juin - 16:14 | |
| Salut doc
Oui je veut bien mettre le sondage sous le sujet stp
C'est dommage et même étonnant que FA n'es pas prévu la possibilité de mettre plusieurs sondage !
je vais vérifier si personne ne leurs a fait la proposition et si ce n'es pas le cas je le ferrait |
|
|
Mr. Docteur Expert en ForumActif
| Jeu 6 Juin - 15:49 | |
| Okay Oxy Je fini de travailler vers 6H du mat cher toi car cher moi il sera que minuit et demi. Dès mon retour je te donne la solution Cordialement, |
|
|
Oxyman1982 Membre
| Ven 7 Juin - 5:42 | |
| Yo Doc !!!
T'es au Etats DésUnis ??? :geek:
Pas de problème SpeedyDoc |
|
|
SkySky Modérateur
| Ven 7 Juin - 5:57 | |
| Le Doc est canadien Pas de sa faute on peut pas être parfait ... Ok je sors .... Pas taper |
|
|
Oxyman1982 Membre
| Ven 7 Juin - 8:05 | |
| Ho ba m.... alors !!!!! On a retrouver le fils cacher de Céline et son mari René !!! Mois aussi je sort :cherry: |
|
|
Mr. Docteur Expert en ForumActif
| Sam 8 Juin - 7:53 | |
| Haha, Sans vouloir être méchant, j'aime pas trop le style de musique que fais Céline, mais je la déteste pas pour autant ... En deuxième. Je m'excuse de ma réponse tardive, mais je viens te donner la solution pour mettre les sondage en dessous :cheers: ÉDIT: Mauvaise solutionRien de bien compliqué, mais qui encore une fois change tout Cordialement,
Dernière édition par Mr. Docteur le Sam 8 Juin - 8:26, édité 1 fois |
|
|
SkySky Modérateur
| Sam 8 Juin - 8:21 | |
| Euh .... Doc ? Ta solution affiche le sondage après chaque messages Pour le mettre en dessous de tout il faut placer : - Code:
-
{POLL_DISPLAY} après ceci : - Code:
-
<!-- END no_post --> <tr align="right"> <td class="catBottom" colspan="3" height="28"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="9%" class="noprint"> </td> <td align="center" class="t-title"><a name="bottomtitle"></a><h1 class="cattitle">{TOPIC_TITLE}</h1></td> <td align="right" nowrap="nowrap" width="9%" class="browse-arrows"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#top">{L_BACK_TO_TOP}</a> </td> </tr> </table> </td> </tr> </table> et donc avant ceci : - Code:
-
<table class="forumline noprint" width="100%" border="0" cellspacing="0" cellpadding="0" style="margin: 0 0 1px 0; border-top: 0px;"> <tr> <td class="row2" valign="top" {COLSPAN_PAGINATION} width="150"><span class="gensmall">{PAGE_NUMBER}</span></td> <!-- BEGIN topicpagination --> <td class="row1" align="right" valign="top" ><span class="gensmall">{PAGINATION}</span></td> <!-- END topicpagination --> </tr> <!-- BEGIN switch_user_logged_in --> <!-- BEGIN watchtopic --> <tr> <td class="row2" colspan="2" align="right" valign="top"><span class="gensmall">{S_WATCH_TOPIC}</span></td> </tr> <!-- END watchtopic --> <!-- END switch_user_logged_in --> </table> |
|
|
Mr. Docteur Expert en ForumActif
| Sam 8 Juin - 8:27 | |
| Alors là Sky, tu as bien raison. J'ai testé que sur un message alors j'ai pas pu voir... Merci pour la correction ! |
|
|
SkySky Modérateur
| Sam 8 Juin - 8:29 | |
| pas de soucis je suis pas ton bas gauche pour rien |
|
|
Mr. Docteur Expert en ForumActif
| Sam 8 Juin - 8:31 | |
| Bas gauche ou bras gauche lol ? |
|
|
SkySky Modérateur
| Sam 8 Juin - 8:32 | |
| Oh punaise je tape trop vite et ne relis pas lol
Désolé le BRAS gauche
|
|
|
Mr. Docteur Expert en ForumActif
| Sam 8 Juin - 8:34 | |
| Haha lol |
|
|
Oxyman1982 Membre
| Sam 8 Juin - 16:16 | |
| Merci pour les codes mais je doit me tromper quelque part je colle ça: - Code:
-
<!-- END no_post --> <tr align="right"> <td class="catBottom" colspan="3" height="28"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="9%" class="noprint"> </td> <td align="center" class="t-title"><a name="bottomtitle"></a><h1 class="cattitle">{TOPIC_TITLE}</h1></td> <td align="right" nowrap="nowrap" width="9%" class="browse-arrows"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#top">{L_BACK_TO_TOP}</a> </td> </tr> </table> </td> </tr> </table>
{POLL_DISPLAY}
<table class="forumline noprint" width="100%" border="0" cellspacing="0" cellpadding="0" style="margin: 0 0 1px 0; border-top: 0px;"> <tr> <td class="row2" valign="top" {COLSPAN_PAGINATION} width="150"><span class="gensmall">{PAGE_NUMBER}</span></td> <!-- BEGIN topicpagination --> <td class="row1" align="right" valign="top" ><span class="gensmall">{PAGINATION}</span></td> <!-- END topicpagination --> </tr> <!-- BEGIN switch_user_logged_in --> <!-- BEGIN watchtopic --> <tr> <td class="row2" colspan="2" align="right" valign="top"><span class="gensmall">{S_WATCH_TOPIC}</span></td> </tr> <!-- END watchtopic --> <!-- END switch_user_logged_in --> </table> et quand je valide il reste plus que ça: {TOPIC_TITLE} {L_VIEW_PREVIOUS_TOPIC} {L_VIEW_NEXT_TOPIC} {L_BACK_TO_TOP} {POLL_DISPLAY} {PAGE_NUMBER} {PAGINATION} {S_WATCH_TOPIC} {TOPIC_TITLE} {L_VIEW_PREVIOUS_TOPIC} {L_VIEW_NEXT_TOPIC} {L_BACK_TO_TOP} {POLL_DISPLAY} {PAGE_NUMBER} {PAGINATION} {S_WATCH_TOPIC} PUORE |
|
|
Mr. Docteur Expert en ForumActif
| Sam 8 Juin - 20:49 | |
| Coucou Oxy, Na tu te trompe ... Recommence ton template à zéro. En fait tu dois trouver ce code: - Code:
-
{POLL_DISPLAY} Et tu le déplace après ce code: - Code:
-
<!-- END no_post --> <tr align="right"> <td class="catBottom" colspan="3" height="28"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="9%" class="noprint"> </td> <td align="center" class="t-title"><a name="bottomtitle"></a><h1 class="cattitle">{TOPIC_TITLE}</h1></td> <td align="right" nowrap="nowrap" width="9%" class="browse-arrows"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#top">{L_BACK_TO_TOP}</a> </td> </tr> </table> </td> </tr> </table> Cordialement, |
|
|
Oxyman1982 Membre
| Dim 9 Juin - 16:29 | |
| Haaaaaaaaaa !!!!! OK !!!! J'avais mis ca en ccs et c'est dans quel template ???? |
|
|
Oxyman1982 Membre
| Dim 9 Juin - 17:11 | |
| Bon j'ai trouver la bonne page de template (j'espère :face:) mon template final est ça : - Code:
-
<div id="pollitems" style="display:{POLLITEMS_CLOSE}"> <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0"> <tr><th class="thHead"> <table width="100%"><tr> <td width="10"></td><td align="center"><span class="gen"><b>{L_ADD_A_POLL}</b></span></td><td width="10"><a href="javascript:ShowHideLayernew('pollitems');"><img src="{TABS_MORE_IMG}" alt="+" align="middle" border="0"></a></td> </tr></table> </th></tr> </table> </div> <div id="pollitems_show" style="display:{POLLITEMS_OPEN}"> <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0"> <tr><th class="thHead"> <table width="100%"><tr> <td width="10"></td><td align="center"><span class="gen"><b>{L_ADD_A_POLL}</b></span></td><td width="10"><a href="javascript:ShowHideLayernew('pollitems');"><img src="{TABS_LESS_IMG}" alt="-" align="middle" border="0"></a></td> </tr></table> </th></tr> </table> <!-- BEGIN poll_option_rows --> <tr> <td class="row1"><span class="gen"><b>{L_POLL_OPTION} n°{poll_option_rows.S_POLL_OPTION_NUM_AFFICHE}</b></span></td> <td class="row2"><span class="genmed"><input type="text" name="poll_option_text[{poll_option_rows.S_POLL_OPTION_NUM}]" size="50" class="post" maxlength="255" value="{poll_option_rows.POLL_OPTION}" /></span> <input type="submit" name="del_poll_option[{poll_option_rows.S_POLL_OPTION_NUM}]" value="{L_DELETE_OPTION}" class="liteoption" /></td> </tr> <!-- END poll_option_rows --> <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <td class="row1" width="22%"><span class="gen"><b>{L_POLL_QUESTION}</b></span></td> <td class="row2" width="78%"><span class="genmed"><input type="text" name="poll_title" maxlength="255" class="post" value="{POLL_TITLE}" style="width:300px" /></span></td> </tr> <!-- BEGIN poll_option_textarea --> <tr> <td class="row1" valign="top"><span class="gen"><b>{L_POLL_OPTION}</b></span><br /><span class="genmed">{L_POLL_QUESTION_EXPLAIN}</span></td> <td class="row2"><textarea name="poll_option_text" rows="{POLL_OPTION_NUMBER}" cols="40" class="post" style="width:300px" />{POLL_OPTIONS}</textarea></td> </tr> <!-- END poll_option_textarea --> <!-- BEGIN poll_option_new --> <tr> <td class="row1"><span class="gen"><b>{L_POLL_OPTION} n°1</b></span></td> <td class="row2"><span class="genmed"><input type="text" name="poll_option_text[0]" size="50" class="post" maxlength="255" value="" /></span></td> </tr> <!-- END poll_option_new --> <!-- BEGIN poll_option_more --> <tr> <td class="row1"><span class="gen"><b>{L_POLL_OPTION}</b></span></td> <td class="row2"><span class="genmed"><input type="text" name="add_poll_option_text" size="50" maxlength="255" class="post" value="{ADD_POLL_OPTION}" /></span> <input type="submit" name="add_poll_option" value="{L_ADD_OPTION}" class="liteoption" /></td> </tr> <!-- END poll_option_more --> <tr> <td class="row1"><span class="gen"><b>{L_POLL_LENGTH}</b></span></td> <td class="row2"><span class="genmed"><input type="text" name="poll_length" size="3" maxlength="3" class="post" value="{POLL_LENGTH}" /></span> <span class="gen"><b>{L_DAYS}</b></span> <span class="gensmall">{L_POLL_LENGTH_EXPLAIN}</span></td> </tr> <tr> <td class="row1"><span class="gen"><b>{L_POLL_MULTIPLE}</b></span></td> <td class="row2"><span class="gen"><input type="radio" name="poll_multiple" value="1" {POLL_MULTIPLE_CHECKED}/> {L_YES} <input type="radio" name="poll_multiple" value="0" {POLL_MULTIPLE_UNCHECKED}/> {L_NO}</span></td> </tr>
<tr> <td class="row1"><span class="gen"><b>{L_POLL_CANCEL_VOTE}</b></span></td> <td class="row2"><span class="gen"><input type="radio" name="poll_cancel_vote" value="1"{POLL_CANCEL_VOTE_AUTHORIZED_STATUS}/> {L_YES} <input type="radio" name="poll_cancel_vote" value="0" {POLL_CANCEL_VOTE_UNAUTHORIZED_STATUS}/> {L_NO}</span></td> </tr>
<!-- BEGIN switch_poll_hide_result --> <tr> <td class="row1"><span class="gen"><b>{L_POLL_HIDE_RESULT}</b></span></td> <td class="row2"><span class="gen"><input type="radio" name="poll_hide_result" value="1"{POLL_HIDE_RESULT_CHECKED}/> {L_YES} <input type="radio" name="poll_hide_result" value="0" {POLL_HIDE_RESULT_UNCHECKED}/> {L_NO}</span></td> </tr> <!-- END switch_poll_hide_result -->
<!-- BEGIN switch_poll_delete_toggle --> <tr> <td class="row1"><span class="gen"><b>{L_POLL_DELETE}</b></span></td> <td class="row2"><input type="checkbox" name="poll_delete" /></td> </tr> <!-- END switch_poll_delete_toggle --> </table> </div> Mais ça change rien (Voici mon template d'origine): - Code:
-
<div id="pollitems" style="display:{POLLITEMS_CLOSE}"> <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0"> <tr><th class="thHead"> <table width="100%"><tr> <td width="10"></td><td align="center"><span class="gen"><b>{L_ADD_A_POLL}</b></span></td><td width="10"><a href="javascript:ShowHideLayernew('pollitems');"><img src="{TABS_MORE_IMG}" alt="+" align="middle" border="0"></a></td> </tr></table> </th></tr> </table> </div> <div id="pollitems_show" style="display:{POLLITEMS_OPEN}"> <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0"> <tr><th class="thHead"> <table width="100%"><tr> <td width="10"></td><td align="center"><span class="gen"><b>{L_ADD_A_POLL}</b></span></td><td width="10"><a href="javascript:ShowHideLayernew('pollitems');"><img src="{TABS_LESS_IMG}" alt="-" align="middle" border="0"></a></td> </tr></table> </th></tr> </table> <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <td class="row1" width="22%"><span class="gen"><b>{L_POLL_QUESTION}</b></span></td> <td class="row2" width="78%"><span class="genmed"><input type="text" name="poll_title" maxlength="255" class="post" value="{POLL_TITLE}" style="width:300px" /></span></td> </tr> <!-- BEGIN poll_option_textarea --> <tr> <td class="row1" valign="top"><span class="gen"><b>{L_POLL_OPTION}</b></span><br /><span class="genmed">{L_POLL_QUESTION_EXPLAIN}</span></td> <td class="row2"><textarea name="poll_option_text" rows="{POLL_OPTION_NUMBER}" cols="40" class="post" style="width:300px" />{POLL_OPTIONS}</textarea></td> </tr> <!-- END poll_option_textarea --> <!-- BEGIN poll_option_rows --> <tr> <td class="row1"><span class="gen"><b>{L_POLL_OPTION} n°{poll_option_rows.S_POLL_OPTION_NUM_AFFICHE}</b></span></td> <td class="row2"><span class="genmed"><input type="text" name="poll_option_text[{poll_option_rows.S_POLL_OPTION_NUM}]" size="50" class="post" maxlength="255" value="{poll_option_rows.POLL_OPTION}" /></span> <input type="submit" name="del_poll_option[{poll_option_rows.S_POLL_OPTION_NUM}]" value="{L_DELETE_OPTION}" class="liteoption" /></td> </tr> <!-- END poll_option_rows --> <!-- BEGIN poll_option_new --> <tr> <td class="row1"><span class="gen"><b>{L_POLL_OPTION} n°1</b></span></td> <td class="row2"><span class="genmed"><input type="text" name="poll_option_text[0]" size="50" class="post" maxlength="255" value="" /></span></td> </tr> <!-- END poll_option_new --> <!-- BEGIN poll_option_more --> <tr> <td class="row1"><span class="gen"><b>{L_POLL_OPTION}</b></span></td> <td class="row2"><span class="genmed"><input type="text" name="add_poll_option_text" size="50" maxlength="255" class="post" value="{ADD_POLL_OPTION}" /></span> <input type="submit" name="add_poll_option" value="{L_ADD_OPTION}" class="liteoption" /></td> </tr> <!-- END poll_option_more --> <tr> <td class="row1"><span class="gen"><b>{L_POLL_LENGTH}</b></span></td> <td class="row2"><span class="genmed"><input type="text" name="poll_length" size="3" maxlength="3" class="post" value="{POLL_LENGTH}" /></span> <span class="gen"><b>{L_DAYS}</b></span> <span class="gensmall">{L_POLL_LENGTH_EXPLAIN}</span></td> </tr> <tr> <td class="row1"><span class="gen"><b>{L_POLL_MULTIPLE}</b></span></td> <td class="row2"><span class="gen"><input type="radio" name="poll_multiple" value="1" {POLL_MULTIPLE_CHECKED}/> {L_YES} <input type="radio" name="poll_multiple" value="0" {POLL_MULTIPLE_UNCHECKED}/> {L_NO}</span></td> </tr>
<tr> <td class="row1"><span class="gen"><b>{L_POLL_CANCEL_VOTE}</b></span></td> <td class="row2"><span class="gen"><input type="radio" name="poll_cancel_vote" value="1"{POLL_CANCEL_VOTE_AUTHORIZED_STATUS}/> {L_YES} <input type="radio" name="poll_cancel_vote" value="0" {POLL_CANCEL_VOTE_UNAUTHORIZED_STATUS}/> {L_NO}</span></td> </tr>
<!-- BEGIN switch_poll_hide_result --> <tr> <td class="row1"><span class="gen"><b>{L_POLL_HIDE_RESULT}</b></span></td> <td class="row2"><span class="gen"><input type="radio" name="poll_hide_result" value="1"{POLL_HIDE_RESULT_CHECKED}/> {L_YES} <input type="radio" name="poll_hide_result" value="0" {POLL_HIDE_RESULT_UNCHECKED}/> {L_NO}</span></td> </tr> <!-- END switch_poll_hide_result -->
<!-- BEGIN switch_poll_delete_toggle --> <tr> <td class="row1"><span class="gen"><b>{L_POLL_DELETE}</b></span></td> <td class="row2"><input type="checkbox" name="poll_delete" /></td> </tr> <!-- END switch_poll_delete_toggle --> </table> </div> |
|
|
Mr. Docteur Expert en ForumActif
| Dim 9 Juin - 21:21 | |
| Coucou Oxy, En fait, j'ai testé de plusieurs manière et il est impossible de pas le faire répéter... Donc si je le met en dessous des message, il va ce répéter comme ici, http://docteur-teste.webservices.tv/t2-teste-sondage Car de mon coté, j'ai essayer la solution à Sky et cela fonctionne. Mais il parait en bas de tout les messages alors si ta 50 message le sondage va se retrouver sur la deuxième page :face: Si la solution de Sky te convient et que cela ne te dérange pas d'avoir le sujet à la fin complète du sujet, il te suffisais simplement de placer ce code à la ligne 277 de ton template: - Code:
-
{POLL_DISPLAY} Cordialement, |
|
|
Oxyman1982 Membre
| Lun 10 Juin - 15:54 | |
| Salut Doc sur mon template j'ai que 75 lignes ?!?!?! J'ai répondue au sondage teste de ton fofo teste mais ça mette le sondage tout à la fin |
|
|
Mr. Docteur Expert en ForumActif
| Mar 11 Juin - 2:20 | |
| Effectivement, je l'ai un peu modifier après ce message alors il ne se répète pas Si je te donne la solution que j'avais au départ, le sondage va se répéter dans chaque message. Ce que tu vois en ce moment sur mon forum teste, c'est le solution de Sky. C'est les deux seuls possibles. Je trouve que une ou l'autre, cela ne vaut pas la peine... Cordialement, |
|
|
Oxyman1982 Membre
| Mar 11 Juin - 4:06 | |
| Salut Doc
Peut tu me donner ta solution quand même pour voir ce que ça donne stp |
|
|
Mr. Docteur Expert en ForumActif
| Mar 11 Juin - 11:47 | |
| Oui aucun problème Alors ma solution consistait à prendre ce code: - Code:
-
{POLL_DISPLAY} Et à le déplacer juste avant ce code: - Code:
-
<td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="100%" height="28" colspan="2"> Cordialement, |
|
|
Contenu sponsorisé
| |
|
|