vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Digital Point Spy (https://vborg.vbsupport.ru/showthread.php?t=243429)

lostpond 07-20-2010 08:15 AM

hi, sent you the url and a username as pn, as the forum is is private at this time...

*edit*

i created some more threads and now spy isnt showin any thread at all :(

wipedout 07-20-2010 09:40 AM

is there any way to make it play a soft "pop" sound or something on new posts? sounds in general that is, would be nice, if you dont have time to add such things yourself maybe you could direct me to where to look for adding it ^^

*edit*

Would also like to know if it would be possible to make it display in this manner instead What - Who - Where - Thread/Thread.

digitalpoint 07-20-2010 09:36 PM

Quote:

Originally Posted by lostpond (Post 2071908)
hi, sent you the url and a username as pn, as the forum is is private at this time...

*edit*

i created some more threads and now spy isnt showin any thread at all :(

Do you have any activity going on? The Spy is rather useless if there's nothing actively going on in the forum (it purges stuff from it's tracking database after it's an hour old). So if you have less than 25 actions happening in your forum per hour it's not going to fill the whole Spy window.

Quote:

Originally Posted by wipedout (Post 2071930)
is there any way to make it play a soft "pop" sound or something on new posts? sounds in general that is, would be nice, if you dont have time to add such things yourself maybe you could direct me to where to look for adding it ^^

*edit*

Would also like to know if it would be possible to make it display in this manner instead What - Who - Where - Thread/Thread.

I don't see why you couldn't do something like that if you really wanted to, but there isn't an option in the system to do it... you would need to modify the code/styling yourself to do it.

KevinL 07-20-2010 11:47 PM

Is there any way I can get this to show only whats going on in ONE thread each day? Kinda like a chat but from a thread? Kinda like live topic?

Some insight on this would be great!

Thanks

digitalpoint 07-21-2010 01:05 AM

Quote:

Originally Posted by KevinL (Post 2072235)
Is there any way I can get this to show only whats going on in ONE thread each day? Kinda like a chat but from a thread? Kinda like live topic?

Some insight on this would be great!

Thanks

In spy.php, change this:

PHP Code:

$events $db->query_read_slave("
        SELECT spy.*, user.username, thread.title, thread.forumid, post.pagetext AS preview
        FROM " 
TABLE_PREFIX "digitalpoint_spy AS spy
        LEFT JOIN " 
TABLE_PREFIX "user AS user ON (user.userid = spy.userid)
        LEFT JOIN " 
TABLE_PREFIX "thread AS thread ON (thread.threadid = spy.threadid)
        LEFT JOIN " 
TABLE_PREFIX "post AS post ON (post.postid = spy.postid)
        WHERE (thread.forumid IS NULL OR (thread.forumid IN (
$forumids)$sql_subscribed))
            
$extra
        ORDER BY dateline DESC
        LIMIT 25
    "
); 

to this:
PHP Code:

$events $db->query_read_slave("
        SELECT spy.*, user.username, thread.title, thread.forumid, post.pagetext AS preview
        FROM " 
TABLE_PREFIX "digitalpoint_spy AS spy
        LEFT JOIN " 
TABLE_PREFIX "user AS user ON (user.userid = spy.userid)
        LEFT JOIN " 
TABLE_PREFIX "thread AS thread ON (thread.threadid = spy.threadid)
        LEFT JOIN " 
TABLE_PREFIX "post AS post ON (post.postid = spy.postid)
        WHERE (thread.forumid IS NULL OR (thread.forumid IN (
$forumids)$sql_subscribed))
            AND spy.threadid = 999999
            
$extra
        ORDER BY dateline DESC
        LIMIT 25
    "
); 

Basically just adding the AND spy.threadid = 999999 part where 999999 is the threadid.

lostpond 07-21-2010 05:36 AM

Quote:

Originally Posted by digitalpoint (Post 2072195)
Do you have any activity going on? The Spy is rather useless if there's nothing actively going on in the forum (it purges stuff from it's tracking database after it's an hour old). So if you have less than 25 actions happening in your forum per hour it's not going to fill the whole Spy window.

Jea, i have 10 test users, thats how i found out about the "Unkown" stuff, i will test it again when the forum is live, maybe it just needs more posts..

Carnage 07-26-2010 12:14 AM

any eta on the widget/forum block?

on 3.8 i had a spy block I created from a vbadvanced module and it'd be great to have it back.

Cadellin 07-26-2010 03:56 PM

How could I include the time of the activity? I've found your mod really handy for monitoring the forums on a seperate monitor but it would be useful to know when things happened at a glance.

Cheers

digitalpoint 07-27-2010 05:08 AM

Quote:

Originally Posted by Cadellin (Post 2074817)
How could I include the time of the activity? I've found your mod really handy for monitoring the forums on a seperate monitor but it would be useful to know when things happened at a glance.

Cheers

It wouldn't be *too* hard to hack it in... although it was intentionally left out with the following reasoning...

A large/active board is going to have a constant stream of new stuff... anything that shows on it is going to pretty much of just happened. While small boards might not want to put a time on it because someone looking at it may get the feeling the board is pretty stale with 1 thing happening every hour or so...

Eric 08-02-2010 07:30 AM

Shawn...

Would you mind if I back-ported this to vB3, not for redistribution, just for use on a forum I'm a part of?


All times are GMT. The time now is 09:33 PM.

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.02063 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete