Post Edit History (PEH) Alternate Postbit Layout
This modification is in the archives.
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] In postbit_legacy find: Code:
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&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"> <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. |
Similar Mods
Add-On Releases Post Edit History (PEH) | vBulletin 3.6 Add-ons |