Show post as printable version
This modification is in the archives.
Lot of thx to captainslater from http://www.vbhacks-germany.org to translate this hack into english.
![]() Description: With this hack every single post could be shown as a printable version. (See screenshots) Installation: Upload the file printpost.php in your forum root than import the product-printpost_201006.xml through your Product-Manager Attention! Before installing this, make sure you have installed the Template Modification System from Andreas also known as KirbyDE. Download it here (german only at the moment, but it needs to be imported only): http://www.vbhacks-germany.org/index.php?t=5572 If you don't have installed the Template Modification System please edit your Templates according to the templateedits-printpost_201006.txt file: Please edit the following templates: 1. Search in your postbit-Template -------------------------------------------------------------------------------- Code:
$post[iplogged] and replace it with -------------------------------------------------------------------------------- Code:
<if condition="$post[iplogged]">$post[iplogged] <else />$post[iplogged]</if> <if condition="!$show['moderation']"><if condition="$post[threadid]"><a href="printpost.php?$session[sessionurl]t=$post[threadid]&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" border="0" /></a></if></if> 2. Search in your postbit_legacy-Template -------------------------------------------------------------------------------- [code]$post[postcount]</strong></a></if>[code] -------------------------------------------------------------------------------- and replace it with -------------------------------------------------------------------------------- Code:
$post[postcount]</strong></a></if> <if condition="$show['postcount']"> </if><if condition="!$show['moderation']"><if condition="$post[threadid]"><a href="printpost.php?$session[sessionurl]t=$post[threadid]&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" border="0" /></a></if></if> Works with my hack "Hide Links From Guests", too. Download
This modification is archived, downloads are still allowed. Screenshots |
Similar Mods
Cool Printable version | vBulletin 2.x Template Modifications |