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

Has to do with a bug in 4.0.2... The best thing would be to upgrade your vBulletin installation, but if not... you can run through this stuff to work around the vB bug:

https://vborg.vbsupport.ru/showthrea...52#post2045652
Reply With Quote
  #103  
Old 07-12-2010, 12:29 PM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalpoint View Post
Has to do with a bug in 4.0.2... The best thing would be to upgrade your vBulletin installation, but if not... you can run through this stuff to work around the vB bug:

https://vborg.vbsupport.ru/showthrea...52#post2045652
Ah I see, thank you.

I tried this but could not seem to get it to work. I'll probably have to wait until I upgrade, thanks for trying to help!
Reply With Quote
  #104  
Old 07-14-2010, 06:04 AM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Shawn,

Any chance to get this for vBulletin 3.8.x?

Thank you,
Jonathan
Reply With Quote
  #105  
Old 07-14-2010, 07:32 AM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, sorry... I don't have a 3.8.x forum any longer so nothing to test it against anyway.
Reply With Quote
  #106  
Old 07-17-2010, 07:18 AM
The Vegan Forum The Vegan Forum is offline
 
Join Date: Apr 2004
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, we had to deinstall this product yesterday, since non-public posts from moderated users showed up in the Spy-window.
Reply With Quote
  #107  
Old 07-17-2010, 05:54 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 The Vegan Forum View Post
Hi, we had to deinstall this product yesterday, since non-public posts from moderated users showed up in the Spy-window.
It's actually by design... the Spy is intended to show things happening in real-time (including things like a deleted post).

It does NOT show anything from a forum/section that the user does not have permission to view, but if something is posted and sent to a moderation queue (or a post is deleted) from a section that can access it will show the preview clip of that post as it rolls by.

It wouldn't be hard to suppress things that weren't visible normally if you wanted though. In the spy.php file, just 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 (thread.visible IS NULL OR thread.visible = 1)
            AND (post.visible IS NULL OR post.visible = 1)
            
$extra
        ORDER BY dateline DESC
        LIMIT 25
    "
); 
Reply With Quote
  #108  
Old 07-17-2010, 06:18 PM
The Vegan Forum The Vegan Forum is offline
 
Join Date: Apr 2004
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I fail to see why a mod or admin would want a plugin which automatically makes moderated posts and users unmoderated, as this realistically could mean that confidential info or insulting posts and attacks from members on moderation (eg. because they were about to be banned) would be published to thousands of people, but the name of the plugin says it all. It allows people to spy on stuff that's not meant to be seen. Great feature for members in conflict with the moderators!
Reply With Quote
  #109  
Old 07-17-2010, 09:25 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 The Vegan Forum View Post
I fail to see why a mod or admin would want a plugin which automatically makes moderated posts and users unmoderated, as this realistically could mean that confidential info or insulting posts and attacks from members on moderation (eg. because they were about to be banned) would be published to thousands of people, but the name of the plugin says it all. It allows people to spy on stuff that's not meant to be seen. Great feature for members in conflict with the moderators!
I've never seen anywhere remotely close to thousands of people watching the Spy at once. You see clips of posts, not the whole posts themselves, and you can't rewind it either. So after 25 things happen in your forum, it's existence within the Spy is gone forever.

But yeah... no big deal either way... if someone wants to suppress things that can't currently be seen from users (deleted posts, moderated posts, etc.) the change in the previous post should work fine.
Reply With Quote
  #110  
Old 07-20-2010, 07:06 AM
lostpond lostpond is offline
 
Join Date: Jul 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, great addon i really love it but i have a display error on 4.0.5 on some posts i just get "Unknown" in the "Thread/Post" section

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

Hmmm... is it just some posts? Do you have the URL where it's installed?
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 06:33 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.11208 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
  • (3)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
  • (1)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