MOD Description: It shows a short preview of the first or last post's text when you hover over the topic title. It is admin configurable and can be user configurable (if admin allows). It works in searches as well as regular topic pages.
MOD Version: 0.7.0a
phpBB.com MOD Development Thread:
http://www.phpbb.com/community/viewtopic.php?f=70&t=794905
Notes: I am now the official maintainer/developer of this mod. I am the third developer of the mod. I took it over between version 0.5.4 and 0.5.5.
MOD Download: http://www.paulgarvin.net/code/topic_preview_0.7.0a.zip
Demo Board: Here
Changes in 0.7.0a:
- Fixed an edit location in search.php.
- Replaced all occurrences of document with this.topiclink in showpreview and hide preview methods in topic_preview.html.
Changes in 0.7.0:
- Re-wrote Javascript to fix Internet Explorer flicker and mouseover issues.
- Revised the way the text is passed to the template engine due to the Javascript changes.
- Removed the call-time pass-by-reference from viewforum.php and search.php that caused a warning on some PHP installations.
Changes in 0.6.1:
- Updated for phpBB 3.0.1
Changes in 0.6.0:
- Added Topic Preview to search results.
- Can now preview first or last post.
- Most code moved out of viewforum.php and into the TopicPreview class.
- Code to determine if Topic Preview is to be displayed rewritten.
- Code to strip out bbcodes & magic links revised. Now leaves all urls, emails, smilie text in preview (except urls inside the url bbcode).
Changes in 0.5.5:
- Fixed issues with line wraps in the preview text.
- Fixed some template variable assignments.
- Improved (in my mind) the look of the box that contains the preview. The original design mimics the look of the prosilver index page and topic list with the rounded corners and thick borders. My version uses a thin 1px rectangular border and a light background.
Previous Versions Development Threads:




some
smilies 