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-13-2006 04:40 PM

I've updated the build to include some new code checking for password protected forums and also change the link to use goto=lastpost; try updating your vbispy.php and va_spy.js files.

Gizmo5h1t3 09-13-2006 04:59 PM

the updated files, plus the code edit in post #79 works a dream.....nice!!

stud 09-13-2006 05:13 PM

MPDev - please double check your code... it still is not generating the link correctly:

...showthread.php?t=1484goto=lastpost

should be:

...showthread.php?goto=lastpost&t=1484

MPDev 09-13-2006 05:17 PM

Okay, updated download, line 279 in va_spy.js was missing the &:

Code:

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

stud 09-13-2006 05:26 PM

great. works fine!

Not sure if there's much of a difference how you use the lastpost variable, but either way works great.
(t=1324&goto=lastpost vs. goto=lastpost&t=1484)

Now how easy is it to remove things - such as the views/replies. Should be just as simple as removing the try{} command for each event?

MPDev 09-13-2006 05:29 PM

There is no difference in the order; both variables get processed.

scottct1 09-14-2006 01:01 PM

This is nice, but I would love to have it in my right column like I have it now. I reserve my center column for my news for my site.

If you can get this shrunk down so it fits in the right column it would be amazing.

MPDev 09-14-2006 03:31 PM

Quote:

Originally Posted by scottct1
This is nice, but I would love to have it in my right column like I have it now. I reserve my center column for my news for my site.

If you can get this shrunk down so it fits in the right column it would be amazing.

I don't have any plans to do different designs at this time.

america2 09-14-2006 03:59 PM

Hey MPDev!

Pretty awesome stuff! I added it to our forum which is

http://www.cartoondollemporium.com/forum/vaispy.php

It works fine, but I did notice that it takes almost a minute for the posts to show. Any thoughts? Thanks!

mxtabs9 09-14-2006 05:09 PM

Nothing showing:

http://sputnikmusic.com/forums/vaispy.php

??

america2 09-14-2006 05:17 PM

Hey mxtabs9.

Im not sure if we have the same problem but on my site it takes upto almost a minute for a post to show up. I dunno why...

glorify 09-14-2006 05:20 PM

I love this, but the initial refresh is quite awhile in 3.5.0

Any ideas--I'd love to use the vba block, but not if it takes a long time to load.

http://www.glorifythepast.com/forums/vaispy.php

glorify 09-14-2006 05:27 PM

Looks like the same problem everywhere. Maybe after the last update?

america2 09-14-2006 05:30 PM

could be. I really like this. hope theres a fix to it :)

MPDev 09-14-2006 06:17 PM

mxtabs, your site doesn't load for me at all - connection timed out.

america2, did you add the index mentioned in the first post?

america2 09-14-2006 07:08 PM

Hey, Im not sure which index is that and what to do with it. My apologies.

djwins 09-14-2006 09:02 PM

Code:

ALTER TABLE `vb_post` ADD INDEX ( `dateline` )
Is this code something we can just run in PHPmyadmin?

From a server load standpoint, how has this script been running on viperalley?
I have about 500-600 users online at peak times, can I use this mod without a server meltdown?

MPDev 09-14-2006 09:57 PM

Yep, phpmyadmin is fine.

It's works great on viperalley.com - a slight increase in overall server load, but I'm running this on a couple sites and also have vbispy.com running on the same server.

In antication of the growth of vbispy.com I have a new dual core Dell 2950 being installed tomorrow. :)

Unless you have 500-600 people using vbispy.com at the same time, I don't see it as taking your server to a crawl (assuming you have a decent server in place with that many users already).

djwins 09-14-2006 10:06 PM

I just checked phpmyadmin and it seems as if I already have a dateline index in the post table.

mxtabs9 09-14-2006 10:13 PM

Sorry about the downtime, the site is up now, still nothing

http://www.sputnikmusic.com/forums/vaispy.php

mxtabs9 09-14-2006 10:49 PM

Never mind, found out the site was down due to the queries caused by this thing. Not sure why

MPDev 09-14-2006 10:52 PM

See previous posts about add an index to the post table.

evesve 09-16-2006 03:59 PM

I really like this!

One suggest:
Is it possible to get post I already read to be normal font an unread bold?
(Or some other sign..)
To next version?

MPDev 09-17-2006 01:14 AM

Updated to include support for Opera browsers, etc. (see version 1.08 notes at top).

djwins 09-17-2006 02:04 AM

Upgraded to the latest version. Congrats again on the great mod!

It looks like the font got smaller.
Very much looking forward to the templated version and future improvements.

How about the option for mods/admins to change thread titles using Ajax? That would be hot.

p.s. finally clicked install and nominated for m.o.t.m

oh, and in phpmyadmin, under INDEXES, it is showing a dateline index already, despite me not adding it manually. Do I have to do anything additional?

MPDev 09-17-2006 12:54 PM

It's using the smallfont tag (which is was using before); there is a reason that the "template" version is not a big push - it's misleading. The formatted html is in the javascript and cannot be templated; the index page can be templated, but changing the columns and such on it does not change how the data itself is displayed.

If you have a dateline index, you are good to go.

djwins 09-18-2006 02:11 AM

I'm having an issue where iSpy will occasionally get the thread title wrong.
It will assign a thread title that is not the actual thread title of the post.

Picture attached:

MPDev 09-18-2006 11:11 AM

I'm not sure why it would only do it occasionally and not consistantly; unless we can identify a common reason, I'm not sure where to look.

djwins 09-18-2006 12:23 PM

Could it have something to do with the same user posting within 60 seconds?
That seems to have been the case in the photo above.

MPDev 09-18-2006 05:57 PM

I don't think so; maybe just a fluke... Is it consistant in any way?

Guest210212002 09-21-2006 09:14 PM

Is there a way to prevent guests/spiders from using this?

Joe 09-22-2006 03:18 PM

Such a cool hack! Thank you much! :D

What would it take to have the option to only view new threads / posts in subscribed forums?

kompakt 09-23-2006 11:22 AM

Thanks for fixing the last post issue on 3.5.

How would I go about parsing the posticons of the thread in a new column?

MPDev 09-23-2006 04:10 PM

Quote:

Originally Posted by Chris-777
Is there a way to prevent guests/spiders from using this?

If you check the thread in the 3.6 area, you'll see code for this in the first couple pages.

MPDev 09-23-2006 04:10 PM

Quote:

Originally Posted by Joe
Such a cool hack! Thank you much! :D

What would it take to have the option to only view new threads / posts in subscribed forums?

A change to the query to look only at subscribed forums.

MPDev 09-23-2006 04:11 PM

Quote:

Originally Posted by kompakt
Thanks for fixing the last post issue on 3.5.

How would I go about parsing the posticons of the thread in a new column?

It would require changing the vaispy.php and va_spy.js scripts to add the new icon field, determining the url to it and passing it as part of the XML feed and then using it as part of a newly formatted table. Not trivial; but do'able.

kompakt 09-23-2006 07:38 PM

Thanks, I will take a look at them and see what I could do :)

MPDev 09-29-2006 04:37 PM

Quote:

Originally Posted by Joe
Such a cool hack! Thank you much! :D

What would it take to have the option to only view new threads / posts in subscribed forums?

I've done this in the 3.6 version; but haven't done it for 3.5 as yet. Waiting to make sure the 3.6 version works as expected all around with new changes before porting them back to 3.5.

glorify 10-08-2006 05:11 PM

This would be HOTM material if there was an easy way to template the output.

djwins 10-09-2006 02:13 AM

It's definitely HOTM material anyway, but yes, a template would make this great hack even better.


All times are GMT. The time now is 11:00 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.01783 seconds
  • Memory Usage 1,792KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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