PDA

View Full Version : Add-On Releases - vBISpy - AJAX real-time feed of new posts/threads


Pages : 1 2 [3] 4

MPDev
04-06-2007, 01:58 PM
No idea... maybe try resaving your headerinclude template?

Chadi
04-06-2007, 05:57 PM
I reverted headerinclude to original, error message still popped up unfortunately.

COBRAws
04-07-2007, 10:10 PM
Look for the htmlspecialchars() call in the vaispy.php script and remove it from the forums variable. This seems to be server dependent and not always a required change.
Thanks m8 ;)

tanyeri24
04-07-2007, 10:25 PM
In my modified standart style this addon doesnt work. But in unmodified styles its work.
In one of my templates I have did a crap mistake its hard to find it out.. :(

edit: ok i found the template which causes.. Navbar. But i have much individual html codes there, who makes problem dunno...

Why dont working for me? What is wrong with my navbar? How can I handle with it? I need help.. Thanks.
:erm:

MPDev
04-08-2007, 12:21 AM
I can't help you with a modified template since I don't have access to it. Look for JavaScript errors in the FireFox JavaScript Console....

tanyeri24
04-08-2007, 12:48 AM
I can't help you with a modified template since I don't have access to it. Look for JavaScript errors in the FireFox JavaScript Console....

Firefox says:
https://vborg.vbsupport.ru/attachment.php?attachmentid=62797&stc=1&d=1175996885

Thanks in advance.

MPDev
04-08-2007, 01:12 AM
Line 466, whatever that is; is your problem.

tanyeri24
04-08-2007, 01:26 AM
Line 466, whatever that is; is your problem.

hey that was the problem:
https://vborg.vbsupport.ru/showthread.php?t=115083&highlight=CountUp

Now I fixed the problem but it doesnt work with the countup plugin at same time, and no firefox errors more...

If i disable countup plugin, it works :( :(

tanyeri24
04-08-2007, 01:57 AM
edit

Chadi
04-08-2007, 02:36 AM
This is mine. How would I trace absolute cause of my error?

I pulled up page source and this is the portion of lines around 740 - 830


</script>
<script type="text/javascript" src="http://www.talkjesus.com/clientscript/quoteit_bbcode.js"></script>
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="http://www.talkjesus.com/clientscript/vbulletin_css/quoteit_ie_lt7.css" />
<style type="text/css">
.openquote {
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src="http://www.talkjesus.com/http://www.talkjesus.com/images/element/misc/quotation-open.png", sizingMethod="image");
}

.closequote {
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src="http://www.talkjesus.com/http://www.talkjesus.com/images/element/misc/quotation-close.png", sizingMethod="image");
}
</style>
<![endif]-->
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="http://www.talkjesus.com/clientscript/vbulletin_css/quoteit_ie_all.css" />
<![endif]--><link rel="stylesheet" type="text/css" href="http://www.talkjesus.com/clientscript/vbulletin_css/quoteit_main.css" /><script type="text/javascript" src="http://www.talkjesus.com/clientscript/quoteit_common.js"></script><script type="text/javascript" src="http://www.talkjesus.com/clientscript/quoteit_moderation.js"></script><script type="text/javascript" src="vbspell.js"></script>
<style type="text/css">
.spyfade1 div, .spyfade1 span,, .spyfade1 td, .spyfade1 img {
opacity:0.90;
filter:alpha(opacity=90);
-moz-opacity:0.90;
}
.spyfade2 div, .spyfade2 span, .spyfade2 td, .spyfade2 img {
opacity:0.80;
filter:alpha(opacity=80);
-moz-opacity:0.80;
}
.spyfade3 div, .spyfade3 span, .spyfade3 td, .spyfade3 img {
opacity:0.70;
filter:alpha(opacity=70);
-moz-opacity:0.70;
}
.spyfade4 div, .spyfade4 span, .spyfade4 td, .spyfade4 img {
opacity:0.50;
filter:alpha(opacity=50);
-moz-opacity:0.50;
}
.spyfade5 div, .spyfade5 span, .spyfade5 td, .spyfade5 img {
opacity:0.30;
filter:alpha(opacity=30);
-moz-opacity:0.30;
}
</style>
<script language="javascript" src="clientscript/va_prototype.js"></script>
<script language="javascript" src="clientscript/va_effects.js"></script>
<script language="javascript" src="clientscript/va_spy.js"></script>
<script language="javascript" type="text/javascript">
<!--
spymax = 25;
highestid = 73688;

function pauseSpy() {
var playimg = document.getElementById("vaplay");
var pauseimg = document.getElementById("vapause");

playimg.src = "images/misc/play_up.gif";
playimg.alt = "Click to Play";
pauseimg.src = "images/misc/pause_down.gif";
pauseimg.alt = "Paused...";

pause();
}

function playSpy() {
var playimg = document.getElementById("vaplay");
var pauseimg = document.getElementById("vapause");

playimg.src = "images/misc/play_down.gif";
playimg.alt = "Playing...";
pauseimg.src = "images/misc/pause_up.gif";
pauseimg.alt = "Click to Pause";

resume();
}

function pause() {
play = 0;
}

function resume() {
play = 1;
}
// -->
</script>
<title>iSpy</title>
</head>

MPDev
04-08-2007, 02:43 AM
hey that was the problem:
https://vborg.vbsupport.ru/showthread.php?t=115083&highlight=CountUp

Now I fixed the problem but it doesnt work with the countup plugin at same time, and no firefox errors more...

If i disable countup plugin, it works :( :(

You cannot run multiple timers on a page... this has been discussed before - if your header or footer uses some kind of timer, then vbispy and the other will conflict and likely neither will work properly.

Invalid ID
04-09-2007, 03:19 PM
MPDev, can you please make it work on vbadvanced? Thanks

Chadi
04-09-2007, 09:55 PM
I hope I can get a fix. I will pay you if you can fix this for good

Mutt
04-14-2007, 07:05 AM
I'd like a modification of this script that lets me have it just grab new posts in a specific thread. every day I have a couple very busy threads that it would be prefect for. Right now, people sit and hit refresh a million times. something like this that just flashed up replies as they happened (or close to it) would work out great

has anybody done something like this?

MPDev
04-16-2007, 11:38 AM
You could look at the query that grabs new threads and modify it to only pick from certain threads, I suppose.

Mutt
04-16-2007, 01:52 PM
You could look at the query that grabs new threads and modify it to only pick from certain threads, I suppose.

Yeah, that didn't cut it. I'm working on it. we'll see what i come up with. i'm confident I'll get it going and I'll be sure to share it here.

Coldhands
04-23-2007, 11:41 PM
Is there a way to get this to work outside of the forum root?

ghforum
04-23-2007, 11:45 PM
So basically this is like a streaming chat session right?

Tralala
04-24-2007, 12:29 AM
So basically this is like a streaming chat session right?

No. It's not interactive. It's more like a news ticker... but with forum threads.

MPDev
04-26-2007, 12:36 AM
Exactly! It's like the Digg spy app; just lets you watch as new posts are made to a forum in real time versus hitting refresh to get a new page.

willrobbo
04-26-2007, 11:12 PM
Works great. Thanks a lot for the time and effort that's clearly been put into this mod.

Chadi
04-27-2007, 12:22 AM
I hope I can get a fix. I will pay you if you can fix this for good

No one?

Antiblank
04-27-2007, 08:34 PM
Is there a way to get this to work outside of the forum root?

I'm working on determining that myself. So far I've got it recreating the entire page with headers on another subdomain, and linking back to the boards, though it only shows the inital 4 or 5 posts when the page loads, and never cycles in new posts. So I'm still going to say it is possible, I just don't know for sure how.

olympist
05-01-2007, 12:37 PM
There is a problem. I have read many answers here but could not find it.

I have uploaded all files, Although there are many answers, it does not move only showing last 30 minute threads / posts but not moving. What should be the problem how can I solve it.

MPDev
05-01-2007, 05:30 PM
Do you have another "timer" in your header or footer which could be conflicting with the vaispy timer?

wtrk
05-02-2007, 01:17 AM
great script, good job! the only thing is that it shows post from people on your ignore list.

MPDev
05-02-2007, 10:49 AM
True; I didn't consider adding a check for ignored users.... maybe in an update.

Invalid ID
05-02-2007, 03:52 PM
Will there be a chance to fix this mod?

MPDev
05-02-2007, 05:04 PM
It's not broken.

LaCN
05-02-2007, 06:36 PM
I checked it out with IE7.
Even your 2 example sites.

And it doesn't work.

The new posts are loaded with the page, exept the really new ones.
And the effects don't even show.

Your 2nd example site doesn't even show anything at all.

It works lovely in FF

MPDev
05-03-2007, 12:40 AM
I run IE7 and have no problems with either site....

Tulsa
05-03-2007, 12:49 AM
I loaded this one up and am letting my mods play with it before I release it to my members. It's working great, from PC and IE7 to MAC and FF. I think on of my mods said it best, he said, "Holy Crap, what a mod!".

Cybertims
05-04-2007, 10:21 AM
Any smilie parsing happening yet?

Cheers in adavcne.

MPDev
05-05-2007, 10:26 PM
Are they not parsing now? I can't remember.

Invalid ID
05-06-2007, 01:17 AM
This one works great !!!

fci
05-06-2007, 05:00 PM
I experienced a bug where I am using a custom template so the template wasn't processed correctly because it had replacement variables in the header.

to fix add this around line 334
$header = process_replacement_vars($header);

Bernd Glasstett
05-06-2007, 08:20 PM
Well a nice addon, however it doesn't parse every replacement variable (maybe it does it too late, as you can see here:
http://www.comicforum.de/vaispy.php
I would love to use it and link it for my users, but this has to be changed first...

And of course it would be nice to have a german version...

MPDev
05-06-2007, 11:29 PM
Try the post above yours....

https://vborg.vbsupport.ru/showpost.php?p=1242549&postcount=540

croportal
05-17-2007, 06:07 PM
how to make them compatible with vbseo

croportal
05-17-2007, 06:09 PM
i have uploaded to the forum, but nothing happend http://www.croportal.net/forum/vaispy.php


the threads just staying????

Phooey
05-18-2007, 02:19 AM
Just installed it and it works great, thanks!

I've got it installed here: http://www.digitallywise.com/forums/vaispy.php

Also, it seems to be working fine with vBSEO. It points to the original URLs (not the mod_rewrite ones), but if you have vBSEO configured correctly, that should take you right to the correct "new" url.

croportal
05-18-2007, 12:36 PM
it redirect to vbseo, but the urls not SEO


my doesnt work www.croportal.net/forum/vaispy.php ????

MPDev
05-18-2007, 12:47 PM
Just installed it and it works great, thanks!

I've got it installed here: http://www.digitallywise.com/forums/vaispy.php

Also, it seems to be working fine with vBSEO. It points to the original URLs (not the mod_rewrite ones), but if you have vBSEO configured correctly, that should take you right to the correct "new" url.


Looks great! Check out http://www.vbispy.com and consider adding your site to the feed...

croportal
05-18-2007, 09:22 PM
mpdev?????

can u answer me

aquariumpros
05-19-2007, 11:51 PM
Why would this just stop working locally from time to time? Tested in FF and MSIE - multiple people on different systems, areas, networks, etc. all experience the problems @ the same time...

This is the 5th or 6th time this has happened - been out for the last 5 hours now...

http://www.aquariumpros.ca/forums/vaispy.php

arossphoto
05-20-2007, 08:10 PM
Is there anyway to restrict use of this feature to certain member groups? I'm thinking it would be a nice thing to offer those members who have purchased a paid subscription.

I was looking through the php file, but I didn't see anything in there.

Thanks.

arossphoto
05-20-2007, 08:50 PM
Is there anyway to restrict use of this feature to certain member groups? I'm thinking it would be a nice thing to offer those members who have purchased a paid subscription.


I couldn't find the answer by searching this thread, but I just read through some of the posts and found the reply below that answers my question:

https://vborg.vbsupport.ru/showpost.php?p=1069471&postcount=49


ps: i have it only for selected usergroups. For those who want permissions can simply do this

add this below
require_once('global.php') line in viaspy.php

//set up usergroup permissions for view

if (!is_member_of($vbulletin->userinfo , #usergroups to check#))
{
print_no_permission();
}

It seems to be working okay. I guess now I just have to remember how to provide a link that is only visible to the same usergroups.

Cheers.

Niber
05-21-2007, 06:26 AM
I've noticed that the post bot likes to add random spaces is there any fix for that?

For instance, make a post with..

"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"

When it appears on the post bot it'll have an extra 4-5 spaces between the a's. Nothing major, but it causes problems with long htmls. (I believe it adds a space for continuous strings at every 21 characters.)

croportal
05-21-2007, 07:57 PM
uninstall not supported

MPDev
05-22-2007, 01:28 PM
I've noticed that the post bot likes to add random spaces is there any fix for that?

For instance, make a post with..

"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"

When it appears on the post bot it'll have an extra 4-5 spaces between the a's. Nothing major, but it causes problems with long htmls. (I believe it adds a space for continuous strings at every 21 characters.)

It adds spaces to keep from blowing out the page.

MPDev
05-22-2007, 01:29 PM
Why would this just stop working locally from time to time? Tested in FF and MSIE - multiple people on different systems, areas, networks, etc. all experience the problems @ the same time...

This is the 5th or 6th time this has happened - been out for the last 5 hours now...

http://www.aquariumpros.ca/forums/vaispy.php

No reason it should just stop; should keep working normally.

MPDev
05-22-2007, 01:30 PM
it redirect to vbseo, but the urls not SEO


my doesnt work www.croportal.net/forum/vaispy.php (http://www.croportal.net/forum/vaispy.php) ????

We don't do anything for vBSEO in our product; you could put vbispy.php in your exception list to prevent the redirect.

Chadi
05-22-2007, 11:58 PM
I'm getting this error after upgrading vb to 3.6.7 and re-upgrading this hack

Parse error: syntax error, unexpected T_STRING in /home/user/public_html/vaispy.php(337) : eval()'d code on line 1

I would appreciate some help on this.

MPDev
05-23-2007, 12:09 AM
Since nothing changed in our code; I would suspect you have a problem in one of your templates - check line 337 of the vbispy.php script to see which one to look at.

Chadi
05-23-2007, 09:26 PM
It says

eval('$headinclude = "' . fetch_template('headinclude') . '";');


This is my entire headinclude template:

<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<if condition="$show['threadinfo']">
<meta name="keywords" content="$threadinfo[title], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[title] $foruminfo[title_clean]" />
<else />
<if condition="$show['foruminfo']">
<meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
<else />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
</if>
</if>

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
var vb_disable_ajax = parseInt("$vboptions[disable_ajax]", 10);
// -->
</script>
<script type="text/javascript" src="clientscript/glossary_crosslinking.js"></script>
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>
<script type="text/javascript">
document.cookie = "psistats_screenwidth = " + self.screen.width;
document.cookie = "psistats_screenheight = " + self.screen.height;
document.cookie = "psistats_screendepth = " + self.screen.colorDepth;
</script>
<if condition="$vboptions['externalrss']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" />
<if condition="$show['foruminfo'] OR $show['threadinfo']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]" />
</if>
</if>

<if condition="$show['member']"><else />
<script language="JavaScript" src="$stylevar[imgdir_misc]/mootools.js" type="text/JavaScript"></script>
<script type="text/javascript">
window.addEvent('domready', function(){
var mySlide = new Fx.Slide('vbstyles_element').hide();
$('toggle').addEvent('click', function(e){
e = new Event(e);
mySlide.toggle();
e.stop();
});
});
</script></if>
<script type="text/javascript" src="/highslide/highslide.js"></script>
<script type="text/javascript">

// remove the registerOverlay call to disable the controlbar
hs.registerOverlay(
{
thumbnailId: null,
overlayId: 'controlbar2',
position: 'bottom left',
hideOnMouseOut: true,
opacity: 0.75
}
);

hs.graphicsDir = '/highslide/graphics/';
hs.outlineType = 'rounded-white';
window.onload = function() {
hs.preloadImages(5);
}
</script>
<link rel="stylesheet" href="/highslide/highslide.css" type="text/css" media="screen" />

Chadi
05-25-2007, 01:24 AM
This is very strange. I still get the same exact error even after reverting headerinclude back to default, which is this one.

<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<if condition="$show['threadinfo']">
<meta name="keywords" content="$threadinfo[title], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[title] $foruminfo[title_clean]" />
<else />
<if condition="$show['foruminfo']">
<meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
<else />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
</if>
</if>

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
var vb_disable_ajax = parseInt("$vboptions[disable_ajax]", 10);
// -->
</script>

<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>
<if condition="$vboptions['externalrss']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" />
<if condition="$show['foruminfo'] OR $show['threadinfo']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]" />
</if>
</if>

Please help me out!

cddw.ltd
05-25-2007, 01:26 PM
Loving it!

Fantastic piece of work! didn't much like the statusicons next to the Thread Title text etc, so I removed them, and called my file realtime.php instead (remembering to change the path in the .js file too ;) )

Mine is located here - http://www.est1892.co.uk/forums/realtime.php

Chadi
05-26-2007, 05:03 PM
Can someone *please* help me out on this?

dellow
05-26-2007, 11:19 PM
nice, installed,

is it possible to add "DING" voice when updated with new event ? :)

Ryloth
05-27-2007, 07:27 PM
I experienced a bug where I am using a custom template so the template wasn't processed correctly because it had replacement variables in the header.

to fix add this around line 334
$header = process_replacement_vars($header);


you have no idea how long it was taking me to figure this out. THANK YOU!

Chadi
05-28-2007, 01:18 AM
:(

I've asked on vbulletin.com, vb.org, and the skin developer. No one has helped out with a resolution.

Sparticus_V2
05-28-2007, 03:38 AM
i would like to take this and only have 5 recent posts show on my main forum page....

like as a category names "recent topics"
then have the 5 most recent... how do i do this?

skariko
05-28-2007, 01:03 PM
This is a wonderful mod, I've installed it on my forum.

I read all 38 pages.. I've found what I'm looking for, but I can't do it.

My question is:

how can I upgrade the line from 25 to 50 post?

If change the "spymax = 25" to 50 it doesn't go.

Can someone help me?

Thanks.

MPDev
05-28-2007, 07:15 PM
You also have to edit the html to support 50 rows; I know its been discussed in the early pages, I'm not inclined to keep repeating myself on it so check out the first few pages again.

Chadi
05-30-2007, 11:58 PM
Anyone care to help please? Anyone getting the same errors as I do in 3.6.7?

MPDev
05-31-2007, 11:16 AM
If you are using the default template, I don't know what to tell you because I cant duplicate it or see the problem in your script.

The only suggestion I might see is to look at your $stylechar[charset] variable and see if that has some kind of issue.

Chadi
06-01-2007, 01:42 AM
I use a custom skin from vbstyles.com

My current headinclude

<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<if condition="$show['threadinfo']">
<meta name="keywords" content="$threadinfo[title], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[title] $foruminfo[title_clean]" />
<else />
<if condition="$show['foruminfo']">
<meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
<else />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
</if>
</if>

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
var vb_disable_ajax = parseInt("$vboptions[disable_ajax]", 10);
// -->
</script>

<script type="text/javascript" src="clientscript/glossary_crosslinking.js"></script>
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>
<script type="text/javascript">
document.cookie = "psistats_screenwidth = " + self.screen.width;
document.cookie = "psistats_screenheight = " + self.screen.height;
document.cookie = "psistats_screendepth = " + self.screen.colorDepth;
</script>
<if condition="$vboptions['externalrss']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" />
<if condition="$show['foruminfo'] OR $show['threadinfo']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]" />
</if>
</if>

<script type="text/javascript" src="/highslide/highslide.js"></script>
<script type="text/javascript">

// remove the registerOverlay call to disable the controlbar
hs.registerOverlay(
{
thumbnailId: null,
overlayId: 'controlbar2',
position: 'bottom left',
hideOnMouseOut: true,
opacity: 0.75
}
);

hs.graphicsDir = '/highslide/graphics/';
hs.outlineType = 'rounded-white';
window.onload = function() {
hs.preloadImages(5);
}
</script>
<link rel="stylesheet" href="/highslide/highslide.css" type="text/css" media="screen" />

my navbar template

<if condition="in_array(THIS_SCRIPT, array(index))"><br /><else /></if>
<if condition="$show['member']"><if condition="in_array(THIS_SCRIPT, array(index))"><else /><br /></if><else /></if>

<!-- Nav -->
<div class="nav_border_out">
<div class="nav_border_in">
<if condition="is_array($navbits)">
<table cellpadding="4" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td width="15"><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb] <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="$scriptpath"><span class="navbar"><strong>$navbits[lastelement]</strong></span></a> </td>
</tr>
</table>
<else />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><if condition="$show['member']">
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> $bbuserinfo[username],
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
</div>
<if condition="$show['pmstats']">
<div class="smallfont"> <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" />
<if condition="$show['pmstats']"><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></if>
</div>
</if>
<else />
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[nav_register]</a></div>
</if>
</td>
<td width="50%" align="right"><if condition="$show['member']">
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="text" class="navbar_forms" name="query" size="20" onfocus="this.value=''" value="$vbphrase[nav_search_form]" tabindex="1001" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>

</form>
<else />
<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<div class="smallfont">
<input type="text" class="navbar_forms" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="16" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
<label for="cb_cookieuser_navbar"><input type="hidden" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" /></label>
<input type="password" class="navbar_forms" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="16" tabindex="102" onfocus="this.value=''" value="Password" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</div>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
</if>
</td>
</tr>
</table>
</if>
</div>
</div>
<!-- /Nav -->

<!-- Forum Description -->
<if condition="$show['forumdesc']">
<div class="spacer_small"></div>
<div class="forumdesc_border"><div class="forumdesc"><span class="smallfont"><strong>$foruminfo[title]</strong> $foruminfo[description]</span></div></div>
</if>
<!-- /Forum Description -->

<div class="spacer"></div>
<br />


<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">

<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
<div style="margin-top:$stylevar[cellpadding]px">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
&nbsp;
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</div>
</form>
</td>
</tr>
<tr>
<td class="thead">$vbphrase[nav_search_options]</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[nav_new_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[nav_todays_posts]</a></td>
</tr>

<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
$template_hook[navbar_search_menu]
</table>

</div>
<!-- / header quick search form -->
$zointstags_searchform
</if>

<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>

<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
</tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>

<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<tr><td class="vbmenu_option"><a href="usercp.php?$session[sessionurl]">My Favorite Threads</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/usercp.php#Notepad">Personal Notepad</a></td></tr>
<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>

</table>
</div>
<!-- / user cp tools menu -->
</if>

<div class="vbmenu_popup" id="journalnavbar_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead" align="center">$vbphrase[journal_links]</td></tr>
<tr><td class="vbmenu_option"><a href="journal.php$session[sessionurl_q]">$vbphrase[journal_index]</a></td></tr>
<if condition="$bbuserinfo!=0">
<tr><td class="vbmenu_option"><a href="journal.php?$session[sessionurl]do=gotomyjournal">$vbphrase[my_journal]</a></td></tr>
</if>
</table>
</div>

<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">
Fun Zone
</td>
</tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/arcade.php">Arcade</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/journal.php">Journals</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/misc.php?do=flashchat">Live Chat</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/gallery/index.php">Photo Gallery</a></td></tr>
<tr>
<td class="thead">
Special Tools
</td>
</tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/calendar.php">Calendar</a></td></tr>
<tr><td class="vbmenu_option"><a href="glossary.php$session[sessionurl_q]">$vbphrase[glossary]</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/vaispy.php">iSpy</a></td></tr>
<tr><td class="vbmenu_option"><a href="vbgooglemapme.php">Members Map</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/quotes.php">Random Quotes</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/usercp.php">Refer A Friend!</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/tags/">Tag Cloud</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/worldtimes.php">World Time Zones</a></td></tr>
</table></if>
</div>
<!-- extras pop end -->

<!-- extras pop start -->
<div class="vbmenu_popup" id="2_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">
Appreciation
</td>
</tr>
<tr><td class="vbmenu_option"><a href="billspaypal.php?">$vbphrase[billspp_donate]</a></td></tr>
<tr>
<td class="thead">
Help Center
</td>
</tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/faq.php">FAQ</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/forum-rules-ten-commandments/53-talk-jesus-10-commandments-rule.html">Forum Rules</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/showgroups.php">Staff Members</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/press-stand/3028-statement-faith.html">Statement of Faith</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/tutorials.php">Tutorials</a></td></tr>
<tr>
<td class="thead">
Info Center
</td>
</tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/forum-news-blog/">Forum Blog</a></td></tr>
<tr><td class="vbmenu_option"><a href="memberlist.php$session[sessionurl_q]">Members List</a></td></tr>
<tr><td class="vbmenu_option"><a href="news.php">RSS News</a></td></tr>
<tr><td class="vbmenu_option"><a href="psistats.php">Site Statistics</a></td></tr>
<tr><td class="vbmenu_option"><a href="misc.php?do=topstats">Top Statistics</a></td></tr>
</table></div>
<!-- extras pop end -->

<!-- / NAVBAR POPUP MENUS -->

<!-- PAGENAV POPUP -->

<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>

<!-- / PAGENAV POPUP -->
</if>

Snider
06-01-2007, 11:01 AM
Why does it take so long to get your site approved ?

aquariumpros
06-01-2007, 12:06 PM
No reason it should just stop; should keep working normally.

Unfortunately - it does just (seemingly) randomly stop.

Again it's doing it today:
https://vborg.vbsupport.ru/attachment.php?attachmentid=65038&stc=1&d=1180703051

See the top line - it's blank...but it links to a post if clicked. Notice also the last post states 8-hours ago - however, there have been a number of posts since then.

As I said - it's not just me - my other Mods and Admins all experience the freeze at same time; on both MSIE 7 and FF2.



:confused::confused::confused:

We rely on this to moderate - so any help would be sooo greatly appreciated.

TIA,

Mrdby
06-01-2007, 07:24 PM
so just upload and then it should work?

evanoo
06-01-2007, 10:44 PM
i wana to put a button for it in the navbar but i want it is visible to admins only how can i do that ?

rjmjr69
06-02-2007, 02:49 AM
Sweet

MPDev
06-06-2007, 12:02 AM
Why does it take so long to get your site approved ?

Which site are you referring to? I have two "adult" sites which I have to code for inclusion; that should be done soon, otherwise everyone else is in rotation.

Kohhal
06-06-2007, 09:29 AM
Excellent, nice addition :D

GlitterKill
06-08-2007, 07:00 PM
Why are the links to my gaming site from your Network (http://www.vbispy.com/) page incorrect? I have two sites setup with this hack that report to your network. PC Apex and Game Apex. For some reason the links to Game Apex have a comma in them (ex: http://forums,gameapex.com) but the PC Apex links do not. What could be causing that?

Cooleyvol
06-09-2007, 08:03 PM
Could this be used to port the two most recent posts from certain forums on MY board to our main website?

MPDev
06-10-2007, 01:14 AM
Why are the links to my gaming site from your Network (http://www.vbispy.com/) page incorrect? I have two sites setup with this hack that report to your network. PC Apex and Game Apex. For some reason the links to Game Apex have a comma in them (ex: http://forums,gameapex.com) but the PC Apex links do not. What could be causing that?

I updated your record, must have been entered at the time you created the link; but should be fine now.

GoNz00
06-13-2007, 11:29 PM
great mod thanks, only hiccup was the &amp; issue, found the fix after a few pages and all is good.

one of the best mods ive seen for a while, hope you get motm ;)

MPDev
06-15-2007, 10:53 AM
Post a link and I'll take a look.... you didn't say which script was throwing up that error.

MPDev
06-15-2007, 02:47 PM
Line 96 is in your header:

</script>

Not sure without digging further; but looks like maybe a header issue for this page.

zompus
06-19-2007, 11:47 AM
http://www.b0o.com/ispy.php :)

sandau
06-23-2007, 03:56 PM
this thing just doesn't refresh.

Firefox, Safari, doesn't matter, I only see posts when I refresh the page, and even then it doesn't always refresh the posts, its usually about 30 minutes behind or more.

Update: i had changed the file name. renaming it back seems to have fixed it?

MPDev
06-25-2007, 11:30 AM
Changing the filename or the code without knowing what you are doing will break it - the script calls itself and requires certain html to be present to work properly. Changing the number of items displayed and not changing the html or changing the filename and not updating how it calls itself will break it.

MPDev
06-25-2007, 06:17 PM
Check your style:

.spyfade1 div, .spyfade1 span,, .spyfade1 td, .spyfade1 img {

probably should read:

.spyfade1 div, .spyfade1 span, .spyfade1 td, .spyfade1 img {

dodgeuk19
06-27-2007, 01:05 AM
hi

i am having a issue where my images are not coming up i am on vb 3.6.7pl1

the link is www.mfgz.co.uk/forum/vaispy.php

any help would be great as i'm not brill with code

thanks

dodge

Mrdby
06-27-2007, 01:23 AM
so this is pretty much pointless to use for 3.6.7?

MPDev
06-27-2007, 11:26 AM
so this is pretty much pointless to use for 3.6.7?

Try reading more than one post. It's works fine with 3.67.

http://www.viperalley.com/forum/vaispy.php

dodgeuk19
06-28-2007, 07:12 PM
it works don;t get me wrong and it's wicked, but the graphics don;t load
think i have a bigger problem

Rants
07-05-2007, 04:57 PM
Is it possible to show posts from another forum site?

MPDev
07-05-2007, 06:10 PM
No, not with this plug-in; although I do this with vBIspy.com (http://www.vbispy.com)

Rants
07-06-2007, 06:04 PM
No, not with this plug-in; although I do this with vBIspy.com (http://www.vbispy.com)

Is there anyway to get that for my site? I'm looking to pull live feed information from one of my gaming sites.

Mrdby
07-06-2007, 06:20 PM
images i don't need to add to each style I have right? just upload the images to the main folder or I have to go in each style's image/misc to upload?

Mrdby
07-06-2007, 06:25 PM
ok i added it..works..but how do I make it default?

MPDev
07-08-2007, 08:21 PM
Is there anyway to get that for my site? I'm looking to pull live feed information from one of my gaming sites.

I don't have any plans to release a version of this type; it was enough work getting it to work for one site.

Mrdby
07-13-2007, 10:20 AM
ok i added it..works..but how do I make it default?

??????????????????????

MPDev
07-13-2007, 11:42 AM
I don't understand your question.

troybtj
07-13-2007, 04:22 PM
Is there a way to cookie this, or other authentication method?

Right now, it sends the username and password to the server on every update. Not a big deal for my setup, but for those with shared hosting, anybody running ettercap or other userspace sniffer on server could get the user's login and password in cleartext off the wire.

Not sure if this is a "bug report" or a feature request.

MPDev
07-13-2007, 05:55 PM
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.

quiklink
07-13-2007, 11:21 PM
Works great for me in Firefox but in IE6 it doesn't work. Lists some but not all threads and throws an error on line 72 expecting an object in vaispy.php. This happens on any site I visit using this mod, including yours.

sim20
07-14-2007, 06:22 AM
Hi
i have upped the files to forums(vaispy php), clientscript(jscript files) and images misc(images), now i'm waiting to see what happens? what is supposed to happen, as you probably can guess i'm new to this stuff, have i upped it correctly and what should i be seeing in the forums?

Thanks

troybtj
07-14-2007, 02:40 PM
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
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
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
$clip .= " ({$thread['views']} views, {$thread['replycount']} replies)";

REPLACE bolded text above with whatever you like.

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 (https://vborg.vbsupport.ru/showthread.php?t=126421) 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

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

AFTER ADD

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
http://www.b0o.com/ispy.php :)

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
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
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
I don't know if this is right, but it works for me:

In vaispy.php

FIND

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

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 <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
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:

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

and remove the NOT.

anstosser
10-11-2007, 07:04 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:

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 (https://vborg.vbsupport.ru/showthread.php?t=132279) & 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
I don't know if this is right, but it works for me:

In vaispy.php

FIND

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

AFTER ADD

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?

if ($vbulletin->userinfo[usergroupid] == 1,2)

Or maybe something like this

if ($vbulletin->userinfo[usergroupid] == 1 OR userinfo[usergroupid] == 2)

I dont believe my examples are correct, anyone could help me? :)
Thanks

rnadmo
12-05-2007, 02:57 PM
Installed, worked perfectly straight out of the box. Absolutely love it :)

Any plans to make it report on more stuff? Users coming online, etc?

I love it as-is though, top work.. thanks heaps for your effort.

Are the post icons supposed to show read/unread like in the forum? If so, ours doesn't work. We use the "Database" method of read/unread post-marking if that matters.

bigtime
12-05-2007, 03:37 PM
How do I include this on my non-vb homepage?

I searched this thread and read 25 pages and couldn't find an answer.

Thanks,

Tim

Eric
12-07-2007, 01:16 PM
Thanks for this, but how could I add another usergroup?

if ($vbulletin->userinfo[usergroupid] == 1,2)

Or maybe something like this

if ($vbulletin->userinfo[usergroupid] == 1 OR userinfo[usergroupid] == 2)

I dont believe my examples are correct, anyone could help me? :)
Thanks
is_member_of (http://members.vbulletin.com/api/vBulletin/_includes_functions_php.html#functionis_member_of)

Works out if a user is a member of the specified usergroup(s)

This function can be overloaded to test multiple usergroups: is_member_of($user, 1, 3, 4, 6...)
boolean is_member_of (array &$userinfo, integer $usergroupid)

array &$userinfo: User info array - must contain userid, usergroupid and membergroupids fields
integer $usergroupid: Usergroup ID to test

MPDev
12-07-2007, 11:50 PM
I dont have any plans to expand it just now; but I might get around to it sometime.

rnadmo
12-08-2007, 12:09 AM
Is it supposed to show read/unread icons?

stud
12-11-2007, 09:25 AM
I dont have any plans to expand it just now; but I might get around to it sometime.

Last Update: 28 Sep 2006

pffft... I'll believe it when i see it!

MPDev
12-11-2007, 11:27 PM
Sometimes it's hard to improve on a good thing.... don't wait on me, it's a decent little product worth the money you paid.

t.uzuner
12-23-2007, 07:05 PM
super addons thanks

COBRAws
12-31-2007, 10:38 AM
is_member_of (http://members.vbulletin.com/api/vBulletin/_includes_functions_php.html#functionis_member_of)

Works out if a user is a member of the specified usergroup(s)

This function can be overloaded to test multiple usergroups: is_member_of($user, 1, 3, 4, 6...)
boolean is_member_of (array &$userinfo, integer $usergroupid)

array &$userinfo: User info array - must contain userid, usergroupid and membergroupids fields
integer $usergroupid: Usergroup ID to test

Hey, thanks for the help :)

Tomo123
01-20-2008, 02:04 AM
awesome this is cool *installed*

Tomo123
01-20-2008, 01:52 PM
I use this mod along side the Redirect after Login mod and I got to say my members and I think it's awesome. :)

bobII
01-20-2008, 02:55 PM
is it possible to restrict the use of this script by usergroup? For example, if I only want to allow usergroup 1,2,3 to be able to use it and all other usergroups would receive a "You do not have permission to view this page" error...

Thanks in advance

GuaRRand
01-21-2008, 10:23 AM
installed and workx!... and registered! :D
thnx

P.S. like the question above...can you restrict subforums which are only for admins/supported users!?!?

GuaRRand
01-23-2008, 10:30 AM
I also PMéd you this on ur site.

I registered on ur site above (vbispy) and in my status it says my link is active... but i dont see any posts appear on that site.
Guests can see the feed...so it should work right?

MPDev
01-25-2008, 06:57 PM
It'll pull every 3-5 minutes from your site and put anything new in the queue; depends on the amount of stuff coming in when yours appears. Did you try limiting the feed to only show those within your category? Also your site status should show how many posts have been pulled form your site.

Guest210212002
02-11-2008, 10:55 PM
Can someone confirm that this works in 3.7? This is basically my favorite mod ever. :D

pmcnamara
02-13-2008, 06:58 PM
is it possible to restrict the use of this script by usergroup? For example, if I only want to allow usergroup 1,2,3 to be able to use it and all other usergroups would receive a "You do not have permission to view this page" error...

Thanks in advance I'd like to see this too.

pmcnamara
02-13-2008, 07:01 PM
is_member_of (http://members.vbulletin.com/api/vBulletin/_includes_functions_php.html#functionis_member_of)

Works out if a user is a member of the specified usergroup(s)

This function can be overloaded to test multiple usergroups: is_member_of($user, 1, 3, 4, 6...)
boolean is_member_of (array &$userinfo, integer $usergroupid)

array &$userinfo: User info array - must contain userid, usergroupid and membergroupids fields
integer $usergroupid: Usergroup ID to test


Okay, I see if I had searched more carefully, I could have answered my own question.. it appears that yes you can make it usergroup controlled.. but I don't understand the instructions.

djwins
02-18-2008, 01:58 AM
Any easy way to show post icons instead of thread icons?

Guest210212002
02-18-2008, 02:01 AM
Can someone confirm that this works in 3.7? This is basically my favorite mod ever. :D

It does, btw. :)

* Guest210212002 confirms it himself

Pirate45
02-19-2008, 10:30 AM
It works in 3.7 on one of my sites.

This is my favorite mod too. It could be expanded (if the developer chose) to be very powerful for a forum operator by adding the ability to include content from other RSS feeds and also by showing the "Who's Online" names, perhaps in a vertical Chat-room style format, on the right or left side.

I just see this particular tool with so much potential to help a forum operator expand their site and gain members by creating that "live" feel.

I would also like to see it include complete posts.... just random thoughts I guess.

JeySuhn
02-19-2008, 11:55 AM
Hey MPDev,

Is there a way for this to display on the home of the forum, like under the navbar, and also not so high

MPDev
02-19-2008, 01:30 PM
Yes, it can be done, but you'd need to tweak the html to only show a couple threads (I did this a while back to show just two threads on forumhome in a "live" show). I don't have specific instructions, but you'd probably have to take some of the php code and put it into a plug-in as well.

JeySuhn
02-19-2008, 07:40 PM
Ah well, I wont be giving that a try then as I am a novice lol

Julrou
02-21-2008, 03:56 PM
Hi there,

this hack does no longer work on my site : http://www.informatiquefacile.eu/forums/vaispy.php


Any ideas ?
Thks for your help,


Cheers,
Jul
;)

MPDev
02-21-2008, 06:01 PM
Appears you have a space in your numbers which is illegal:

http://www.informatiquefacile.eu/forums/vaispy.php?do=xml

GCC LLC
02-28-2008, 02:13 PM
Ok, first off - great mod, thanks! I've read through this entire thread and can't figure this out... It's working great in Firefox but will not refresh the page in IE7. I stripped out all of the $header, $headinclude, and $footer stuff from the output (I call this via iframe so i don't need the vb templates around it). Works great otherwise, but I just dont get the refresh or any of the effects in IE... Like I said, FireFox works perfectly.. very strange. Any ideas?

insidedesign
02-29-2008, 05:00 PM
Has anyone had issues with this MOD when upgrading to vB 3.7?

odeezie
03-05-2008, 12:49 AM
Is there any way to restrict access to this mod? Could I have an entire usergroup not be able to use this once I have it installed? :confused:

Thanks!

EDIT: Nevermind, found it here: https://vborg.vbsupport.ru/showthread.php?p=1316415#post1316415

Jase2
03-09-2008, 09:54 PM
Works fine in 3.7.0

Regards Jason :)

FlyBoy73
03-14-2008, 06:24 PM
Works fine in 3.7.0


When did that come out? ;)

gravy
03-16-2008, 10:29 PM
can this in any way be integrated within the forums themselves??... and also if you are looking at a post and someone replys will pop up in there as well???

dancue
03-17-2008, 01:36 AM
I'm interested in knowing where people are placing the link to this page? What exactly will this show you? new threads in the past 24 hours, or your last visit?

m0nde
03-18-2008, 12:39 PM
Great mod!

I have it running at http://www.bostonlove.org/forums/vaispy.php

I have one request. I have ampersands in my forum names and they are shown as &amp;. Please explain how to fix this.

eng. deeb
03-19-2008, 11:24 AM
what about this:

Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /......../....../public_html/expertsinengineering/forum/vaspy/vaispy.php on line 33

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/php5/lib/php') in /......./......./public_html/expertsinengineering/forum/vaspy/vaispy.php on line 33

GoodKarmaKid
03-21-2008, 10:18 PM
Really great mod, like it alot.

I have it installed on a custom skin running on VB3.7 RC1 and it works great.

My only issue is I'd like to change the width of the columns to improve the layout for my site. I looked in the .php file but didn't see where I could change the column widths. Admitteldly, I'm not a coder, or a programmer but I am good at following directions if someone points me in the right direction.

Thanks
Jason

thomasx
03-22-2008, 01:52 PM
I would like to restrict the use to moderator and administrator usergroups, but have no idea how to do that, because there is no admin backend. any clue for me if that is possible (should be) and: how?

thanks.

FlyBoy73
03-25-2008, 05:39 PM
This is excellent... Thanks a lot!
Added this one to one forum and the 3.5 version to another that I have not upgraded to 3.7x yet. Both working great!

glennybee
03-25-2008, 07:32 PM
I have this mod installed and I was wondering if someone could help me with a problem.

I have a section of code at the top of this page which displays a news ticker. I have an option in User CP > Edit Options to enable this ticker on other areas of my forum. I have an <if> statement which checks for the profile field to be true and then shows the banner.

I've edited the vaispy.php file to include the ticker but how can I control who sees it via the profile field?

This is where the code is...

</script>
<title>bla bla bla</title>
</head>
<body onload="spyinit();">
$header
$navbar

$mgc_cb_evo_var <!-- shoutbox -->

<if condition="$vbulletin->userinfo['field6'] & YES">

<!-- code is inserted here -->

</if>

<table width="90%" align="center"><tr><td width="50%" align="left"><input type="checkbox" id="subscribe" value="1">&nbsp;subscribed threads only</td>
<td width="50%" align="right">
<img id="vaplay" src="images/misc/play_down.gif" style="cursor:pointer;" alt="Play" title="Play Comments" onclick="playSpy();" /> &nbsp;
<img id="vapause" src="images/misc/pause_up.gif" style="cursor:pointer;" alt="Pause" title="Pause Comments" onclick="pauseSpy();" />
</td></tr></table>
<br />
VAPRINT;

if (is_browser('opera'))
{
$output .= <<<VAPRINT
<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<tr><td width="20" class="tcat" nowrap="nowrap" style="height:25px;">&nbsp;</td>
<td class="tcat" width="225" nowrap="nowrap" style="height:25px;">By</td>
<td class="tcat" width="80%" style="height:25px;">Thread/Post</td>
<td class="tcat" width="200" nowrap="nowrap" style="height:25px;">Forum
</tr>
<tr><td colspan="4" class="alt1">
$prefetched
<div id="row21" style="display:none;" class="spyfade1"></div>
<div id="row22" style="display:none;" class="spyfade2"></div>
<div id="row23" style="display:none;" class="spyfade3"></div>
<div id="row24" style="display:none;" class="spyfade4"></div>
<div id="row25" style="display:none;" class="spyfade5"></div>
</td></tr>
</table>
VAPRINT;
}
else
{
$output .= <<<VAPRINT
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" id="spy_table">
<thead>
<tr align="center"><td class="thead" width="100">Event</td><td class="thead" width="190">By</td><td class="thead">Thread/Post</td><td class="thead" width="190">Forum</td></tr>
</thead>
<tbody class="alt1">
$prefetched
<tr id="row21" style="display: none;" class="spyfade1"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row22" style="display: none;" class="spyfade2"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row23" style="display: none;" class="spyfade3"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row24" style="display: none;" class="spyfade4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row25" style="display: none;" class="spyfade5"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
</tbody>
</table>
VAPRINT;
}

$output .= <<<VAPRINT
$footer
VAPRINT;

echo $output;
?>


I'm guessing the $vbulletin->userinfo bit is not a known variable within this file so it's not working.

Any help would be appreciated. :)

Thanks

Julrou
03-27-2008, 04:59 PM
Appears you have a space in your numbers which is illegal:

http://www.informatiquefacile.eu/forums/vaispy.php?do=xml

Hey ! :)

I can't fixed it. I don't know how to erase that space... Can you say me how to do that ?

Thanks a lot, :up:

Jul. :cool:

Julrou
03-27-2008, 05:02 PM
I would like to restrict the use to moderator and administrator usergroups, but have no idea how to do that, because there is no admin backend. any clue for me if that is possible (should be) and: how?

thanks.

Yes it is possible. See it here https://vborg.vbsupport.ru/showthread.php?p=1316415#post1316415

if ($vbulletin->userinfo[usergroupid] == 1,2,3,4,8)
{
print_no_permission();
}


Numbers are the usergroups ID of non-mods or non-admins groups.

d1150488
03-31-2008, 11:56 AM
I have a weird problem, only a selection of posts are being updated, it just appears to ignor posts at random. I've got nothing configured to ignor forums, i have the right permissions etc. It just doesn't seem happy.

nirvana43
04-01-2008, 04:32 AM
i'm getting these errors :
Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/projects/public_html/vaSpy/vaispy.php on line 33

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/projects/public_html/vaSpy/vaispy.php on line 33

d1150488
04-02-2008, 08:28 PM
is it installed in the root directory of your vbulletin install? it looks like you've got it in it's own folder, thats why it can't locate the vbull global file.

put it in the same directory as your forum index.php.

poolking
04-03-2008, 12:32 PM
How do I get the Thread/Post links to open in a new window/tab?

nirvana43
04-04-2008, 11:09 AM
is it installed in the root directory of your vbulletin install? it looks like you've got it in it's own folder, thats why it can't locate the vbull global file.

put it in the same directory as your forum index.php.

lolz!! thanks man working!! :p

fordsho
04-04-2008, 01:35 PM
Ok, if I want to exclude specific forums from ispy, would you explain how to do that? I'm still not clear. (I did install it successfully, and it works great, I just have some things I dont want going through spy)

Quickness
04-04-2008, 03:08 PM
This is a great mod -- any updates planned for it? I mean, it works fine now but it's always nice to have new features added.

Thanks :)

KrukaaN
04-06-2008, 01:34 PM
I really want this on my forumhome. Can someone help me please? :(

NavS
04-06-2008, 08:13 PM
I was wondering if this was possible, make it so that guests can see it the way that members see it, but still have my forums setup to not let guests see the forum without registering?

NavS
04-06-2008, 11:00 PM
I was wondering if this was possible, make it so that guests can see it the way that members see it, but still have my forums setup to not let guests see the forum without registering?

ok never mind I have it now so that it shows to all, but I'd like to make it so that certain user groups can't see the content of what was posted...


if ( $thread['preview'] )
{
$clip .= "<br />{$thread['preview']}";
}


it's that thing but I don't know what to add or edit...

NavS
04-06-2008, 11:01 PM
also could I make it so that this certain thing uses a different styleid than the forum default?

gravy
04-09-2008, 08:46 AM
Hello, good morning all,

Please I just install this mod my host at : http://www.dacypher.net/forums/vaispy.php

where the original forum site is located at
http://www.dacypher.net/forums/

but actually, I am not getting any result. please I need assistance from your part. I am using (vBulletin 3.6.8 Patch Level 2). How can I configure the script for all the post/thread to display on all the forums? thanks in advance

gravy
04-12-2008, 08:33 PM
Dear sir,

I have been able to install VBIspy on my page which can be located at http://www.dacypher.net/forums/vaispy.php however, I am not been able to display messages when it comes. and secondly, I would like to ask for suggestion / assistance on having the new post/thread displayed on a pop up div I thing we can use this functionality to perform that.

Any suggestion will be welcomed. thanks in advance.

Also, I would like to ask how possible it is to change the ISPy title and menu link so it will only display the forum name.

Skedoozy
04-15-2008, 12:47 AM
How do I get the Thread/Post links to open in a new window/tab?

I doubt the OP is ever going to answer this since he never answered it when it was first mentioned. I figured it out after pulling my hair out for awhile.

You have to edit the javascript file that pulls the url.

Open va_spy.js

And find

if(title.length == 0) {
clip = '<strong>Unknown</strong>';
} else {
clip = '<img src="' + statusicon + '" alt="" /><strong><a href="' + post_url + '">' + title + '</a></strong>';
}

if (preview.length > 0) {
clip = clip + '<br />' + preview ;
}

clip = clip + ' (' + view + ' views, ' + numreplies + ' replies)';

if (userid.length > 0) {
poster_clip = '<a href="' + vburl + 'member.php?u=' + userid + '">' + poster + '</a>';
}

poster_clip = poster_clip + '<br />' + when;

if (parseInt(forumname.length) > 0) {
where = where + '<strong><a href="' + vburl + 'forumdisplay.php?f=' + forumid + '">' + forumname + '</a></strong>';
} else {
where = '';
}
if(title.length == 0) {
clip = '<strong>Unknown</strong>';
} else {
clip = '<img src="' + statusicon + '" alt="" /><strong><a href="' + post_url + '" target=_blank>' + title + '</a></strong>';
}

if (preview.length > 0) {
clip = clip + '<br />' + preview ;
}

clip = clip + ' (' + view + ' views, ' + numreplies + ' replies)';

if (userid.length > 0) {
poster_clip = '<a href="' + vburl + 'member.php?u=' + userid + '" target=_blank>' + poster + '</a>';
}

poster_clip = poster_clip + '<br />' + when;

if (parseInt(forumname.length) > 0) {
where = where + '<strong><a href="' + vburl + 'forumdisplay.php?f=' + forumid + '" target=_blank>' + forumname + '</a></strong>';
} else {
where = '';
}That's where it's pulling the new url's from so the code change has to be there or it's not going to work.

gravy
04-16-2008, 10:51 PM
Oh but why are you ignoring me like that? I have posted a question 2 times but no one minds me. Have I done something wrong here?

the problem I am facing here, is simple. I only need suggestion and guidance on how to do it.

I already show a site

http://www.dacypher.net/forums/vaispy.php

now. I want to display live thread relative to each forum I know it can be hooked by forumid. but how can I do that? I even try calling [http://www.dacypher.net/forums/vaispy.php?f=9 to call a forum name or id but no result is coming.

http://www.dacypher.net/forums/

is the main forum. I want to have each forum id be operated by vbaispy instead of forumdisplay according to the link clicked but I don't know what I have done wrong?

Thanks

poolking
04-20-2008, 04:49 PM
MPDev,

You say that this mod is supported, so why haven't you been in here in a long while answering member's questions?

MPDev
04-20-2008, 10:55 PM
Sometimes life gets in the way of doing all the things you would like to do....

FassoL
04-21-2008, 06:12 PM
ًWoW !!
Very Nice :)

odeezie
04-22-2008, 04:31 AM
This recently stopped working for me...I installed flashchat and changed my forum header to the main joomla header....these are the only changes I have made recently that may have effected it....would either of those really effect this? :confused:

I deleted and re-installed and the iSpy page comes up, and teh buttons seem like they function, just no posts/threads appear...any suggestions?

Digital Jedi
04-23-2008, 12:49 PM
Oh but why are you ignoring me like that? I have posted a question 2 times but no one minds me. Have I done something wrong here?

the problem I am facing here, is simple. I only need suggestion and guidance on how to do it.

I already show a site

http://www.dacypher.net/forums/vaispy.php

now. I want to display live thread relative to each forum I know it can be hooked by forumid. but how can I do that? I even try calling [http://www.dacypher.net/forums/vaispy.php?f=9 to call a forum name or id but no result is coming.

http://www.dacypher.net/forums/

is the main forum. I want to have each forum id be operated by vbaispy instead of forumdisplay according to the link clicked but I don't know what I have done wrong?

Thanks
Point of fact that everyone should remember. Free modifications, with free support means that the developer might not have the time or resources to answer every single one of your questions. And sometimes, no one else answers because no one whose read the question necessarily knows the answer.

insidedesign
05-02-2008, 01:33 PM
Has anyone tried this with 3.7? Any notes?

Jase2
05-04-2008, 06:46 PM
For open in a new window, you need to add to wherever the link code is:

target="_blank"

insidedesign
05-06-2008, 01:50 PM
Has anyone tried this with 3.7? Any notes?

Everything seems to be working well with 3.7
Check it out: http://www.genxglow.com/

Astrof
05-06-2008, 02:37 PM
This is a dream coming true (for me, at least). I have been wondering if a mod like existed for weeks and can't believe it's working, even with 3.7.

Okay, so I have three questions:

1) Is it possible to limit this mod to forums and subforums only (not homepage or categories)?

2) Can Private Messages update in real time as well?

3) How server intensive is this really? I've read reports that features like these actually result in less bandwidth and server consumption because there are fewer full page re-load requests.

Thanks to anyone who might take the time to answer this to me. :)

insidedesign
05-06-2008, 02:45 PM
This is a dream coming true (for me, at least). I have been wondering if a mod like existed for weeks and can't believe it's working, even with 3.7.

Okay, so I have three questions:

1) Is it possible to limit this mod to forums and subforums only (not homepage or categories)?

2) Can Private Messages update in real time as well?

3) How server intensive is this really? I've read reports that features like these actually result in less bandwidth and server consumption because there are fewer full page re-load requests.

Thanks to anyone who might take the time to answer this to me. :)

1) Yes, set by: $blockforums = "";

2) I am sure, but you will have to do custom editing of the script.

Astrof
05-06-2008, 03:38 PM
1) Yes, set by: $blockforums = "";

2) I am sure, but you will have to do custom editing of the script.

Thanks a lot for our quick reply, insidedesign.

Do you have any knowledge of the server load? My forum is just starting, so I doubt I will have any problems with live feed of new events, but what happens when there are, for instance, 50 + online visitors?

Is this usergroup-specific? Can it be limited to registered members only?

reuben
05-11-2008, 11:31 AM
I installed it in 3.7 but its showing the one latest post . any ideas ?

EhsanAhmad
05-12-2008, 09:26 AM
What do i do so it shows all Posts / Threads currently it only shows a few new posts a few hours past what can i do to add posts even a day back ? etc

Julrou
05-12-2008, 09:54 AM
Hey there !

This doesn't work on my board anymore...

http://www.informatiquefacile.eu/forums/vaispy.php


MPDev said :

Appears you have a space in your numbers which is illegal:

http://www.informatiquefacile.eu/for...spy.php?do=xml

But how can i fix this ??? :confused:


Thanks to all who can help me.... ;)

fariborz
05-15-2008, 01:29 PM
Please add this features to your new version:
1- Social Groups Posts
2- Albums & Pictures Comment Posts

Thanks

skariko
05-20-2008, 01:45 PM
Is possible to add a code to hide?
I see that VBSpy do not show the code of [QUOTE] and other.. i want to hide the code [SPOILER] too, how can i do?

Jayphen
05-22-2008, 03:12 AM
Very, very cool mod! Thankyou!

I don't know if it's been requested yet, but if possible could a number be added to the title of the page when new posts are detected? That way you can keep iSpy open in another tab while you're doing stuff, and quickly see when new posts/threads have been made

Harley D
05-27-2008, 10:49 PM
I have this working just fine, and even done some modding after reading ALL the posts in this thread, and some twice.
I have also attempted to parse the smiles to no avail.
Is there anyone who might offer suggestions as to how to do this?

I know this doesn't work
require_once(DIR . '/includes/class_bbcode.php');
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$parsed_text = $parser->do_parse($text, $do_html, $do_smilies, $do_bbcode, $do_imgcode, $do_nl2br, $cachable);

What am I missing... and no I'm no coder.

David_R
05-28-2008, 06:30 AM
I require a small help with modification, how can I change New post url format to new thread url format ?

New Threads links to - myforums.com/showthread.php?t=0000
New Post liks to - myforums.com/showthread.php?p=00000#post00000

I require New Post just links to thread id and not last post in that thread, please help.

Harley D
05-28-2008, 09:03 PM
Theres an update to the file va_prototype.js that in the clientscript folder.
just go to the website listed below and download and rename.
This might help some with issues.
the version we all are using in this mod is 1.4.0

/* Prototype JavaScript framework, version 1.6.0
* (c) 2005-2007 Sam Stephenson
*
* Prototype is freely distributable under the terms of an MIT-style license.
* For details, see the Prototype web site: http://www.prototypejs.org/

David_R
05-29-2008, 07:30 AM
is that an answer to my question above ?

Harley D
05-29-2008, 11:23 PM
no, I don't believe so... Sorry.

caggla
05-30-2008, 11:03 AM
I don't know if it is about this but I've recently upgraded vbseo and vaispy.php has gone.
I can see ...com/vaispy.php on the address bar but it shows the index page.
before that it worked fine

Harley D
05-30-2008, 07:49 PM
try adding vaispy.php to vbseo's exception list.

Adrian Schneider
06-09-2008, 02:04 AM
Feature suggestion:

AJAX expand-post

and

AJAX (overlay/popup) to reply to message

Mark.B
06-14-2008, 09:36 AM
This is having formatting issues in Opera 9.5.

have a look at the Viper Alley demo in the first post to see what I mean, as it's behaving exactly like that on my site too.

Basically all the table borders are missing and the alignment is wrong, the column "Event" has lost its title too.

hobbybox
06-17-2008, 12:55 PM
Can this work to grab info from other sites?

Julrou
06-17-2008, 02:00 PM
Hey there !

This doesn't work on my board anymore...

http://www.informatiquefacile.eu/forums/vaispy.php


MPDev said :



But how can i fix this ??? :confused:


Thanks to all who can help me.... ;)

Bump :):)

ShiZoPhreN
06-25-2008, 08:40 PM
Bump :)

MPDev, any news? Please updates this hack.. :)

Thanks in Advance

MPDev
06-29-2008, 04:03 PM
It is what it is; right now I don't have any plans to update this anytime soon.

Team_RCRR
07-11-2008, 01:51 AM
How would you go about updating this? What is needed to update it?

wtrk
07-19-2008, 09:30 PM
Please add this features to your new version:
1- Social Groups Posts
2- Albums & Pictures Comment Posts

Thanks

yeh thats a good idea.

David_R
07-21-2008, 11:15 AM
Can someone please upload the vbseo compatible version here ?

Pf?hler
07-21-2008, 01:34 PM
Verry nice, works with 3.7.2 Patch Level 1. Is it possible to get a short acustic different signal if new thread or new post?

ErrorLog
07-25-2008, 09:34 PM
Thank You :D

İnstalled 3.7.1 :D

xBhp
07-28-2008, 04:38 AM
This plugin seems to have an effect on the performance of the server, specially vb3.7. It seems to creating persistent connection which lead to MySQL crashing with too many users connected error message.

MPDev
07-29-2008, 06:03 PM
It's an AJAX app; it's not creating a persistent connection; but depending on the polling time and number of users it would be akin to that many users pushing the NEW POSTS buttons every few seconds. You might try increasing the delay.

nokiacep
07-31-2008, 01:21 PM
great hack!!

but

is it possible to show this mod only s.mods and admins?

xBhp
08-01-2008, 01:15 AM
It's an AJAX app; it's not creating a persistent connection; but depending on the polling time and number of users it would be akin to that many users pushing the NEW POSTS buttons every few seconds. You might try increasing the delay.

there is definitely something going on with the app. Whle it was active I used to get max users connected in mySQL every couple of days. After i have disabled it everything is fine and its been 7 days without the max users error.

Eric
08-07-2008, 11:56 PM
Bump :):)
Your problem seems to be your decimal sep ($vbulletin->userinfo['lang_decimalsep']).

Although, to fix it, you could try editing your vaispy.php file:

FIND
$thread['views'] = vb_number_format($thread['views']);

REPLACE WITH

$thread['views'] = vb_number_format($thread['views']);
$thread['views'] = str_replace('&nbsp;', '', $thread['views']);

Gosef
08-12-2008, 03:48 PM
Thank You

Captain Tycoon
08-12-2008, 07:28 PM
does this work with 3.7?

zelnik
08-16-2008, 02:50 PM
does this work with 3.7?

Yes I have it running on the latest version of vB

Conner85
08-18-2008, 08:08 AM
running and working on vb3.7.2....

great mod...

styleforum
08-21-2008, 07:26 PM
Is there any way to have this run in a frame on the side of the forum page, or in an IFRAME of some sort, so it will continually update while people do whatever they are doing?

PyroMarkus
08-22-2008, 03:24 PM
Thanks for this great thing!

Is this possible to move to an htaccess protected directory? Great thing but I would like to prohibit my normal users and all the spiders out there to start it. Is it more than just replacing all src=" within the php-script to corrected paths?

Or can I simply put some lines in the php-code to just allow my admins and moderators to open it?

PyroMarkus
08-22-2008, 05:01 PM
It seem to work good but not perfect in 3.7.2
Some messages in some threads are not listed, although they should be listed in the shown time frame. Some messages before and afterwards are listed but some not.

Its not a question of rights, I am admin and see the other messages in the threads...

Daniel_HBK
09-02-2008, 01:57 PM
really very good hack , i need to change the direction because my forum in Arabic so i need to make it from Right to left and how i can change phrases ?

..

Busterking
09-09-2008, 02:56 PM
Some of my forums have custom fonts, anyway of fixing the Forum row on the right side so that it doesn't show the code:

http://www.10-78.com/forums/vaispy.php

Thanks

mikkitine
09-10-2008, 09:19 PM
Ok, if I want to exclude specific forums from ispy, would you explain how to do that? I'm still not clear. (I did install it successfully, and it works great, I just have some things I dont want going through spy)Yes, forum permissions are checked. You can also exclude specific forums by changing the line:

// Do not list these forums even if they have permissions (test categories, etc)
$blockforums = "26,13";in vaispy.php - I use this to block test post forums and such.. ;)

Julrou
09-16-2008, 04:14 PM
Your problem seems to be your decimal sep ($vbulletin->userinfo['lang_decimalsep']).

Although, to fix it, you could try editing your vaispy.php file:

FIND
$thread['views'] = vb_number_format($thread['views']);

REPLACE WITH

$thread['views'] = vb_number_format($thread['views']);
$thread['views'] = str_replace('&nbsp;', '', $thread['views']);

I've just read it and...

it totally works !!!
You're the man ! :up::up::up:

One more question : at this time, it only shows the last post for each thread. Is there a way to show the really last 20 posts, even if some are posts of a same thread ?:)

komirad
09-21-2008, 11:15 AM
Do you know where to get the time interval variable?
I want to adjust the rate the script requests for new posts.

ymy
10-10-2008, 08:48 AM
it worked with me from 3.6.5 to 3.6.11

and Installed on new VB 3.7.3 it worked perfectly

thanks

wtrk
10-17-2008, 03:45 AM
mine just suddenly stopped working. it was wokring fine on 3.7.2 ?? no changes to my site have happened in months.