Recent content by mike406

  1. mike406

    XF 1.4 Adding a Browser Tooltip to the Registration Date

    title="{xen:datetime $user.register_date, 'absolute'}" Alternatively you could replace <dd>{xen:date $user.register_date}</dd> With <dd><xen:datetime time="$user.register_date" /></dd> However I'll note that <xen:datetime ...> will not always work the same in every location as sometimes it...
  2. mike406

    XF 1.4 Gender Conditionals

    Using news_feed_item_user_status doesn't appear to work where we want to make this change, we found that news_feed_item_profile_post_insert is the necessary template. However $user.gender doesn't seem to work in this template, so we're stuck trying to figure out how we can distinguish gender here.
  3. mike406

    XF 1.4 Navbar responsive design not working properly

    I've resolved it. It was because we had removed the visitor tabs from the navbar.
  4. mike406

    XF 1.4 Navbar responsive design not working properly

    Hi! We are working on a new theme for our forum and I've noticed that on smaller or zoomed in displays the navbar isn't properly hiding the extra tabs as it should be (image). I looked around if there was any CSS that might be conflicting with this but I didn't see anything immediately apparent...
  5. mike406

    XF 1.4 Hide "Staff Online Now" and "Members Online Now" to Guests?

    May I have a link to your forum? What is strange is that I try your exact code, and it works for me.
  6. mike406

    XF 1.4 Hide "Staff Online Now" and "Members Online Now" to Guests?

    Ok, that code is for the sidebar only on the forum list. Are you viewing the forum list, or a page from another addon that includes the sidebar. For example, our forum uses a Portal addon that includes the sidebar but uses a different template for it.
  7. mike406

    XF 1.4 Hide "Staff Online Now" and "Members Online Now" to Guests?

    ^ That above works for the forum statistics.
  8. mike406

    XF 1.4 Hide "Staff Online Now" and "Members Online Now" to Guests?

    That seems to be working for me, where in the template are you placing it?
  9. mike406

    XF 1.4 Aligning replies and views

    Happy to help. :) Okay, first in 'thread_list' find this block and remove the 2nd <a> element from it (the Start Date link on the top bar). We're going to move it into its own block in a sec. <dd class="main"> <a href="{xen:link forums, $forum...
  10. mike406

    XF 1.4 Aligning replies and views

    One possibility: In the 'thread_list_item' template find: <div class="listBlock stats pairsJustified" title="{xen:phrase members_who_liked_first_message}: {xen:if $thread.isRedirect, '&ndash;', {xen:number $thread.first_post_likes}}"> <dl class="major"><dt>{xen:phrase...
  11. mike406

    XF 1.4 Displaying post likes counter w/ dynamic updating?

    Hi all. We've made a small template modification to show the # of post likes (if any exist) next to the Like/Unlike link for posts. Example image below. What I would like to add so it's more fluid, is when someone goes to Like or Unlike the post that the number next to View Likes be...
  12. mike406

    XF 1.4 Moving Likes to Control Bar

    This is what we needed. <xen:if is="{$post.likes}"> <a href="{xen:link 'posts/likes', $post}" class="item control OverlayTrigger">{xen:phrase khflare_view_likes}</a> </xen:if>
  13. mike406

    XF 1.4 Edit Font Face For Posted Time Text in Each Message

    In the post template you're looking for this here <span class="item muted"> <span class="authorEnd"><xen:username user="$post" class="author" />,</span> <a href="{xen:link threads/post-permalink, $thread, 'post={$post}'}"...
  14. mike406

    XF 1.4 Trying to add a header for posts

    Thank you so much! I had a feeling it was something simple like that. :)
  15. mike406

    XF 1.4 Trying to add a header for posts

    Hi all. I'm trying to add a header above posts like this. I've tried it by placing the code in the message template right under the opening <li id="{messageId}"...>. I can position it where I want it to however I only want it to appear on top of posts and not conversations. Is there some sort of...
Top Bottom