PDA

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


MPDev
09-11-2006, 10:00 PM
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 (https://vborg.vbsupport.ru/showthread.php?t=125947) client v1.0.7 or better in place. (vB 3.5 users need v1.06 or better (https://vborg.vbsupport.ru/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 (https://vborg.vbsupport.ru/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
09-12-2006, 12:58 PM
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 (https://vborg.vbsupport.ru/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
09-12-2006, 02:01 PM
Thankx a lot man... THis wasnice for the forum now its nice for the PORTAL :)

soletrader
09-12-2006, 02:05 PM
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
09-12-2006, 02:21 PM
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
09-12-2006, 04:04 PM
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
09-12-2006, 05:17 PM
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
09-12-2006, 05:19 PM
Sorry, that should be spyinit(), not init() - I've updated the instructions.

MPDev
09-12-2006, 05:21 PM
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
09-12-2006, 05:42 PM
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
09-12-2006, 05:42 PM
Sorry, that should be spyinit(), not init() - I've updated the instructions.
thanks. That fixed it.

lexhunt
09-12-2006, 05:55 PM
Cannot find var vburl

Sorry I had version 1.05

MPDev
09-12-2006, 05:55 PM
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
09-12-2006, 05:56 PM
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
09-12-2006, 06:18 PM
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
09-12-2006, 08:11 PM
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
09-12-2006, 08:27 PM
Yea didn't notice that before. Just fixed it on mine.

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

Acido
09-12-2006, 11:11 PM
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
09-13-2006, 01:40 AM
Nice idea, for your information on Opera 8 it's looking not correct (see screenshot)

MPDev
09-13-2006, 01:49 AM
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.

Guest210212002
09-13-2006, 03:45 AM
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.

* Guest210212002 clicks install

Capt. GannA
09-13-2006, 07:37 AM
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
09-13-2006, 08:55 AM
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
09-13-2006, 10:04 AM
Thanks for the hack!

Tungsten
09-13-2006, 04:04 PM
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
09-13-2006, 04:37 PM
does this work for CMPS installed on VB3.5 also?

MPDev
09-13-2006, 04:40 PM
I would think so; but I dont have 3.5 installed to test it on.

stud
09-13-2006, 04:42 PM
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
09-13-2006, 06:16 PM
Has anyone tested this yet with vb 3.5.4 and vbadvanced 2.1.0?

camoman
09-13-2006, 07:11 PM
Just tested it and it works fine.

ChurchMedia
09-13-2006, 07:51 PM
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
09-13-2006, 08:56 PM
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
09-14-2006, 09:56 AM
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
09-14-2006, 12:54 PM
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
09-14-2006, 09:39 PM
Any way to limit the characters?

MPDev
09-15-2006, 01:32 AM
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
09-15-2006, 02:52 AM
OK, I edited the default template by accident. Doh!

Thanks for the help!

StevanMD
09-15-2006, 12:08 PM
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
09-15-2006, 12:13 PM
Stevan,

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

StevanMD
09-15-2006, 12:23 PM
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
09-15-2006, 12:31 PM
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
09-15-2006, 12:33 PM
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
09-15-2006, 12:42 PM
Cool, be sure to click INSTALL. ;)

StevanMD
09-15-2006, 12:44 PM
Cool, be sure to click INSTALL. ;)

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

Capt. GannA
09-15-2006, 02:33 PM
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
09-16-2006, 11:18 PM
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
09-19-2006, 12:44 PM
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
09-20-2006, 11:39 AM
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
09-21-2006, 02:51 AM
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
09-22-2006, 05:40 PM
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
09-23-2006, 04:14 PM
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
09-24-2006, 04:53 AM
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
09-26-2006, 02:00 AM
Correction below.

MPDev
09-26-2006, 11:20 AM
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
09-26-2006, 08:36 PM
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
09-26-2006, 11:02 PM
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
09-27-2006, 11:10 AM
Make sure your vburl variable in va_spy.js is filled in properly:

For example:

var vburl = '/theforum/';

not:

var vburl = 'theforum';

G_Man
09-27-2006, 11:31 AM
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
09-27-2006, 11:38 AM
same problem as Gman

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

MPDev
09-27-2006, 01:06 PM
In your portal header, under:

spymax = 15;

add:

highestid = 0;

Otherwise everything else looks fine.

MPDev
09-27-2006, 01:07 PM
same problem as Gman

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

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

G_Man
09-27-2006, 08:11 PM
Still confused... not working and I LOVE THIS, but its broke... :( :(

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

MPDev
09-27-2006, 11:35 PM
I'll check first thing in the morning.

arrow21987
09-28-2006, 04:22 AM
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
09-28-2006, 11:27 AM
G_Man, change your spymax variable to 10.

Arrow, you need to change your template as instructed in this post (https://vborg.vbsupport.ru/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
09-28-2006, 11:35 AM
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 (https://vborg.vbsupport.ru/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
09-28-2006, 11:58 AM
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 (https://vborg.vbsupport.ru/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
09-28-2006, 12:46 PM
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
09-28-2006, 01:30 PM
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
09-28-2006, 03:42 PM
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
09-28-2006, 04:06 PM
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
09-29-2006, 11:46 AM
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
09-29-2006, 04:01 PM
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
09-29-2006, 09:01 PM
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
09-30-2006, 12:52 AM
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
09-30-2006, 03:10 AM
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
09-30-2006, 07:22 AM
"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?
10-01-2006, 05:45 PM
I get that too :S

Trana
10-01-2006, 08:45 PM
"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
10-01-2006, 08:52 PM
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
10-02-2006, 02:45 AM
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?
10-03-2006, 04:07 PM
You guys need to chmod 777 your modules directory, that will resolve this problem.
Already is

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

Guest0321
10-03-2006, 05:52 PM
You guys need to chmod 777 your modules directory, that will resolve this problem.


No it won't

Trana
10-03-2006, 06:13 PM
No it won't

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

murrtex
10-08-2006, 10:34 AM
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
10-08-2006, 10:59 AM
Installed

Get mod :D

ubblite
10-08-2006, 11:53 PM
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
10-09-2006, 12:36 PM
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-10-2006, 12:25 AM
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-10-2006, 11:56 AM
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
10-11-2006, 02:34 PM
Sorry, Dave; wish I could be of more help.

phill2003
10-12-2006, 06:36 PM
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
10-15-2006, 11:36 PM
Don't forget to click install! ;)

snotek
10-18-2006, 10:02 PM
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
10-18-2006, 11:03 PM
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
10-19-2006, 02:49 AM
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
10-20-2006, 02:22 PM
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
10-21-2006, 07:11 AM
says
The file you have uploaded is not a valid module file.
:(

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

Use the module file from post #91

Jaxx
11-03-2006, 02:56 AM
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
11-03-2006, 11:37 AM
What does that have to do with this mod?

Jaxx
11-03-2006, 03:52 PM
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
11-03-2006, 07:11 PM
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
11-03-2006, 07:27 PM
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
11-04-2006, 05:11 PM
Ah, my bad; I really don't know vBa that well. I'm not sure what to suggest.

Trana
11-06-2006, 02:33 AM
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
11-06-2006, 07:02 PM
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
11-06-2006, 07:23 PM
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
11-08-2006, 02:08 PM
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
11-16-2006, 09:43 AM
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
11-16-2006, 11:19 AM
How can I put the Ispy in weblog? any code?

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

What other modules are you using?

Capt. GannA
11-16-2006, 03:32 PM
What other modules are you using?

All the default ones except this of course.

stud
11-16-2006, 05:15 PM
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
11-18-2006, 01:38 AM
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
11-18-2006, 02:18 AM
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
11-21-2006, 10:46 PM
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
11-25-2006, 04:45 PM
Same issue as above...

ninjashoes
11-26-2006, 06:27 AM
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
11-26-2006, 06:50 AM
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
11-27-2006, 03:55 AM
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
11-28-2006, 10:22 PM
Anyone got this going yet?

hichew
11-28-2006, 11:14 PM
check this site, they use vBISpy.
And their forum is very active, looks like stock market index

http://kaskus.us/newpostajax.php

dooch
11-29-2006, 07:03 AM
I mean the cmps module.

MPDev
11-29-2006, 12:55 PM
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
11-30-2006, 07:00 AM
I cant even install the module though. Im using 364 and the latest cmps. :confused:

ubblite
11-30-2006, 08:52 AM
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
12-05-2006, 11:26 AM
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
12-05-2006, 01:03 PM
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
12-05-2006, 04:36 PM
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
12-08-2006, 11:13 PM
working great on 3.6.4. does this put alot of stress on the server?

ubblite
12-08-2006, 11:48 PM
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
12-13-2006, 04:29 AM
It doesn't work, all the same problems mentioned here before, any ideas?

WritersBeat
12-13-2006, 07:18 AM
The file you have uploaded is not a valid module file. ??

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

digital_sc4rz
12-21-2006, 05:06 PM
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
12-21-2006, 06:26 PM
:( RIP awesome mod.

Trana
12-24-2006, 04:41 AM
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
01-04-2007, 02:24 PM
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
01-04-2007, 09:19 PM
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
01-05-2007, 12:03 PM
did you do the file edits? in the first post.

Trana
01-05-2007, 01:08 PM
did you do the file edits? in the first post.

Yes of course.

Forumi Shqiptar
01-19-2007, 06:50 PM
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
01-20-2007, 07:26 PM
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
01-29-2007, 06:53 PM
how can i use cmps 2.2.1??

stud
02-06-2007, 05:28 PM
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
02-06-2007, 05:31 PM
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
02-06-2007, 05:45 PM
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
02-06-2007, 06:02 PM
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
02-06-2007, 06:07 PM
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
02-06-2007, 06:09 PM
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
02-06-2007, 06:14 PM
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
02-10-2007, 01:16 PM
i cant create a module on vBadvanced running with vb3.6.2 -* vba 2.2.1
how can i create ?

pdblizzard
02-21-2007, 01:52 PM
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
03-02-2007, 05:32 AM
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
03-08-2007, 04:18 PM
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
03-10-2007, 06:24 PM
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
03-17-2007, 06:53 PM
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
03-18-2007, 06:18 PM
That's what happening with me too.

I think this mod is not being supported any more.

Strike3ForumsMH
03-25-2007, 08:51 AM
I also got the same error with this.

Invalid ID
03-27-2007, 06:38 PM
I think this Mod does not work

stud
04-03-2007, 12:22 PM
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
04-03-2007, 07:28 PM
I agree.

Trana
04-03-2007, 07:45 PM
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
04-03-2007, 08:14 PM
Yeah, please do it :)

MPDev
04-04-2007, 12:17 AM
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-04-2007, 12:33 AM
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-04-2007, 12:04 PM
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-04-2007, 01:49 PM
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-04-2007, 06:16 PM
Can you give me a link to your page so I can see it and check for errors?

Trana
04-05-2007, 12:24 AM
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
04-05-2007, 04:57 PM
Same reply to his. I can't fix what I can't see or replicate.

ZGeek
04-17-2007, 02:02 AM
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
05-06-2007, 02:06 AM
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
05-07-2007, 07:42 PM
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
05-09-2007, 02:58 PM
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
05-15-2007, 02:36 AM
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
05-22-2007, 05:00 PM
I think the coder does not want to support

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

MPDev
05-23-2007, 04:55 PM
I will try to take a look; I wasn't aware there was an update.

Red Blaze
05-23-2007, 09:36 PM
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
05-24-2007, 01:43 PM
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
05-24-2007, 02:23 PM
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
05-27-2007, 03:55 PM
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
05-29-2007, 12:36 PM
No, there is not a scrollbar feature available with how this updates HTML tables (not that I know of anyways).

Pirate45
05-30-2007, 09:59 AM
Does this not work with vbAdvanced 3.0?

davidw
06-09-2007, 02:27 PM
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
06-10-2007, 07:25 PM
interesting... thanks for the update David... i'm going to give your suggestions a go tomorrow when i get a minute

MPDev
06-10-2007, 10:00 PM
Isn't the head code part of Step 2?

davidw
06-10-2007, 10:03 PM
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
06-11-2007, 05:23 PM
Thanks for that clarification, David.

RaTix
06-25-2007, 10:20 PM
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
06-27-2007, 08:45 PM
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
06-29-2007, 11:48 AM
Be sure to click install. ;)

Trana
06-29-2007, 02:20 PM
Be sure to click install. ;)

Of course.

Any suggestions for my questions above?

Thanks!

Trana
07-11-2007, 05:11 AM
Can anyone help me limit this to a certain forum or range of forums?

Invalid ID
07-13-2007, 07:01 PM
Can you please be more specific how to install this Mod?

Thanks

Exposed_Bone
08-09-2007, 06:08 AM
It does work with vbadnvanced 3; :erm:

TheBlackPoet
09-02-2007, 04:14 AM
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
09-12-2007, 02:57 AM
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
09-12-2007, 06:41 PM
can someone help? I can't upload this module to vba, keep getting the same error as above

thanks

taydu
09-12-2007, 09:09 PM
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
10-12-2007, 12:15 AM
thanks much - how can I make this a side module instead of a center module?

daz1967
10-30-2007, 10:43 AM
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
11-12-2007, 06:24 PM
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
12-05-2007, 10:29 PM
How do I just have the Date and Thread Title show up? I want to remove all the other elements.

Levi75
12-09-2007, 05:47 PM
is it possible to customize the number of posts displayed in this module?

yotsume
02-12-2008, 04:28 PM
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
03-11-2008, 09:16 PM
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
03-11-2008, 10:44 PM
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
03-22-2008, 05:34 PM
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
03-29-2008, 05:08 PM
Any chance to make this hack for vbportal?

dancue
05-16-2008, 01:14 AM
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
05-16-2008, 02:00 AM
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
05-16-2008, 01:36 PM
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
05-27-2008, 09:58 AM
anyone..?

dancue
05-28-2008, 01:21 AM
Did you try mine? post #215

Harley D
05-28-2008, 09:08 PM
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
05-28-2008, 09:47 PM
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
06-02-2008, 01:32 PM
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
06-02-2008, 03:08 PM
oops. I've edited my post.

dizzine
06-14-2008, 08:12 AM
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
07-09-2008, 05:11 PM
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
12-10-2008, 06:54 AM
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
12-11-2008, 02:02 PM
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
12-23-2008, 12:14 PM
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 (https://vborg.vbsupport.ru/showthread.php?t=126421), it shows The file you have uploaded is not a valid module file.

what should i do ?

dancue
03-05-2009, 02:47 PM
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 (https://vborg.vbsupport.ru/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
04-12-2009, 10:16 PM
doesn't work with AJAX Tabs Content Script - Version 3.0 (YUI) (https://vborg.vbsupport.ru/showthread.php?t=191106)

Any hint to make it works ?

Carnage
05-04-2009, 10:07 AM
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 (https://vborg.vbsupport.ru/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
05-04-2009, 07:28 PM
Thank you very much works like a charm :)

Electronic Punk
07-30-2009, 11:52 PM
I can't see it on that site? :s and it does not seem to work on giveupalready?

New Joe
08-04-2009, 11:17 AM
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
09-30-2009, 11:12 PM
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
01-21-2010, 12:19 AM
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
02-04-2010, 12:39 AM
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 : https://vborg.vbsupport.ru/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
02-05-2010, 03:43 AM
I need this to work on the vB 4 version.
Anyone got any fixes/changes to make it work on vB 4?

BigJohnny
09-06-2010, 04:27 PM
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
02-12-2011, 01:16 PM
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: https://vborg.vbsupport.ru/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
03-10-2011, 11:17 PM
Anyone got this working in 4.1 as a vbadvanced module

ib-jason
11-30-2011, 10:49 PM
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.