![]() |
vBISpy - AJAX real-time feed of new posts/threads
1 Attachment(s)
This is a port of vBISpy by MPDev to vBulletin4. MPDev has given me permission to port this modification, if any staff need to see it, I can forward the PM.
If you use this modification, please >> Mark As Installed, Nominate for MOTM, or Support Developer <<, thank you :) What is this!? vBISpy is an AJAX real-time feed of new posts/threads for your vBulletin 4.0 forum. Please note that this is currently in Beta. The style is not perfect, but the mod should be fully functionial. Current Version 2.0.4 - You can find the 3.6.x version, here. Features flagged for future version(s):
Will this work on x.x.x ?? Unless otherwise stated, this will work on all 4.0.x versions. This will not work on 3.x. Sounds cool. How do I install?
Upgrading Unless noted otherwise, just upload and overwrite 'vaispy.php'. Customization 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. If you'd like to block certain usergroups from viewing vBISpy; or certain forums from being displayed - edit vaispy.php PHP Code:
http://www.yourforum.com/forum/vaispy.php You can see examples of this at:
Note: Neither I nor MPDev claim ownership of this code except for the file vaispy.php - the rest of the files were using 'freely distributable' (although modified to suit vBISpy) sources. As such, you may use these files as you wish, but please do not remove the copyrights. Changelog 2.0.4 - June 23, 2011 - Changed 'xml' to 'feed' when the script is requesting data via AJAX - Updated code that checks for blocked groups and forums so that it works properly. - Added version string (?v=) to script calls. - Updated template html to include facebook data if enabled. - Updated css link rendering to determine if templates are stored as files or not. 2.0.3 - March 25, 2010 - Updated alternate row colors to use stylevars. - Added ability to block certain usergroups by editing vaispy.php. - Fixed possible bug where in certain situations a database error would occur. 2.0.2 - January 23, 2010 - Hopefully the incorrect showthread link is now fixed. - Added alternate row colors. - Changed default xml delay in va_spy.js to 3000 from 7000. 2.0.1 - January 21, 2010 - Fixed issue with incorrect path to thread statusicon's - Edits to clientscript/va_spy.js to hopefully fix issues with incorrect showthread link. - Removed 's from the rows generated if displayed rows are less than 20 2.0.0 - January 21, 2010 - Ported to vBulletin4 with permission from MPDev If you use this modification, please >> Mark As Installed, Nominate for MOTM, or Support Developer <<, thank you :) |
Looks very interesting...I'll test it out.
|
Nice!
Thanks! I try it now -----edit-------- Installed, thanks |
My members have been CRAVING to have this back.
I'll test it out and report back! |
Apparently this is incompatible with Lynne's additional_css and additional_css2 templates made by her modification. I'd like to move to the built-in solution that vB has made but they broke it and don't call it from the usercp and other places which sucks.
I tried this with the default style though and it's killer, just needs a little style tweaking! Thanks! |
Works fine EXCEPT my "thread_dot.gif" is located in the correct path./
It assumes it is in the root of my website instead of the forum -->images path. Just an FYI... Great Job! -Sponge |
We have installed. Very good.
Styling does need looking at tho :) Perhaps alternate backgrounds for each new post/thread and better definition for URL's Excellent, thanks. Ste www.yobromofo.com/forum/vaispy.php |
Quote:
|
Yeah, the styling needs a lot of work - it's the one thing about vB4 that will take me some getting used to :p
The main issue with styling, at least for the tables, I think is how vB has implemented the YUI reset CSS. I'll try to get it worked out though :) |
Quote:
If you save the CSS as files, external scripts like this and Photopost are unable to locate your custom css. They only know how to look in the default vBulletin locations as far as I can tell? |
Works well for me, except for this:
When it pulls up the new threads, those threads are properly linked. Older threads listed on the page, however, get a strange "t=3459" type of syntax, which does not link properly. Any thoughts? Otherwise, very cool! C. |
Quote:
Quote:
|
Thanks for the quick support, SecondV!
C. |
I'll have to look into this as well.
Quote:
|
Updated to 2.0.1 to attempt to fix a couple issues:
2.0.1 - January 21, 2010 - Fixed issue with incorrect path to thread statusicon's -- this appears to show the vB3 type icons... may try doing the vB4 ones, but they are larger - Edits to clientscript/va_spy.js to hopefully fix issues with incorrect showthread link. - Removed 's from the rows generated if displayed rows are less than 20 |
Downloaded the update. Still getting the "t=xxx" syntax on older threads instead of the proper "showthread" syntax.
Status icons working though...looks good... C. |
MUCH better.....thank you so much! :D
-Sponge |
Very weird.
Did you use the vB3 version at one time, was it doing the same thing? I don't beleive I really made any changes (initially) to the code that generates the link. By chance, do you have vBSEO installed? I'm wondering if that may be affecting it at all. Quote:
|
1 Attachment(s)
This is my first install; never used it on 3.x.
vBSEO is not installed. It appears the most recent five threads get the proper link, and the others get the t=xxxx version. Attaching a snapshot of my installed products... |
very nice mod .. will be installin soon .. just quick suggestion ...
could there be like a mini version of this made to go onto the CMS as a widget in some way? Thanks :) |
I second that! If this were a widget, I could definitely use it. Thank you!
|
For the record, yes, I gave permission for this to be ported.
|
Oh wow....I def. second the widget idea if this is possible.
-Sponge |
I do not have access to vB4 Suite (simply because I can't afford it), so it may prove difficult to build a widget for it, myself.
|
Quote:
Just out of curiosity, what browser are you using - and have you had any users noticing the same problem? Also, would you mind linking me to your forum? (you can PM if you don't want to post it publicly) |
Quote:
|
Please include new group discussions into the feed. New blogs would also be awesome.
|
I get this after installing and going to the vBISPY page:
Quote:
|
Quote:
Go into the vbispy.php and find PHP Code:
PHP Code:
|
Patt1293:
That did the trick! Thanks! SecondV: Firefox 3.5.7 on Snow Leopard. C. |
Did anyone have the same problem as me?
|
Thanks
|
Quote:
The new problem I have is when the forum has been left standing for 5 mins or so and a new thread is started it doesn't up date on the ispy page. |
I remeber having the same problem with MPDev's version, but after doing this:
Quote:
But i have looked in the va_spy_js file in this new version and the above is different: Quote:
Thanks. |
Another small bug is that when you click on the newly posted post, it will take you to the first post and first page of that Thread, instead of taking you right to the last post, the on you've just clicked on in iSpy.
|
Quote:
|
Quote:
|
Quote:
C. |
I'll try to have a new version out within the next day or two - possibly Monday, since it's the weekend. :)
|
:( I can't get this to show up
edit - I got the page to show up, but when I click on a link I'm getting: "Oops! Something is wrong. Please try again. " |
All times are GMT. The time now is 06:47 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|