• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 Move post date/time above post

sinucello

Well-known member
#1
Hi,
one thing that keeps crossing my mind when comparing my new xenForo to the old vB is the post date under the post. In vB it was above the posting and to me it seems to be easier to find there and to process the visual info.

Today I found an interesting styling option from @Steve F here:
https://xenforo.com/community/threads/hide-extra-user-info-with-css-effect.79669/#post-801786

It hides the public/private controls and shows them only when you mouse-over the post. This is good but it also hides the date and this is the only info I`d like to have displayed permanently.

What do you think about this? Any other ideas where to move the postdate?

thank you - all the best,
Sacha
 

Sunka

Well-known member
#2
I resolved in this way...

Open message template
Find:

Code:
<xen:if is="{$message.isIgnored}">
                            <li>{xen:phrase you_are_ignoring_content_by_this_member} <a href="javascript:" class="JsOnly DisplayIgnoredContent">{xen:phrase show_ignored_content}</a></li>
                        </xen:if>
                    </xen:hook>
                </xen:contentcheck>
            </ul>
        </xen:if>
After that insert (change colour if you want):

Code:
<xen:comment>Time stamps</xen:comment>
        <p style="color:#434E54" font><i><xen:datetime time="$post.post_date" /></i></p>
        <xen:comment>END Time stamps</xen:comment>