1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Digital Point Spy

Discussion in 'Add-on Releases [Archive]' started by digitalpoint, Nov 2, 2011.

Thread Status:
Not open for further replies.
  1. digitalpoint

    digitalpoint Well-Known Member

    About
    This is a realtime Spy for realtime monitoring of things going on within your forum.

    Installation
    • Put the contents of the library directory into your XenForo library directory.
    • Install the addon-dpSpy.xml file in your Admin Control Panel -> Install Add-on option.
    There isn't a whole lot to explain... it's a XenForo version of this: http://forums.digitalpoint.com/spy.php

    P.S. - since I don't have a live XenForo site myself yet, I can't really give any good real usage screenshots... if someone wants to give me a link to where you have it installed so I can grab a screenshot for this thread, it would be useful.
     

    Attached Files:

  2. Brogan

    Brogan XenForo Moderator Staff Member

    Nice work.

    Will this increase server load and/or queries a significant amount?

    Is it safe to install on a shared server?
     
  3. digitalpoint

    digitalpoint Well-Known Member

    It shouldn't... it does one relatively simple query every 5 seconds to feed in anything new. I've had over 1,000 people watching the spy at the same time at digitalpoint.com without any issues when we were doing a big event.

    In realworld use, it's rare any more than 1 or 2 people are actively watching it anyway...
     
    esbes, Veer and Brogan like this.
  4. mrGTB

    mrGTB Well-Known Member

    Why can't I download this? It says "error - file cannot be located on the server".
     
  5. digitalpoint

    digitalpoint Well-Known Member

    Hmmmm... not sure... maybe reload the page? I just tried it and it works for me.
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Downloaded fine for me.

    However, it doesn't seem to work on my local installation.
    I am logged in with two different accounts in two different browsers and nothing is appearing in either.
     
  7. Trekkan

    Trekkan Well-Known Member

    Download worked ok for me.

    Thanks DigitalPoint!
     
  8. mrGTB

    mrGTB Well-Known Member

    Hmm, that was odd. It's let me download it now after copying URL, closing browser and reloading it again pointing to this page. Must have been my "ABP" FireFox add-on doing it because it was enabled then.

    Most likely was, as I've noticed it also stop the quick pop-up editor from appearing as well. Even though I've not blocked it or anything.
     
  9. digitalpoint

    digitalpoint Well-Known Member

    It's only going to show new stuff happening from the point you install it...
     
  10. James

    James Well-Known Member

    Any chance you can add a timestamp into it somewhere? Maybe switch Who/Where to Who/Where/When and use XenForo's relative timestamps to display when it was done?
     
    high1976 likes this.
  11. digitalpoint

    digitalpoint Well-Known Member

    I thought about adding the timestamp, but I think it's just clutter to be honest... since it's not searchable or filterable or anything, everything happening more or less is happening NOW... which is the whole point of it (what's happening now).

    The only exception to that would be very small boards that don't have much activity... and even for those, adding a timestamp to everything is only going to make their forum look unused to anyone actually using the Spy.
     
    James likes this.
  12. Brogan

    Brogan XenForo Moderator Staff Member

    I was aware of that...

    I installed it and made several test posts from each account.

    The page in both browsers didn't update.
     
  13. James

    James Well-Known Member

    I agree, just that when I was looking at the Digital Point version, I noticed it seems to pre-load X things that happened before I loaded the page (I saw New User Registration at least 3 times on refresh) so it'd be nice to be able to look at a timestamp and know that it's the same user I just saw register about a minute ago!
     
  14. digitalpoint

    digitalpoint Well-Known Member

    Hmmmm... that doesn't sounds good... did anything get populated in the dp_spy table?

    It does preload the 25 latest actions, but those are still more or less "now". On digitalpoint.com, 25 actions is probably about 1 minute worth of activity, so...
     
    James likes this.
  15. Brogan

    Brogan XenForo Moderator Staff Member

    Yes, that all looks fine.

    table.PNG
     
  16. digitalpoint

    digitalpoint Well-Known Member

    Do you happen to have a URL I could take a look at? Logging the events is definitely a good sign... only thing I can think of is some sort of JS error when doing the AJAX call.
     
  17. Brogan

    Brogan XenForo Moderator Staff Member

    Unfortunately it's a local installation using XAMPP.

    I'll see if I can catch anything in Firebug.
     
  18. James

    James Well-Known Member

    It is a JS error: Failed to load resource: the server responded with a status of 404 (Not Found)

    It's trying to find spyfeed&last=0&r=0.05421181186102331
     
  19. Brogan

    Brogan XenForo Moderator Staff Member

    Yup, just about to post that.
     
  20. James

    James Well-Known Member

    BTW you should probably update your post with something like "Install the add-on then navigate to http://www.yourdomain.com/<xfroot>/spy to see the add-on"

    Also what's the deal with the "XenForo Spy by Digital Point"? Is it removable or does it have to remain intact? (I have no plans to remove it, just figured it should be answered)
     
Thread Status:
Not open for further replies.

Share This Page