vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - vBISpy - AJAX real-time feed of new posts/threads (https://vborg.vbsupport.ru/showthread.php?t=125947)

MPDev 09-06-2006 01:25 PM

<a href="http://www.extremefitness.com/forum/vaispy.php" target="_blank">http://www.extremefitness.com/forum/vaispy.php</a>

I just uploaded the files to here and it worked right out of the box. If you post a URL, I'll take a look using the Firefox JavaScript console.

ericgtr 09-06-2006 01:27 PM

Sure, the only thing I changed was the title http://www.guitarblast.com/vaispy.php All the .js files are in the clientscript directory.

MPDev 09-06-2006 01:29 PM

Okay, redownload and upload the vaispy.php script; when I loaded your page it didn't like an ampersand in the title.

Code:

Error: not well-formed
Source File: http://www.guitarblast.com/vaispy.php?do=xml&r=0.9394500932840069&_=
Line: 45, Column: 34
Source Code:
<title>Perfect Strangers (mange & Fredrik)</title>---------------------------------^

I added a call to htmlspecialchars_uni for the title and forum names.

Cheertobi 09-06-2006 01:31 PM

You also can check it here :-D

Tobi

MPDev 09-06-2006 01:33 PM

Working for me, Cheertobi. You, too, Ericgtr.

Cheertobi 09-06-2006 01:33 PM

Yep, I just uploaded the new files ;)

Thanks!

ericgtr 09-06-2006 01:35 PM

Quote:

Originally Posted by MPDev
Okay, redownload and upload the vaispy.php script; when I loaded your page it didn't like an ampersand in the title.

Code:

Error: not well-formed
Source File: http://www.guitarblast.com/vaispy.php?do=xml&r=0.9394500932840069&_=
Line: 45, Column: 34
Source Code:
<title>Perfect Strangers (mange & Fredrik)</title>---------------------------------^

I added a call to htmlspecialchars_uni for the title and forum names.

Excellent, that fixed it, thanks! So how is this tracking exactly, I can see it updates in time intervals so each update will show when a user is viewing different forums, etc?

Zachariah 09-06-2006 01:36 PM

woohoo more Ajax
:D

janjalani 09-06-2006 01:38 PM

sweet! installed and working fine!

MPDev 09-06-2006 01:39 PM

No, it's just doing a single query to get new posts/threads; that's all. It's a global thing (with permissions), so it doesn't require looking at any specific forum.

I have ideas for future use and how to filter what you see; but this gets everyone started.

And was meant to be as simple as possible to get running. ;)


All times are GMT. The time now is 10:37 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.02802 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (2)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