Link: https://www.phpbb.com/customise/db/mod/topic_preview
Topic Preview is an extension to the base phpBB forum that shows users a glimpse of the opening post of a thread when they hover with their mouse over its title. By default, it shows the first 360 characters of the opening post. We increased that limit to 450. Using the nopreview-BBcode, it can be chosen which part of the opening post specifically will be shown to users.
The nopreview-BBcode can be used to tell the Topic Preview that it should NOT include certain parts of the opening post. For example, let's say your opening post includes three paragraphs and you would like to show the users only the second paragraph in the preview window, then you would write that like this:
Code: Select all
[nopreview]Paragraph 1: This is the first paragraph that won't be shown in the preview because you put it inside the nopreview-BBcode.
[/nopreview]
Paragraph 2: This is the paragraph users would actually see in the preview because it is not enveloped by the nopreview-BBcode. If it is longer than 400 characters, the preview will only show the first 400 characters and cut off the rest.
[nopreview]Paragraph 3: This paragraph would be excluded from the preview again. This is especially useful if the paragraph you want to preview is shorter than 400 characters and you don't want the beginning of the next paragraph to show in the preview.
[/nopreview]
If you return to the topic list and hover over the title of the "Topic Preview"-thread, you will notice that it only shows you the second paragraph of this post. If you want to see how the nopreview-BBcode was applied here, click on the "Reply with Quote"-button at the top right of this post. That might help you understand how to use the feature if it is still unclear.
Also, you can take a look at the Story Template Post Models. These templates include designated spaces for authors to include a short teaser for their story that will be shown in the preview window.
If you got any questions about the Topic Preview, please ask them here.