vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - vBISpy - AJAX real-time feed of new posts/threads (https://vborg.vbsupport.ru/showthread.php?t=233759)

mpadc 01-22-2010 10:22 PM

Thanks can soemone tell me how to include it as a link in the navbar next to calendar

patt1293 01-22-2010 10:57 PM

Quote:

Originally Posted by skariko (Post 1963333)
Same here! :)

Fixed your problem here

Quote:

Originally Posted by mpadc (Post 1963846)
Thanks can soemone tell me how to include it as a link in the navbar next to calendar

Find
PHP Code:

<li><a href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li

Add:
PHP Code:

<li><a href="vaispy.php">iSpy</a></li


Eric 01-23-2010 02:28 PM

Quote:

Originally Posted by DjEddie (Post 1963320)
If u would like access to mine, as the widget ideas seems like a good one .. then pm me for details and ill sort u an account out ... :)

We'll see - may do that when I know I'll have time to mess around with it :)

Quote:

Originally Posted by New Joe (Post 1963186)
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.

This seems to be because of vB4's new "Friendly URL's" - I've not found a way to be able to generate them in Javascript.

Quote:

Originally Posted by New Joe (Post 1963146)
I remeber having the same problem with MPDev's version, but after doing this:
It worked fine, I changed 7000 to 1000

But i have looked in the va_spy_js file in this new version and the above is different:


Any help would be great.
Thanks.

You can change that by modifying:
Code:

/* Delay between polls to the XML feed for new updates to page */
var xmldelay = 7000;

In /clientscript/va_spy.js - if using 2.0.2 - that line is now:
Code:

/* Delay between polls to the XML feed for new updates to page */
var xmldelay = 3000;


Eric 01-23-2010 02:30 PM

Updated to 2.0.2

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.

clmazin 01-23-2010 06:10 PM

Great work, SecondV. The showthread links do work correctly now, and clicking on the thread in the feed takes you to the last post.

Thanks!

C.

TimberFloorAu 01-23-2010 06:24 PM

That Looks Great now Eric.

Thanks ( upgraded )

Eric 01-23-2010 06:35 PM

Quote:

Originally Posted by clmazin (Post 1964627)
Great work, SecondV. The showthread links do work correctly now, and clicking on the thread in the feed takes you to the last post.

Thanks!

C.

Quote:

Originally Posted by TimberFloorAu (Post 1964636)
That Looks Great now Eric.

Thanks ( upgraded )

Awesomesauce! Glad it works now :)

Sushubh 01-23-2010 09:32 PM

thank you thank you thank you so much. :) i have been waiting for this since the day i moved to vb4...

SpankMe 01-23-2010 09:42 PM

Quote:

Originally Posted by SecondV (Post 1964400)
Updated to 2.0.2

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.

New colors don't work well on dark colored styles. :( It needs to use css from styles so we can adjust for style color.

ahmedbehiry 01-24-2010 02:15 AM

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!


All times are GMT. The time now is 03:31 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
  • Page Generation 0.01126 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete