Version: 1.11, by digitalpoint
Developer Last Online: May 2016
Category: Miscellaneous Hacks -
Version: 4.x.x
Rating:
Released: 05-26-2010
Last Update: 09-09-2012
Installs: 404
DB Changes Uses Plugins Auto-Templates
Additional Files
No support by the author.
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
is there any way to make it play a soft "pop" sound or something on new posts? sounds in general that is, would be nice, if you dont have time to add such things yourself maybe you could direct me to where to look for adding it ^^
*edit*
Would also like to know if it would be possible to make it display in this manner instead What - Who - Where - Thread/Thread.
hi, sent you the url and a username as pn, as the forum is is private at this time...
*edit*
i created some more threads and now spy isnt showin any thread at all
Do you have any activity going on? The Spy is rather useless if there's nothing actively going on in the forum (it purges stuff from it's tracking database after it's an hour old). So if you have less than 25 actions happening in your forum per hour it's not going to fill the whole Spy window.
Quote:
Originally Posted by wipedout
is there any way to make it play a soft "pop" sound or something on new posts? sounds in general that is, would be nice, if you dont have time to add such things yourself maybe you could direct me to where to look for adding it ^^
*edit*
Would also like to know if it would be possible to make it display in this manner instead What - Who - Where - Thread/Thread.
I don't see why you couldn't do something like that if you really wanted to, but there isn't an option in the system to do it... you would need to modify the code/styling yourself to do it.
Is there any way I can get this to show only whats going on in ONE thread each day? Kinda like a chat but from a thread? Kinda like live topic?
Some insight on this would be great!
Thanks
In spy.php, change this:
PHP Code:
$events = $db->query_read_slave("
SELECT spy.*, user.username, thread.title, thread.forumid, post.pagetext AS preview
FROM " . TABLE_PREFIX . "digitalpoint_spy AS spy
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.userid = spy.userid)
LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (thread.threadid = spy.threadid)
LEFT JOIN " . TABLE_PREFIX . "post AS post ON (post.postid = spy.postid)
WHERE (thread.forumid IS NULL OR (thread.forumid IN ($forumids)$sql_subscribed))
$extra ORDER BY dateline DESC
LIMIT 25
");
to this:
PHP Code:
$events = $db->query_read_slave("
SELECT spy.*, user.username, thread.title, thread.forumid, post.pagetext AS preview
FROM " . TABLE_PREFIX . "digitalpoint_spy AS spy
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.userid = spy.userid)
LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (thread.threadid = spy.threadid)
LEFT JOIN " . TABLE_PREFIX . "post AS post ON (post.postid = spy.postid)
WHERE (thread.forumid IS NULL OR (thread.forumid IN ($forumids)$sql_subscribed))
AND spy.threadid = 999999
$extra ORDER BY dateline DESC
LIMIT 25
");
Basically just adding the AND spy.threadid = 999999 part where 999999 is the threadid.
Do you have any activity going on? The Spy is rather useless if there's nothing actively going on in the forum (it purges stuff from it's tracking database after it's an hour old). So if you have less than 25 actions happening in your forum per hour it's not going to fill the whole Spy window.
Jea, i have 10 test users, thats how i found out about the "Unkown" stuff, i will test it again when the forum is live, maybe it just needs more posts..
How could I include the time of the activity? I've found your mod really handy for monitoring the forums on a seperate monitor but it would be useful to know when things happened at a glance.
Cheers
How could I include the time of the activity? I've found your mod really handy for monitoring the forums on a seperate monitor but it would be useful to know when things happened at a glance.
Cheers
It wouldn't be *too* hard to hack it in... although it was intentionally left out with the following reasoning...
A large/active board is going to have a constant stream of new stuff... anything that shows on it is going to pretty much of just happened. While small boards might not want to put a time on it because someone looking at it may get the feeling the board is pretty stale with 1 thing happening every hour or so...