PDA

View Full Version : Portal Software - vBISpy module - live AJAX feed of new threads - for vBAdvanced CMPS


MPDev
12 Sep 2006, 13:57
This is my first module for vBAdvanced, but its a simple one, so I don't expect any installation problems.

You can see an example of this working on:

ViperAlley.Com (http://www.viperalley.com)

You must already have a working copy of the vBIspy (http://www.vbulletin.org/forum/showthread.php?t=125947) client v1.0.7 or better in place. (vB 3.5 users need v1.06 or better (http://www.vbulletin.org/forum/showthread.php?t=126027))

INSTALLATION

Add the vbispyblock.module to your vBAdvance portal - keep in mind the size of the block when you choose it's placement - if you use three columns, then really only the center column will work.

To install you should have a working copy of the VBIspy client already working on your system. Once you have one of the clients working adding vBIspy blocks to other pages becomes easier.

################################################################################ ##
################################################################################ ##

STEP 1

Because vBAdvanced CMPM usually resides outside of the forum directory, you will need to make one change to the clientscript/va_spy.js script that comes with vBIspy.

In va_spy.js, find:

var vburl = '';

and change this to read:

var vburl = '/forum/';

using the name of the directory your forums are in in place of "forum". This is important as otherwise the links from the vBIspy block will not resolve to the forum directory.

################################################################################ ##
################################################################################ ##

STEP 2

You will need to modify the 'adv_portal' template to add a few lines:

################################################################################ ##

Find:

$headinclude

Add after:

<script language="javascript" src="{$vbulletin->options['bburl']}/clientscript/va_prototype.js"></script>
<script language="javascript" src="{$vbulletin->options['bburl']}/clientscript/va_effects.js"></script>
<script language="javascript" src="{$vbulletin->options['bburl']}/clientscript/va_spy.js"></script>
<script language="javascript">
spymax = 10;
highestid = 0;
</script>

################################################################################ ##

Find:

$footer

Add after:

<script language="javascript">
spyinit();
</script>

################################################################################ ##

You are done. Activate the module and you should start seeing a live feed of threads on your portal page.

If you do not see an updating list of threads:

1) Double check that your vBIspy.php script is working properly!
2) Make sure you followed the above instructions.
3) If all else fails, open the JavaScript Console in Firefox and see what errors you might be getting.

1.0.1 - 9.28.06
Modified template for module to support 1.0.12 release of vBIspy (you can modify your template manually from this post (http://www.vbulletin.org/forum/showpost.php?p=1083849&postcount=56); but you also need to note the changes to the spymax and addition of the highestid variable to be changed in your adv_portal template).

MPDev
12 Sep 2006, 13:58
Users upgrading from 1.00 to 1.01 please read this:

If you already have it installed; you need to modify your adv_portal_vbispy templates according this this thread (http://www.vbulletin.org/forum/showpost.php?p=1083849&postcount=56).

Then you need to edit your adv_portal template and change this:

spymax = 15;

to this:

spymax = 10;
highestid = 0;

juan71287
12 Sep 2006, 15:01
Thankx a lot man... THis wasnice for the forum now its nice for the PORTAL :)

soletrader
12 Sep 2006, 15:05
I do not see var vburl = ''; in va_spy.js

Also, how did you make your live updates module on your forum homepage to display just one post at a time? Thank you

cygy2k
12 Sep 2006, 15:21
Is there a way to make it so this can replace the latest forum topics that most of use have above our latest news posts? With that I mean is there a way to have it show the last x number of posts and no more and doesn't show the post but rather just the regular vba type of listing of threads? Also, would it be easy to make this appear in a scrolling marquee so it fits the page better?

Great work!!

nix
12 Sep 2006, 17:04
its not working here. Getting this error.

init is not defined.

<script language="javascript">
init();
</script>

VBispy works fine. It worked at first till I upgraded to version 1.07. I've done all the edits and my forum and VBadvanced are in the same directory so I didn't do the js edits.

mickeymouse690
12 Sep 2006, 18:17
Yeah its me again, Can this with the vburl thingy be made to goto an external source? You know what im looking to do.

MPDev
12 Sep 2006, 18:19
Sorry, that should be spyinit(), not init() - I've updated the instructions.

MPDev
12 Sep 2006, 18:21
It'll show all the posts the users logged in has access to see; so if a user doesn't have access to a forum, then it shouldn't appear in their feed.

cygy2k
12 Sep 2006, 18:42
MPDev-

Is there a way to make this replace the latest topics module so it stays in the same relative format by showing the topic replied to instead of the post and where it shows like the last x posts rather than a longer lists?

nix
12 Sep 2006, 18:42
Sorry, that should be spyinit(), not init() - I've updated the instructions.
thanks. That fixed it.

lexhunt
12 Sep 2006, 18:55
Cannot find var vburl

Sorry I had version 1.05

MPDev
12 Sep 2006, 18:55
MPDev-

Is there a way to make this replace the latest topics module so it stays in the same relative format by showing the topic replied to instead of the post and where it shows like the last x posts rather than a longer lists?

Only if you modified the javascript to reformat the display.

MPDev
12 Sep 2006, 18:56
I am running into what I think is a compatibility issue between the prototype AJAX code and vB's AJAX code; either you can't have two AJAX handlers on the same page or they contain objects that are overwriting one another.

For example, expand/collapse won't save to a cookie when va_prototype.js included; going to have to research further.

MPDev
12 Sep 2006, 19:18
It may not be an AJAX issue; but a cookie issue. The save_collapsed() to save expand/collapse settings on a page are not being saved.

Tungsten
12 Sep 2006, 21:11
In the module there is a hardcoded URL that needs to be modified according to where you have vBulletin installed...


<tr><td colspan="4" class="tcat" align="left"><span class="smallfont"><strong>&raquo; <a href="/forum/vaispy.php">Live Forum Updates</a></strong></span></td></tr>


The href="/forum/... portion of the code is what I am talking about.

nix
12 Sep 2006, 21:27
Yea didn't notice that before. Just fixed it on mine.

MPDev
12 Sep 2006, 21:29
Good catch; I would image that can be replaced with a vb variable; my first module and all that. ;)

Acido
13 Sep 2006, 00:11
Good catch; I would image that can be replaced with a vb variable; my first module and all that. ;)

Excellent Job :)
Thanx for share this!

Ramsesx
13 Sep 2006, 02:40
Nice idea, for your information on Opera 8 it's looking not correct (see screenshot)

MPDev
13 Sep 2006, 02:49
Yeah, Opera isn't working properly; I dont use Opera, don't know Opera and at this time don't have the time to install it and try and learn why. Hopefully someone with more experience can point us in the right direction.

Chris-777
13 Sep 2006, 04:45
Absolutely awesome. I started a thread about this a while back, and caught some grief about it being an "improper use of AJAX". I think it rocks, install took about 5 seconds, and I've wanted this since the first time I saw it. :D

Thanks very much MPDev, great mod.

/me clicks install

Capt. GannA
13 Sep 2006, 08:37
It's seemingly not working for me.

1) Uploaded all the files in the correct directories.
2) Followed your instructions.
3) vaispy.php is working.

There's not a single error in the firefox javascript console either :/..

Barakat
13 Sep 2006, 09:55
its works but i change some of the adv_portal_vbispy template so as to hide the space and make it better view ....

http://www.jerusalemgts.com/gti/portal.php

thanks for that hack .

Snake
13 Sep 2006, 11:04
Thanks for the hack!

Tungsten
13 Sep 2006, 17:04
It's seemingly not working for me.

1) Uploaded all the files in the correct directories.
2) Followed your instructions.
3) vaispy.php is working.

There's not a single error in the firefox javascript console either :/..

I have the same issue on my forum as well. :(

stud
13 Sep 2006, 17:37
does this work for CMPS installed on VB3.5 also?

MPDev
13 Sep 2006, 17:40
I would think so; but I dont have 3.5 installed to test it on.

stud
13 Sep 2006, 17:42
hmm ok. i ask because when i followed the instructions, any time i make the module active - it blanks the entire home page - showing nothing.

camoman
13 Sep 2006, 19:16
Has anyone tested this yet with vb 3.5.4 and vbadvanced 2.1.0?

camoman
13 Sep 2006, 20:11
Just tested it and it works fine.

ChurchMedia
13 Sep 2006, 20:51
I'm getting a white space to the right of the info. I've done everything I know to do to get rid of it. Could it be in one of the .js files?

See screenshot.
Here is an example:
http://www.churchmedia.net/page.php?p=newsletter2

Thanks for the hack!

It looks fine here: http://www.churchmedia.net/CMN/vaispy.php

Barakat
13 Sep 2006, 21:56
Just open the adv_portal_vbispy template and change the values in the fist table to zero instead of 6 and 1 like this : <table class = "tborder" cellpadding="0" cellspaces="0" width="100%" border="0" align="center" id="spy-table"> dont copy paste this , just correct the values

Capt. GannA
14 Sep 2006, 10:56
It's seemingly not working for me.

1) Uploaded all the files in the correct directories.
2) Followed your instructions.
3) vaispy.php is working.

There's not a single error in the firefox javascript console either :/..

uhhhh HELP?

stud
14 Sep 2006, 13:54
MPDev - what do you think about the following suggestion:

Is there any way to have it remove previous instances and put the most updated reply on the top?

IE: when you first refresh the iSpy - it polls and finds all recent replies to the threads. However when a new reply is posted to a single thread, it puts this reply on the top and leaves the previous instance underneith.

A great way to use this module would be to have it remove the old post from the iSpy, and place the most recent reply to the top - hence removing duplicates and functioning as a self-refreshing superior "Recent Threads" module.

GMail functions sort of like this. A bonus would be to bold and unbold topics as they are read, in the same way the Recent Threads currently works as you manually refresh the page. I like the functionality of both ways but having the option to use the module this way would prove a superior replacement for the Recent Threads module.

glorify
14 Sep 2006, 22:39
Any way to limit the characters?

MPDev
15 Sep 2006, 02:32
poninja,

You didn't add the javascript to the header for the portal page (I checked your html); see instructions in the top post.

poninja
15 Sep 2006, 03:52
OK, I edited the default template by accident. Doh!

Thanks for the help!

StevanMD
15 Sep 2006, 13:08
MPDev,

I am having the same sort of problem poninja had, only I did follow the instructions closely and do have everything in right place.
Please, take a look:
http://www.mototips.com/
http://www.mototips.com/vaispy.php

Thanks

MPDev
15 Sep 2006, 13:13
Stevan,

I don't see a Live Feeds block on your index page at all; did you add the module?

StevanMD
15 Sep 2006, 13:23
Stevan,

I don't see a Live Feeds block on your index page at all; did you add the module?

Yes, I uploaded it from Download / Upload Module and it shows in the AdminCP. I also tried moving it to both left and right columns to see if it would show there, but it didn't.
Here is a screenshot:

MPDev
15 Sep 2006, 13:31
Well, I see all the code in place; except for the HTML from the template from the module. I'm afriad I don't know enough about vBadvanced to tell you why it isn't appearing if it is enabled; except to make sure the template is there.

StevanMD
15 Sep 2006, 13:33
Well, I see all the code in place; except for the HTML from the template from the module. I'm afriad I don't know enough about vBadvanced to tell you why it isn't appearing if it is enabled; except to make sure the template is there.

I've found where I've gone wrong.
When installing the module, I didn't check the Update All Pages box. I've reinstalled the module checking that box and it's all fine now, and the module is the best one I've seen as of yet. Really.

Thanks

MPDev
15 Sep 2006, 13:42
Cool, be sure to click INSTALL. ;)

StevanMD
15 Sep 2006, 13:44
Cool, be sure to click INSTALL. ;)

I just did and I also nominated it for the Mod of the month. :)

Capt. GannA
15 Sep 2006, 15:33
I've found where I've gone wrong.
When installing the module, I didn't check the Update All Pages box. I've reinstalled the module checking that box and it's all fine now, and the module is the best one I've seen as of yet. Really.

Thanks

lol, same was the case with me it seems. Thanks.

ZGeek
17 Sep 2006, 00:18
Any way to limit the characters?I'd like to know this too. I've modified my module to run on my site but I'd like to limit the characters outputted by this bit. Anyone help? if(title.length == 0) {
clip = 'Unknown';
} else {
clip = '<a href="' + post_url + '" title="' + preview +'" class="style1">' + title + '</a>';
}

stud
19 Sep 2006, 13:44
Are there any plans to update this code or to provide modification options? I have two questions regarding it.

a. how do you remove or modify the fade options? I'd like to reduce how faded the topics become.

b. how do you limit the number of stories scrolled? I changed the number that is displayed by modifying the Spymax number - however it still scrolls 10 or so stories first, making the loading time quite slow.

c. the ability to minimize it using the #top feature that many other modules use.

MPDev
20 Sep 2006, 12:39
a. You can change the fade options in the vBIspy module (va_spy.js)

/* Effect delay of fade-in */
var fadetime = .25;

b. In the vBIspy thread you'll find several references on changing the block size; but not only do you have to change the spymax number, you also need to add or remove rows from the table to reflect that number.

c. A minimize could be added easily, yes.

Spikeman
21 Sep 2006, 03:51
Excellent mod :) needed to change template slightly for complete intergration with style,(30 second job) but now it is perfect. Clicked install, thanks MPDev

Spikeman
22 Sep 2006, 18:40
I have installed mod and it works perfectly, however, I have my whole site wrapped in vBa which now becomes a problem.
I have 2 pages within vBa, the first shows my front page(index) with most of the modules including vbispy module, this page works fine.
The second page wraps all the forum pages inluding a links directory which works fine with the vbispy module installed, however i do not want vbispy on every page in my site just the front page.
So, I disable vbispy on second page (turn off module) which works, however I get the dreaded yellow triangle showing javascript error!! I know the error is the vBispy script in the header of vba portal calling for the object.

Any ideas on a fix, site works in firefox and shows no error ie gives me the yellow triangle but the site works, I have for the moment uninstalled the vBa side of vbispy as i will not have javascript erros in my site, call it my OCD :)

Any suggestions welcomed, but i do want to use vbispy within vBa.

oh and please do not say go to vBa site as i have spent enough wasted time waiting for replies there!

MPDev
23 Sep 2006, 17:14
I don't know enough about vBa to tell you what to do; but can you put a condition tag around the include for the va_*.js files in the vbadvanced header so that those are only included on a specific page (like 'index')?

Spikeman
24 Sep 2006, 05:53
I don't know enough about vBa to tell you what to do; but can you put a condition tag around the include for the va_*.js files in the vbadvanced header so that those are only included on a specific page (like 'index')?

I did not think about that :ermm: I will give that a try and get back to you, thanks.

MPDev
26 Sep 2006, 03:00
Correction below.

MPDev
26 Sep 2006, 12:20
For the new release, the template adv_portal_vbispy should be replaced with:

<if condition="is_browser('opera')">

<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<tr><td colspan="4" class="tcat smallfont" align="left" style="height:25px;"><strong>&raquo; <a href="/forum/vaispy.php">Live Forum Updates</a></strong></td></tr>
<tr><td width="20" class="tcat" nowrap="nowrap" style="height:25px;">&nbsp;</td>
<td class="tcat" width="190" nowrap="nowrap" style="height:20px;">By</td>
<td class="tcat" width="80%" style="height:20px;">Thread/Post</td>
<td class="tcat" width="200" nowrap="nowrap" style="height:20px;">Forum
</tr>
<tr><td colspan="4" class="alt1">
<div id="row1" style="display:none;"></div>
<div id="row2" style="display:none;"></div>
<div id="row3" style="display:none;"></div>
<div id="row4" style="display:none;"></div>
<div id="row5" style="display:none;"></div>
<div id="row6" style="display:none;"></div>
<div id="row7" style="display:none;"></div>
<div id="row8" style="display:none;"></div>
<div id="row9" style="display:none;"></div>
<div id="row10" style="display:none;"></div>
</td></tr>
</table>

<else />

<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<thead>
<tr><td colspan="4" class="tcat smallfont" align="left" colspan="4"><strong>&raquo; <a href="/forum/vaispy.php">Live Forum Updates</a></strong></td></tr>
<tr align="center"><td class="thead" width="20">&nbsp;</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">
<tr id="row1"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row2"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row3"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row5"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row6"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row7"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row8"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row9"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row10" class="spyfade4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
</tbody>
</table>

</if>

<input type="checkbox" id="subscribe" value="1" /> &nbsp; subscribed theads only

Trana
26 Sep 2006, 21:36
This doesn't seem to be working for me. I made the file edit and added the template changes. Also I replaced the template with the post above, still nothing. My vbispy self contained page loads fine.

G_Man
27 Sep 2006, 00:02
This doesn't seem to be working for me. I made the file edit and added the template changes. Also I replaced the template with the post above, still nothing. My vbispy self contained page loads fine.


ditto.

MPDev
27 Sep 2006, 12:10
Make sure your vburl variable in va_spy.js is filled in properly:

For example:

var vburl = '/theforum/';

not:

var vburl = 'theforum';

G_Man
27 Sep 2006, 12:31
Make sure your vburl variable in va_spy.js is filled in properly:

For example:

var vburl = '/theforum/';

not:

var vburl = 'theforum';

Yeah... goofed this last time, but changed it and no difference.

maroceve
27 Sep 2006, 12:38
same problem as Gman

Still points to forum/...instead of forums/...

MPDev
27 Sep 2006, 14:06
In your portal header, under:

spymax = 15;

add:

highestid = 0;

Otherwise everything else looks fine.

MPDev
27 Sep 2006, 14:07
same problem as Gman

Still points to forum/...instead of forums/...

Not sure what you mean 'still points for forum/'?

G_Man
27 Sep 2006, 21:11
Still confused... not working and I LOVE THIS, but its broke... :( :(

*waits for MPDev to work some more magic* ;)

MPDev
28 Sep 2006, 00:35
I'll check first thing in the morning.

arrow21987
28 Sep 2006, 05:22
for some reason the module is active, but it doesnt display threads or posts.

check it out here:
http://www.halo-havoc.com

ive made sure i added all the html properly, the vaispy.php works

http://www.halo-havoc.com/vb/vaispy.php

Im lost, i went over everything i would have thought it would be... any ideas?

MPDev
28 Sep 2006, 12:27
G_Man, change your spymax variable to 10.

Arrow, you need to change your template as instructed in this post (http://www.vbulletin.org/forum/showpost.php?p=1083849&postcount=56) and change your spymax variable to 10.

I should be able to change the upload to new code today.

MPDev
28 Sep 2006, 12:35
Okay, I've updated the module. Basically, if you already have it installed; you need to modify your adv_portal_vbispy templates according this this thread (http://www.vbulletin.org/forum/showpost.php?p=1083849&postcount=56).

Then you need to edit your adv_portal template and change this:

spymax = 15;

to this:

spymax = 10;
highestid = 0;

G_Man
28 Sep 2006, 12:58
Okay, I've updated the module. Basically, if you already have it installed; you need to modify your adv_portal_vbispy templates according this this thread (http://www.vbulletin.org/forum/showpost.php?p=1083849&postcount=56).

Then you need to edit your adv_portal template and change this:

spymax = 15;

to this:

spymax = 10;
highestid = 0;

Score. that did it. Cheers.

MPDev
28 Sep 2006, 13:46
G_Man, if you don't like that statusicon in either of your spy apps, you can remove this from the clip line:

<img src="' + statusicon + '" alt="" />

from your va_spy.js file - it will remove it from both vaispy.php and the module; but you have larger post icons and may or may not want them displayed.

G_Man
28 Sep 2006, 14:30
G_Man, if you don't like that statusicon in either of your spy apps, you can remove this from the clip line:

<img src="' + statusicon + '" alt="" />

from your va_spy.js file - it will remove it from both vaispy.php and the module; but you have larger post icons and may or may not want them displayed.

I think I'll do that. I can see how it would look good on some, but you are right. Mine are pretty obnoxiously huge! LOL I think they look good on the actual forum, though. :)

Thanks again for all the work on this Mod. One of those Mods that really shine.

Guest0321
28 Sep 2006, 16:42
No worky for me since the upgrades, I'll have to disable it. My forums are at the root level, my vbadvanced is in a forum under root. That must screw something up. No script errors either, just a blank module page.

In addition, I got "invalid module" when I tried to upload the module to vbadvanced, and if your forums are in /forum/, you'll have to edit a coupla href's in the vbispy template to reference where your vaispy.php file is

MPDev
28 Sep 2006, 17:06
Did you set your forum variable in va_spy.js as per the instructions?

If you did, you wouldn't need to edit anything.

pascalvisit
29 Sep 2006, 12:46
Did you set your forum variable in va_spy.js as per the instructions?

If you did, you wouldn't need to edit anything.

You still have to replace in the adv_portal_vbispy :

<a href="/forum/vaispy.php">Live Forum Updates</a>

by

<a href="/forums/vaispy.php">Live Forum Updates</a>

with "/forums/" your forum root folder

Guest0321
29 Sep 2006, 17:01
Did you set your forum variable in va_spy.js as per the instructions?


Yes, I tried "" and "/", and the full URL with http:// (just for giggles) because my forums are in the root directory of my site, none worked. It was working before the last release, now it isn't. No biggie, I just disabled it.

darkblade25
29 Sep 2006, 22:01
How do u add the module?

Ok nvm I figured it out. The instruction were not very helpful.
But I have a problem now. My site look screwed up now. http://www.rzgamers.com

alkatraz
30 Sep 2006, 01:52
fresh install of this,

vbIspy.php is working

can't install the module through "upload / download vba module"

double checked the upload settings, but getting this error, "invalid module"

Hades-1
30 Sep 2006, 04:10
fresh install of this,

vbIspy.php is working

can't install the module through "upload / download vba module"

double checked the upload settings, but getting this error, "invalid module"

same here no matter what i do, i import most moduales just fine

murrtex
30 Sep 2006, 08:22
"The file you have uploaded is not a valid module file."

I get this error.When I try to upload the module :(
what will we do?

I will try to put manuel.......

question?
01 Oct 2006, 18:45
I get that too :S

Trana
01 Oct 2006, 21:45
"The file you have uploaded is not a valid module file."


You guys need to chmod 777 your modules directory, that will resolve this problem.

Trana
01 Oct 2006, 21:52
I am still not able to get this to work properly. The module shows up but there is no content or updates. My vbispy file works properly. Any ideas?

ZGeek
02 Oct 2006, 03:45
I'm getting a java error in IE.

Line:53
Char: 4
Error: 'document.getElementById(...).rows(...)' is null or not an object
Code: 0

Anyone got any idea about this?

question?
03 Oct 2006, 17:07
You guys need to chmod 777 your modules directory, that will resolve this problem.
Already is

MPDev
03 Oct 2006, 17:14
I don't know enough about vBAdvanced to tell you why it would work for me and others and not some.

Guest0321
03 Oct 2006, 18:52
You guys need to chmod 777 your modules directory, that will resolve this problem.


No it won't

Trana
03 Oct 2006, 19:13
No it won't

Have you ever successfully uploaded a .module file? What version of VBA are you running?

murrtex
08 Oct 2006, 11:34
so like that 777.it doesnt work.

I add manualy (open module by notepad) but at this time it appears blank table on portal page..

please help

jackceltic1888
08 Oct 2006, 11:59
Installed

Get mod :D

ubblite
09 Oct 2006, 00:53
fresh install of this,

vbIspy.php is working

can't install the module through "upload / download vba module"

double checked the upload settings, but getting this error, "invalid module"
I have the same problem using CMPS v2.2.0 & vB 3.6.2

MPDev, perhaps someone could assist you to find a fix for CMPS as it would be a great addition.

Thanks

MPDev
09 Oct 2006, 13:36
I'd be happy for any assist here - it works for me without any problems (and others); so it will take the help of someone who knows more about the product than me (who has used the module part for all of 15 minutes!).

Spikeman
10 Oct 2006, 01:25
This module will only work with vbaspy 1.0.12 if you require previous modules pm me.
Can anyone who is having a problem with the upload of the module try this one I have attached here.

I have changed code to give what I believe is the best solution ( Have not touched the opera code yet!) I have deleted and uploaded this module through the ACP countless times and it has loaded every time.

I am running vB 3.6.2 on vBa CMPS 2.2.0 I have also installed it to a custom skin all works good, formatting looks good, fixed what i believe were errors on the html side. Tested in IE 6 and FF 1.5.0.7

live demo in my sig, let me know any problems, but i am sure you will ;)

Install follow directions by MPDev as per top of this page, unzip and upload module in ACP through vBa cmps upload/download module option. The only change you may need to make is the directory of vaispy, it is currently setup as forums/vaispy.php to change this go to edit module and change the option, module link.

Guest0321
10 Oct 2006, 12:56
Have you ever successfully uploaded a .module file? What version of VBA are you running?


Yes, previous versions of vbispy, and I've even written module files. I'm using CMPS 2.2.0.

I'm not trying to install it again, its uninstalled. Its not worth my time to get it working. thanks for trying!

MPDev
11 Oct 2006, 15:34
Sorry, Dave; wish I could be of more help.

phill2003
12 Oct 2006, 19:36
Great stuff, took a bit of messing with the template till i got it how i wanted it but hey nothing is ever easy is it :D

MPDev
16 Oct 2006, 00:36
Don't forget to click install! ;)

snotek
18 Oct 2006, 23:02
Ok, I have my vBAdvanced and forums on two different domains. I cannot for the life of me figure out how to get your mod to work. I've spent probably a good hour or more trying...

I had to use the above user posted module file to even install it as yours wouldn't work. I still cannot get it to work. vaispy.php works fine, however.

vB v3.6.2
CMPS v2.2.1

Spikeman
19 Oct 2006, 00:03
Ok, I have my vBAdvanced and forums on two different domains. I cannot for the life of me figure out how to get your mod to work. I've spent probably a good hour or more trying...

I had to use the above user posted module file to even install it as yours wouldn't work. I still cannot get it to work. vaispy.php works fine, however.

vB v3.6.2
CMPS v2.2.1

what is your var vburl in va_spy.js set to?

I reckon it should be this
var vburl = '/forums/';

if this does not work try the full path to where your forum files and vaispy.php are located.

snotek
19 Oct 2006, 03:49
It's set to var vburl = 'http://forums.domainname.com/';

The vaispy page works fine though...

The home page with CMPS is www.domainname.com and the forums are on forums.domainname.com

When you say full path... you mean like /home/user/public_html/ ???

snotek
20 Oct 2006, 15:22
Ok, I've made that change - either or, full file path or url the vaispy.php still works from the forums url, but the module does not work.

osmanungur
21 Oct 2006, 08:11
says
The file you have uploaded is not a valid module file.
:(

Spikeman
21 Oct 2006, 10:21
says
The file you have uploaded is not a valid module file.
:(

Use the module file from post #91

Jaxx
03 Nov 2006, 03:56
A user pointed out to me tonight that since I've upgraded to the new vB, vBA, and vBGallery, that the hybrid and threaded view options show this:

http://thejaxx.ahazi.org/undefined.jpg

I was also having issue's with the AJAX quick edit. Clicking save would save the post, but you would just sit there unless you refreshed.

I found the issue to be something with the block hack.

After putting in the lines of code into the adv_portal page, this would happen. If I take it out, it works just fine.

Running vb3.6.2 and vba 2.2.1

MPDev
03 Nov 2006, 12:37
What does that have to do with this mod?

Jaxx
03 Nov 2006, 16:52
Exactly as I posted there.

I'm not sure why its doing it. But I started with a fresh style, no hacks in it at all. While installing each one by itself, things worked fine, then I got to this block hack.

As soon as I put
<script language="javascript" src="{$vbulletin->options['bburl']}/clientscript/va_prototype.js"></script>
<script language="javascript" src="{$vbulletin->options['bburl']}/clientscript/va_effects.js"></script>
<script language="javascript" src="{$vbulletin->options['bburl']}/clientscript/va_spy.js"></script>
<script language="javascript">
spymax = 10;
highestid = 0;
</script>in after the $headinclude statement, I would get the above posted issues.

MPDev
03 Nov 2006, 20:11
But what relation is the adv_portal page to your other pages? It's not loaded on every page (is it?), so not sure why it would interfere with say, a thread display page.

Spikeman
03 Nov 2006, 20:27
But what relation is the adv_portal page to your other pages? It's not loaded on every page (is it?), so not sure why it would interfere with say, a thread display page.

He has the forum wrapped in vBa so it is causing errors when the thread viewing mode is anything but linear mode. Same happens on my board although I did not notice as I have threaded and hybrid modes disabled.

MPDev
04 Nov 2006, 18:11
Ah, my bad; I really don't know vBa that well. I'm not sure what to suggest.

Trana
06 Nov 2006, 03:33
Am I the only person that can't get this to work in CMPS? My vaispy page works fine. The module has been imported and shows up, but never displays any content. I have tried several different settings for my vburl but have never seen this module work at all.

Does anyone have any ideas what I can check? I would really like to get this to work.

Thanks!

kompakt
06 Nov 2006, 20:02
Am I the only person that can't get this to work in CMPS? My vaispy page works fine. The module has been imported and shows up, but never displays any content. I have tried several different settings for my vburl but have never seen this module work at all.

Does anyone have any ideas what I can check? I would really like to get this to work.

Thanks!
I had that problem too. The .module works a little different in vba 2.2. After uploading your module. Create a new module manually and make it identical to the other module. Once you get it working you can delete the old one.

Trana
06 Nov 2006, 20:23
I had that problem too. The .module works a little different in vba 2.2. After uploading your module. Create a new module manually and make it identical to the other module. Once you get it working you can delete the old one.

I'm not sure what you are suggesting. What will creating a new module with the same config do? I will just have two modules that don't work.

kompakt
08 Nov 2006, 15:08
Well thats what I thought too. But the automatically generated module might have some internal settings that I dont see that are keeping it from working. The other module that I created worked just fine.

Capt. GannA
16 Nov 2006, 10:43
This module will only work with vbaspy 1.0.12 if you require previous modules pm me.
Can anyone who is having a problem with the upload of the module try this one I have attached here.

I have changed code to give what I believe is the best solution ( Have not touched the opera code yet!) I have deleted and uploaded this module through the ACP countless times and it has loaded every time.

I am running vB 3.6.2 on vBa CMPS 2.2.0 I have also installed it to a custom skin all works good, formatting looks good, fixed what i believe were errors on the html side. Tested in IE 6 and FF 1.5.0.7

live demo in my sig, let me know any problems, but i am sure you will ;)

Install follow directions by MPDev as per top of this page, unzip and upload module in ACP through vBa cmps upload/download module option. The only change you may need to make is the directory of vaispy, it is currently setup as forums/vaispy.php to change this go to edit module and change the option, module link.

Used this ^^ but it's not showing any content.. what's up?

rezapci
16 Nov 2006, 12:19
How can I put the Ispy in weblog? any code?

Trana
16 Nov 2006, 15:11
Used this ^^ but it's not showing any content.. what's up?

What other modules are you using?

Capt. GannA
16 Nov 2006, 16:32
What other modules are you using?

All the default ones except this of course.

stud
16 Nov 2006, 18:15
has anything changed? when i try to follow the install directions, i do the following.

a. Download/Upload Module
b. Browse and select vbispyblock.module
c. Settings: Center, Order 6, Yes Active, Default Template.

When I attempt to upload it, it returns with "The file you have uploaded is not a valid module file."

sduckie2k5
18 Nov 2006, 02:38
This seems to work, if I go directly to the /vaispy.php file but trying to incorporate it into my cmps page just puts the module out of bounds on the top of the page and doesnt fit where its supposed to. I would love to see this working for cmps users if theres a fix to keep it in its border.I also come back to the same error, when I try to upload the module and yes my directory is chmoded to 777, so Im not sure what to think, wish I could get this working, will check back.

ShannonRawls
18 Nov 2006, 03:18
has anything changed? when i try to follow the install directions, i do the following.

a. Download/Upload Module
b. Browse and select vbispyblock.module
c. Settings: Center, Order 6, Yes Active, Default Template.

When I attempt to upload it, it returns with "The file you have uploaded is not a valid module file."
Same here. I did the exact same thing you did except I left the Order as blank.

Error was exactly the same.

cooltechie
21 Nov 2006, 23:46
I just tried this and also getting the "The file you have uploaded is not a valid module file." error message. I'm testing on vb3.6.3. Any solutions yet? TIA

snotek
25 Nov 2006, 17:45
Same issue as above...

ninjashoes
26 Nov 2006, 07:27
I get the module not valid also

I used the module from post 91, it shows the module but its blank and no content pops up

Trana
26 Nov 2006, 07:50
My module shows up but never displays any content. Right now it is disabled and I am still seeing these error messages from the browser (due to the js include):

Error: document.getElementById("subscribe") has no properties
Source File: http://www.xxx.com/forum/clientscript/va_spy.js
Line: 64

Any idea what could be causing this?

Trana
27 Nov 2006, 04:55
I put this on a page all by itself, no other VBA modules, no navbar, nothing, and it still doesn't update. Based on that I don't think it has anything to do with the settimeout that people had suggested.

dooch
28 Nov 2006, 23:22
Anyone got this going yet?

hichew
29 Nov 2006, 00:14
check this site, they use vBISpy.
And their forum is very active, looks like stock market index

http://kaskus.us/newpostajax.php

dooch
29 Nov 2006, 08:03
I mean the cmps module.

MPDev
29 Nov 2006, 13:55
I have it working on:

http://www.viperalley.com

You may need to modify your template to include:

<tr id="row10" class="spyfade4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
</tbody>
</table>

<input type="checkbox" id="subscribe" value="1" /> &nbsp; subscribed theads only

dooch
30 Nov 2006, 08:00
I cant even install the module though. Im using 364 and the latest cmps. :confused:

ubblite
30 Nov 2006, 09:52
First I tried uploading the original module supplied by mpdev, but I had the same problem as others getting the "not a valid module" message. I even tried installing it manually, but no luck.

Then I tried Spikeman's fix (post #91) and it actually worked for about 1 hour, then all of a sudden the module went blank & now it's not showing any threads at all. I didn't change a thing, it just happened out of nowhere... very strange. I can tell it's trying to load messages every 7 seconds or so by viewing my bandwidth meter, but that's all it does now.

So, I'm still waiting for a fix - if someone could post a working solution it would be great as this module is much nicer than the default CMPS recent threads mod.

btw, I'm using vb 3.6.4 with CMPS 2.2.0

sduckie2k5
05 Dec 2006, 12:26
First I tried uploading the original module supplied by mpdev, but I had the same problem as others getting the "not a valid module" message. I even tried installing it manually, but no luck.

Then I tried Spikeman's fix (post #91) and it actually worked for about 1 hour, then all of a sudden the module went blank & now it's not showing any threads at all. I didn't change a thing, it just happened out of nowhere... very strange. I can tell it's trying to load messages every 7 seconds or so by viewing my bandwidth meter, but that's all it does now.

So, I'm still waiting for a fix - if someone could post a working solution it would be great as this module is much nicer than the default CMPS recent threads mod.

btw, I'm using vb 3.6.4 with CMPS 2.2.0

Same here, running the same versions and would still like to see a fix for us 3.6.4 users. ;)

stud
05 Dec 2006, 14:03
MPDev - have you given up support for this? I really enjoyed having it as a module on my main site but there are some things that needed fixing and the files in this thread aren't even valid anymore...

MPDev
05 Dec 2006, 17:36
No, I haven't; it's just that as I've said, my knowledge of vBa is limited to this one module. I know I have it running on my site and it worked when I installed it, but thats about the best I can do.

I'll try to find some time to reinstall it and see what happens.

tei727
09 Dec 2006, 00:13
working great on 3.6.4. does this put alot of stress on the server?

ubblite
09 Dec 2006, 00:48
working great on 3.6.4. does this put alot of stress on the server?
Can you explain what steps you took to get this mod working? Also, do you have a link to a working version of this mod?

Thanks

ged
13 Dec 2006, 05:29
It doesn't work, all the same problems mentioned here before, any ideas?

WritersBeat
13 Dec 2006, 08:18
The file you have uploaded is not a valid module file. ??

Fixes please, I really want this add-on :)

digital_sc4rz
21 Dec 2006, 18:06
I get the same error ! "The file you have uploaded is not a valid module file."
has anything changed? when i try to follow the install directions, i do the following.

a. Download/Upload Module
b. Browse and select vbispyblock.module
c. Settings: Center, Order 6, Yes Active, Default Template.

When I attempt to upload it, it returns with "The file you have uploaded is not a valid module file."

stud
21 Dec 2006, 19:26
:( RIP awesome mod.

Trana
24 Dec 2006, 05:41
By my count, there are only 5 people in 100 that have this working in a CMPS module.

Can anyone provide an update or fix this? It looks great!

TheComputerGuy
04 Jan 2007, 15:24
Here is a new module file I got to work.

I created the module, and just downloaded

you must rename it from .txt to .module then upload it to cmps

Trana
04 Jan 2007, 22:19
Here is a new module file I got to work.

I created the module, and just downloaded

you must rename it from .txt to .module then upload it to cmps

Doesn't seem to work for me. Can you provide any other details on installation? Do we have to use the previous templates and file edits?

Thanks.

TheComputerGuy
05 Jan 2007, 13:03
did you do the file edits? in the first post.

Trana
05 Jan 2007, 14:08
did you do the file edits? in the first post.

Yes of course.

Forumi Shqiptar
19 Jan 2007, 19:50
not working for me either i got my forum into my root so instead of /forum/ im using only / is that the corrent one or not?

ubblite
20 Jan 2007, 20:26
Here is a new module file I got to work.

I created the module, and just downloaded

you must rename it from .txt to .module then upload it to cmps
I tried your fix but it didn't work. It shows the module but that's it - no threads or anything.

tankaya61
29 Jan 2007, 19:53
how can i use cmps 2.2.1??

stud
06 Feb 2007, 18:28
Do any of you with the working module still have your installation files? (the .module file to be specific)

The current file attached to this thread is not considered a valid module file, so those of us who uninstalled it can no longer get it reinstalled! :(
And considering MPDev has completely abandoned support for this mod, you're our last hope!!

phill2003
06 Feb 2007, 18:31
Do any of you with the working module still have your installation files? (the .module file to be specific)

The current file attached to this thread is not considered a valid module file, so those of us who uninstalled it can no longer get it reinstalled! :(
And considering MPDev has completely abandoned support for this mod, you're our last hope!!

Yes you can just open the module file in a text editor and install it manually its not hard :)

stud
06 Feb 2007, 18:45
Phill - care to elaborate on the steps required to do such an easy mod? I've tried that in every way i know of, and i still can't get it to work...

phill2003
06 Feb 2007, 19:02
if you open the module file in a text editor it goes through the steps to make the module so you can do it manually...

stud
06 Feb 2007, 19:07
I understand that part... that it's readable in notepad/wordpad .. however, there are no steps nor any working code in the module file.

I have made all attempts that i know of to use this module file.
1. Download/Upload - error: "invalid module file"
2. Add a Module - Tried all 3 (Template/PHP File/BB Code) without luck. This included what I suspect you are suggesting, which is copying and pasting the code from the .module file. No luck here either.
3. Add Page - none of those options work either.


Have you tried your suggested method? If you could explain the steps needed from start to finish, i can try them - but at this point, i don't think you can just paste the .module code anywhere without either referencing other files or other steps i'm just not aware of.

phill2003
06 Feb 2007, 19:09
Are you sitting comfortably.

Step 1....


title--------vBIspy Block


identifier---------what you want


filename------vbispy (must be the php file)


use shell template-------- no

ok save the block and then you need to make a new template called adv_portal_vbispy


and use this content

<if condition="is_browser('opera')">

<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<tr><td colspan="4" class="tcat smallfont" align="left" style="height:25px;"><strong>&raquo; <a href="/forum/vaispy.php">Live Forum Updates</a></strong></td></tr>
<tr><td width="20" class="tcat" nowrap="nowrap" style="height:25px;">&nbsp;</td>
<td class="tcat" width="190" nowrap="nowrap" style="height:20px;">By</td>
<td class="tcat" width="80%" style="height:20px;">Thread/Post</td>
<td class="tcat" width="200" nowrap="nowrap" style="height:20px;">Forum
</tr>
<tr><td colspan="4" class="alt1">
<div id="row1" style="display:none;"></div>
<div id="row2" style="display:none;"></div>
<div id="row3" style="display:none;"></div>
<div id="row4" style="display:none;"></div>
<div id="row5" style="display:none;"></div>
<div id="row6" style="display:none;"></div>
<div id="row7" style="display:none;"></div>
<div id="row8" style="display:none;"></div>
<div id="row9" style="display:none;"></div>
<div id="row10" style="display:none;"></div>
</td></tr>
</table>

<else />

<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<thead>
<tr><td colspan="4" class="tcat smallfont" align="left" colspan="4"><strong>&raquo; <a href="/forum/vaispy.php">Live Forum Updates</a></strong></td></tr>
<tr align="center"><td class="thead" width="20">&nbsp;</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">
<tr id="row1"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row2"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row3"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row5"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row6"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row7"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row8"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row9"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row10" class="spyfade4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
</tbody>
</table>

</if>

<input type="checkbox" id="subscribe" value="1" /> &nbsp; subscribed theads only";}";}

Now if it is activated there is no reason why it should not work :) .....

stud
06 Feb 2007, 19:14
Sorry to sound naive, but it still not exactly as clear as i had hoped.

1. What kind of module? "Add Module -> PHP File" ?

And what php file? Included in this thread is only the .module file. Are you saying you have to put a copy of the "vaispy.php" file from the non-cmps VBSpy hack into your module folder?

maxicep
10 Feb 2007, 14:16
i cant create a module on vBadvanced running with vb3.6.2 -* vba 2.2.1
how can i create ?

pdblizzard
21 Feb 2007, 14:52
This is a great hack and it's running fine on my site with vb 3.6.4 and vBadvanced CMPS v2.2.1.

I'm wondering if some of you are having the same problem that I did when I first installed, when I downloaded the zipped module files from the different locations on this thread. I don't know why, but there was a lot of garbage code in the beginning when I unzipped, that I didn't notice at first. When I copied the code from within the posts instead, it worked fine for me. <if condition="is_browser('opera')">

<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<tr><td colspan="4" class="tcat smallfont" align="left" style="height:25px;"><strong>&raquo; <a href="/forum/vaispy.php">Live Forum Updates</a></strong></td></tr>
<tr><td width="20" class="tcat" nowrap="nowrap" style="height:25px;">&nbsp;</td>
<td class="tcat" width="190" nowrap="nowrap" style="height:20px;">By</td>
<td class="tcat" width="80%" style="height:20px;">Thread/Post</td>
<td class="tcat" width="200" nowrap="nowrap" style="height:20px;">Forum
</tr>
<tr><td colspan="4" class="alt1">
<div id="row1" style="display:none;"></div>
<div id="row2" style="display:none;"></div>
<div id="row3" style="display:none;"></div>
<div id="row4" style="display:none;"></div>
<div id="row5" style="display:none;"></div>
<div id="row6" style="display:none;"></div>
<div id="row7" style="display:none;"></div>
<div id="row8" style="display:none;"></div>
<div id="row9" style="display:none;"></div>
<div id="row10" style="display:none;"></div>
</td></tr>
</table>

<else />

<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<thead>
<tr><td colspan="4" class="tcat smallfont" align="left" colspan="4"><strong>&raquo; <a href="/forum/vaispy.php">Live Forum Updates</a></strong></td></tr>
<tr align="center"><td class="thead" width="20">&nbsp;</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">
<tr id="row1"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row2"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row3"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row5"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row6"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row7"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row8"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row9"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row10" class="spyfade4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
</tbody>
</table>

</if>

<input type="checkbox" id="subscribe" value="1" /> &nbsp; subscribed theads only";}";}

I don't know if this helps or not, but I thought I'd share what made it work for me.

Also, someone asked about server load. I haven't noticed that, HOWEVER I have noticed that it makes my "page views" through the roof on my server logs, so I exclude vaispy.php from my reports to get a more accurate picture of actual human page views.

Trana
02 Mar 2007, 06:32
If there is anyone that is moderate in jscript and the php/ajax that surrounds this module, I would be willing to pay to identify the problem that most of us seem to be facing. No one is fixing this issue. If you are good, please PM me.

Thank you.

Invalid ID
08 Mar 2007, 17:18
While trying to upload the module I get the following error message:

"The file you have uploaded is not a valid module file."

Invalid ID
10 Mar 2007, 19:24
What do you exactly mean by "Add the vbispyblock.module to your vBAdvance portal".

If you mean I should click "Download / Upload Module" link, it gives me this error "The file you have uploaded is not a valid module file."

ngocha85
17 Mar 2007, 19:53
While trying to upload the module I get the following error message:

"The file you have uploaded is not a valid module file."

Invalid ID
18 Mar 2007, 19:18
That's what happening with me too.

I think this mod is not being supported any more.

Strike3ForumsMH
25 Mar 2007, 09:51
I also got the same error with this.

Invalid ID
27 Mar 2007, 19:38
I think this Mod does not work

stud
03 Apr 2007, 13:22
it's a shame... MPDev used to be soo helpful.

This is quite possibly THE most important and useful CMPS module in existence... and NO ONE knows how to remedy what is likely something simple like a missing command or formatting issue?!

Invalid ID
03 Apr 2007, 20:28
I agree.

Trana
03 Apr 2007, 20:45
it's a shame... MPDev used to be soo helpful.

This is quite possibly THE most important and useful CMPS module in existence... and NO ONE knows how to remedy what is likely something simple like a missing command or formatting issue?!

Agreed!

So let's take this discussion to the VBAdvanced board and solicit someone to get it to work! I would personally chip in to get it to work right.

Thoughts?

Invalid ID
03 Apr 2007, 21:14
Yeah, please do it :)

MPDev
04 Apr 2007, 01:17
Sorry guys, I've tried to be as helpful as I can not knowing vBadvanced that well. I had it working on my site and exported the module, but that was the extent of my ability to make it work. The code itself should work just fine, I just dont know how to wrap it up as a module for it to be imported.

I did another export of the file from my current setup which you can try; it works on my current setup with 3.6.4 and vBadvanced. You may need to change the path in the file if you don't use "/forum/vaispy.php"; otherwise the instructions in the original post apply.

Trana
04 Apr 2007, 01:33
Sorry guys, I've tried to be as helpful as I can not knowing vBadvanced that well. I had it working on my site and exported the module, but that was the extent of my ability to make it work. The code itself should work just fine, I just dont know how to wrap it up as a module for it to be imported.

I did another export of the file from my current setup which you can try; it works on my current setup with 3.6.4 and vBadvanced. You may need to change the path in the file if you don't use "/forum/vaispy.php"; otherwise the instructions in the original post apply.

It's not just the module issue that is a problem. A LOT of people were able to install it but never see any posts.

MPDev
04 Apr 2007, 13:04
Alot of people were also trying to modify it; and that's where most people will quickly get themselves messed up if they don't know where to make all their changes. I can help with the module and code as it is, but once you start changing it, then its out of my hands.

stud
04 Apr 2007, 14:49
Thanks for the response MPDev!! ... the problems seem completely random.


a. I did a completely fresh install of VaSpy. It currently works when loaded in it's own window.
(http://<<mywebsite.com>>/forum/vaispy.php)


b. I uploaded this new module you attached, unmodified - and it actually uploads! It gives the following message:
The following template(s) already exist in this style:
adv_portal_vbispy
Select 'yes' to overwrite your current templates with the new ones, or select no to keep your current templates.
To which, I said yes. It looks to be successful, except it DOES NOT show any information on the module.



c. If i attempt to make an edit, such as changing:
<a href="/forum/vaispy.php">
to
<a href="http://<<mywebsite.com>>/forum/vaispy.php">

It gives the error "The file you have uploaded is not a valid module file."

So it appears it somehow isn't pulling the thread data for the module, meanwhile vaispy.php IS working properly and is in the same default location of /forum/vaispy.php

Is it possible there are templates or phrases from previous installs that could be causing conflict?!
(i've been a user of your vaispy since version 1)

MPDev
04 Apr 2007, 19:16
Can you give me a link to your page so I can see it and check for errors?

Trana
05 Apr 2007, 01:24
Thanks for the response MPDev!! ... the problems seem completely random.

So it appears it somehow isn't pulling the thread data for the module, meanwhile vaispy.php IS working properly and is in the same default location of /forum/vaispy.php

Is it possible there are templates or phrases from previous installs that could be causing conflict?!
(i've been a user of your vaispy since version 1)


Same problem here, working vaispy install but module never does anything.

MPDev
05 Apr 2007, 17:57
Same reply to his. I can't fix what I can't see or replicate.

ZGeek
17 Apr 2007, 03:02
I have this working in firefox, but nothing displays in Internet explorer. Vbispy works in IE. The problem can't be viewed by normal users as it's only available to me, but if anyone can help i can give their account the right access.

Invalid ID
06 May 2007, 03:06
It's working great now.

Can you make it in this way please..

1) It will not display what was said in the post (But the link must take to the last post)
2) Number of replies and views be mentioned

I actually want to remove the available "Recent Threads" function and put your vBISpy module - live AJAX feed of new threads - for vBAdvanced CMPS.

Thanks

BozzaJos
07 May 2007, 20:42
Invalid ID.. how did you get it to work? I get the message that it's not a valid module... no matter what I try...

Invalid ID
09 May 2007, 15:58
I don't know, I just followed the steps mentioned here. And it's working.

But I had to turn it off due to the fact that its lay out is not as good as the one that shows the normal mod for showing the latest threads.

Therefore I am requesting for some changes.

ZGeek
15 May 2007, 03:36
I've been trying to make a recent threads module out of this too, but it doesn't work in IE. Any chance of someone who knows what they are doing to make it?

Invalid ID
22 May 2007, 18:00
I think the coder does not want to support

stud
23 May 2007, 13:47
MPDev - Any plans on updating this for the new 3.0 CMPS, which now utilizes many new features of VB?

MPDev
23 May 2007, 17:55
I will try to take a look; I wasn't aware there was an update.

Red Blaze
23 May 2007, 22:36
I'm getting this error when I try to upload the module:


Database error in vBulletin 3.6.7:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO forumadv_modules
(`0`, `active`, `userperms`)
VALUES
('', '1', '4,6,7,2,9,5,1,3');

MySQL Error : Unknown column '0' in 'field list'
Error Number : 1054
Date : Wednesday, May 23rd 2007 @ 10:33:14 PM
Script : http://www.***********.net/admincp/vba_cmps_admin.php?do=uploadmodule
Referrer : http://www..***********.net/admincp/vba_cmps_admin.php?do=download
IP Address : **.***.**.***
Username : Red Blaze
Classname : vb_database

This is what I'm gettin. Stud did point out that this would need to be updated. I would love this. I'm using vBadvanced CMPS v3.0 RC1.

EDIT: Welp, I got it to work manually. Opened the module file in a txt file and just copy pasted the template code. Good stuff. Thanks. ^_^

voter
24 May 2007, 14:43
I'm getting this error when I try to upload the module:



This is what I'm gettin. Stud did point out that this would need to be updated. I would love this. I'm using vBadvanced CMPS v3.0 RC1.

EDIT: Welp, I got it to work manually. Opened the module file in a txt file and just copy pasted the template code. Good stuff. Thanks. ^_^
Same by me
Database error in vBulletin 3.6.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vbadv_modules
(`0`, `active`, `userperms`)
VALUES
('', '1', '4,6,7,5,1,3,2,13,15,18,17,14,16,19');

MySQL Error : Unknown column '0' in 'field list'
Error Number : 1054

stud
24 May 2007, 15:23
I will try to take a look; I wasn't aware there was an update.

Thanks MPDev... sorry that we all seem so impatient.. as I've indicated before, this could easily be one of the single most popular and important mods for a website running CMPS - as it's FAR superior to the "Recent Threads" Module.

If you are going to go into development to update the functionality of this module, may I re-list a few suggestions people here have made that I don't think ever made it into this version?

a. The ability update without duplication? Currently, if someone makes two posts in a single thread, it will list that thread topic twice rather then just represent the most recent thread. Similar to how the "Recent Threads" module bolds and brings to the top of the list, if the vBIspy module had a way of preventing duplicates, it would be AMAZING.

b. On that same notion, to bold and unbold topics as their status changes from Unread to Read.

c. the ability to minimize it using the #top feature that many other modules use. (this may have been added since the request, it hasen't worked for me since I upgraded to 3.6 so i'm not sure)



Thanks again for your attention on this MPDev.

BozzaJos
27 May 2007, 16:55
Well, the new added module file did work and I've got it on my forum now. One thing tho, is it possible to add a scrollbar to the box so that it only shows the first 5 or so and to see the other 15 you'll have to scroll. I would like to have a scrollbar coz now it makes my forum twice the size as that it is at the moment.

Can you please help me with this? Many thanks in advance.

MPDev
29 May 2007, 13:36
No, there is not a scrollbar feature available with how this updates HTML tables (not that I know of anyways).

Pirate45
30 May 2007, 10:59
Does this not work with vbAdvanced 3.0?

davidw
09 Jun 2007, 15:27
Sorry guys, I've tried to be as helpful as I can not knowing vBadvanced that well. I had it working on my site and exported the module, but that was the extent of my ability to make it work. The code itself should work just fine, I just dont know how to wrap it up as a module for it to be imported.

I did another export of the file from my current setup which you can try; it works on my current setup with 3.6.4 and vBadvanced. You may need to change the path in the file if you don't use "/forum/vaispy.php"; otherwise the instructions in the original post apply.
I have the module [quoted in this post] working with an exception - I had to add <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">
spymax = 10;
highestid = 0;
</script>to the top of the template in order for anything to display. Once done, it worked as described :D

Secondly, there is a missing tag in the first half of the template <table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<tr><td colspan="4" class="tcat smallfont" align="left" style="height:25px;"><strong>&raquo; <a href="/forum/vaispy.php">Live Forum Updates</a></strong></td></tr>
<tr><td width="20" class="tcat" nowrap="nowrap" style="height:25px;">&nbsp;</td>
<td class="tcat" width="190" nowrap="nowrap" style="height:20px;">By</td>
<td class="tcat" width="80%" style="height:20px;">Thread/Post</td>
<td class="tcat" width="200" nowrap="nowrap" style="height:20px;">Forum
</tr>
...after Forum there is no closing </td> tag. I don't use Opera, so I don't know if it actually hurts anything or not, but I thought I would add that.

stud
10 Jun 2007, 20:25
interesting... thanks for the update David... i'm going to give your suggestions a go tomorrow when i get a minute

MPDev
10 Jun 2007, 23:00
Isn't the head code part of Step 2?

davidw
10 Jun 2007, 23:03
Yes, but it didn't work without it being in the other template. I had it in the adv_portal template and it was not showing up, so I put it in the other template and it showed up :) Of course, what works for me may only be the result of an issue that occurs on my site alone and others may not reflect this. ;)

MPDev
11 Jun 2007, 18:23
Thanks for that clarification, David.

RaTix
25 Jun 2007, 23:20
Hi,

I'm trying to get iSpy running and have run into an issue that I can't figure out:

After following the setup instructions, the vBa module doesn't show any posts. I figured I'd try browsing directly to the vaispy.php, and there I get a vBulletin-generated "Invalid Page Specified" error.

The vaispy.php file is located in the forum root, and I checked the vburl variable in va_spy.js to make sure that it was not pointing to /forum/, since vBa resides in my forum directory as well.

I know that it used to work when browsing directly to vaispy.php, but I'm not sure when it stopped working.

Any idea as to what broke?

vBulletin 3.6.7 / vBadvanced 3.0

Thank You.

Trana
27 Jun 2007, 21:45
SWEET. I just tried the most recent module file and it worked like a charm! I have been trying to get this thing to work for months now!

So now that I am seeing the feeds, how do I:

- Make the module have the same format as the Recent Posts block

- Control which forums this is pulling threads from

Thanks!

MPDev
29 Jun 2007, 12:48
Be sure to click install. ;)

Trana
29 Jun 2007, 15:20
Be sure to click install. ;)

Of course.

Any suggestions for my questions above?

Thanks!

Trana
11 Jul 2007, 06:11
Can anyone help me limit this to a certain forum or range of forums?

Invalid ID
13 Jul 2007, 20:01
Can you please be more specific how to install this Mod?

Thanks

Exposed_Bone
09 Aug 2007, 07:08
It does work with vbadnvanced 3; :erm:

TheBlackPoet
02 Sep 2007, 05:14
Sorry guys, I've tried to be as helpful as I can not knowing vBadvanced that well. I had it working on my site and exported the module, but that was the extent of my ability to make it work. The code itself should work just fine, I just dont know how to wrap it up as a module for it to be imported.

I did another export of the file from my current setup which you can try; it works on my current setup with 3.6.4 and vBadvanced. You may need to change the path in the file if you don't use "/forum/vaispy.php"; otherwise the instructions in the original post apply.

this worked the first time... no problem... i WOULD ask what you did different.., but im just too damn happy its working.... so..., thanks a million!

taydu
12 Sep 2007, 03:57
i tried to upload the module but it give me this error:

Database error in vBulletin 3.6.8:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vb_adv_modules
(`0`, `active`, `userperms`)
VALUES
('', '1', '4,6,8,7,2,5,1,3');

MySQL Error : Unknown column '0' in 'field list'
Error Number : 1054
Date : Tuesday, September 11th 2007 @ 08:55:15 PM
Script : ........../vba_cmps_admin.php?do=uploadmodule
Referrer : ........./vba_cmps_admin.php?do=download
IP Address : xxxxxxx
Username : xxxxxx
Classname : vb_database

taydu
12 Sep 2007, 19:41
can someone help? I can't upload this module to vba, keep getting the same error as above

thanks

taydu
12 Sep 2007, 22:09
Finally i got it to work. Just forget about uploading the module to vba.

Here is what i did:

1. login vb backend
2. under vba cmps add module
3. select template
4.1 fill in module title
4.2 fill in template to include adv_porta_vBiSpy
4.3 select style you want to install.
4.4 paste the following in template content:

<tr>
<td class="$bgclass">
<if condition="is_browser('opera')">

<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<tr><td colspan="4" class="tcat smallfont" align="left" style="height:25px;"><strong>&raquo; <a href="/forum/vaispy.php">Live Forum Updates</a></strong></td></tr>
<tr><td width="20" class="tcat" nowrap="nowrap" style="height:25px;">&nbsp;</td>
<td class="tcat" width="190" nowrap="nowrap" style="height:20px;">By</td>
<td class="tcat" width="80%" style="height:20px;">Thread/Post</td>
<td class="tcat" width="200" nowrap="nowrap" style="height:20px;">Forum
</tr>
<tr><td colspan="4" class="alt1">
<div id="row1" style="display:none;"></div>
<div id="row2" style="display:none;"></div>
<div id="row3" style="display:none;"></div>
<div id="row4" style="display:none;"></div>
<div id="row5" style="display:none;"></div>
<div id="row6" style="display:none;"></div>
<div id="row7" style="display:none;"></div>
<div id="row8" style="display:none;"></div>
<div id="row9" style="display:none;"></div>
<div id="row10" style="display:none;"></div>
</td></tr>
</table>

<else />

<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<thead>
<tr><td colspan="4" class="tcat smallfont" align="left" colspan="4"><strong>&raquo; <a href="/forum/vaispy.php">Live Forum Updates</a></strong></td></tr>
<tr align="center"><td class="thead" width="20">&nbsp;</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">
<tr id="row1"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row2"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row3"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row5"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row6"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row7"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row8"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row9"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row10" class="spyfade4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
</tbody>
</table>

</if>

<input type="checkbox" id="subscribe" value="1" /> &nbsp; subscribed theads only";}";}

</td>
</tr>

it should work,

yoyoyoyo
12 Oct 2007, 01:15
thanks much - how can I make this a side module instead of a center module?

daz1967
30 Oct 2007, 11:43
I have ultimate side columns running is there a way of adding this there so it shows on the main page rather than in a CMS?

mmllc
12 Nov 2007, 19:24
Finally i got it to work. Just forget about uploading the module to vba.

Here is what i did:

1. login vb backend
2. under vba cmps add module
3. select template
4.1 fill in module title
4.2 fill in template to include adv_porta_vBiSpy
4.3 select style you want to install.
4.4 paste the following in template content:

<tr>
<td class="$bgclass">
<if condition="is_browser('opera')">

<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<tr><td colspan="4" class="tcat smallfont" align="left" style="height:25px;"><strong>&raquo; <a href="/forum/vaispy.php">Live Forum Updates</a></strong></td></tr>
<tr><td width="20" class="tcat" nowrap="nowrap" style="height:25px;">&nbsp;</td>
<td class="tcat" width="190" nowrap="nowrap" style="height:20px;">By</td>
<td class="tcat" width="80%" style="height:20px;">Thread/Post</td>
<td class="tcat" width="200" nowrap="nowrap" style="height:20px;">Forum
</tr>
<tr><td colspan="4" class="alt1">
<div id="row1" style="display:none;"></div>
<div id="row2" style="display:none;"></div>
<div id="row3" style="display:none;"></div>
<div id="row4" style="display:none;"></div>
<div id="row5" style="display:none;"></div>
<div id="row6" style="display:none;"></div>
<div id="row7" style="display:none;"></div>
<div id="row8" style="display:none;"></div>
<div id="row9" style="display:none;"></div>
<div id="row10" style="display:none;"></div>
</td></tr>
</table>

<else />

<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<thead>
<tr><td colspan="4" class="tcat smallfont" align="left" colspan="4"><strong>&raquo; <a href="/forum/vaispy.php">Live Forum Updates</a></strong></td></tr>
<tr align="center"><td class="thead" width="20">&nbsp;</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">
<tr id="row1"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row2"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row3"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row5"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row6"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row7"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row8"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row9"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row10" class="spyfade4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
</tbody>
</table>

</if>

<input type="checkbox" id="subscribe" value="1" /> &nbsp; subscribed theads only";}";}

</td>
</tr>

it should work,

These instructions helped the most! :up:

But now, VBISPY shows up on every single page of my forum, even in sub forums. I'd like this only on my main INDEX page. Any ideas?

DJ XtAzY
05 Dec 2007, 23:29
How do I just have the Date and Thread Title show up? I want to remove all the other elements.

Levi75
09 Dec 2007, 18:47
is it possible to customize the number of posts displayed in this module?

yotsume
12 Feb 2008, 17:28
Anyway I try to get this module active it kicks back this database error.

What gives?


Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT *
FROM vb_template
WHERE title = 'adv_portal_vBiSpy'
AND styleid IN();

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 4
Error Number : 1064
Date : Tuesday, February 12th 2008 @ 01:23:04 PM
Script : http://www.my.domain.com/forum/admincp/vba_cmps_admin.php
Referrer : http://www.my.domain.com/forum/admincp/vba_cmps_admin.php?do=addmodule&type=template
IP Address : x.xxx.xxxx.xxx
Username : xxxxxxxxxx
Classname : vb_database

binevi
11 Mar 2008, 22:16
Database error in vBulletin 3.7.0 Beta 4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO adv_modules
(`0`, `active`, `userperms`)
VALUES
('', '1', '4,6,8,15,14,12,16,5,18,7,2,10,1,3');

MySQL Error : Unknown column '0' in 'field list'
Error Number : 1054
Date : Tuesday, March 11th 2008 @ 04:15:20 PM
Script : http://www.xx.com/admincp/vba_cmps_admin.php?do=uploadmodule
Referrer : http://www.xx/admincp/vba_cmps_admin.php?do=download
IP Address : xx
Username : xx
Classname : vb_database
MySQL Version : 5.0.45-community-log




Any help ?

yotsume
11 Mar 2008, 23:44
Yea it give a database error no matter which way I try to add this by either uploading it or creating it through the vba admincp.

Can someone help here?

KeyHunterz
22 Mar 2008, 18:34
To get rid of the double boxes use this verison


1. Login to your vb-cp
2. Under vba cmps click "add module"
3. Select "Template"
4. Fill in module title, can be anything
5. Fill in template to include: adv_portal_vBiSpy
6. Select style you want to install.
7. Paste the following in template content:

<tr>
<td class="$bgclass">
<if condition="is_browser('opera')">

<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<tr><td colspan="4" class="tcat smallfont" align="left" style="height:25px;"><strong>&raquo; <a href="/forum/live.php"></a></strong></td></tr>
<tr><td width="20" class="tcat" nowrap="nowrap" style="height:25px;">&nbsp;</td>
<td class="tcat" width="190" nowrap="nowrap" style="height:20px;">By</td>
<td class="tcat" width="80%" style="height:20px;">Thread/Post</td>
<td class="tcat" width="200" nowrap="nowrap" style="height:20px;">Forum

</tr>
<tr><td colspan="4" class="alt1">
<div id="row1" style="display:none;"></div>
<div id="row2" style="display:none;"></div>
<div id="row3" style="display:none;"></div>
<div id="row4" style="display:none;"></div>
<div id="row5" style="display:none;"></div>
<div id="row6" style="display:none;"></div>
<div id="row7" style="display:none;"></div>
<div id="row8" style="display:none;"></div>
<div id="row9" style="display:none;"></div>
<div id="row10" style="display:none;"></div>
</td></tr>
</table>

<else />
<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<thead>
<a href="/forum/live.php"></a>
<tr align="center"><td class="thead" width="20">&nbsp;</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">
<tr id="row1"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row2"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row3"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row5"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row6"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row7"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row8"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row9"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row10" class="spyfade4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
</tbody>
</table>

</if>

<input type="checkbox" id="subscribe" value="1" /> &nbsp; Click for subscribed threads only!

</td>
</tr>

8 Change "live.php" in the code above to "vaispy.php" or whatever you change the name to.

to view an example of this code working go to http://keyhunterz.com

bada_bing
29 Mar 2008, 18:08
Any chance to make this hack for vbportal?

dancue
16 May 2008, 02:14
has anyone got this to work on 3.7?

I followed keyhunterz instructions, because the upload gave me a db error, but all I'm seeing is the box. just a blank box.

dancue
16 May 2008, 03:00
Ah...you guys are ALL going to love me!!!

Found out the issue.

The following instructions will achieve the following:

Compatible with the latest version of vBulletin. (3.7 Gold)
Add a link to the bottom of the module, on the right side, allowing you to go to the full page of your vBIspy.
Includes corrected issues for Opera.
Includes Corrected code to get rid of double boxes, by keyhunters. NOW, also corrected for Opera.


STEP ONE:
Open va_spy.js and find:
var vburl = '';

Replace it with this: (replacing what's in red with the directory of your forums)
var vburl = '/forum/';



STEP TWO:

1. Login to your vb-cp
2. Under vba cmps click "add module"
3. Select "Template"
4. Fill in module title, can be anything
5. Fill in template to include: adv_portal_vBiSpy
6. Select style you want to install.
7. Paste the following in template content, replacing what's in RED (4 Instances) with your information:

<tr>
<td class="$bgclass">
<if condition="is_browser('opera')">

<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<thead>
<a href="ENTER FULL URL/vaispy.php"></a>
<tr align="center"><td class="thead" width="20">&nbsp;</td><td class="thead" width="190">By</td><td class="thead">Thread/Post</td><td class="thead" width="190">Forum</td></tr>

</thead>
<tr><td colspan="4" class="alt1">
<div id="row1" style="display:none;"></div>
<div id="row2" style="display:none;"></div>
<div id="row3" style="display:none;"></div>
<div id="row4" style="display:none;"></div>
<div id="row5" style="display:none;"></div>
<div id="row6" style="display:none;"></div>
<div id="row7" style="display:none;"></div>
<div id="row8" style="display:none;"></div>
<div id="row9" style="display:none;"></div>
<div id="row10" style="display:none;"></div>
</td></tr>
<td class="thead" colspan="2" align="left"><input type="checkbox" id="subscribe" value="1" /> &nbsp; Click for subscribed threads only!</td><td class="thead" colspan="2" align="right"><a href="ENTER FULL URL/vaispy.php">Click here to view Full Page</a></td>

</table>

<else />
<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<thead>
<a href="ENTER FULL URL/vaispy.php"></a>
<tr align="center"><td class="thead" width="20">&nbsp;</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">
<tr id="row1"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row2"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row3"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row5"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row6"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row7"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row8"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row9"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row10" class="spyfade4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
</tbody>

<td class="thead" colspan="2" align="left"><input type="checkbox" id="subscribe" value="1" /> &nbsp; Click for subscribed threads only!</td><td class="thead" colspan="2" align="right"><a href="ENTER FULL URL/vaispy.php">Click here to view Full Page</a></td>
</table>

</if>


</td>
</tr>



STEP THREE:

Open adv_portal template and find this:
$headinclude

add below: (Replacing what's in red with your information)
<script language="javascript" src="ENTER FULL URL/clientscript/va_prototype.js"></script>
<script language="javascript" src="ENTER FULL URL/clientscript/va_effects.js"></script>
<script language="javascript" src="ENTER FULL URL/clientscript/va_spy.js"></script>
<script language="javascript">
spymax = 10;
highestid = 0;
</script>

Find:
$footer

Add Below:
<script language="javascript">
spyinit();
</script>

Almost every time I have an issue with something not working on a vbadvanced script I have to enter the full url. I tried it on this, and voila!!

I am using vBAdvanced 3.0.1 and vBulletin 3.7.0 Gold

dizzine
16 May 2008, 14:36
is there a module available for vBa CMPS v2.1.0 sitting on vBulletin 3.5.4 ????
when i upload the module it is reported as 'not valid' which i guess is due to my older versions..
tia..

dizzine
27 May 2008, 10:58
anyone..?

dancue
28 May 2008, 02:21
Did you try mine? post #215

Harley D
28 May 2008, 22:08
I tried your version and still no joy.
So I thought about using an iframe to display it. it displays but it breaks my style by removing the footer and 3rd column. i'm not sure why this is happening?

adv_portal_vBiSpy
<tr>
<td class="$bgclass"> <IFRAME SRC = "http://www.laserenthusiast.com/forums/vBIspy.php" width="100%" height="450" scrolling="yes"> </td>
</tr>


I've also have been attempting to remove the skins header and footer, but for some reason editing out the $header & $footer has no effect?

Trana
28 May 2008, 22:47
Anyone want to do some custom work on this mod for me? I need it to match the CMPS recentthreads.php module in style and format. It needs to support the post icons as well.

I'll pay if you can get it to work.

PM me for more info.

Thanks.

dizzine
02 Jun 2008, 14:32
Ah...you guys are ALL going to love me!!!

STEP THREE:

Open adv_portal template and find this:
$headinclude

add below: (Replacing what's in red with your information)
<script language="javascript" src="{ENTER FULL URL/clientscript/va_prototype.js"></script>
<script language="javascript" src="{ENTER FULL URL/clientscript/va_effects.js"></script>
<script language="javascript" src="{ENTER FULL URL/clientscript/va_spy.js"></script>
<script language="javascript">
spymax = 10;
highestid = 0;
</script>

Find:
$footer

Add Below:
<script language="javascript">
spyinit();
</script>

Almost every time I have an issue with something not working on a vbadvanced script I have to enter the full url. I tried it on this, and voila!!

I am using vBAdvanced 3.0.1 and vBulletin 3.7.0 Gold

many thanks..i found if i took out the '{' marked in green in your original code i could get it to work..:up:

dancue
02 Jun 2008, 16:08
oops. I've edited my post.

dizzine
14 Jun 2008, 09:12
i have increased the number of displayed posts to 20 in the .js file but my module box will not increase in height above 10 posts..!
anyone know what the problem could be..or how i can force the height value in the .php/template..?
many thanks..

OcR Envy
09 Jul 2008, 18:11
Still doesn't work for me even with dancue's recent post. Everything displays correctly no javascript errors but it does not load the content.

Lustikus
10 Dec 2008, 07:54
Hi,

I tired it many hours without any success.

But finally it works for me.
My forum is 3.7.3 and vBa 3.0.1
check out http://forum.xbox-offensive.eu

what I did:

first:
Do not change the line in step 1
var vburl = '';
leave it as it is!

second:
now do the second step, there has nothing changed

and third and last step:
add a new module in your admin panel as you see in post number #212

now it shows me my content without any problems

sectomy
11 Dec 2008, 15:02
ive seen that some forums got for example 10 topics, but only 2 are "sliding in"...how can i change that ?
the number of postings that are static and the new ones are updated live ? so for the first visit ?

you know whatta mean ?

Harmachis
23 Dec 2008, 13:14
i tried vBulletin 3.7.4 PL1 with vBAdvance CMPS 3.1 (latest), vBulletin 3.7.4 PL1 with vBAdvance CMPS 3.0.1 & vBulletin 3.6.8 PL2 with vBAdvance CMPS 2.2.1

but the result is same.

when i tried to upload the *.module file of vBISpy module - live AJAX feed of new threads - for vBAdvanced CMPS (http://www.vbulletin.org/forum/showthread.php?t=126421), it shows The file you have uploaded is not a valid module file.

what should i do ?

dancue
05 Mar 2009, 15:47
I've upgraded my forum to 3.8 and it is working just fine with my corrections.

For those of you who have tried it before and not got it to work, you should retry following my directions because I have found some mistakes in the original post.

Here (http://www.vbulletin.org/forum/showpost.php?p=1521225&postcount=215) is the fix for people who want this on there CMPS.

For those of you who want to see a live demo click here (http://unifiedchamp.com).

starplatinum
12 Apr 2009, 23:16
doesn't work with AJAX Tabs Content Script - Version 3.0 (YUI) (http://www.vbulletin.org/forum/showthread.php?t=191106)

Any hint to make it works ?

Carnage
04 May 2009, 11:07
I've upgraded my forum to 3.8 and it is working just fine with my corrections.

For those of you who have tried it before and not got it to work, you should retry following my directions because I have found some mistakes in the original post.

Here (http://www.vbulletin.org/forum/showpost.php?p=1521225&postcount=215) is the fix for people who want this on there CMPS.

For those of you who want to see a live demo click here (http://unifiedchamp.com).


The module file dosn't work with later versions of vb advanced it seems. I like you figured out how to add it manually and to save other people the trouble, heres an XML module file that i exported from my working setup.

ctimes
04 May 2009, 20:28
Thank you very much works like a charm :)

Electronic Punk
31 Jul 2009, 00:52
I can't see it on that site? :s and it does not seem to work on giveupalready?

New Joe
04 Aug 2009, 12:17
Hi,

I tired it many hours without any success.

But finally it works for me.
My forum is 3.7.3 and vBa 3.0.1
check out http://forum.xbox-offensive.eu

what I did:

first:
Do not change the line in step 1
var vburl = '';
leave it as it is!

second:
now do the second step, there has nothing changed

and third and last step:
add a new module in your admin panel as you see in post number #212

now it shows me my content without any problems
This is the best post on this Thread.
Follow the above and all works fine.
Thank you whoever you are:up:

Maksim
01 Oct 2009, 00:12
Hi,
I have a problem.
The module of a portal does not work for me.
I have vB (3.8.4) and vBa (3.2.1) installed in one dir. The portal has index.php and a forum findex.php.
vBISpy works well.
I have created the module, but the information is not deduced.
Has looked on javascript console and has received a error "error: spyinit is not defined
source: http: // mysite/findex.php Line: 1671".
When has looked where it arises that has received " spyinit (); "

Help to solve this problem please!

MagicThemeParks
21 Jan 2010, 01:19
I have 3.8.4 and vBa 3.2.1, but haven't tried to install this as of yet. I see that Maksim can't get it to work, anyone have it working? Can we see a demo?

mikey1991
04 Feb 2010, 01:39
I have 3.8.4 and vBa 3.2.1, but haven't tried to install this as of yet. I see that Maksim can't get it to work, anyone have it working? Can we see a demo?

Hey :)

Check this post : http://www.vbulletin.org/forum/showpost.php?p=1804236&postcount=230

Download the XML, (THANKS CARNAGE!!) and then upload it after doing what is specified in the instructions, if you run into trouble, don't edit the js file.

You can see it working here; http://explosiveremix.com ;)

New Joe
05 Feb 2010, 04:43
I need this to work on the vB 4 version.
Anyone got any fixes/changes to make it work on vB 4?

BigJohnny
06 Sep 2010, 17:27
does this mod by chance cause any problem where the view count of a thread will increase by 2 instead of 1??

Ive disabled my plugin system entirely and when I view a thread it shows the view count going up by 2 views instead of just one.


This is the only thing that runs externally and the only thing left I can of that might be causing that problem.

EDIT

Nope, Interclue addon for FF3 was causing this problem.

Alfa1
12 Feb 2011, 14:16
Im not getting this to work on vbadvanced 3.2 and vbulletin 3.8.6.
Does anyone have a solution / fix / help?

Edit: its related to this: http://www.vbulletin.org/forum/showthread.php?p=2161717#post2161717
I can get it to work on pages that do not have javascript modules active.

Is there any way to change the layout options, so that it looks better in a narrow vba sidebar?
Is there a way to turn the 'subscriptions only' function off?

stuartn
11 Mar 2011, 00:17
Anyone got this working in 4.1 as a vbadvanced module

ib-jason
30 Nov 2011, 22:49
Fixed a problem! :) The page had to be manually refreshed until I figured out that this plugin utilizes the Prototype library and my vBulletin template happened to utilize the jQuery library too. These javascript libraries collided, which caused the updates to stop displaying live. I know this is the case because I was getting a javascript error saying the following:

"element.dispatchEvent is not a function"

Further research revealed that this error occurs because Prototype is being called but jQuery is interfering. Maybe because both libraries utilize the $ character.

In my case jQuery was being called from the footer, so I created a custom vBulletin template called footerNoJQuery from which jQuery was removed. In the PHP file, I swapped out the existing PHP call to $footer, replacing it with $footerNoJQuery, and this fixed the problem since jQuery was no longer on the page.