vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBISpy - AJAX real-time feed of new posts/threads (for vB3.5) (https://vborg.vbsupport.ru/showthread.php?t=126027)

MPDev 09-11-2006 06:59 PM

Okay, I did some checking - the postid is coming from the first post in the thread; not the last. This is a problem for vB3.5 and requires making the change I outlined above.

I can update the module here, but people running larger sites will want to add an index on dateline in the post table.

djwins 09-12-2006 06:53 AM

Quote:

Originally Posted by MPDev
You can try the change from this post:

https://vborg.vbsupport.ru/showpost....8&postcount=42

And see if that makes a difference.

I cant find where to make the change.
My line 57 is blank.

MPDev 09-12-2006 11:26 AM

Download from the current file and upload the va_spy.js and vaispy.php files.

djwins 09-12-2006 01:35 PM

I want to make the change you posted here, but not sure my line 267 is the same as yours. Can you post the code from the line before as well?

MPDev 09-12-2006 01:46 PM

It would be easier if you just downloaded the current files.

ChurchMedia 09-12-2006 03:04 PM

Thanks for the cool hack!

On mine, it isn't following permissions correctly. It's showing *all* the threads no matter who you are. Could this be because I'm running 5.2?

Gizmo5h1t3 09-12-2006 03:19 PM

ok, ive uploaded the most recent files, which obviously overwrite the old ones...thing is, the fix u supplied in the last one to get the thing to go to the last post in a thread, the code u supplied i cant find now in the file to adapt...can u help, as now the newestfiles dont go to the last post, they go to the FIRST.....

MPDev 09-12-2006 05:17 PM

Well, the only change I can think of is in va_spy.js at line 279:

Code:

                post_url = vburl + 'showthread.php?t=' + threadid + 'goto=laspost';

djwins 09-13-2006 11:34 AM

Actually, this is better:
Code:

        post_url = vburl + 'showthread.php?goto=lastpost&t=' + threadid;
Is there a way to get that query/performance improvement ported over to the 3.5 version?

stud 09-13-2006 03:56 PM

i noticed this also. The link it is generating is incorrect:

http://www.domain.com/forum/showthread.php?t=1484#60

#60 will not work as a modifier


All times are GMT. The time now is 03:57 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.01180 seconds
  • Memory Usage 1,734KB
  • 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
  • (4)pagenav_pagelink
  • (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