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)

Kolbi 05-28-2010 05:06 PM

nice...

civil78 05-28-2010 08: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.

Thanks for the informations, I will test it :).

Boofo 05-28-2010 08:42 PM

Quote:

Originally Posted by civil78 (Post 2044804)
Thanks for the informations, I will test it :).

Please let us know what you find out. ;)

teenage.vn 05-29-2010 05:44 AM

Quote:

Originally Posted by digitalpoint (Post 2044474)
What's the URL?

http://forum.teenage.vn/spy.php

Here we go, please check it out ...

I have installed the xml file as well ...

carubmun 05-29-2010 08:32 AM

I currently use the iSpy someone else worked up, i got it working alright with vb4 here.

Im wondering if your version can be deployed inside another page, not have it be its own separate page is it currently works.
I want to put it inside a tab, or maybe even on straight up on forumhome.
Would that be possible?

digitalpoint 05-29-2010 04:41 PM

Quote:

Originally Posted by teenage.vn (Post 2044947)
http://forum.teenage.vn/spy.php

Here we go, please check it out ...

I have installed the xml file as well ...

Looks like maybe the 2 templates it installs didn't get installed or something? Do you have a template named "SPY" in your template system?

Quote:

Originally Posted by carubmun (Post 2044983)
I currently use the iSpy someone else worked up, i got it working alright with vb4 here.

Im wondering if your version can be deployed inside another page, not have it be its own separate page is it currently works.
I want to put it inside a tab, or maybe even on straight up on forumhome.
Would that be possible?

In the current form, no. But something similar (and some other stuff) is something I was already playing around with internally for a future version.

carubmun 05-29-2010 09:22 PM

Quote:

Originally Posted by digitalpoint (Post 2045160)

In the current form, no. But something similar (and some other stuff) is something I was already playing around with internally for a future version.

Good to know.
Im guessing there is no minor adjustments that can be made to this in order to make it appear within a particular page and not only on its own page.

Since you plan on expanding on it, may i give another suggestion...
I find that it would work very nicely if it could be harnessed in a way similar to a "recent activity" or "latest posts" type widget.
Except that this one appears in real time while the others are pretty much static.
What would be needed most for that is to be able to add in which forums to include.
The iSpy mod allows you to add in which forums to exclude, nice option... but a real pain in the ass when you have an incredibly large amount of forums and subforums.
And having it work as a widget would be nice too :D

digitalpoint 05-29-2010 11:28 PM

A widget block was already planned as part of the "some other stuff" statement.

As far as filtering forums, you can do it based on subscribed forums already.

goran424 05-30-2010 01:58 PM

I installed, tried everything but just doesn't work. Keep getting following error:

Parse error: syntax error, unexpected '{', expecting ')' in /home/ghostrider/domains/ghostriders-thailand.com/public_html/forum/includes/class_core.php(4040) : eval()'d code on line 32

I'm using vBulletin 4.0.2 Patch Level 4 if that means anything.

digitalpoint 05-30-2010 06:25 PM

Quote:

Originally Posted by goran424 (Post 2045524)
I installed, tried everything but just doesn't work. Keep getting following error:

Parse error: syntax error, unexpected '{', expecting ')' in /home/ghostrider/domains/ghostriders-thailand.com/public_html/forum/includes/class_core.php(4040) : eval()'d code on line 32

I'm using vBulletin 4.0.2 Patch Level 4 if that means anything.

I suspect it's related to this vBulletin bug that was fixed in 4.0.3 (vBulletin versions before 4.0.3 parse some JavaScript in templates incorrectly). To get around it for an old version of vB, you could probably change the function play_pause() in the SPY template to this:

Code:

[noparse]function play_pause() {
        var label = new Array('[/noparse]{vb:rawphrase click_to_continue}[noparse]', '[/noparse]{vb:rawphrase click_to_pause}[noparse]');
        play = Math.abs(1-play);
        document.getElementById("play_pause").innerHTML = label[play];
}[/noparse]

Basically adding annoying noparse tags all over the place to tell the parser how to actually parse it. The better solution would be to upgrade to vBulletin 4.0.3 since it can parse templates properly.

I didn't test that hack since I don't have an old version of vBulletin installed, but it should work (although I'm not sure if there are other areas of the template it may not be able to parse properly).


All times are GMT. The time now is 01:46 AM.

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.01407 seconds
  • Memory Usage 1,748KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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