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

  #16  
Old 12 Sep 2006, 22:11
Tungsten's Avatar
Tungsten Tungsten is offline
 
Join Date: Jan 2002
In the module there is a hardcoded URL that needs to be modified according to where you have vBulletin installed...


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

The href="/forum/... portion of the code is what I am talking about.
__________________
:: Tungsten ::
Owner/Admin - Tennesspeed.net
Reply With Quote
  #17  
Old 12 Sep 2006, 22:27
nix's Avatar
nix nix is offline
 
Join Date: Mar 2005
Yea didn't notice that before. Just fixed it on mine.
Reply With Quote
  #18  
Old 12 Sep 2006, 22:29
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Good catch; I would image that can be replaced with a vb variable; my first module and all that.
__________________
Reply With Quote
  #19  
Old 13 Sep 2006, 01:11
Acido Acido is offline
 
Join Date: Apr 2003
Originally Posted by MPDev
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!
Reply With Quote
  #20  
Old 13 Sep 2006, 03:40
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Nice idea, for your information on Opera 8 it's looking not correct (see screenshot)
Attached Images
File Type: gif liveforumopera.gif (6.5 KB, 93 views)
Reply With Quote
  #21  
Old 13 Sep 2006, 03:49
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
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.
__________________

Last edited by MPDev; 13 Sep 2006 at 03:54.
Reply With Quote
  #22  
Old 13 Sep 2006, 05:45
Chris-777's Avatar
Chris-777 Chris-777 is offline
 
Join Date: Jan 2006
Real name: Chris
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.

Thanks very much MPDev, great mod.

/me clicks install
Reply With Quote
  #23  
Old 13 Sep 2006, 09:37
Capt. GannA Capt. GannA is offline
 
Join Date: Apr 2004
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 :/..
Reply With Quote
  #24  
Old 13 Sep 2006, 10:55
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Real name: Barakat
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 .
Reply With Quote
  #25  
Old 13 Sep 2006, 12:04
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Thanks for the hack!
Reply With Quote
  #26  
Old 13 Sep 2006, 18:04
Tungsten's Avatar
Tungsten Tungsten is offline
 
Join Date: Jan 2002
Originally Posted by Capt. GannA
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.
__________________
:: Tungsten ::
Owner/Admin - Tennesspeed.net
Reply With Quote
  #27  
Old 13 Sep 2006, 18:37
stud's Avatar
stud stud is offline
 
Join Date: May 2004
does this work for CMPS installed on VB3.5 also?
Reply With Quote
  #28  
Old 13 Sep 2006, 18:40
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
I would think so; but I dont have 3.5 installed to test it on.
__________________
Reply With Quote
  #29  
Old 13 Sep 2006, 18:42
stud's Avatar
stud stud is offline
 
Join Date: May 2004
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.
Reply With Quote
  #30  
Old 13 Sep 2006, 20:16
camoman camoman is offline
 
Join Date: Oct 2004
Has anyone tested this yet with vb 3.5.4 and vbadvanced 2.1.0?
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 02:25.

Layout Options | Width: Wide Color: