vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - vBISpy - AJAX real-time feed of new posts/threads (https://vborg.vbsupport.ru/showthread.php?t=125947)

troybtj 07-14-2007 02:40 PM

Quote:

Originally Posted by MPDev (Post 1290153)
I'm not following you - where is a username and password being sent on every update? We don't collect or otherwise use a password to get XML data.

When watching own forum, this is ettercap output, an Ethernet Protocol sniffer. Output below is Sniffed from separate machine on ethernet, a new request with USER: / PASS: on every new post:

HTTP : <ServerIP>:80 -> USER: <myusername> PASS: <mypassword> INFO: www.<domain>.neta
|/vaispy.php?do=xml&last=71385&r=0.4181947612238931& _=
HTTP : <ServerIP>:80 -> USER: <myusername> PASS:<mypass> INFO: www.<domain>.neta
|/vaispy.php?do=xml&last=71387&r=0.912414499618981&_ == <IP> a
|find_conn: Probable connection attempt <forumip> -> <domain>.neta
|HTTP : <ServerIP> -> USER: <myusername> PASS: <mypass> INFO: www.<domain>neta
|/vaispy.php?do=xml&last=71387&r=0.43136405108593967 &_= <forumip>

MPDev 07-16-2007 11:11 AM

Check out the getXML() code in va_spy.js and you'll see that we do nothing with these variables; I can't speak for scriptalacious, but my code add no such variables.

troybtj 07-16-2007 03:58 PM

Quote:

Originally Posted by MPDev (Post 1292659)
Check out the getXML() code in va_spy.js and you'll see that we do nothing with these variables; I can't speak for scriptalacious, but my code add no such variables.

I'll dig through the code to see what is triggering this. I'll let you know when I find it. Threat level is medium, only the server/host can sniff the traffic, which are the same hosts that can sniff logins anyway.

I still use the plugin because it is too useful. :D

troybtj 07-17-2007 10:08 AM

The username/pass are only sent when the file is protected by .htaccess, if accessing vaispy.php without an .htaccess file, the user/pass aren't re-sent.

Skybert 07-25-2007 09:38 AM

Is there a way to get this to display threads from a forum on a sister site that is not running a vbulletinboard but a plain html site?

Is it possible to add it in a table?

EDIT

I'd also like to know how to edit where it says "#number# replies" and "#number# views" to norwegian, ive managed to translate some of it, but not those two. Any Ideas?
Thanks in advance

troybtj 07-25-2007 10:43 AM

It works great until members leave it idle (300-ish), then apache goes into meltdown with these errors:

ALERT - script tried to increase memory_limit to 4294967295 bytes which is above the allowed value (attacker 'xx.xx.xx.xx', file '/var/www/includes/class_xml.php', line 35)

Is there a way to have vaispy stop when a user session times out?

Mrdby 07-25-2007 12:55 PM

I added it..but how do i allow members to view this as the default?

ringleader 08-02-2007 08:13 AM

Quote:

Originally Posted by Skybert (Post 1300999)
I'd also like to know how to edit where it says "#number# replies" and "#number# views" to norwegian, ive managed to translate some of it, but not those two.

In vaispy.php
FIND
Code:

$clip .= " ({$thread['views']} views, {$thread['replycount']} replies)";
REPLACE bolded text above with whatever you like.

Quote:

Originally Posted by Mrdby (Post 1301149)
I added it..but how do i allow members to view this as the default?

What do you mean by this?
Do you want them to view it as your index.php page as soon as they come to your site?
You would be better off using the vbadvanced CMPS portal and adding it in there as a module as a part of the front page.

skariko 08-05-2007 02:03 PM

Sorry.. but i'll read all the thread.. and I can't find anything about this.

It is possible to allow to see it only for some usergroup?
I don't want that the guest can see that page. Is it possible?

Thanks.

Ska

ringleader 08-13-2007 09:07 AM

I don't know if this is right, but it works for me:

In vaispy.php

FIND

Code:

$datecut = "AND thread.lastpost >= " . (TIMENOW - ($daysprune * 86400));
$prefetched = null;

AFTER ADD

Code:

if ($vbulletin->userinfo[usergroupid] == 1)
{
        print_no_permission();
}

This disables the page for unregistered/not logged in guests.

skepticality 08-14-2007 02:30 PM

Quote:

Originally Posted by zompus (Post 1271700)

How did ya mod the template like that? Mine is just stubborn and won't play nice with me! :erm:

Dumi 09-11-2007 07:39 PM

Hmm mine isnt animated, any ideas why?

http://forums.buddytv.com/spy.php

MParty 09-11-2007 09:14 PM

I love this mod, awesome...

MPDev 09-11-2007 09:38 PM

Quote:

Originally Posted by Dumi (Post 1337204)
Hmm mine isnt animated, any ideas why?

http://forums.buddytv.com/spy.php

Most likely a conflict with another javascript function; if anything uses a timeout, for example.

Dumi 09-12-2007 03:48 PM

Quote:

Originally Posted by MPDev (Post 1337264)
Most likely a conflict with another javascript function; if anything uses a timeout, for example.

Hmm is there a work around, thanks! :)

MPDev 09-12-2007 07:49 PM

Not sure what other javascript code you are running - you'd have to look for a timeout function in your js files.

taydu 09-13-2007 09:56 PM

ím running this with vba, and want to remove the column "event" and "by" can someone help

yoyoyoyo 09-16-2007 05:48 AM

Quote:

Originally Posted by ringleader (Post 1316415)
I don't know if this is right, but it works for me:

In vaispy.php

FIND

Code:

$datecut = "AND thread.lastpost >= " . (TIMENOW - ($daysprune * 86400));
$prefetched = null;

AFTER ADD

Code:

if ($vbulletin->userinfo[usergroupid] == 1)
{
    print_no_permission();
}

This disables the page for unregistered/not logged in guests.

how will this affect the vba cmps addon module?

Wouldn't it be easier just to add a conditional around the link leading to the ispy that disallows guests to see it?

m002.p 09-23-2007 09:59 PM

Great mod & idea here!

Just to point out though;

Although the threads / posts refresh using AJAX, the "xx minutes ago" doesnt. When I refer to this, I mean when someone has posted, it timestamps and "xx" doesnt update with the threads and posts as they are made.

Could this be addressed?

BoYagoob 10-03-2007 04:44 AM

installed

jonty 10-09-2007 08:39 AM

The code on the page indicates the target is "_blank" (ie a new page) but it always opens in the same page?

m002.p 10-09-2007 07:49 PM

Confirm the code reads as
Quote:

<a href="/forum/xxxx.php" target="_blank">

anstosser 10-10-2007 12:12 PM

Great mod!!! Installed & works fine!

But one question: is there a way just to display thread from a specific Forum (forumid)?

Thanks Alex...

MPDev 10-10-2007 12:48 PM

Please click install....

anstosser 10-10-2007 03:49 PM

Sorry...done...
What about my question? :):)

Trana 10-11-2007 01:58 AM

Quote:

Originally Posted by anstosser (Post 1356826)
But one question: is there a way just to display thread from a specific Forum (forumid)?

Yeah, I asked for this before.

Also, can we run two instances of this on the same page?

Thanks!

MPDev 10-11-2007 06:26 PM

No on the two instances (at least I dont think so).

Yes on the one forum; you could put the forum id in the $blockforums variable (in vaispy.php) and then edit the line:

Code:

    WHERE thread.forumid NOT IN (0$blockforums) and
and remove the NOT.

anstosser 10-11-2007 07:04 PM

Quote:

Originally Posted by MPDev (Post 1357708)
No on the two instances (at least I dont think so).

Yes on the one forum; you could put the forum id in the $blockforums variable (in vaispy.php) and then edit the line:

Code:

    WHERE thread.forumid NOT IN (0$blockforums) and
and remove the NOT.

There are two more lines to be edit. But know it works as it?s supposed to do! Thanks!

one_sad_episode 10-24-2007 02:02 PM

Awesome mod!!!!! This is exactly what I was looking for. Thanks! *Installed*

MPDev 10-24-2007 02:48 PM

Don't forget to check out http://www.vbispy.com and add your site to the list of sites polled; users have sent me emails thanking me as their feed generated dozens of new signups in a short amount of time.

Niber 10-26-2007 09:06 PM

Has anyone had success integrating Selective Forum Filter & vBISpy? vBISpy is the only addon that seems to ignore the filter (New Posts filter works fine) .

unitedbreaks 10-26-2007 09:23 PM

Sweet hack.

Is there anyway it can be remotely called and slimed down (no templates)?

Would like to include it on my homepage via i-frame or as php include.

Thanks!

InfidelMatt 10-29-2007 03:04 AM

I also use inferno vbshout lite on my forum, and it would be uber if there were a way to run it on the top of the vaispy.php page.

Anyone know how to go about doing this?

MPDev 10-29-2007 11:40 AM

You can't run multiple polling products on the same page; only one timer can be running at a time. Probably the only way to make it work would be to combine the timer code of vbispy into the timer code of the shout.

ams3521 10-29-2007 08:52 PM

Hi and great hack, only problem i have is the actual width of the page as i would like to put i in a wrapper.

Is there anyway to make the page width 765 wide, if that could be done it would be great.

Thanks.

ams3521 10-29-2007 10:04 PM

Forget the above as i think i've managed it, I just put in the size i wanted as pixels instead of % on all of the tables.

ams3521 10-29-2007 11:36 PM

Nah it didnt work, I can get it down to 796 but it does not seem to get any less, if anybody can tell me how to reduce the main table width to 675 pixels I'll be very grateful.

Niber 11-07-2007 08:06 PM

Has anyone implemented any type of throttling/caching? It appears when we hit around 1,700+ users online the server ceases to respond due to the resource requirements of so many vBISpy inquiries.

malakaikingston 11-10-2007 02:02 AM

Great mod and the support in this thread is unreal.

I wish more mods were this well supported and written.

Thanks, seriously...

COBRAws 11-10-2007 04:48 PM

Quote:

Originally Posted by ringleader (Post 1316415)
I don't know if this is right, but it works for me:

In vaispy.php

FIND

Code:

$datecut = "AND thread.lastpost >= " . (TIMENOW - ($daysprune * 86400));
$prefetched = null;

AFTER ADD

Code:

if ($vbulletin->userinfo[usergroupid] == 1)
{
        print_no_permission();
}

This disables the page for unregistered/not logged in guests.

Thanks for this, but how could I add another usergroup?

Code:

if ($vbulletin->userinfo[usergroupid] == 1,2)
Or maybe something like this

Code:

if ($vbulletin->userinfo[usergroupid] == 1 OR userinfo[usergroupid] == 2)
I dont believe my examples are correct, anyone could help me? :)
Thanks


All times are GMT. The time now is 08:39 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.02291 seconds
  • Memory Usage 1,828KB
  • 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
  • (11)bbcode_code_printable
  • (12)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
  • (40)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