Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBISpy - AJAX real-time feed of new posts/threads Details »»
vBISpy - AJAX real-time feed of new posts/threads
Version: 2.0.4, by Eric Eric is offline
Developer Last Online: Jun 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 01-20-2010 Last Update: 06-22-2011 Installs: 257
Additional Files Is in Beta Stage  
No support by the author.

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):
  • looking for suggestions


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?
  1. Extract the zip, you should have the following directories/files:

    Code:
    /
    |_ vaispy.php
    
    /clientscript/
    |_ va_effects.js
    |_ va_prototype.js
    |_ va_spy.js
    
    /images/
    	/misc/
    	|_ pause_down.gif
    	|_ pause_up.gif
    	|_ play_down.gif
    	|_ play_up.gif
  2. Upload: (in the below instructions 'yourforum' would be where you have vBulletin installed)
    • vaispy.php to /yourforum/vaispy.php
    • /clientscript/*.js to /yourforum/clientscript/*.js
    • /images/misc/*.gif to /yourforum/images/misc/*.gif


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:
/**
* Do not list these forums even if they have 
* permissions (test categories, etc)
*
* Enter them by ID, separated by commans (eg: 1,2,3)
*/
$blockforums '';

/**
* Do not allow these groups.
*
* Enter them by ID, separated by commans (eg: 1,2,3)
*/
$blockgroups ''
In your browser, open the URL:

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

You can see examples of this at:
  • Anyone wanting to list here as an example?


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 &nbsp;'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

Download Now

File Type: zip vaSpy-2.0.2.zip (19.4 KB, 298 views)
File Type: zip vaSpy-2.0.3.zip (20.3 KB, 635 views)
File Type: zip vaSpy-2.0.4.zip (20.5 KB, 592 views)

Screenshots

File Type: jpg screenshot.jpg (89.4 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
Adrijan, babyv0x, caoanh204, DeclanFarrow, SamSteve

Comments
  #52  
Old 01-24-2010, 02:46 AM
ahmedbehiry ahmedbehiry is offline
 
Join Date: Nov 2001
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's working, but I don't know what it doesn't update.. I mean the links in the page stay the same and they don't show new posts and threads in the forum!
Reply With Quote
  #53  
Old 01-24-2010, 06:03 AM
cagbaazee cagbaazee is offline
 
Join Date: Jul 2007
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks , I hv install it without any problem. Keep it up.
Reply With Quote
  #54  
Old 01-24-2010, 06:22 AM
ManagerJosh's Avatar
ManagerJosh ManagerJosh is offline
 
Join Date: Feb 2002
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Up and running in http://uoem.com/forums/vaispy.php
Reply With Quote
  #55  
Old 01-24-2010, 11:14 AM
jonty jonty is offline
 
Join Date: Dec 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Please include new group discussions into the feed. New blogs would also be awesome.
:up:

Social Group discussion are our most commonly asked-for feature. (permissions dependant)
PMs (obviously just your own!)
Blogs and CMS entries would also be handy.
Reply With Quote
  #56  
Old 01-24-2010, 01:04 PM
madotds madotds is offline
 
Join Date: Oct 2007
Location: UK
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SpankMe View Post
New colors don't work well on dark colored styles. It needs to use css from styles so we can adjust for style color.
I also have this problem as you can see HERE is there any way to change the colours?

Mark
Reply With Quote
  #57  
Old 01-24-2010, 01:22 PM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by madotds View Post
I also have this problem as you can see HERE is there any way to change the colours?

Mark
Quote:
Originally Posted by SpankMe View Post
New colors don't work well on dark colored styles. It needs to use css from styles so we can adjust for style color.
Ahh, that totally slipped my mind. You can edit this in vaispy.php, find:

#spy_table td .alt1 & #spy_table td .alt2

And you can change it there.
Reply With Quote
  #58  
Old 01-24-2010, 01:32 PM
ahmedbehiry ahmedbehiry is offline
 
Join Date: Nov 2001
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and what should I do with the page not being updates as it should?
Reply With Quote
  #59  
Old 01-24-2010, 01:38 PM
madotds madotds is offline
 
Join Date: Oct 2007
Location: UK
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SecondV View Post
Ahh, that totally slipped my mind. You can edit this in vaispy.php, find:

#spy_table td .alt1 & #spy_table td .alt2

And you can change it there.
Ok thanks for that I have used rgb 000.102.153 and rgb 000.153.153 and this shows up well on both my light and dark skin.
Reply With Quote
  #60  
Old 01-24-2010, 01:53 PM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ahmedbehiry View Post
and what should I do with the page not being updates as it should?
What is the URL to your installation?
Reply With Quote
  #61  
Old 01-24-2010, 03:40 PM
ahmedbehiry ahmedbehiry is offline
 
Join Date: Nov 2001
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://haridy.com/ib/vaispy.php" target="_blank">http://haridy.com/ib/vaispy.php</a>
sorry, it's in Arabic.. but you can see that the posts are not changing..
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 08:22 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07728 seconds
  • Memory Usage 2,360KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete