Firefox PHP

Module: Post Previews

Posted by Joe Curia 
Re: Module: Post Previews
January 20, 2011 07:54AM
To see the previews on the Phorum website, check your "Forum Settings" in the Control Center.

For your personal site, how wide do you have the preview area? If it is too wide, it will shift because it always tries to keep a 10 or 20 pixel distance from the right side of the screen. The width can be set in the module's settings page.

Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Post Previews
January 20, 2011 03:51PM
My apology, I forgot that I apparently had switched off this option in the past. It works flawlessly on the official Phorum site. My HTML markup is different, Phorum calculates the absolute values for "to" and "left" relating to the main <div>. In my case these values are chosen depending to the <div> which contains the Phorum table. Wouldn't this property give designers more freedom?
Thank you!
Re: Module: Post Previews
October 21, 2012 04:07PM
Hi, guys.

Thanks for another useful module. I'd like someone to clarify whether the following is just me being dumb or simply the intended behaviour:
  1. Preview a post and use Ctrl+Shift+right-click to mark the thread as read.
  2. Return to the message list later, when there's been a new post in the thread previously marked as read.
  3. Preview panel no longer displays the shortcut box. Ctrl+Shift+right-click no longer works.
Any ideas? I'm using the latest versions of Safari and Firefox on Mac OS X.
Re: Module: Post Previews
October 22, 2012 02:45PM

I never used marking a thread as read, but...

There is strange behavior when marking a forum as read. The symptom is the forum is ignored.
You won't get "new" message indication again for that forum unless you go into the forum and look at the Topic and page with one of the "new" messages you bypassed. (this may not be the exact behavior/ steps to reproduce, it may be that it is "fixed" by looking at any topic in the read forum )

This behavior can be seen here on the Phorum forum also.
Re: Module: Post Previews
December 30, 2012 09:12PM
How disable it Post Previews only over thread Icon?
Re: Module: Post Previews
September 20, 2013 11:50AM
Installed. Thanks for this!! I did a little tweaking, and it is attached to share.

Out of the box, this mod does a good job, thanks again, but one thing is if the previewed text is larger than the popup box dimensions, the last line in the popup box is cut more or less in half. Given this mod sets a constant box size, what I did was to determine the length of the text size and truncate it to fit within the popup box.

There are a couple of fudge factors, along with the ACP popup box dimensions, that you can play with to get your popup box looking good. My phorum uses 115% font size, I set my popup box to 900 wide by 50 high, and I use the fudge factors as shown in the file to get really good results with the text in the popup preview.

YMMV because I don't think there is a nice and quick way to get all cases of possible text previews to look perfect in a fixed dimensional popup box. It's the same with a fluid popup box and a fixed amount of text. Truncating text in inopportune places might break a smilie or something like that. Just worth a mention is all.
open | download - auto_adjust_text_in_popup.txt (3.3 KB)
Re: Module: Post Previews
September 11, 2015 09:54AM
v5.2.1.06 Oliver Riesen (
    - Fixed PHP Notice, Undefined index: body.
    - German language files added.

Using Phorum since 7/2000: (actual version 5.2.20)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Sorry, only registered users may post in this forum.

Click here to login