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)

chrisbjax 06-07-2011 03:13 PM

Any possibility of using this to echo on a page outside of vbulletin?

from here...
http://webpage.com/forum/index.php

to here...
http://webpage.com/index.php

dutchbb 06-07-2011 03:33 PM

Quote:

Originally Posted by digitalpoint (Post 2044324)
CPU load is minimal. It uses it's own tracking table for recent events so that SQL queries are kept very simple. We run this on a large, high traffic forum and the server load between running it and not running it isn't something you can tell the difference between.

Also, if you want to test the server load manually, just go to spy.php?do=xml and reload as fast as you can (or setup a process to hit it continuously). That is the underlying AJAX call used to get new events.

Is it backwards compatible (3.8 series) please?

digitalpoint 06-07-2011 06:44 PM

Quote:

Originally Posted by chrisbjax (Post 2204620)
Any possibility of using this to echo on a page outside of vbulletin?

from here...
http://webpage.com/forum/index.php

to here...
http://webpage.com/index.php

Not even sure what that means to be honest... The Spy itself doesn't care what the URL it's running on, so should work fine on any URL you put it as long as your vB framework is available there of course.

Quote:

Originally Posted by dutchbb (Post 2204628)
Is it backwards compatible (3.8 series) please?

Nope, 4.x only.

Methok 06-07-2011 09:46 PM

Quote:

Originally Posted by Alan_SP (Post 2201918)
It's easy. Find plugin "Add Spy Link To Navigation" where you call link to it and use this condition around calling spy.php:

<vb:if condition="is_member_of($bbuserinfo,5,6,7)">

Now plugin should look like:

$template_hook['navbar_community_menu_end'] .= '<vb:if condition="is_member_of($bbuserinfo,5,6,7)"><li><a href="spy.php' . $session['sessionurl_q'] . '" target="_blank">' . $vbphrase['spy'] . '</a></li></vb:if>';

Of course, 5,6,7 are usergroups you want to allow access.

Yeah I couldn't get that to work, Also would that just hide the link rather than not allowing access to spy.php?

So if they just typed the URL they would find it?

Alan_SP 06-08-2011 05:25 PM

People rarely know what you have installed on server, so hiding link is as good as disabling in many cases. But to disable people from using some mode, it needs mod reprogramming, that mod itself checks who's trying to use it.

Eq4bits 06-30-2011 12:16 AM

Is there any reason this is no longer working for me? I've had it installed since it first came out (I think) but just recently upgraded to 4.1.4 and now it doesn't appear to work =S

digitalpoint 06-30-2011 05:09 PM

Quote:

Originally Posted by Eq4bits (Post 2214807)
Is there any reason this is no longer working for me?

Nothing on the addon side, no.

Eq4bits 06-30-2011 05:52 PM

eh. Perhaps a conflict with another mod then =\

Eq4bits 06-30-2011 09:19 PM

seems to be a conflict with my custom 'style' =S dang it

8thos 07-02-2011 10:46 PM

Yeah it was working for me but not anymore. Not sure which mod is conflicting with it.


All times are GMT. The time now is 10:35 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.01418 seconds
  • Memory Usage 1,739KB
  • 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
  • (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