TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 08:48:33 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,106
  • Total Topics: 21,213
  • Online today: 358
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 86
  • Total: 87
  • illori

avoir un bloc sur page d'acceuille 'sondage'

Started by john013, July 01, 2011, 09:49:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

john013

pourriez vous me dire  comment inclure un bloc sondage à tp qui sera lier au forum.
ex:
quel heure est t'il ?
16H00?
15H00?
18H00?
(réaliser un raccourcis du sondage du forum)
www.ssd-handball.com
smf 2.0
tp 1.104
Trad Fr de Tinyportal v1.0 RC1
theme epic 2.0
mode:  -Add GooglePlus to Posts    1.0    
-FB & Twitter Sharer Mod 2.0    2.0    
-Picasa Gallery Browser    0.6    
-Trad Fr de Tinyportal v1.0 RC1    1.0 RC1
-TinyPortal    1.104

john013

www.ssd-handball.com
smf 2.0
tp 1.104
Trad Fr de Tinyportal v1.0 RC1
theme epic 2.0
mode:  -Add GooglePlus to Posts    1.0    
-FB & Twitter Sharer Mod 2.0    2.0    
-Picasa Gallery Browser    0.6    
-Trad Fr de Tinyportal v1.0 RC1    1.0 RC1
-TinyPortal    1.104

ZarPrime

john013,

Je ne suis pas sûr de ce type de bloc dont vous parlez. Parlez-vous d'un bloc sondage? Un bloc qui montrera un sondage à partir d'un sujet dans votre forum? Pouvez-vous s'il vous plaît nous donner un screenshot de ce que vous essayez de faire?

Quelles versions de SMF et TinyPortal utilisez-vous?

In English ...
I'm not sure what kind of block you are talking about.  Are you talking about a poll block?  A block that will show a poll from a topic in your Forum?  Can you please give us a screenshot of what you are trying to do?

What versions of SMF and TinyPortal are you using?

ZarPrime

john013

Bonjour voilà ce que je recherche
et oui je veut qui ce réfère a un forum
www.ssd-handball.com
smf 2.0
tp 1.104
Trad Fr de Tinyportal v1.0 RC1
theme epic 2.0
mode:  -Add GooglePlus to Posts    1.0    
-FB & Twitter Sharer Mod 2.0    2.0    
-Picasa Gallery Browser    0.6    
-Trad Fr de Tinyportal v1.0 RC1    1.0 RC1
-TinyPortal    1.104

ZarPrime

En français ...
OK, bien, vous ne m'avez pas encore dit ce que des versions de SMF et TinyPortal que vous utilisez. En tout cas, WillyP et Freddy ont juste fini le code pour le "Enhanced ShowPoll" bloc. Vous pouvez trouver la rubrique contenant ce code en suivant ce lien --> http://www.tinyportal.net/index.php?topic=34205.0

In English ...
OK, well, you still haven't told me what versions of SMF and TinyPortal you are using.  In any case, WillyP and Freddy have just finished the code for the "Enhanced ShowPoll" block.  You can find the topic containing that code at this link --> http://www.tinyportal.net/index.php?topic=34205.0

ZarPrime

john013

Merci c se qu'il me faut . par contre serai t'il possible d'avoir l'explication de l'installation en Français ? ^^
www.ssd-handball.com
smf 2.0
tp 1.104
Trad Fr de Tinyportal v1.0 RC1
theme epic 2.0
mode:  -Add GooglePlus to Posts    1.0    
-FB & Twitter Sharer Mod 2.0    2.0    
-Picasa Gallery Browser    0.6    
-Trad Fr de Tinyportal v1.0 RC1    1.0 RC1
-TinyPortal    1.104

ZarPrime

1.  Utilisez le code, selon votre version de SMF, dans un bloc php.

// usage:
// - copy whole code to phpblock.
// - at the end of the code use function
// tp_showPoll(topic number or null, 'echo' or null, board number or null)
//
// examples:
// show the poll from topic 34
// tp_showPoll(34);                     
//
// show the most recent poll from the board number 5
// tp_showPoll(null,'echo',5);           
//
// keep in mind, that if board is specified, topic is ignored
// so it will display the same as above
// tp_showPoll(34,'echo',5)             

2.  De la dernière ligne dans le code ...

de montrer le plus récent sondage à partir du numéro 15 Conseil, l'utilisation ...
tp_showPoll(null,'echo',15);

ou

pour montrer le sondage de 134 numéro du sujet, l'utilisation ...
tp_showPoll(134);

ZarPrime