Back to vBulletin 3.6 Template Modifications

Post Edit History (PEH) Alternate Postbit Layout
Mod Version: 1.00, by MThornback

This modification is in the archives.
vB Version: 3.6.7 Rating: (0 vote - 0 average) Installs: 15
Released: 16 Jan 2007 Last Update: Never Downloads: 85
Not Supported Template Edits  

This is simply an alternative to Survivors layout for adding the PEH display within the postbit template....anyone whos seen my few additions here knows I don't do much fancy mostly just what I find useful and think others might too....

What this does:
If no edit exists for the post, it will hide the link, and when an edit is made the link will show up...simple yes?

Instructions(from PEH):

In postbit Find:
Code:
$post[posts]
or

In postbit_legacy find:
Code:
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>

Add Underneath:

Code:
<if condition="$post[editcount]==0">
&nbsp;
<else />
<if condition="$show['edithistorylink'] AND $post[editcount] > '0'">
<a href="edithistory.php?do=viewedithistory&postid=$post[postid]"><phrase 1=$post[editcount]>$vbphrase[saved_edits]</phrase></a>
</if>
</if>

If you use it please click install...it shouldn't need much support...but I'll answer questions as they pop up.....screenshots shouldn't be necessary if its working you'll see the link only on edited posts

Download

This modification is archived, downloads are still allowed.

File Type: %1$s PEHLayout_alt_readme.txt (1.0 KB, 92 downloads)

Similar Mods

Add-On Releases Post Edit History (PEH) vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024