Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #302  
Old 06-07-2011, 03:13 PM
chrisbjax's Avatar
chrisbjax chrisbjax is offline
 
Join Date: Oct 2010
Location: Shakopee, MN
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any possibility of using this to echo on a page outside of vbulletin?

from here...
http://webpage.com/forum/index.php

to here...
http://webpage.com/index.php
Reply With Quote
  #303  
Old 06-07-2011, 03:33 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalpoint View Post
CPU load is minimal. It uses it's own tracking table for recent events so that SQL queries are kept very simple. We run this on a large, high traffic forum and the server load between running it and not running it isn't something you can tell the difference between.

Also, if you want to test the server load manually, just go to spy.php?do=xml and reload as fast as you can (or setup a process to hit it continuously). That is the underlying AJAX call used to get new events.
Is it backwards compatible (3.8 series) please?
Reply With Quote
  #304  
Old 06-07-2011, 06:44 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 chrisbjax View Post
Any possibility of using this to echo on a page outside of vbulletin?

from here...
http://webpage.com/forum/index.php

to here...
http://webpage.com/index.php
Not even sure what that means to be honest... The Spy itself doesn't care what the URL it's running on, so should work fine on any URL you put it as long as your vB framework is available there of course.

Quote:
Originally Posted by dutchbb View Post
Is it backwards compatible (3.8 series) please?
Nope, 4.x only.
Reply With Quote
  #305  
Old 06-07-2011, 09:46 PM
Methok Methok is offline
 
Join Date: May 2011
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alan_SP View Post
It's easy. Find plugin "Add Spy Link To Navigation" where you call link to it and use this condition around calling spy.php:

<vb:if condition="is_member_of($bbuserinfo,5,6,7)">

Now plugin should look like:

$template_hook['navbar_community_menu_end'] .= '<vb:if condition="is_member_of($bbuserinfo,5,6,7)"><li><a href="spy.php' . $session['sessionurl_q'] . '" target="_blank">' . $vbphrase['spy'] . '</a></li></vb:if>';

Of course, 5,6,7 are usergroups you want to allow access.
Yeah I couldn't get that to work, Also would that just hide the link rather than not allowing access to spy.php?

So if they just typed the URL they would find it?
Reply With Quote
  #306  
Old 06-08-2011, 05:25 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

People rarely know what you have installed on server, so hiding link is as good as disabling in many cases. But to disable people from using some mode, it needs mod reprogramming, that mod itself checks who's trying to use it.
Reply With Quote
  #307  
Old 06-30-2011, 12:16 AM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any reason this is no longer working for me? I've had it installed since it first came out (I think) but just recently upgraded to 4.1.4 and now it doesn't appear to work =S
Reply With Quote
  #308  
Old 06-30-2011, 05:09 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 Eq4bits View Post
Is there any reason this is no longer working for me?
Nothing on the addon side, no.
Reply With Quote
  #309  
Old 06-30-2011, 05:52 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

eh. Perhaps a conflict with another mod then =\
Reply With Quote
  #310  
Old 06-30-2011, 09:19 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

seems to be a conflict with my custom 'style' =S dang it
Reply With Quote
  #311  
Old 07-02-2011, 10:46 PM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah it was working for me but not anymore. Not sure which mod is conflicting with it.
Reply With Quote
Reply

Thread Tools

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 08:52 AM.


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.15679 seconds
  • Memory Usage 2,338KB
  • 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
  • (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