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
  #92  
Old 07-02-2010, 07:50 AM
sebbbl sebbbl is offline
 
Join Date: Jun 2010
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I don't want to see new users registrations, how can I can get rid of that ?

And I get � instead of accents (french forum).

Edit :

Quote:
Originally Posted by PHP FAN View Post
fixed
PHP Code:
        /*$event['preview'] = htmlnumericentities(htmlentities ( 
            fetch_censored_text(fetch_trimmed_title(
            strip_bbcode(strip_quotes($event['preview']), false, true),
            $vbulletin->options['threadpreview']
        )), 
        ENT_COMPAT, 'UTF-8'));
                
        $event['title'] = str_replace ('&', '&', htmlnumericentities(htmlentities ($event['title'], ENT_COMPAT, 'UTF-8')));
        */ 
Where do you insert this code ?

__________________________________________________ _________________________

I don't either see message description...

And finally : it shows "unknown" in the threads/posts list, so I can't see the message posted.

Link : http://frenchcinema4d.fr/spy.php
Reply With Quote
  #93  
Old 07-03-2010, 10:46 AM
Yellow Slider Yellow Slider is offline
 
Join Date: Aug 2006
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this work with utf8 (hebrew) \ rtl?

Thanks
Reply With Quote
  #94  
Old 07-03-2010, 12:47 PM
PHP FAN PHP FAN is offline
 
Join Date: Sep 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmmm


OK forget about my last post!


The solution that worked for me in none English Characters with UTF-8 encoding is:



Open spy.php



Find:

PHP Code:
$event['preview'] = htmlnumericentities(htmlentities 
    
fetch_censored_text(fetch_trimmed_title(
    
strip_bbcode(strip_quotes($event['preview']), falsetrue),
    
$vbulletin->options['threadpreview']
)), 
ENT_COMPAT'UTF-8'));
                
$event['title'] = str_replace ('&''&'htmlnumericentities(htmlentities ($event['title'], ENT_COMPAT'UTF-8'))); 


Change to:


PHP Code:
$event['preview'] = htmlspecialchars(htmlentities 
    
fetch_censored_text(fetch_trimmed_title(
    
strip_bbcode(strip_quotes($event['preview']), falsetrue),
    
$vbulletin->options['threadpreview']
)), 
ENT_COMPAT'UTF-8'));
                
$event['title'] = str_replace ('&''&'htmlspecialchars(htmlentities ($event['title'], ENT_COMPAT'UTF-8'))); 
Reply With Quote
  #95  
Old 07-03-2010, 01:42 PM
mrt12345's Avatar
mrt12345 mrt12345 is offline
 
Join Date: Feb 2009
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the mod this should be interesting.. PS i have been a big fan of your site:up:
Reply With Quote
  #96  
Old 07-03-2010, 02:38 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PHP FAN View Post
hmmmm


OK forget about my last post!


The solution that worked for me in none English Characters with UTF-8 encoding is:



Open spy.php



Find:

PHP Code:
$event['preview'] = htmlnumericentities(htmlentities 
    
fetch_censored_text(fetch_trimmed_title(
    
strip_bbcode(strip_quotes($event['preview']), falsetrue),
    
$vbulletin->options['threadpreview']
)), 
ENT_COMPAT'UTF-8'));
                
$event['title'] = str_replace ('&''&'htmlnumericentities(htmlentities ($event['title'], ENT_COMPAT'UTF-8'))); 


Change to:


PHP Code:
$event['preview'] = htmlspecialchars(htmlentities 
    
fetch_censored_text(fetch_trimmed_title(
    
strip_bbcode(strip_quotes($event['preview']), falsetrue),
    
$vbulletin->options['threadpreview']
)), 
ENT_COMPAT'UTF-8'));
                
$event['title'] = str_replace ('&''&'htmlspecialchars(htmlentities ($event['title'], ENT_COMPAT'UTF-8'))); 
What did you change? It looks the same to me.
Reply With Quote
  #97  
Old 07-04-2010, 07:30 AM
PHP FAN PHP FAN is offline
 
Join Date: Sep 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
What did you change? It looks the same to me.

Changed htmlnumericentities with htmlspecialchars in both lines:

PHP Code:
$event['preview'] = htmlnumericentities(htmlentities 

In to

$event
['preview'] = htmlspecialchars(htmlentities 

And


PHP Code:
$event['title'] = str_replace ('&''&'htmlnumericentities(htmlentities ($event['title'], ENT_COMPAT'UTF-8')));  

In to
                
$event
['title'] = str_replace ('&''&'htmlspecialchars(htmlentities ($event['title'], ENT_COMPAT'UTF-8'))); 
Reply With Quote
  #98  
Old 07-05-2010, 02:18 PM
sinucello sinucello is offline
 
Join Date: Apr 2006
Location: dutch-german border
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

this is a great mod, thanks for sharing it. Would be nice to have it in a sidebar block with some more options. That way users could be easily informed about everything they are interested in: new replies, PNs, post in subscribed forums without having to look at the "What`s new" page.

Another idea would be to use it as a tool for moderators with mod-options shown behind each entry.

all the best,
Sacha
Reply With Quote
  #99  
Old 07-11-2010, 02:23 AM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting this error for some reason:

Parse error: syntax error, unexpected '{', expecting ')' in /public_html/includes/class_core.php(4010) : eval()'d code on line 32
Reply With Quote
  #100  
Old 07-11-2010, 10:16 PM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's your site URL?
Reply With Quote
  #101  
Old 07-11-2010, 11:15 PM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalpoint View Post
What's your site URL?
www.bimmerboost.com
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 05:00 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.05627 seconds
  • Memory Usage 2,359KB
  • 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
  • (7)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