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.


All times are GMT. The time now is 11:07 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.02013 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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