Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vBISpy module - live AJAX feed of new threads - for vBAdvanced CMPS Details »
vBISpy module - live AJAX feed of new threads - for vBAdvanced CMPS
Mod Version: 1.01, by MPDev (Member) MPDev is offline
Developer Last Online: Dec 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.0 Rating: (3 votes - 5.00 average) Installs: 108
Released: 12 Sep 2006 Last Update: 28 Sep 2006 Downloads: 763
Not Supported Template Edits  

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

You must already have a working copy of the vBIspy client v1.0.7 or better in place. (vB 3.5 users need v1.06 or better)

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and change this to read:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add after:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add after:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

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; 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).

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases vBISpy - AJAX real-time feed of new posts/threads MPDev vBulletin 3.6 Add-ons 914 17 Jun 2015 12:45
vBISpy - AJAX real-time feed of new posts/threads (for vB3.5) MPDev vBulletin 3.5 Add-ons 127 08 Apr 2008 20:16

  #46  
Old 15 Sep 2006, 16:33
Capt. GannA Capt. GannA is offline
 
Join Date: Apr 2004
Originally Posted by StevanMD
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.
Reply With Quote
  #47  
Old 17 Sep 2006, 01:18
ZGeek ZGeek is offline
 
Join Date: Jan 2003
Originally Posted by glorify
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?
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
http://www.zgeek.com
Reply With Quote
  #48  
Old 19 Sep 2006, 14:44
stud's Avatar
stud stud is offline
 
Join Date: May 2004
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.

Last edited by stud; 19 Sep 2006 at 14:52.
Reply With Quote
  #49  
Old 20 Sep 2006, 13:39
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
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.
__________________
Reply With Quote
  #50  
Old 21 Sep 2006, 04:51
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Real name: Gareth
Excellent mod needed to change template slightly for complete intergration with style,(30 second job) but now it is perfect. Clicked install, thanks MPDev
__________________
Regards
Reply With Quote
  #51  
Old 22 Sep 2006, 19:40
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Real name: Gareth
Javascript error

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!
__________________
Regards
Reply With Quote
  #52  
Old 23 Sep 2006, 18:14
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
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')?
__________________
Reply With Quote
  #53  
Old 24 Sep 2006, 06:53
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Real name: Gareth
Originally Posted by MPDev
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.
__________________
Regards
Reply With Quote
  #54  
Old 26 Sep 2006, 04:00
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Correction below.
__________________

Last edited by MPDev; 26 Sep 2006 at 13:19.
Reply With Quote
  #55  
Old 26 Sep 2006, 13:20
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
For the new release, the template adv_portal_vbispy should be replaced with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Reply With Quote
  #56  
Old 26 Sep 2006, 22:36
Trana Trana is offline
 
Join Date: Apr 2005
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.
Reply With Quote
  #57  
Old 27 Sep 2006, 01:02
G_Man's Avatar
G_Man G_Man is offline
 
Join Date: Feb 2006
Real name: Wade
Originally Posted by Trana
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.
__________________
www.afterseppuku.com
Feel free to check it out and tell me what I can do better.
Make Money.
Reply With Quote
  #58  
Old 27 Sep 2006, 13:10
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Make sure your vburl variable in va_spy.js is filled in properly:

For example:

var vburl = '/theforum/';

not:

var vburl = 'theforum';
__________________
Reply With Quote
  #59  
Old 27 Sep 2006, 13:31
G_Man's Avatar
G_Man G_Man is offline
 
Join Date: Feb 2006
Real name: Wade
Originally Posted by MPDev
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.
__________________
www.afterseppuku.com
Feel free to check it out and tell me what I can do better.
Make Money.
Reply With Quote
  #60  
Old 27 Sep 2006, 13:38
maroceve maroceve is offline
 
Join Date: Oct 2005
same problem as Gman

Still points to forum/...instead of forums/...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:26.

Layout Options | Width: Wide Color: