Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Digital Point Spy Details »»
Digital Point Spy
Version: 1.11, by digitalpoint digitalpoint is offline
Developer Last Online: May 2016 Show Printable Version Email this Page

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
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

File Type: zip digitalpoint_spy-111.zip (8.3 KB, 399 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
abualjori, Erica1977, farru, Sarah EI, Seductor

Comments
  #112  
Old 07-20-2010, 08:15 AM
lostpond lostpond is offline
 
Join Date: Jul 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #113  
Old 07-20-2010, 09:40 AM
wipedout wipedout is offline
 
Join Date: Jul 2006
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #114  
Old 07-20-2010, 09:36 PM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lostpond View Post
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 View Post
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.
Reply With Quote
  #115  
Old 07-20-2010, 11:47 PM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #116  
Old 07-21-2010, 01:05 AM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KevinL View Post
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.
Reply With Quote
  #117  
Old 07-21-2010, 05:36 AM
lostpond lostpond is offline
 
Join Date: Jul 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalpoint View Post
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..
Reply With Quote
  #118  
Old 07-26-2010, 12:14 AM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any eta on the widget/forum block?

on 3.8 i had a spy block I created from a vbadvanced module and it'd be great to have it back.
Reply With Quote
  #119  
Old 07-26-2010, 03:56 PM
Cadellin's Avatar
Cadellin Cadellin is offline
 
Join Date: Jan 2009
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #120  
Old 07-27-2010, 05:08 AM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cadellin View Post
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...
Reply With Quote
  #121  
Old 08-02-2010, 07:30 AM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Shawn...

Would you mind if I back-ported this to vB3, not for redistribution, just for use on a forum I'm a part of?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 11:54 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10215 seconds
  • Memory Usage 2,355KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete