Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vBISpy - AJAX real-time feed of new posts/threads Details »
vBISpy - AJAX real-time feed of new posts/threads
Mod Version: 1.12, 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.x Rating: (75 votes - 4.73 average) Installs: 946
Released: 06 Sep 2006 Last Update: 28 Sep 2006 Downloads: 4359
Not Supported Additional Files  

After seeing the http://www.digg.com/spy application; I wondered if this could be done for vBulletin as well. I came across this webpage which had a "how to" on how they built a similiar application to do the same thing. Taking a page from their book (i.e. the code), I modified it for use with vBulletin.

During development, I also came across this post here on vBulletin.Org where the very subject had already been discussed.

So I put this together; a simple ZIP file with a single PHP script, three javascript files and 4 images.

Installation

. UNZIP the file into your forums directory
. That's it!

Virtually all the code to customize the page is in the vaispy.php script; there are no plugins, no templates and no phrases. You do not need to do anything further; this should work right out of the box.

In your browser, open the URL:

http://www.yourforum.com/forum/vaispy.php

You can see examples of this at:

http://www.viperalley.com/forum/vaispy.php
http://www.extremefitness.com/forum/vaispy.php

Note: I claim no ownership of this code except for the file vaispy.php - the rest of the files were using 'freely distributable' sources. As such, you may use these files as you wish, but please do not remove the copyrights.

This modification is for vBulletin 3.6 only, if you are running vBulletin 3.5 you will need to see this thread.

JOIN THE vBIspy Network!
Once you have this mod installed, you can join the vBIspy network to have your threads appear on this site; the vBIspy Network is a great way for people to see what's going on in various vBulletin communities and for forum owners to promote their sites and generate new traffic.

Optional add-ons

Who's Online mod for this: http://www.vbulletin.org/forum/showthread.php?t=126209

vBAdvanced Module: http://www.vbulletin.org/forum/showthread.php?t=126421

UPDATES
1.0.4
Added buro9's code from here

1.0.5 - 9.9.06
Modified some JavaScript in va_spy.js to remove split strings

1.0.6 - 9.10.06
Added date cuffoff code from here and changed init() to spyinit() - changed vaispy.php and va_spy.js files.

1.0.7 - 9.12.06
va_spy.js: Added a forum url variable to allow for integration with portals or other products outside the forum directory
va_spy.js: Added xmldelay variable at top of script for easier configuration or repolling
Updated files: vaispy.php, vb_spy.js

1.0.8 - 9.13.06
vaispy.php - changed code for checking for forum permissions to include password protected forums, added javascript tag for script code

1.0.9 - 9.16.06
vaispy.php
va_spy.js
va_effects.js
- modified to allow for proper display in Opera browsers and moved more html into vaispy.php to allow for stylevars, trimmed va_effects.js to remove unused code (ForumDog's suggestions, except not using templates yet), changed way threads are parsed (removes html as well)

1.0.10 - 9.17.06
va_prototype.js - removed 20kb of unused code

1.1.11 - 9.25.2006
vaispy.php
va_spy.js
- added SirAdrian's mods for thread status icons and alternating row colors
- added code to prepopulate the first 10 rows with existing threads allowing for 5 new ones to be added in scrolling mode (versus scrolling starting from the first thread).
- added option to display subscribed threads only

1.1.12 - 9.26.2006
vaispy.php
- added code to add empty rows if initial pull has less than 20 rows.

Download Now

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

Supporters / CoAuthors

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
Portal Software vBISpy module - live AJAX feed of new threads - for vBAdvanced CMPS MPDev vBulletin 3.6 Add-ons 240 30 Nov 2011 22:49
vBISpy - AJAX real-time feed of new posts/threads (for vB3.5) MPDev vBulletin 3.5 Add-ons 127 08 Apr 2008 19:16

  #856  
Old 06 Jun 2010, 03:10
mavherzog's Avatar
mavherzog mavherzog is offline
 
Join Date: Dec 2004
Real name: Larry Herzog Jr.
I use this with 3.8.5 and it works great. However, I have an issue with a wiki mod I have in place.

In a nutshell, I need to add "&do=comments" to the showthread link that is generated. I edited the script, changing the $post_url definition appropriately. This works for the initial "static" entries that show up when the script is first loaded, but the subsequent entries that load from the top don't seem to be generated from the $post_url variable.

I'm at a loss as to where to fix this.

EDIT: Just found where to edit it in va_spy.js

Last edited by mavherzog; 06 Jun 2010 at 03:15.
Reply With Quote
  #857  
Old 06 Jun 2010, 21:59
Floris Floris is offline
 
Join Date: Jan 2002
<div class = "tborder" style="overflow:auto; border-top-width:0px;" width="100%;">
and remove the ";"

The ; is optional, and doens't fix an issue, it's non exist.

It works with and without the last ;

style="this:that"
or
style="this:that;"

the ; is there by default, and without it, is just more short hand.

the ; must actually be there, if you add more ..

style="this:that; another:one;"
is the same as
style="this:that; another:one"

:) Just saying :)

It doesn't cause bugs, nor fix them.
__________________
My community; http://wetalknation.net
Reply With Quote
  #858  
Old 14 Jun 2010, 05:32
Zylantex Zylantex is offline
 
Join Date: Sep 2009
Real name: Chris
Just installed this mod in 3.8.4 and it worked first time. Simplest install ever. Thanks OP very nice mod.
Reply With Quote
  #859  
Old 16 Jul 2010, 00:17
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Working on 3.8.6

http://www.dieselbombers.com/vaispy.php

I added my chatroom and some google ads

Anyone know how to make it parse smilies and show avatars?
__________________
Is your forum registered? - https://www.forumregister.com
Reply With Quote
  #860  
Old 16 Jul 2010, 01:14
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Same here, works great on 3.8.6
Have been using it for a very long time. Can't go without it....lol

I have one question though, it does not seem to work with LiteSpeed. Does anyone have a fix for that. Thanks!
Reply With Quote
  #861  
Old 21 Jul 2010, 03:52
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Is there any kindhearted person out there that can help me to get this to work with LiteSpeed?? Please!!
__________________
For custom designed Windows 7 Visual Styles/Themes, please visit CreativX!
Reply With Quote
  #862  
Old 15 Nov 2010, 23:48
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Does anyone know what the issue is with Litespeed servers?

Also I notice that forums with ampersand (&) in the title show up with the HTML &amp; code instead.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #863  
Old 20 Nov 2010, 08:32
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Diesel, are you on VPS or Dedicated, did you notice any increase in server load with the live feed? Thanks.

Originally Posted by DieselMinded View Post
Working on 3.8.6

http://www.dieselbombers.com/vaispy.php

I added my chatroom and some google ads

Anyone know how to make it parse smilies and show avatars?
Reply With Quote
  #864  
Old 20 Nov 2010, 08:51
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Does anybody know how to get this to stop refreshing after a certain period for idle users, to try and reduce server load?
Reply With Quote
  #865  
Old 20 Nov 2010, 14:18
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
You could probably put a META REFRESH tag in the header to forward the user to the main forum index after 5 minutes or so.


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

300 is 5 minutes in seconds.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #866  
Old 22 Nov 2010, 01:46
SammoLove SammoLove is offline
 
Join Date: Apr 2010
Not work

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 4007

Parse error: syntax error, unexpected T_STRING in /var/www/forumkiev/data/www/forum.kiev.ua/vaispy.php(334) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: headinclude in [path]/includes/functions.php on line 4007

Parse error: syntax error, unexpected T_STRING in /var/www/sitecom/data/www/site.com/vaispy.php(337) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: footer in [path]/includes/functions.php on line 4007

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/sitecom/data/www/site.com/vaispy.php(340) : eval()'d code on line 1
Reply With Quote
  #867  
Old 22 Nov 2010, 01:52
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by SammoLove View Post
Not work
You have vBulletin 4.x, this mod is only for 3.x... There is a similar mod for VB4 by a different author... Search for "spy" in VB4 mods...

here: http://www.vbulletin.org/forum/showthread.php?t=243429
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #868  
Old 22 Nov 2010, 06:49
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Originally Posted by BirdOPrey5 View Post
You could probably put a META REFRESH tag in the header to forward the user to the main forum index after 5 minutes or so.


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

300 is 5 minutes in seconds.
Thanks, I'll give it a try.
Reply With Quote
  #869  
Old 24 Nov 2010, 21:19
grey_goose grey_goose is offline
 
Join Date: Jun 2009
Anyone want to tell me how to shove this into a Ultimate Side Column?
Reply With Quote
  #870  
Old 03 Dec 2010, 07:16
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Originally Posted by BirdOPrey5 View Post
Does anyone know what the issue is with Litespeed servers?
I've just changed to a hosting company that is using litespeed and this hack is working fine on 3.8.5
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 16:54.

Layout Options | Width: Wide Color: