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 11:45
vBISpy - AJAX real-time feed of new posts/threads (for vB3.5) MPDev vBulletin 3.5 Add-ons 127 08 Apr 2008 19:16

Comments
  #2  
Old 12 Sep 2006, 13:58
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
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.

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


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

to this:


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

__________________

Last edited by MPDev; 28 Sep 2006 at 12:36.
Reply With Quote
  #3  
Old 12 Sep 2006, 15:01
juan71287 juan71287 is offline
 
Join Date: Dec 2003
Real name: Mario
Thankx a lot man... THis wasnice for the forum now its nice for the PORTAL
Reply With Quote
  #4  
Old 12 Sep 2006, 15:05
soletrader soletrader is offline
 
Join Date: Jul 2006
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

Last edited by soletrader; 12 Sep 2006 at 15:19.
Reply With Quote
  #5  
Old 12 Sep 2006, 15:21
cygy2k cygy2k is offline
 
Join Date: May 2006
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!!

Last edited by cygy2k; 12 Sep 2006 at 15:24.
Reply With Quote
  #6  
Old 12 Sep 2006, 17:04
nix's Avatar
nix nix is offline
 
Join Date: Mar 2005
its not working here. Getting this error.

init is not defined.


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

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.
Reply With Quote
  #7  
Old 12 Sep 2006, 18:17
mickeymouse690 mickeymouse690 is offline
 
Join Date: Jul 2002
Yeah its me again, Can this with the vburl thingy be made to goto an external source? You know what im looking to do.
Reply With Quote
  #8  
Old 12 Sep 2006, 18:19
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Sorry, that should be spyinit(), not init() - I've updated the instructions.
__________________
Reply With Quote
  #9  
Old 12 Sep 2006, 18:21
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
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.
__________________
Reply With Quote
  #10  
Old 12 Sep 2006, 18:42
cygy2k cygy2k is offline
 
Join Date: May 2006
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?
Reply With Quote
  #11  
Old 12 Sep 2006, 18:42
nix's Avatar
nix nix is offline
 
Join Date: Mar 2005
Originally Posted by MPDev
Sorry, that should be spyinit(), not init() - I've updated the instructions.
thanks. That fixed it.
Reply With Quote
  #12  
Old 12 Sep 2006, 18:55
lexhunt lexhunt is offline
 
Join Date: Nov 2005
Cannot find var vburl

Sorry I had version 1.05

Last edited by lexhunt; 12 Sep 2006 at 18:59.
Reply With Quote
  #13  
Old 12 Sep 2006, 18:55
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Originally Posted by cygy2k
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.
__________________
Reply With Quote
  #14  
Old 12 Sep 2006, 18:56
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
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.
__________________
Reply With Quote
  #15  
Old 12 Sep 2006, 19:18
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
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.
__________________
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 14:56.

Layout Options | Width: Wide Color: