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)

bashy 09-08-2006 09:11 AM

Excellent, well done, i was watching that thread in anticipation,

Thanks alot m8 :)

theodonnells 09-08-2006 09:13 AM

No new posts show for me, getting this error in java console....
Quote:

Error: syntax error
Source File: http://www.mysite.com/forums/vaispy....21830258337&_=
Line: 1, Column: 31
Source Code:
<?xml version="1.0" encoding=""?>------------------------------^

Mark.B 09-08-2006 09:28 AM

Would be good if there was a way to stop guests viewing this.

buro9 09-08-2006 09:33 AM

Quote:

Originally Posted by theodonnells
No new posts show for me, getting this error in java console....

Do you have a different language pack from the default installed? It's missing the encoding, which is normally part of the localisation.

Indeed the line in the PHP file is:
PHP Code:

echo '<?xml version="1.0" encoding="' . $stylevar['charset'] . '"?>' . "\r\n";


buro9 09-08-2006 09:34 AM

Quote:

Originally Posted by Mark.B
Would be good if there was a way to stop guests viewing this.


Add this:
PHP Code:

if (empty($vbulletin->userinfo['userid']))
{
    
print_no_permission();


To the .php file, just below where it has this:
PHP Code:

// ######################### REQUIRE BACK-END ############################
require_once('./global.php'); 


Mark.B 09-08-2006 09:38 AM

Quote:

Originally Posted by buro9
Add this:
To the .php file, just below where it has this:

Thanks...spot on. :D

bashy 09-08-2006 10:18 AM

Hi m8 is there away to change the amount of posts show please?

Perhaps to something like 30, or would this cause a lot more server load?

Floris 09-08-2006 12:13 PM

Very cool modification. Thumbsup

MPDev 09-08-2006 12:48 PM

Thanks, Floris; I have something really neat in store for people who use this modification that I should be ready to show shortly.

Thank you, buro9; I'll add that to the code immediately.

voteforbird 09-08-2006 05:12 PM

What line would I change to slow down how quick the posts display? I don't mean the database check time, but rather the time that each update is fed downwards.


All times are GMT. The time now is 02:55 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.02697 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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