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
  #222  
Old 01-12-2011, 06:32 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 res6cue View Post
Ok I found a rather odd issue that hopefully can be resolved:

From time to time, nothing populates on the page for logged in users. However if you log out and check the page as a guest, it populates! I've tried a ton of things to get it to work, including disabling all other mods, to no avail. The digitalpoint_spy table has all the entries in it (as evidenced by the page populating for guests), but it just refuses to populate for logged in users from time to time. The 'Only Include Subscribed Forums' option makes no difference, either it works or it doesn't regardless.

Is there anything that could be causing this behavior? It's driving me nuts, because I really want to keep this mod around, it's extremely handy and our users love it...when it works!
Are you getting any JavaScript or XML errors on the page when it doesn't show the feed?
Reply With Quote
  #223  
Old 01-12-2011, 08:47 PM
Da-Vinci Da-Vinci is offline
 
Join Date: Mar 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi DP, great mod, installed and working 100% on 4.1.0 PL2, the only question I have is, are there any options in the Admin CP?

I saw very early on in the thread that somebody mentioned they have there's set to populate the last 10 entries from a historical record, yet I just can't find any options to alter anything anywhere in the ACP.

My forum is fairly busy but has peak times so at certain times of the day it's busier than others, I'd like it to load the last 10 Posts or Threads when the page is opened, obviously if the forum is experiencing lots of Posts/Threads these records would quickly move to the bottom of the page, otherwise they will sit there and show the last 10 entries.

Thanks in advance, installed and rated 5.
Reply With Quote
  #224  
Old 01-12-2011, 09:17 PM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As long as you've had posts within the last hour, it should fully populate on the initial page with the 25 last events...
Reply With Quote
  #225  
Old 01-12-2011, 09:28 PM
res6cue res6cue is offline
 
Join Date: Nov 2010
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalpoint View Post
Are you getting any JavaScript or XML errors on the page when it doesn't show the feed?
Nope, the page itself loads fine, it just never populates. Checked in Firefox, Chrome and IE, same results for each. What's odd is that it populates for Guests as well as Users Pending Moderation, but not for Registered Users or any other "full access" accounts. Well, not consistently at least, sometimes it will and sometimes it won't. I just checked it as I was typing this and it wouldn't populate when I was logged in (either under my admin account or my test Registered Users account), however as soon as I logged out it started to populate. :erm:
Reply With Quote
  #226  
Old 01-12-2011, 10:01 PM
Da-Vinci Da-Vinci is offline
 
Join Date: Mar 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalpoint View Post
As long as you've had posts within the last hour, it should fully populate on the initial page with the 25 last events...
Yes I can see more posts now, it must of been because I had only just installed it and was only getting 4 results now, I'm nearer to 25, great hack thanks very much for the share.
Reply With Quote
  #227  
Old 01-13-2011, 01:53 AM
beatyourtruck's Avatar
beatyourtruck beatyourtruck is offline
 
Join Date: Jul 2005
Location: Wisconsin
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by res6cue View Post
The easiest way to disable the link from showing on the navbar is to go to the Plugin Manager in the AdminCP, find Product : Digital Point Spy, uncheck the Active box for Add Spy Link To Navigation, then save active status. No need to edit any files.
Thank you! Been using vB for years and never really realized there were options in there for me to play with Fixed.
Reply With Quote
  #228  
Old 01-13-2011, 07:07 PM
OlijO's Avatar
OlijO OlijO is offline
 
Join Date: Jun 2005
Location: Belgium
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi everybody
I try to use it to my forum vB4.1.0PL2
I obtain a white page, no message.
In the AdminCP, is there any option to enable ? I can't see any option...
Reply With Quote
  #229  
Old 01-15-2011, 05:04 PM
Paul. Paul. is offline
 
Join Date: Mar 2007
Location: ?ire
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get an error.. I'm sure it's something that can easily be fixed?

Parse error: syntax error, unexpected '{', expecting ')' in D:\root\root\root\root\Forum\includes\class_core.p hp(4010) : eval()'d code on line 32
Reply With Quote
  #230  
Old 01-16-2011, 11:00 AM
alfanexus alfanexus is offline
 
Join Date: Dec 2008
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalpoint View Post
No, blog entries lack the hooks necessary to make it work for them. Plus, how often would you really see a new blog entry stream by compared to a new post?
Actually about 40-50 percent of posts on my site are blogs So I guess it depends of the kind of site.
Reply With Quote
  #231  
Old 01-27-2011, 02:53 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have posted in the past on this but here we go.

I have been using the vBIspy one for a long time, it works out of the box and never stops working.
I would like to change over to this one but at this present time I am unable to as this one still doesn't work right.

I installed this again today.
I opened up 2 tabs.
One with the vBIspy and one with this mod.

Both were working and posts and threads up dating fine.
But when there was about an hour between posts this one stopped up dating but the vBispy continued to up date after the hour.

So it looks like if there are no post after an hour then this one stops working, where as the vBIspy keeps on working.

I am sure there is a simple way to have this one do the same as the vBIsy mod.
I will wait for digitalpoint to get back to me with the answer.
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 09:53 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.05121 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