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

  #31  
Old 13 Sep 2006, 21:11
camoman camoman is offline
 
Join Date: Oct 2004
Just tested it and it works fine.
Reply With Quote
  #32  
Old 13 Sep 2006, 21:51
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Real name: Tim Eason
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
Attached Images
File Type: jpg vbispy.jpg (53.4 KB, 67 views)

Last edited by ChurchMedia; 13 Sep 2006 at 21:53.
Reply With Quote
  #33  
Old 13 Sep 2006, 22:56
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Real name: Barakat
Just open the adv_portal_vbispy template and change the values in the fist table to zero instead of 6 and 1 like this :
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

dont copy paste this , just correct the values

Last edited by Barakat; 13 Sep 2006 at 23:50.
Reply With Quote
  #34  
Old 14 Sep 2006, 11:56
Capt. GannA Capt. GannA is offline
 
Join Date: Apr 2004
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 :/..
uhhhh HELP?
Reply With Quote
  #35  
Old 14 Sep 2006, 14:54
stud's Avatar
stud stud is offline
 
Join Date: May 2004
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.

Last edited by stud; 14 Sep 2006 at 15:40.
Reply With Quote
  #36  
Old 14 Sep 2006, 23:39
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Any way to limit the characters?
Reply With Quote
  #37  
Old 15 Sep 2006, 03:32
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
poninja,

You didn't add the javascript to the header for the portal page (I checked your html); see instructions in the top post.
__________________
Reply With Quote
  #38  
Old 15 Sep 2006, 04:52
poninja poninja is offline
 
Join Date: Dec 2005
OK, I edited the default template by accident. Doh!

Thanks for the help!
Reply With Quote
  #39  
Old 15 Sep 2006, 14:08
StevanMD's Avatar
StevanMD StevanMD is offline
 
Join Date: Jul 2006
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
Reply With Quote
  #40  
Old 15 Sep 2006, 14:13
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Stevan,

I don't see a Live Feeds block on your index page at all; did you add the module?
__________________
Reply With Quote
  #41  
Old 15 Sep 2006, 14:23
StevanMD's Avatar
StevanMD StevanMD is offline
 
Join Date: Jul 2006
Originally Posted by MPDev
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:
Attached Images
File Type: gif vbispy.gif (88.6 KB, 44 views)
Reply With Quote
  #42  
Old 15 Sep 2006, 14:31
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
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.
__________________
Reply With Quote
  #43  
Old 15 Sep 2006, 14:33
StevanMD's Avatar
StevanMD StevanMD is offline
 
Join Date: Jul 2006
Originally Posted by MPDev
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
Reply With Quote
  #44  
Old 15 Sep 2006, 14:42
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Cool, be sure to click INSTALL.
__________________
Reply With Quote
  #45  
Old 15 Sep 2006, 14:44
StevanMD's Avatar
StevanMD StevanMD is offline
 
Join Date: Jul 2006
Originally Posted by MPDev
Cool, be sure to click INSTALL.
I just did and I also nominated it for the Mod of the month.
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 18:38.

Layout Options | Width: Wide Color: