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

XenForo Activity Stream [Deleted]

Discussion in 'Template Modifications' started by Adam Howard, May 27, 2012.

  1. Adam Howard

    Adam Howard Well-Known Member

    TheVisitors submitted a new resource:

    XenForo Activity Stream (version 1.0) - Add an activity stream - OR - replace "whats new" with one

    Read more about this resource...
     
  2. Dinh Thanh

    Dinh Thanh Well-Known Member

    Very useful for small site.
    In my site, it changes every second. Not very useful anymore.
     
  3. Adam Howard

    Adam Howard Well-Known Member

  4. Adam Howard

    Adam Howard Well-Known Member

    Option 2 would be better for you ;)

    (It adds it right next to "what's new")
     
    Digital Doctor, ARSamo and Dinh Thanh like this.
  5. ArnyVee

    ArnyVee Well-Known Member

    So, this is a combination of the newsfeed (recent activity) and the what's new?
     
  6. Adam Howard

    Adam Howard Well-Known Member

    Basically, yes

    XenForo has always had it, but it was not where you'd expect it.

    My simple template edit allows you to place it where members can find it easier by either adding it next to the current "what's new" in option 2 or completely replacing the old whats new with this in option 1.

    You can see a demo here on XenForo

    Current What's New = http://xenforo.com/community/find-new/threads
    Activity Stream = http://xenforo.com/community/recent-activity/
     
  7. ArnyVee

    ArnyVee Well-Known Member

    Oh, so this moves the tab/link to a 'sensible' position?

    Any additional features or functions added or planned?
     
  8. Adam Howard

    Adam Howard Well-Known Member

    YES :)

    You'd have to ask XenForo ... This is simply a basic template edit into what is already there.
     
  9. Coop1979

    Coop1979 Well-Known Member

    First of all, thanks for providing this simple edit. Very easy to create a template modification in TMS for this.

    I have a couple questions:
    1. How can we change what tab the Recent Activity page is "anchored" to? In other words, I have hidden my Members tab and don't want to use it, so I'd like for the active tab when Recent Activity is being viewed to be "Forums" or a custom tab "What's New?".
    2. Does anyone have the know-how to use the javascript that digitalpoint uses for his Spy add-on to instead make the Recent Activity Feed auto-refresh? The Recent Activity gives a far better snapshot of what is going on on your site since it includes Likes, timestamps, etc.
     
    ARSamo likes this.
  10. kprojects

    kprojects Well-Known Member

    Thanks - have meant to look into moving the recent activity link but never did!
     
    TheVisitors likes this.
  11. Cryptaline

    Cryptaline Active Member

  12. Adam Howard

    Adam Howard Well-Known Member

    Adam Howard updated XenForo Activity Stream with a new update entry:

    XenForo 1.1.4 update

    Read the rest of this update entry...
     
  13. Adam Howard

    Adam Howard Well-Known Member

    Original instructions
    for XenForo 1.1.x


    What is an activity stream?

    An activity stream is a more useful and detailed version of "What's New". Unlike "What's New?", it does not just list new post or threads, but every new action your members do.

    If you're interested... XenForo already does have an "activity stream". It's always had one. ;)

    Really? Where?

    It's in a place that I and others do not use and often ignore... ie.. The "Members" Tab and it is called "Recent Activity".

    That's cool. So now what?

    Now you can move it on your home page for your users to easily find or replace "What's New" with it. (Either one will make it easier for members to find and use)

    The choice is yours.


    OPTION 1 - Replace "What's New?"

    Within your template inside NAVIGATION search for

    If XenForo 1.1.3 (or older)
    PHP:
    <li><a href="{xen:link 'find-new/threads'}">{xen:phrase whats_new}</a></li>
    IF XenForo 1.1.4 (or newer)
    PHP:
    <li><a href="{xen:link 'find-new/threads'}" rel="nofollow">{xen:phrase whats_new}</a></li>
    Replace it with

    PHP:
    <xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link recent-activity}">{xen:phrase whats_new}</a></li></xen:if>

    OPTION 2 - Relocate

    Within your template inside NAVIGATION search for

    If XenForo 1.1.3 (or older)
    PHP:
    <li><a href="{xen:link 'find-new/threads'}">{xen:phrase whats_new}</a></li>
    IF XenForo 1.1.4 (or newer)
    PHP:
    <li><a href="{xen:link 'find-new/threads'}" rel="nofollow">{xen:phrase whats_new}</a></li>
    Add this line directly under it

    PHP:
    <xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link recent-activity}">{xen:phrase recent_activity}</a></li></xen:if>

    Now wasn't that easy? ;)

    You're welcome :cool:
    UPDATE:

    If you have [8wayRun.Com] XenPorta (Portal) installed and wish to apply this on there as well.

    In template EWRporta_Navtabs search for

    PHP:
    <li><a href="{xen:link 'find-new/threads'}">{xen:phrase whats_new}</a></li>
    Then decide if you want option 1 or 2 and apply final solutions to desired.
    Was this helpful?
    I accept donations
     
  14. Adam Howard

    Adam Howard Well-Known Member

    Adam Howard updated XenForo Activity Stream with a new update entry:

    XenForo 1.2.x update

    Read the rest of this update entry...
     
  15. Adam Howard

    Adam Howard Well-Known Member

    Tested and works on XenForo 1.3.2 (no update required) :)
     
  16. Adam Howard

    Adam Howard Well-Known Member

    This resource has been removed and is no longer available for download.
     
    SneakyDave likes this.

Share This Page