Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Digital Point Spy Details »
Digital Point Spy
Mod Version: 1.11, by digitalpoint (Coder) digitalpoint is offline
Developer Last Online: May 2016 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (35 votes - 4.69 average) Installs: 403
Released: 27 May 2010 Last Update: 10 Sep 2012 Downloads: 1960
Not Supported DB Changes Uses Plugins Auto-Template Additional Files  

About
This is a Digg-style spy for seeing what's going on in your forum in realtime.

This is something I originally made about 4 years ago. Now that I rewrote it for vBulletin 4 (it also now uses the bundled YUI for animation), I decided to also wrap it up as a product package and release it for the world to use.

Installation
  • Put the spy.php file in your forum folder.
  • Put the digitalpoint_spy.js file in your clientscript folder.
  • Install the product-digitalpoint_spy.xml product under AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product
You can see a live version in action here:
http://forums.digitalpoint.com/spy.php


1.1.0 Update
  • Moved JavaScript to external file (works around template parsing bug with early versions of vBulletin 4.0.x).
  • XML generation is done with vBulletin's XML Builder class (let it deal with weird characters).
  • Switched JavaScript library to from YUI to jQuery (for an end user, it means better animations).
  • Changed do=xml to do=feed (works around servers that are overly protective and think they are trying to be hacked and blocking the request).

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #181  
Old 03 Dec 2010, 15:57
compuminus compuminus is offline
 
Join Date: Apr 2008
goes down intermittently

Hi Shawn, I've been using this mod in my forums for several months now, and many members have been reporting intermittent outages with the page. It isn't browser or location specific, but has been happening quite a lot, and I've been really struggling to isolate the cause. To make matters worse, I've almost never been able to see this happening at my end (but am 100% sure it is happening to lots of other members).

The page still loads (and the rest of the site works fine), but the latest events will appear empty and nothing scrolls. Even when they refresh, nothing appears until perhaps several hours later. No particular event/post is known to trigger this, and the digitalpoint_spy table is fully populated and is getting updated correctly. The server load is also never very high. I suspect that this could be happening on other sites as well, but my site members just use the page so heavily that they notice the 5-10% of the time that it is happening.

getXML/processXML/push aren't working under certain conditions. Could it have to do with their function timings? Any ideas? Here's some of the customized timings:

var fadetime = .25;
var pushtime = 300;
var fadetime_end = 1.5;
var pushtime_end = 4000

Any help here would be greatly appreciated...
Reply With Quote
  #182  
Old 03 Dec 2010, 18:39
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
No, blog entries lack the hooks necessary to make it work for them. Plus, how often would you really see a new blog entry stream by compared to a new post?
Reply With Quote
  #183  
Old 03 Dec 2010, 21:43
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
Originally Posted by compuminus View Post
Hi Shawn, I've been using this mod in my forums for several months now, and many members have been reporting intermittent outages with the page. It isn't browser or location specific, but has been happening quite a lot, and I've been really struggling to isolate the cause. To make matters worse, I've almost never been able to see this happening at my end (but am 100% sure it is happening to lots of other members).

The page still loads (and the rest of the site works fine), but the latest events will appear empty and nothing scrolls. Even when they refresh, nothing appears until perhaps several hours later. No particular event/post is known to trigger this, and the digitalpoint_spy table is fully populated and is getting updated correctly. The server load is also never very high. I suspect that this could be happening on other sites as well, but my site members just use the page so heavily that they notice the 5-10% of the time that it is happening.

getXML/processXML/push aren't working under certain conditions. Could it have to do with their function timings? Any ideas? Here's some of the customized timings:

var fadetime = .25;
var pushtime = 300;
var fadetime_end = 1.5;
var pushtime_end = 4000

Any help here would be greatly appreciated...
Would be a little difficult to debug if you don't see it happening and I can't see it happening. Can you get one of them to take a screenshot or something when it happens? Maybe some error with the one of the text interfering with the XML transport or something. I've been meaning to move it over to just use the internal vB_XML_Builder class, which should solve any issues with the AJAX crapping out if strange characters somehow made their way into it.
Reply With Quote
  #184  
Old 04 Dec 2010, 05:26
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
Installed and working on vB4.0.7
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #185  
Old 04 Dec 2010, 08:06
NovoCiv NovoCiv is offline
 
Join Date: Aug 2010
Works. About a minute delay, but it will serve it's purpose. Thanks!
Reply With Quote
  #186  
Old 04 Dec 2010, 09:26
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Real name: DRE
This would great if I could choose which usergroups are able to use this feature but since I cannot, I am uninstalling.
__________________
www.8thos.com
www.qapla.com
Reply With Quote
  #187  
Old 04 Dec 2010, 09:51
SİMAR's Avatar
SİMAR SİMAR is offline
 
Join Date: Jun 2009
Real name: SİMAR
thanks install super man
__________________
WwW.Stadt-Lahr.Com---www.stadt-lahr.com
Reply With Quote
  #188  
Old 04 Dec 2010, 11:22
MonsterDK MonsterDK is offline
 
Join Date: Nov 2002
I have posted here previously about the problem I had with this script.
But I did not get much response.

I will try again...

I get the same BLANK page. Nothing is showing. I have the SPY template and SPY.CSS.

I have just checked my database via phpmyadmin and I can't see the digitalpoint_spy table.

It would be listed down the left side panel in phpmyadmin with the long list?

Last edited by MonsterDK; 04 Dec 2010 at 11:36.
Reply With Quote
  #189  
Old 04 Dec 2010, 11:48
preemz10314 preemz10314 is offline
 
Join Date: Oct 2010
Originally Posted by MonsterDK View Post
I have posted here previously about the problem I had with this script.
But I did not get much response.

I will try again...

I get the same BLANK page. Nothing is showing. I have the SPY template and SPY.CSS.

I have just checked my database via phpmyadmin and I can't see the digitalpoint_spy table.

It would be listed down the left side panel in phpmyadmin with the long list?
you might have installed wrong or are pointing to the wrong url , or maybe you installed it but forgot to enable it in the admincp?

mine is http://www.digitalbrass.com/spy.php and as you can see it works fine... maybe you are seeing a blank page because there is no activity on your forum? either that or you are pointing to the wrong URL to view it.
Reply With Quote
  #190  
Old 04 Dec 2010, 12:30
MonsterDK MonsterDK is offline
 
Join Date: Nov 2002
Originally Posted by preemz10314 View Post
you might have installed wrong or are pointing to the wrong url , or maybe you installed it but forgot to enable it in the admincp?

mine is http://www.digitalbrass.com/spy.php and as you can see it works fine... maybe you are seeing a blank page because there is no activity on your forum? either that or you are pointing to the wrong URL to view it.
There is activity on my forum and I am viewing the correct URL.

thanks
Reply With Quote
  #191  
Old 06 Dec 2010, 06:12
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
So a few things dp:

Will you be making any changes to this Mod?
Adding the option to choose only certain user groups to be able to use this?
Adding 'Times' on the Posts and Threads which show on the spy page?
Reply With Quote
  #192  
Old 08 Dec 2010, 04:55
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
This one is the main thing I'd like to include, I have looked around in the spy.php file but don't know how to add or edit to do this:
Adding 'Times/Dates' on the Posts and Threads which show on the spy page.

I found this in the spy.php:
$output .= '<event>' .
'<id>' . $event['spyid'] . '</id>' .
'<what>' . $what[$event['action']] . '</what>' .
'<title>' . $event['title'] . '</title>' .
'<preview>' . $event['preview'] . '</preview>' .
'<who>' . iif ($event['action'] != 42, $event['username']) . '</who>' .
'<threadid>' . $event['threadid'] . '</threadid>' .
'<postid>' . $event['postid'] . '</postid>' .
'<userid>' . iif ($event['action'] != 42, $event['userid']) . '</userid>' .
'<forumid>' . $event['forumid'] . '</forumid>' .
'<forumname>' . $vbulletin->datastore->registry->forumcache[$event['forumid']]['title'] . '</forumname>' .
'</event>';
}
I tried to add time/date but as i am not a coder i really did not know what i was doing and it did not work.
Anyone could give a heads up for what code and where to add it so it will show the date and time on the spy page.
Thanks.

Last edited by New Joe; 08 Dec 2010 at 05:18.
Reply With Quote
  #193  
Old 08 Dec 2010, 20:13
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
Not really sure what the real value in the date/time is to be honest. If your board is busy, they would just all be streaming through with the current time and they would mostly all be the same. If your board is inactive, it would make your board appear very inactive since you could see the huge gaps in time between anything happening...
Reply With Quote
  #194  
Old 08 Dec 2010, 20:46
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Nice will this work for vb 3.8?
__________________
A Leader and initiator.
Reply With Quote
  #195  
Old 09 Dec 2010, 12:55
MonsterDK MonsterDK is offline
 
Join Date: Nov 2002
Originally Posted by bada_bing View Post
Nice will this work for vb 3.8?
be nice if it actually worked at all for me. vb 4.x
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:24.

Layout Options | Width: Wide Color: