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)

rnadmo 12-05-2007 02:57 PM

Installed, worked perfectly straight out of the box. Absolutely love it :)

Any plans to make it report on more stuff? Users coming online, etc?

I love it as-is though, top work.. thanks heaps for your effort.

Are the post icons supposed to show read/unread like in the forum? If so, ours doesn't work. We use the "Database" method of read/unread post-marking if that matters.

bigtime 12-05-2007 03:37 PM

How do I include this on my non-vb homepage?

I searched this thread and read 25 pages and couldn't find an answer.

Thanks,

Tim

Eric 12-07-2007 01:16 PM

Quote:

Originally Posted by COBRAws (Post 1379838)
Thanks for this, but how could I add another usergroup?

Code:

if ($vbulletin->userinfo[usergroupid] == 1,2)
Or maybe something like this

Code:

if ($vbulletin->userinfo[usergroupid] == 1 OR userinfo[usergroupid] == 2)
I dont believe my examples are correct, anyone could help me? :)
Thanks

is_member_of

Works out if a user is a member of the specified usergroup(s)

This function can be overloaded to test multiple usergroups: is_member_of($user, 1, 3, 4, 6...)
boolean is_member_of (array &$userinfo, integer $usergroupid)
  • array &$userinfo: User info array - must contain userid, usergroupid and membergroupids fields
  • integer $usergroupid: Usergroup ID to test

MPDev 12-07-2007 11:50 PM

I dont have any plans to expand it just now; but I might get around to it sometime.

rnadmo 12-08-2007 12:09 AM

Is it supposed to show read/unread icons?

stud 12-11-2007 09:25 AM

Quote:

Originally Posted by MPDev (Post 1397120)
I dont have any plans to expand it just now; but I might get around to it sometime.

Last Update: 28 Sep 2006

pffft... I'll believe it when i see it!

MPDev 12-11-2007 11:27 PM

Sometimes it's hard to improve on a good thing.... don't wait on me, it's a decent little product worth the money you paid.

t.uzuner 12-23-2007 07:05 PM

super addons thanks

COBRAws 12-31-2007 10:38 AM

Quote:

Originally Posted by SecondV (Post 1396790)
is_member_of

Works out if a user is a member of the specified usergroup(s)

This function can be overloaded to test multiple usergroups: is_member_of($user, 1, 3, 4, 6...)
boolean is_member_of (array &$userinfo, integer $usergroupid)
  • array &$userinfo: User info array - must contain userid, usergroupid and membergroupids fields
  • integer $usergroupid: Usergroup ID to test

Hey, thanks for the help :)

Tomo123 01-20-2008 02:04 AM

awesome this is cool *installed*

Tomo123 01-20-2008 01:52 PM

I use this mod along side the Redirect after Login mod and I got to say my members and I think it's awesome. :)

bobII 01-20-2008 02:55 PM

is it possible to restrict the use of this script by usergroup? For example, if I only want to allow usergroup 1,2,3 to be able to use it and all other usergroups would receive a "You do not have permission to view this page" error...

Thanks in advance

GuaRRand 01-21-2008 10:23 AM

installed and workx!... and registered! :D
thnx

P.S. like the question above...can you restrict subforums which are only for admins/supported users!?!?

GuaRRand 01-23-2008 10:30 AM

I also PMéd you this on ur site.

I registered on ur site above (vbispy) and in my status it says my link is active... but i dont see any posts appear on that site.
Guests can see the feed...so it should work right?

MPDev 01-25-2008 06:57 PM

It'll pull every 3-5 minutes from your site and put anything new in the queue; depends on the amount of stuff coming in when yours appears. Did you try limiting the feed to only show those within your category? Also your site status should show how many posts have been pulled form your site.

Guest210212002 02-11-2008 10:55 PM

Can someone confirm that this works in 3.7? This is basically my favorite mod ever. :D

pmcnamara 02-13-2008 06:58 PM

Quote:

Originally Posted by bobII (Post 1425183)
is it possible to restrict the use of this script by usergroup? For example, if I only want to allow usergroup 1,2,3 to be able to use it and all other usergroups would receive a "You do not have permission to view this page" error...

Thanks in advance

I'd like to see this too.

pmcnamara 02-13-2008 07:01 PM

Quote:

Originally Posted by SecondV (Post 1396790)
is_member_of

Works out if a user is a member of the specified usergroup(s)

This function can be overloaded to test multiple usergroups: is_member_of($user, 1, 3, 4, 6...)
boolean is_member_of (array &$userinfo, integer $usergroupid)
  • array &$userinfo: User info array - must contain userid, usergroupid and membergroupids fields
  • integer $usergroupid: Usergroup ID to test

Okay, I see if I had searched more carefully, I could have answered my own question.. it appears that yes you can make it usergroup controlled.. but I don't understand the instructions.

djwins 02-18-2008 01:58 AM

Any easy way to show post icons instead of thread icons?

Guest210212002 02-18-2008 02:01 AM

Quote:

Originally Posted by Chris-777 (Post 1441082)
Can someone confirm that this works in 3.7? This is basically my favorite mod ever. :D

It does, btw. :)

[high]* Guest210212002 confirms it himself[/high]

Pirate45 02-19-2008 10:30 AM

It works in 3.7 on one of my sites.

This is my favorite mod too. It could be expanded (if the developer chose) to be very powerful for a forum operator by adding the ability to include content from other RSS feeds and also by showing the "Who's Online" names, perhaps in a vertical Chat-room style format, on the right or left side.

I just see this particular tool with so much potential to help a forum operator expand their site and gain members by creating that "live" feel.

I would also like to see it include complete posts.... just random thoughts I guess.

JeySuhn 02-19-2008 11:55 AM

Hey MPDev,

Is there a way for this to display on the home of the forum, like under the navbar, and also not so high

MPDev 02-19-2008 01:30 PM

Yes, it can be done, but you'd need to tweak the html to only show a couple threads (I did this a while back to show just two threads on forumhome in a "live" show). I don't have specific instructions, but you'd probably have to take some of the php code and put it into a plug-in as well.

JeySuhn 02-19-2008 07:40 PM

Ah well, I wont be giving that a try then as I am a novice lol

Julrou 02-21-2008 03:56 PM

Hi there,

this hack does no longer work on my site : http://www.informatiquefacile.eu/forums/vaispy.php


Any ideas ?
Thks for your help,


Cheers,
Jul
;)

MPDev 02-21-2008 06:01 PM

Appears you have a space in your numbers which is illegal:

http://www.informatiquefacile.eu/for...spy.php?do=xml

GCC LLC 02-28-2008 02:13 PM

Ok, first off - great mod, thanks! I've read through this entire thread and can't figure this out... It's working great in Firefox but will not refresh the page in IE7. I stripped out all of the $header, $headinclude, and $footer stuff from the output (I call this via iframe so i don't need the vb templates around it). Works great otherwise, but I just dont get the refresh or any of the effects in IE... Like I said, FireFox works perfectly.. very strange. Any ideas?

insidedesign 02-29-2008 05:00 PM

Has anyone had issues with this MOD when upgrading to vB 3.7?

odeezie 03-05-2008 12:49 AM

Is there any way to restrict access to this mod? Could I have an entire usergroup not be able to use this once I have it installed? :confused:

Thanks!

EDIT: Nevermind, found it here: https://vborg.vbsupport.ru/showthrea...15#post1316415

Jase2 03-09-2008 09:54 PM

Works fine in 3.7.0

Regards Jason :)

FlyBoy73 03-14-2008 06:24 PM

Quote:

Originally Posted by Jase2 (Post 1461041)
Works fine in 3.7.0

When did that come out? ;)

gravy 03-16-2008 10:29 PM

can this in any way be integrated within the forums themselves??... and also if you are looking at a post and someone replys will pop up in there as well???

dancue 03-17-2008 01:36 AM

I'm interested in knowing where people are placing the link to this page? What exactly will this show you? new threads in the past 24 hours, or your last visit?

m0nde 03-18-2008 12:39 PM

Great mod!

I have it running at http://www.bostonlove.org/forums/vaispy.php

I have one request. I have ampersands in my forum names and they are shown as &. Please explain how to fix this.

eng. deeb 03-19-2008 11:24 AM

what about this:

Quote:

Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /......../....../public_html/expertsinengineering/forum/vaspy/vaispy.php on line 33

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/php5/lib/php') in /......./......./public_html/expertsinengineering/forum/vaspy/vaispy.php on line 33

GoodKarmaKid 03-21-2008 10:18 PM

Really great mod, like it alot.

I have it installed on a custom skin running on VB3.7 RC1 and it works great.

My only issue is I'd like to change the width of the columns to improve the layout for my site. I looked in the .php file but didn't see where I could change the column widths. Admitteldly, I'm not a coder, or a programmer but I am good at following directions if someone points me in the right direction.

Thanks
Jason

thomasx 03-22-2008 01:52 PM

I would like to restrict the use to moderator and administrator usergroups, but have no idea how to do that, because there is no admin backend. any clue for me if that is possible (should be) and: how?

thanks.

FlyBoy73 03-25-2008 05:39 PM

This is excellent... Thanks a lot!
Added this one to one forum and the 3.5 version to another that I have not upgraded to 3.7x yet. Both working great!

glennybee 03-25-2008 07:32 PM

I have this mod installed and I was wondering if someone could help me with a problem.

I have a section of code at the top of this page which displays a news ticker. I have an option in User CP > Edit Options to enable this ticker on other areas of my forum. I have an <if> statement which checks for the profile field to be true and then shows the banner.

I've edited the vaispy.php file to include the ticker but how can I control who sees it via the profile field?

This is where the code is...

Code:

</script>
<title>bla bla bla</title>
</head>
<body onload="spyinit();">
$header
$navbar

$mgc_cb_evo_var <!-- shoutbox -->

<if condition="$vbulletin->userinfo['field6'] & YES">

<!-- code is inserted here -->

</if>


<table width="90%" align="center"><tr><td width="50%" align="left"><input type="checkbox" id="subscribe" value="1">&nbsp;subscribed threads only</td>
<td width="50%" align="right">
<img id="vaplay" src="images/misc/play_down.gif" style="cursor:pointer;" alt="Play" title="Play Comments" onclick="playSpy();" /> &nbsp;
<img id="vapause" src="images/misc/pause_up.gif" style="cursor:pointer;" alt="Pause" title="Pause Comments" onclick="pauseSpy();" />
</td></tr></table>
<br />
VAPRINT;

if (is_browser('opera'))
{
$output .= <<<VAPRINT
<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" id="spy_table">
<tr><td width="20" class="tcat" nowrap="nowrap" style="height:25px;">&nbsp;</td>
<td class="tcat" width="225" nowrap="nowrap" style="height:25px;">By</td>
<td class="tcat" width="80%" style="height:25px;">Thread/Post</td>
<td class="tcat" width="200" nowrap="nowrap" style="height:25px;">Forum
</tr>
<tr><td colspan="4" class="alt1">
$prefetched
<div id="row21" style="display:none;" class="spyfade1"></div>
<div id="row22" style="display:none;" class="spyfade2"></div>
<div id="row23" style="display:none;" class="spyfade3"></div>
<div id="row24" style="display:none;" class="spyfade4"></div>
<div id="row25" style="display:none;" class="spyfade5"></div>
</td></tr>
</table>
VAPRINT;
}
else
{
$output .= <<<VAPRINT
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" id="spy_table">
<thead>
<tr align="center"><td class="thead" width="100">Event</td><td class="thead" width="190">By</td><td class="thead">Thread/Post</td><td class="thead" width="190">Forum</td></tr>
</thead>
<tbody class="alt1">
$prefetched
<tr id="row21" style="display: none;" class="spyfade1"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row22" style="display: none;" class="spyfade2"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row23" style="display: none;" class="spyfade3"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row24" style="display: none;" class="spyfade4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row25" style="display: none;" class="spyfade5"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
</tbody>
</table>
VAPRINT;
}

$output .= <<<VAPRINT
$footer
VAPRINT;

echo $output;
?>

I'm guessing the $vbulletin->userinfo bit is not a known variable within this file so it's not working.

Any help would be appreciated. :)

Thanks

Julrou 03-27-2008 04:59 PM

Quote:

Originally Posted by MPDev (Post 1448260)
Appears you have a space in your numbers which is illegal:

http://www.informatiquefacile.eu/for...spy.php?do=xml

Hey ! :)

I can't fixed it. I don't know how to erase that space... Can you say me how to do that ?

Thanks a lot, :up:

Jul. :cool:


All times are GMT. The time now is 08:42 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.02022 seconds
  • Memory Usage 1,836KB
  • 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_code_printable
  • (9)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