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)

New Joe 02-08-2011 02:30 AM

Quote:

Originally Posted by snoopytas (Post 2159993)
Sorry about that.
New version attached (it had a dependency on our Photo Comp system I've made optional)


Hopefully Digital point could incorporate my changes into his product ((c) permission granted)

Updated version attached.

Yes that worked.
Have the times showing and can set user group permissions.
Thanks.

HondaATC 02-08-2011 02:41 PM

Please excuse the technically challenged (Myself, :)) asking this question, but what would I need to do to run this inside a widget on the CMS?


edit: Could this be done a "quick and dirty" way with the spy feed on a blank page (No heading or other templates), and then iframe it in a widget? I think it can which is what I'm trying to figure out how to do now...

digitalpoint 02-08-2011 07:05 PM

It's not possible currently to run it inside a widget (unless you change it of course).

Alfa1 02-12-2011 12:28 PM

I was just looking for a way to put ispy into a vbadvanced block.

Do you have any tips on how to accomplish this?

OldSchoolDSL 02-13-2011 02:52 PM

Confirmed to work with jQuery 1.5.0

To apply update, search in template (theme / style) for SPY

Simply change the version number:

PHP Code:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script

I think the original was 1.4.4, so I guest changed it as seen above to 1.5.0

Da-Vinci 02-13-2011 11:07 PM

Has anybody seen an increase in server load with this? I personally can't see it but my host is blaming this for high server loads, just need some opinions please.

digitalpoint 02-13-2011 11:55 PM

You would need an insane amount of people actively looking at it at once... It's VERY low resource... so would be talking thousands of people would need to be looking at it at once on a crappiest shared setup for it to be an issue.

Da-Vinci 02-14-2011 11:05 AM

Thanks I thought as much, just needed some clarification.

NovoCiv 02-14-2011 06:17 PM

This product produces a vulnerability in my Hide Hack that I'd like to patch. I want to put this code in a hook, but I don't know which hook would apply to the spy.php page. Any ideas?
Code:

global $vbphrase, $db;
$post_text = $db->query_first("SELECT pagetext FROM " . TABLE_PREFIX . "post WHERE postid = $post[postid] ORDER BY dateline ASC");
$post_hide['pagetext'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', 'Your Message Goes Here', $post_text[pagetext]);
$post['pagetext'] = nl2br(vbchop($post_hide['pagetext'], 200));


digitalpoint 02-14-2011 06:38 PM

There are no spy specific hooks, but all the normal ones that run globally on all pages should be run. If you enable debug mode on your setup, it should tell you exactly what hooks are being run for any page you are on.


All times are GMT. The time now is 05:52 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.01201 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)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