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)

Invalid ID 10-30-2006 06:34 AM

It's good, but how can we allow our members to see that?

admin0 10-30-2006 08:22 AM

Hi,

Is this possible to display in a small box in another website, but in the same server ??

ymy 10-30-2006 10:24 AM

Quote:

Originally Posted by dirtycrow
i know you said it checks forum permissions, but how about password protected forums?

In the vaispy.php Look for

Quote:

// ####################### SET PHP ENVIRONMENT ###########################

REPLACE WITH

Quote:


// ####################### SET PHP permission ###########################
require_once('./global.php');
if (!($forumperms & $vbulletin->userinfo['userid']))
{
print_no_permission();
}

// ####################### SET PHP ENVIRONMENT ###########################


Thanks much

Installed, great hack >> Click done! :up:




MPDev 10-30-2006 11:25 AM

Quote:

Originally Posted by Invalid ID
It's good, but how can we allow our members to see that?

I would assume that most people put a link to it in their navbar or their portal page.

Viper007Bond 10-30-2006 02:45 PM

Sweet mod! Got it installed and works great!

However, it's not quite XHTML valid. I had to make about a 1/2 dozen changes to get it to be so. ;)

http://forums.finalgear.com/vaispy.php?styleid=5

kungfujesus 10-30-2006 09:15 PM

This is a great hack. A nice way to just sit back and watch in real time which threads are most active, and when.
I'm keeping this all for myself... my members would only abuse it as they do with most things.
:D
A couple of questions though:

1. In the "event" box, so far mine is only showing "new post" ... is this supposed to be logging anything else? New thread?

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.

MPDev 10-31-2006 12:56 PM

Quote:

Originally Posted by admin0
Hi,

Is this possible to display in a small box in another website, but in the same server ??

Small box? Not that I can think off off-hand; although you could look at the vBadvanced plugin to see if that helps.

MPDev 11-02-2006 11:23 AM

Quote:

Originally Posted by kungfujesus
This is a great hack. A nice way to just sit back and watch in real time which threads are most active, and when.
I'm keeping this all for myself... my members would only abuse it as they do with most things.
:D
A couple of questions though:

1. In the "event" box, so far mine is only showing "new post" ... is this supposed to be logging anything else? New thread?

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.

1. It'll say new post or new thread depending on the last posts it grabs; so, yes, it should be posting new threads.

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

Zia 11-05-2006 04:58 AM

One Question:

I can use it to show thread at vbIspy ? and i dont want our user to seeing this page...just wanted to display the thread at vbiSpy Network only..

update every 1.5 hour(dont want to be a reason of heavy server load)

can u provide some tips?

MPDev 11-05-2006 11:28 AM

I have a module for just that purpose; I should post it here as well. There is no viewing capability (its been stripped out). You just load this on your forums directory and it provides the xml feed.

The file is attached; just upload to your server and run it in a browser window to see if you get the XML data. If you do, then you can submit your site to vBIspy.com.

Zia 11-05-2006 02:54 PM

Thankx MpDev...for the last module only for showing therad at vbIspy.com

Do u have any idea how much server laod it may cause?
cpu uses/min or sec?

Lots of install 216 is really grate..

am really curious about users server laod?

ANd this 2nd module will not be a reason of server load?

We are trebille suffering with that server load..

firefox100 11-05-2006 03:11 PM

I am very concerned with the server load, I have seen that my usage has ascended from 0.5 to 1.5 and 2 in high hours. Could they tell us as avoiding this high usage?

The hack is wonderful, the best in the year, sincerely. ;)

MPDev 11-05-2006 04:15 PM

You can increase the time of delay to reduce the load if you have many users.

Using the module without the user interface will not increase your server load as the vaispy.php is only called every so often by vbispy.com and not every few seconds like when watching a live feed that polls every few seconds.

mikeylikesitz 11-05-2006 04:34 PM

great mod, works like a champ

firefox100 11-05-2006 10:06 PM

Quote:

Originally Posted by MPDev
You can increase the time of delay to reduce the load if you have many users

Where I change that parameter?

MPDev 11-06-2006 02:35 PM

See the second post in this thread.

buro9 11-09-2006 07:30 AM

Is it possible to put in a feature request:
Option to exclude posts and threads from ignored users from appearing on Spy.

kalleball 11-10-2006 06:18 AM

there's no ending body/html tags on my page, not sure why that is...as it's fine on all other pages...

buro9 11-10-2006 07:03 AM

Quote:

Originally Posted by kalleball
there's no ending body/html tags on my page, not sure why that is...as it's fine on all other pages...

Good spot!

It's because Spy doesn't use the vBulletin template system and the hard-coded HTML within the .php file of the hack does not include those tags after it pulls in the $footer.

Look at the bottom of the .php file and you will see the place I mean, you'll be able to put in the closing BODY and HTML tags there.

kalleball 11-10-2006 09:59 AM

Quote:

Originally Posted by buro9
Good spot!

It's because Spy doesn't use the vBulletin template system and the hard-coded HTML within the .php file of the hack does not include those tags after it pulls in the $footer.

Look at the bottom of the .php file and you will see the place I mean, you'll be able to put in the closing BODY and HTML tags there.

yeah, i saw...but i assumed it was some template thing ++++ing up...guess i'll just add it then ;)

aquariumpros 11-11-2006 10:36 AM

Awesome Hack (Thank you) - my Mods, Admins and I are loving it!!!

One strange thing on mine...

I have a few forums with HTML color tags in the forum name - obviously causing those forum links to appear in a different color.

Sometimes vBISpy parses the HTML and displays the changed color - and in the next line - is displays the unparsed code.

Anyone with any ideas as to what's up with this??

See:
https://vborg.vbsupport.ru/external/2006/11/8.gif


Thanks in advance for any help or explanation...

exilera 11-14-2006 11:25 AM

Great addon! I just have one problem.

When I go to the vaispy.php in the browser, it logs me out of the forum. Or at least, it shows me as not logged in, then when I go back to the index I'm logged in again. Is there any way I can stay logged in when I go to jabber-box.com/jabber/vaispy.php?

Thanks!

MPDev 11-15-2006 05:22 PM

It's possible that the two apps cant run on the same page because of how they work. If the other app uses settimeout - then the two are conflicting as you cant have two timers going.

exilera 11-15-2006 05:40 PM

Quote:

Originally Posted by MPDev (Post 1118059)
It's possible that the two apps cant run on the same page because of how they work. If the other app uses settimeout - then the two are conflicting as you cant have two timers going.

Do you know of a way around that?

Trana 11-16-2006 02:05 AM

Quote:

Originally Posted by MPDev (Post 1118059)
It's possible that the two apps cant run on the same page because of how they work. If the other app uses settimeout - then the two are conflicting as you cant have two timers going.

Wow, thats a great point. I bet I know which module is causing it too! Is there anything I can do if both of them need to use it?

Zia 11-16-2006 06:45 AM

hello...
those who are interesyed to show only thread/topic at vbispy

vbispy now support Vbulletins defult RSS..

http://vbispy.com/showthread.php?t=2

i gez it wont be reason of server load....

MPDev 11-17-2006 11:51 AM

Right you are, Zia; you can use the internal vB RSS generator to feed threads/posts to vbispy.com; this vBIspy just gives more robust links.

Trana, I do not know how to get two timers from two products to work on one page, sorry.

sduckie2k5 11-18-2006 12:14 AM

Great mod, got it working, after reading about the confliction with the Cyb forum online count up mod. Is there possibly a work around for this so I can re-enable that mod as well for them both to work at once? Thanks in advance! ~D

wahhsabee 11-18-2006 05:16 PM

Holy crap, I love this!

Dennis B 11-18-2006 10:17 PM

MPDev this hack rules!

MPDev 11-19-2006 02:42 PM

Thank you.

Like I said, sducky, I don't know of any way to have two timers running on the same page without merging the two codebases in some way.

stud 11-20-2006 01:44 PM

MPDev - you mentioned the two AJAX timer conflict. Does this apply to using the iSpy CMPS Module on the same CMPS page as a Shoutbox Module? I haven't attempted this yet but wonder if this is a known conflict that I guess i'll have to avoid.

MPDev 11-20-2006 06:07 PM

I'm not familiar with the shoutbox modules; so I can't tell you one way or the other.

711 11-21-2006 03:50 PM

Great script, a must for moderators!

Installed!

I tried to make this script available ony to certain usergroups by trying this code:

Code:

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

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


if ( !$vbulletin->bbuserinfo['2'] )
{
    print_no_permission();
}

but it did not seem to work. The code to prevent guests from viewing works fine, but the part for excluding only permitted user groups needs editing I guess.

Any ideas?

heynurse 11-22-2006 02:35 PM

This is an awesome mod! Except, I got a problem, the page loads but it does not update with live results? I have to refresh to get updates :)

any ideas?

Is there a list of other hacks or settings that might conflict with this hack? thanks

UPDATE: I just removed my header and footer from the vaispy.php code and it's working fine, must of had some conflict :) Thanks for the rockin hack!

MPDev 11-24-2006 11:59 AM

No, I don't have any kind of "list" going; sorry.

ubblite 12-01-2006 02:53 AM

I have one request.

Since the cmps module for this hack is having problems, I think it would be very nice to have an option to display vbispy on the forumhome page.

SaN-DeeP 12-02-2006 05:40 PM

Hello MPDev,
thanks for a very nice addon, I need to implement few changes listed below, if you can help me out.
Script is installed here http://forums.techarena.in/vaispy.php

1. How can i remove By column (which describes usernames)

2. Is there a way to link to /showthread.php?t=634312 instead of linking to showthread.php?p=2368180#post2368180 ?
(linking to original thread instead of postid)

3. A small bug if there is & in forum name
Example: Overclocking & Computer Modification
this name appears as Overclocking & Computer Modification.

Thanks again.

t325 12-02-2006 07:52 PM

This is an excellent modification, thank you.

Does anyone know what sort of affect this has on server load? I've got 11 copies of it open between 2 computers right now, and my load is still well under 1 (it's at .2 right now), but we've been having spikes of traffic lately that seem to make the load jump, and I don't want the spy to make it worse.

Dankness 12-05-2006 07:15 PM

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.


All times are GMT. The time now is 12:19 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.03129 seconds
  • Memory Usage 1,843KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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