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
  #52  
Old 06-05-2010, 02:25 AM
sulasno sulasno is offline
 
Join Date: Feb 2010
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

off topic

I register at the site and have to make an additional click;

I have never registered under a different username.

How do I add this to my forum? tia
Reply With Quote
  #53  
Old 06-05-2010, 02:28 AM
Michlerish's Avatar
Michlerish Michlerish is offline
 
Join Date: May 2010
Location: Ontario
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalpoint View Post
It currently adds a link to the "Community" drop-down menu in the lower navigation (when you are anywhere within the forums).

If you really want it to have it's own main navbar button could you do something like so (this is off the top of my head, I didn't actually test it to make sure it works, but it should).

Plug-ins To Add
Location: process_templates_complete
PHP Code:
if (THIS_SCRIPT == 'spy'$vbulletin->options['selectednavtab'] = 'spy';
$template_hook['navtab_middle'] .= vB_Template::create('spy_navbar_link')->render(); 
Location: cache_templates
PHP Code:
$cache $cache[] = 'spy_navbar_link'
Template To Add
Location: spy_navbar_link
Code:
<li<vb:if condition="$vboptions['selectednavtab'] == 'spy'"> class="selected"</vb:if>>
	<a class="navtab" href="spy.php{vb:raw session.sessionurl_q}">{vb:rawphrase directory}</a>
</li>
Oh thanks! I actually didn't see it added under Community... I had some users ask for a NavBar link, I will let them know about the link under Community and see if that satisfies them.

If not, I will try your code above. Thanks so much for the work and quick reply
Reply With Quote
  #54  
Old 06-05-2010, 01:00 PM
Haywire0311 Haywire0311 is offline
 
Join Date: May 2010
Location: New Jersey
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works for the most part but the spy.php page displays weird (i think?)

The spy works but at the top of the page, there is a check box and a blank icon that links to spy.php.

Also, I can't seem to find where to edit the settings for this?

This is a link to my site: http://www.m3orpg.com/spy.php

The other thing it does is when people post, it says "Who Knows" instead of new thread. It does recognize editing a post though.
Reply With Quote
  #55  
Old 06-05-2010, 03:49 PM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems like maybe the phrases that it comes with did not get installed or used? Did you edit anything manually?
Reply With Quote
  #56  
Old 06-05-2010, 11:37 PM
Haywire0311 Haywire0311 is offline
 
Join Date: May 2010
Location: New Jersey
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalpoint View Post
Seems like maybe the phrases that it comes with did not get installed or used? Did you edit anything manually?
Nope....didn't touch a thing on the mod. I installed as directed and that's what happened. Didn't touch a thing. I thought there might be settings to fix it but I can't find settings for it anywhere.
Reply With Quote
  #57  
Old 06-06-2010, 12:47 AM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange... it really looks as if the import product process simply didn't import any phrases at all. Do you have a phrase category named "Spy" in your language/phrase system?
Reply With Quote
  #58  
Old 06-06-2010, 01:18 AM
Haywire0311 Haywire0311 is offline
 
Join Date: May 2010
Location: New Jersey
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalpoint View Post
Strange... it really looks as if the import product process simply didn't import any phrases at all. Do you have a phrase category named "Spy" in your language/phrase system?
Nope. I've tried uninstalling and reinstalling also and still no luck.
Reply With Quote
  #59  
Old 06-06-2010, 03:19 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 Haywire0311 View Post
Nope. I've tried uninstalling and reinstalling also and still no luck.
I really have no clue to be honest... and without a setup that I can see myself that actually omits the phrases when you import the product package, it's impossible to try and debug. I skimmed vBulletin's import function, and I didn't see anything in there that would cause that part to not happen based on a setting or something, so I'm not sure.

Do you have any other product/plug-in or anything else that does anything at all with the language system? Maybe try installing it with plug-ins disabled or something?

Sorry I can't be of more help...
Reply With Quote
  #60  
Old 06-06-2010, 07:52 AM
JAFRI's Avatar
JAFRI JAFRI is offline
 
Join Date: Jun 2009
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice work ,,, Thanks
Reply With Quote
  #61  
Old 06-06-2010, 08:14 AM
fluidswork's Avatar
fluidswork fluidswork is offline
 
Join Date: Apr 2010
Location: India
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice mod ...........
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 12:41 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.07613 seconds
  • Memory Usage 2,346KB
  • 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
  • (1)bbcode_code
  • (2)bbcode_php
  • (4)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