[AJOUT] Preview d'un sujet en passant la souris dessus

Tous les mods permettant l'ajout d'une fonction (inclassable)

Modérateurs: Apprenti Modo, Equipe phpBB.biz

[AJOUT] Preview d'un sujet en passant la souris dessus

Messagede achaab » 05 Mar 2005 10:35

Nom du MOD : Mouse hover topic preview
Description du MOD : En passant votre souris sur le titre d'un sujet, vous aurez un aperçu du contenu, sur les 200 premiers caracteres.
Auteur du MOD : Sven Ansem <sven@shannado.nl> - http://www.shannado.nl/forumorg
Niveau d'installation du MOD : facile
Version du MOD : 1.0.7
Démo : Non
Compatible EasyMOD : Oui

Code: Tout sélectionner
#################################################################
## MOD Title: Mouse hover topic preview
## MOD Author: Shannado <sven@shannado.nl> (Sven) http://www.shannado.nl/forumorg
##
## MOD Description: With this MOD an user can see preview, when he/she holds the mouse over the topic in viewforum
##           It showes the first 200 characters of the LAST post.In the HOWTO is also described how to
##           preview the FIRST post instead of the LAST Post.
##           Also in the search result screen you can preview the post (only when viewing topics)
##
## MOD Version: 1.0.7
##      
## Installation Level: Easy
## Installation Time: 5 Minutes
##
## Files To Edit: viewforum.php,
##         viewforum_body.tpl,
##         bbcode.php
## Included Files: N/A
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##   I have set a limit (200) on the number of characters show in the preview. You can adjust is yourself to anynumber.
##   Replace the '200' with your number. In the following code lines:
##      $topic_content = $topic_rowset[$i]['post_text'];
##
##      if (strlen($topic_content) > 200)
##      {
##         $topic_content = substr($topic_content, 0, 200) . "...";
##      }
##      else
##      {
##         $topic_content = $topic_content;
##      }
##
##
##   If you want to preview the first post instead of the last. change the next lines in viewforum.php
##   after you completed the HOW TO.
##
##
##   [ _F I N D_ ]
##
##      AND p.post_id = pt.post_id
##
##   [ _R E P L A C E   W I T H_ ]
##
##      AND t.topic_first_post_id = pt.post_id
##
##
##   [ _F I N D_ ]
##      AND p2.post_id = t.topic_last_post_id
##      AND p2.post_id = pt.post_id
##
##   [ _R E P L A C E   W I T H_ ]
##      AND p2.post_id = t.topic_last_post_id
##      AND p.post_id = pt.post_id
##
## Known Issues:
##   - Smilies & HTML code visible in preview
##
##############################################################
##
## Informations : Ce mod a été testé et remit en page par l'equipe mod de phpBB.biz
##
##                Vous en trouverez la derniere version a cette adresse :
##                http://forum.phpbb.biz/viewtopic.php?t=91662
##
##                Le support se trouve a cette adresse :
##                http://forum.phpbb.biz/viewtopic.php?t=96404
##
############################################################## 
## MOD History:
##
## ------------
## 01-01-2002 - 0.9.0 beta
##   - Beta
##
## 01-01-2002 - 0.9.1 beta
##   - BBCode was visible in the preview. BBCode will be stripped now
##
## 01-01-2002 - 0.9.2 beta
##   - Forgot the adjust the SQL statements
##
## 01-01-2002 - 0.9.3 beta
##   - Author notes extended with HOWTO preview always the first post
##
## 01-01-2002 - 1.0.0 FINAL
##   - Final
##
## 01-01-2002 - 1.0.1 FINAL
##   - Fixed preview FIRST post Announcement. The Annoucement disappear in the viewforum.
##     The Authors Notes theerfor have been adjusted.
##
## 01-01-2002 - 1.0.2 FINAL
##   - Fixed typo in the HOWTO of the preview of the FIRST post
##
## 01-01-2002 - 1.0.3 FINAL
##   - Adjusted (make shorter) the strip_bbcode function in the bbcode.php file
##
## 01-01-2002 - 1.0.4 FINAL
##   - Text with double quotes was not displayed correctly
##
## 01-01-2002 - 1.0.5 FINAL
##   - Added to preview to the search result page (only when viewing topics)
##
## 01-01-2002 - 1.0.6 FINAL
##   - Made phpBB v2.0.2 complaint and EasyMod 0.0.7 complaint
##
## 05-12-2003 - 1.0.7 FINAL
##   - Made phpBB v2.0.6 complaint and EasyMod 0.0.10a complaint
##   - Adjusted to the new Template
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
Fichiers joints
mouse_hover_topic_preview_107.txt
(12.58 ) Téléchargé 979 fois
Dernière édition par achaab le 23 Sep 2005 13:41, édité 2 fois.
A la retraite :P
Ne m'envoyez pas de MP ou de mail, je ne pourais ni les lire, ni vous répondre...
Avatar de l’utilisateur
achaab
Membre Spécial
Membre Spécial
 
Messages: 2379
Inscription: 13 Avr 2004 17:24

Messagede achaab » 27 Juin 2005 18:20

Passage du mod a la version 1.0.7, précedente version attachée ici
Fichiers joints
Mouse hover topic preview.txt
(7.7 ) Téléchargé 462 fois
A la retraite :P
Ne m'envoyez pas de MP ou de mail, je ne pourais ni les lire, ni vous répondre...
Avatar de l’utilisateur
achaab
Membre Spécial
Membre Spécial
 
Messages: 2379
Inscription: 13 Avr 2004 17:24


Retourner vers Ajout

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités