vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Digital Point Spy (https://vborg.vbsupport.ru/showthread.php?t=243429)

kkk333 04-21-2011 11:56 AM

Hi ,
thank you for this great Mod.
could you help me to add 2 features.

1) how can I make quick reply AJAX without forword to thread page
win click on any post show quick reply box in spy page.

2) Also, I want use it to feed on one thread only
(Admins,Moderators can choose any thread/threads to spy by members)
I want this feature for thread about any event like real-time soccer match.
we have many posts and want easy way to browse new posts.

thank you again for this great hack.

ActiveZone 04-21-2011 07:18 PM

Really nice job.

It works great! Thank you.

1.
Can we limit it to display only new posts and not edited posts and deleted posts?
2.
Can we add time stamp on each message that comes down the list?

digitalpoint 04-21-2011 10:21 PM

Quote:

Originally Posted by kkk333 (Post 2186987)
Hi ,
thank you for this great Mod.
could you help me to add 2 features.

1) how can I make quick reply AJAX without forword to thread page
win click on any post show quick reply box in spy page.

It's not possible.

Quote:

Originally Posted by kkk333 (Post 2186987)
2) Also, I want use it to feed on one thread only
(Admins,Moderators can choose any thread/threads to spy by members)
I want this feature for thread about any event like real-time soccer match.
we have many posts and want easy way to browse new posts.

thank you again for this great hack.

The next version which isn't released yet allows you to show a spy feed just for a specific threadid if you want.

Quote:

Originally Posted by ActiveZone (Post 2187132)
Really nice job.

It works great! Thank you.

1.
Can we limit it to display only new posts and not edited posts and deleted posts?

You could disable some of the plug-ins for it in the AdminCP (for example you could disable Log Post Edit).


Quote:

Originally Posted by ActiveZone (Post 2187132)
2.
Can we add time stamp on each message that comes down the list?

No, sorry.

c.c. 04-26-2011 02:25 PM

Quick question. How do we make it that only paid members can use this mod. I've seen other boards do this, but for the life of me I can't figure out how they do it?

ActiveZone 04-26-2011 08:53 PM

thanks Digital Point.
I managed to be able to keep it showing only the new posts and threads but here is another problem i have.

Up to now i was using Vaispy for the 3.8 platform. Now, i use yours. It happens that my forum has to sections. One is for a specific usergroup and the other is for all the members including this usergroup as well.

Now the rest of the members are not able to see the section for the specific usergroup but all, event this section's posts are displayed in the Spy list when they are posted, although the simple members when they click on the link are not allowed to access. But it's really annoying to have the posts of this section "fall" into the spy feed for ALL the members as in this way they can see the review.

I would like to limit the usersgroup section to be included in the Spy list only for the usergroup members to see. For the rest, these posts should not exist and should not appear.

Any clue?

digitalpoint 04-26-2011 10:08 PM

That's already how it works (at least it should)... users can only see posts from threads they have access to. Are you SURE they are seeing something they can't access?

ActiveZone 04-27-2011 05:06 AM

it seems that with a little more effort it works fine now.

Thanks!!

digitalpoint 04-27-2011 05:43 PM

What extra effort was that exactly? It's how it works out of the box...

itforumz 04-27-2011 06:38 PM

Good one

itforumz 04-27-2011 06:40 PM

What`s it going to help the user?

Kaitlyn2004 05-10-2011 06:01 PM

Hmm tried to install it and got:
Quote:

Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083 in /path/to/forums/includes/class_template_parser.php
along with other errors.. and
Quote:

Fatal error: Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083 in [path]/includes/class_template_parser.php in [path]/vb/vb.php on line 287
Edit: On vB 4.0.3 PL1, FYI...

digitalpoint 05-10-2011 06:05 PM

What version of vB are you using?

Kaitlyn2004 05-10-2011 06:17 PM

Quote:

Originally Posted by digitalpoint (Post 2194138)
What version of vB are you using?

Edited post later, but on 4.0.3 PL1...

digitalpoint 05-10-2011 06:26 PM

You might want to upgrade... Earlier versions of vB4 had all sorts of template parsing bugs that were fixed in later versions.

huuquynh 05-14-2011 12:39 AM

Could you please tell me more about: Switched JavaScript library to from YUI to jQuery (for an end user, it means better animations).

Thanks!

Methok 05-30-2011 03:05 PM

I have seen it done on other sites where you need to be a premium user to use Digital Spy hack.

Would anyone know how to do this? I have it installed, Just need to limit its use.

Thank you.

- Methok

lycheepassion 05-30-2011 03:15 PM

mine isn't working?

Alan_SP 05-31-2011 01:56 AM

Quote:

Originally Posted by Methok (Post 2201718)
I have seen it done on other sites where you need to be a premium user to use Digital Spy hack.

Would anyone know how to do this? I have it installed, Just need to limit its use.

It's easy. Find plugin "Add Spy Link To Navigation" where you call link to it and use this condition around calling spy.php:

<vb:if condition="is_member_of($bbuserinfo,5,6,7)">

Now plugin should look like:

$template_hook['navbar_community_menu_end'] .= '<vb:if condition="is_member_of($bbuserinfo,5,6,7)"><li><a href="spy.php' . $session['sessionurl_q'] . '" target="_blank">' . $vbphrase['spy'] . '</a></li></vb:if>';

Of course, 5,6,7 are usergroups you want to allow access.

Mukashi 06-02-2011 11:00 PM

The same method could be used to allow registered users but not guests to use it as well?

Alan_SP 06-03-2011 01:50 AM

You put usergroups you want to see it. Any usergroups listed are able to view this link. Actually, you can use it for any link or content you want visible to selected usergroups. Link and content is inside statment.

chrisbjax 06-07-2011 03:13 PM

Any possibility of using this to echo on a page outside of vbulletin?

from here...
http://webpage.com/forum/index.php

to here...
http://webpage.com/index.php

dutchbb 06-07-2011 03:33 PM

Quote:

Originally Posted by digitalpoint (Post 2044324)
CPU load is minimal. It uses it's own tracking table for recent events so that SQL queries are kept very simple. We run this on a large, high traffic forum and the server load between running it and not running it isn't something you can tell the difference between.

Also, if you want to test the server load manually, just go to spy.php?do=xml and reload as fast as you can (or setup a process to hit it continuously). That is the underlying AJAX call used to get new events.

Is it backwards compatible (3.8 series) please?

digitalpoint 06-07-2011 06:44 PM

Quote:

Originally Posted by chrisbjax (Post 2204620)
Any possibility of using this to echo on a page outside of vbulletin?

from here...
http://webpage.com/forum/index.php

to here...
http://webpage.com/index.php

Not even sure what that means to be honest... The Spy itself doesn't care what the URL it's running on, so should work fine on any URL you put it as long as your vB framework is available there of course.

Quote:

Originally Posted by dutchbb (Post 2204628)
Is it backwards compatible (3.8 series) please?

Nope, 4.x only.

Methok 06-07-2011 09:46 PM

Quote:

Originally Posted by Alan_SP (Post 2201918)
It's easy. Find plugin "Add Spy Link To Navigation" where you call link to it and use this condition around calling spy.php:

<vb:if condition="is_member_of($bbuserinfo,5,6,7)">

Now plugin should look like:

$template_hook['navbar_community_menu_end'] .= '<vb:if condition="is_member_of($bbuserinfo,5,6,7)"><li><a href="spy.php' . $session['sessionurl_q'] . '" target="_blank">' . $vbphrase['spy'] . '</a></li></vb:if>';

Of course, 5,6,7 are usergroups you want to allow access.

Yeah I couldn't get that to work, Also would that just hide the link rather than not allowing access to spy.php?

So if they just typed the URL they would find it?

Alan_SP 06-08-2011 05:25 PM

People rarely know what you have installed on server, so hiding link is as good as disabling in many cases. But to disable people from using some mode, it needs mod reprogramming, that mod itself checks who's trying to use it.

Eq4bits 06-30-2011 12:16 AM

Is there any reason this is no longer working for me? I've had it installed since it first came out (I think) but just recently upgraded to 4.1.4 and now it doesn't appear to work =S

digitalpoint 06-30-2011 05:09 PM

Quote:

Originally Posted by Eq4bits (Post 2214807)
Is there any reason this is no longer working for me?

Nothing on the addon side, no.

Eq4bits 06-30-2011 05:52 PM

eh. Perhaps a conflict with another mod then =\

Eq4bits 06-30-2011 09:19 PM

seems to be a conflict with my custom 'style' =S dang it

8thos 07-02-2011 10:46 PM

Yeah it was working for me but not anymore. Not sure which mod is conflicting with it.

danswano 07-05-2011 07:59 PM

Version 1.0 was working perfectly for me, i did an upgrade to 1.10 and now it's not working anymore.

Mark.B 07-05-2011 08:08 PM

Those who say "it's not working", perhaps if you supply some more information someone may be able to assist.

Mark.B 07-06-2011 04:39 PM

Quote:

Originally Posted by Mark.B (Post 2217181)
Those who say "it's not working", perhaps if you supply some more information someone may be able to assist.

Silence...what a surprise.... :rolleyes:

danswano 07-06-2011 08:06 PM

What information? like VB version? i have 4.1.3

digitalpoint 07-06-2011 09:57 PM

The error you are getting, the URL you are running it at, etc.

danswano 07-06-2011 11:01 PM

No error, there is no feed at all
Url is /spy.php

Bozza 07-20-2011 06:49 PM

One of my users has reported that the links in Spy don't take him to the post, but to the first post in the thread.

I've tested this and found this is happening in Safari. Anyone else getting this? Is it fixable?

digitalpoint 07-21-2011 06:04 PM

Quote:

Originally Posted by danswano (Post 2217581)
No error, there is no feed at all
Url is /spy.php

The actual URL would be helpful. :)

Quote:

Originally Posted by Bozza (Post 2222984)
One of my users has reported that the links in Spy don't take him to the post, but to the first post in the thread.

I've tested this and found this is happening in Safari. Anyone else getting this? Is it fixable?

WHat URL do you have it running at?

teach1st 08-10-2011 02:22 PM

Just installed, 4.1.5. So far, so good. Installation found and correctly placed the link in my moderately customized Navbar. Yay! Thanks for this mod, digitalpoint,

zhai 08-11-2011 07:07 AM

does this mod come with an option/setting page on ACP?
Can the spy.php be renamed into something else? (for example like realfeed.php)
Can the feed be displayed in small box somewhere else? (on forum home)


All times are GMT. The time now is 04:36 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.01523 seconds
  • Memory Usage 1,824KB
  • 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
  • (16)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
  • (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