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 01-17-2007 12:04 AM

Does your header have some kind of conditional code that only runs when logged in which might interfere with the polling for new posts?

MPDev 01-17-2007 12:05 AM

Quote:

Originally Posted by ngaiox (Post 1151788)
Wait, I don't get it. What does this do? Does it show a post or thread as soon as it is added? Kind of like a chatroom?

Go to the example or vBISpy.Com to see how it works. It's a live feed of new posts/threads.

Lionel 01-17-2007 03:52 PM

A stupid question. Can this be used for one specific thread? We are doing live updates of soccer games and I would love to have a mean to input data from same thread

MPDev 01-18-2007 01:24 PM

Off the top of my head; I'd say it would be possible if you modified the query pulling for new threads to use a specific thread-id.

kungfujesus 01-19-2007 10:28 PM

Quote:

Originally Posted by kungfujesus (Post 1107750)

2. Is there any way to show the entire post in the thread/post column? It shows a fair amount but cuts off at a certain point.

Quote:

Originally Posted by MPDev (Post 1109282)

2. You could modify the vbispy.php application to change the string truncation occurring.

What do you change to do this?

MPDev 01-20-2007 06:05 PM

Code:

    $thread['preview'] = htmlspecialchars_uni(fetch_trimmed_title($thread['preview'], 200));
line 158 in vaispy.php - the 200 is the characters it's trimming from.

T.S. 01-21-2007 01:21 AM

Quote:

Originally Posted by Dankness (Post 1132663)
This is a execellent mod but lately iv been getting some weird DB errors maild to me from using this? Does anyone know why these errors are appearing all of a sudden?

Im usign VB 3.6.4 also

Code:

Database error in vBulletin 3.6.4:

Invalid SQL:

            SELECT thread.*, post.pagetext AS preview, post.userid AS lastpuserid
            FROM vb3thread AS thread
            LEFT JOIN vb3deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
            LEFT JOIN vb3post AS post ON(post.postid = thread.lastpostid)
            WHERE open <> 10 AND thread.lastpostid > 43469
            AND forumid NOT IN (0,49,50,51,22,40,136,163,32,23,31,38,43,48,56,112,134,113,114,115,116,117,118,119,122,123,124,125,126,127,128,129,130,120,131,132,133,)
            AND thread.visible = '1'
            AND deletionlog.primaryid IS NULL
            ORDER BY lastpost
            DESC LIMIT 10;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
            AND thread.visible = '1'
            AND deletionlog.primaryid
Error Number : 1064
Date        : Tuesday, December 5th 2006 @ 01:46:44 PM
Script      : http://www.villu-reborn.com/vaispy.php?do=xml&last=43469&r=0.0840441166388669&_=
Referrer    : http://www.villu-reborn.com/vaispy.php
IP Address  : 67.126.202.236
Username    : TOB
Classname    : vB_Database
=====================================================

Database error in vBulletin 3.6.4:

Invalid SQL:

                                SELECT *
                                FROM vb3session
                                WHERE sessionhash = 'bdce42f7e1d317b047a3dc7e49429ded'
                                        AND lastactivity > 1165344136
                                        AND idhash = '7b36de2b030fce6f3b1a836591791a87';

MySQL Error  : Lost connection to MySQL server during query
Error Number : 2013
Date        : Tuesday, December 5th 2006 @ 01:58:20 PM
Script      : http://www.villu-reborn.com/vaispy.php?do=xml&last=43471&r=0.49022190606534977&_=
Referrer    : http://www.villu-reborn.com/vaispy.php
IP Address  :
Username    :
Classname    : vB_Database
=====================================================

Database error in vBulletin 3.6.4:

Invalid SQL:

                                SELECT *
                                FROM vb3session
                                WHERE sessionhash = '9d818bc112fde35ebc591b04907f1765'
                                        AND lastactivity > 1165346474
                                        AND idhash = 'ce5f7ee9179f6b9722a5610947e86ed5';

MySQL Error  : Lost connection to MySQL server during query
Error Number : 2013
Date        : Tuesday, December 5th 2006 @ 02:36:33 PM
Script      : http://www.villu-reborn.com/vaispy.php?do=xml&last=43474&r=0.8675544199068099&_=
Referrer    : http://www.villu-reborn.com/vaispy.php
IP Address  :
Username    :
Classname    : vB_Database
=====================================================


Thank you for your time.

I am getting similar or the same database errors once in awhile. Mysql has stopped/crashed 2 times, about a week apart. :confused:

zetetic 01-21-2007 01:53 PM

Quote:

Originally Posted by JoeP
One thing I'm puzzled about - when viewed by a logged-in user, does it distinguish unread from read posts? It seems to display them all. I'd like to see the unread posts highlighted. I'd say this is pretty important considering why a forum member would use a realtime feed.

Even better, I'd like a checkbox 'unread posts only' (like the existing 'subscribed threads only').

How possible are these requests?

I'm curious about this too. Any idea, MPDev?

MPDev 01-22-2007 04:02 PM

No, I do not try to determine if a thread has been read before or not.

stud 01-22-2007 06:00 PM

Quote:

Originally Posted by Trana (Post 1151173)
Thus the need for someone who knows how this works to resolve the problems with the CMPS module version of this hack.

Can't echo my agreement with this enough! The CMPS module was working before one of the revisions and for some reason does not work anymore... it was an AMAZING module, but has since become MONTHS outdated.... a return to possibly revive this feature by someone who understands the code would make many of us happy here!


All times are GMT. The time now is 09:52 PM.

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.01792 seconds
  • Memory Usage 1,754KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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