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
#################################################################

