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
  #252  
Old 02-04-2011, 12:47 AM
jefferis jefferis is offline
 
Join Date: Dec 2006
Location: Butler, PA
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
It should follow forum permissions. Look at it as a guest.
Yes, Great! Thanks
Reply With Quote
  #253  
Old 02-04-2011, 01:13 AM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right... as mentioned, it only shows stuff from the forums the user has permission to view, so you don't need to make special permissions for it.
Reply With Quote
  #254  
Old 02-04-2011, 04:54 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalpoint View Post
The 1.1.0 version I just uploaded should handle non-standard characters better. Go ahead and try it out and let me know.
Thanks for your work digitalpoint, I have just installed your up-dated one and it works great.
I left it for 3 hours and it up-dated every post and thread fine.

I still miss the 'Times' of the posts or threads which we have with ispy but i have decided as this one is well supported and the other one is not supported at all i will keep with this one.

But if it isn't a lot of work to do, maybe think about adding the 'Times' part to a next up-dated version of yours.
Reply With Quote
  #255  
Old 02-04-2011, 05:38 AM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well the time thing wouldn't be terribly hard to add, but I'm still not so sure how useful it would be... for an active site, they would all be happening at the same time (more or less "now")... and then for a non-active forum, the times would be so far apart it makes the forum seem really slow (which probably isn't what they want). I just don't really see an upside to it...
Reply With Quote
  #256  
Old 02-04-2011, 07:37 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalpoint View Post
Well the time thing wouldn't be terribly hard to add, but I'm still not so sure how useful it would be... for an active site, they would all be happening at the same time (more or less "now")... and then for a non-active forum, the times would be so far apart it makes the forum seem really slow (which probably isn't what they want). I just don't really see an upside to it...
Maybe just something I am use to with the ispy one.

If it really isn't terribly hard to add, why not just add it (for me ) and make it the same as the other features you have with your mod, so they can be turned off if someone didn't want the times showing in the Plug in manager.

Thanks for getting back to me and listening so fast digitalpoint:up:
Reply With Quote
  #257  
Old 02-04-2011, 09:25 AM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well the reason I've been so reluctant to add a preference for it is I'm also an efficiency freak and like to shave nanoseconds off whatever I can... So for a setting that I don't (personally) see much use for, this is the math...

It would take roughly 200 bytes of PHP memory to *have* the setting, so that's just an extra 200 byts of memory that need to be allocated for each and every request. Let's say that allocating that added 1/500,000th of a second to the HTTP request (no idea what it would be, just throwing a number out there). For my site, we have approx 2,500 HTTP requests per second going through the vBulletin init process (we do things with it other than just the forum obviously). So 216M requests/day pulling data from the datastore and dumping it into memory. To the grand scheme of things, we just added a net effect of 432 seconds of unnecessary wait time to HTTP requests for the day just by *having* the setting.

In addition, it would add about 15 bytes to the datastore (which in our case is memcached... so it's going through the network to whatever web server is serving the request). Which is a net effect of 3GB of local network traffic each day for us.
Reply With Quote
  #258  
Old 02-04-2011, 09:49 PM
RK KINGKONG RK KINGKONG is offline
 
Join Date: May 2010
Location: NEW JERSEY
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed and working great 4.1.1 thank you sir for the effort n time .
Reply With Quote
  #259  
Old 02-07-2011, 02:11 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is our hacked version.
We changed it to add more info, have a control of which User Group can use it and to hook into our Photo competition system

We also changed the javascript to better handle network time outs.

You can have our changes if you wish.

Edit: Attachment removed - new post for new version
Reply With Quote
  #260  
Old 02-07-2011, 08:21 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snoopytas View Post
This is our hacked version.
We changed it to add more info, have a control of which User Group can use it and to hook into our Photo competition system

We also changed the javascript to better handle network time outs.

You can have our changes if you wish.
Saw this and thought I'd give a try.
It didn't work, no up dates.
Nice with the extra usergroup permissions but I'll stick to digital's supported Mod.
Reply With Quote
  #261  
Old 02-08-2011, 12:02 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by New Joe View Post
Saw this and thought I'd give a try.
It didn't work, no up dates.
Nice with the extra usergroup permissions but I'll stick to digital's supported Mod.
Sorry about that.
New version attached (it had a dependency on our Photo Comp system I've made optional)


Hopefully Digital point could incorporate my changes into his product ((c) permission granted)

Updated version attached.
Attached Files
File Type: zip dpsnew.zip (9.5 KB, 45 views)
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:25 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06521 seconds
  • Memory Usage 2,347KB
  • Queries Executed 28 (?)
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
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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