how do I make sure my custom template has the post edit history functionality?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rodney B
    Member
    • Jan 2005
    • 59
    • 3.7.x

    how do I make sure my custom template has the post edit history functionality?

    I just upgraded to the latest version of vbulletin (3.7.2 pl...)

    I have a custom template and post edit history turned on.

    I looked at the default vb postbit template to see how the post edit history link was created and I added that code to my custom template:

    Code:
    <if condition="$show['postedited']">
            <!-- edit note -->
                <div class="smallfont">
                    <hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
                    <em>
                        <if condition="$show['postedithistory']">
                            <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
                        <else />
                            <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
                        </if>
                        <if condition="$post['edit_reason']">
                            $vbphrase[reason]: $post[edit_reason]
                        </if>
                    </em>
                </div>
            <!-- / edit note -->
            </if>
    But the post edit history is still not working. Is there something else I need to make sure my template has to enable this feature?
  • Pasqualis
    Senior Member
    • Apr 2004
    • 199
    • 3.6.x

    #2
    Have been looking for it as well. Can't find it either
    Hope someone can show us the way.

    Comment

    • Rodney B
      Member
      • Jan 2005
      • 59
      • 3.7.x

      #3
      My problem was that I was editing the wrong template (a backup template and not my live template)

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎