View Full Version : Miscellaneous Hacks - Digital Point Spy
jefferis
02-04-2011, 12:47 AM
It should follow forum permissions. Look at it as a guest.
Yes, Great! Thanks
digitalpoint
02-04-2011, 01:13 AM
Right... as mentioned, it only shows stuff from the forums the user has permission to view, so you don't need to make special permissions for it.
New Joe
02-04-2011, 04:54 AM
The 1.1.0 version I just uploaded should handle non-standard characters better. Go ahead and try it out and let me know.
Thanks for your work digitalpoint, I have just installed your up-dated one and it works great.
I left it for 3 hours and it up-dated every post and thread fine.
I still miss the 'Times' of the posts or threads which we have with ispy but i have decided as this one is well supported and the other one is not supported at all i will keep with this one.
But if it isn't a lot of work to do, maybe think about adding the 'Times' part to a next up-dated version of yours.
digitalpoint
02-04-2011, 05:38 AM
Well the time thing wouldn't be terribly hard to add, but I'm still not so sure how useful it would be... for an active site, they would all be happening at the same time (more or less "now")... and then for a non-active forum, the times would be so far apart it makes the forum seem really slow (which probably isn't what they want). I just don't really see an upside to it...
New Joe
02-04-2011, 07:37 AM
Well the time thing wouldn't be terribly hard to add, but I'm still not so sure how useful it would be... for an active site, they would all be happening at the same time (more or less "now")... and then for a non-active forum, the times would be so far apart it makes the forum seem really slow (which probably isn't what they want). I just don't really see an upside to it...
Maybe just something I am use to with the ispy one.
If it really isn't terribly hard to add, why not just add it (for me:D ) and make it the same as the other features you have with your mod, so they can be turned off if someone didn't want the times showing in the Plug in manager.
Thanks for getting back to me and listening so fast digitalpoint:up:
digitalpoint
02-04-2011, 09:25 AM
Well the reason I've been so reluctant to add a preference for it is I'm also an efficiency freak and like to shave nanoseconds off whatever I can... So for a setting that I don't (personally) see much use for, this is the math...
It would take roughly 200 bytes of PHP memory to *have* the setting, so that's just an extra 200 byts of memory that need to be allocated for each and every request. Let's say that allocating that added 1/500,000th of a second to the HTTP request (no idea what it would be, just throwing a number out there). For my site, we have approx 2,500 HTTP requests per second going through the vBulletin init process (we do things with it other than just the forum obviously). So 216M requests/day pulling data from the datastore and dumping it into memory. To the grand scheme of things, we just added a net effect of 432 seconds of unnecessary wait time to HTTP requests for the day just by *having* the setting.
In addition, it would add about 15 bytes to the datastore (which in our case is memcached... so it's going through the network to whatever web server is serving the request). Which is a net effect of 3GB of local network traffic each day for us.
RK KINGKONG
02-04-2011, 09:49 PM
installed and working great 4.1.1 thank you sir for the effort n time .
AusPhotography
02-07-2011, 02:11 AM
This is our hacked version.
We changed it to add more info, have a control of which User Group can use it and to hook into our Photo competition system
We also changed the javascript to better handle network time outs.
You can have our changes if you wish.
Edit: Attachment removed - new post for new version
New Joe
02-07-2011, 08:21 AM
This is our hacked version.
We changed it to add more info, have a control of which User Group can use it and to hook into our Photo competition system
We also changed the javascript to better handle network time outs.
You can have our changes if you wish.
Saw this and thought I'd give a try.
It didn't work, no up dates.
Nice with the extra usergroup permissions but I'll stick to digital's supported Mod.
AusPhotography
02-08-2011, 12:02 AM
Saw this and thought I'd give a try.
It didn't work, no up dates.
Nice with the extra usergroup permissions but I'll stick to digital's supported Mod.
Sorry about that.
New version attached (it had a dependency on our Photo Comp system I've made optional)
Hopefully Digital point could incorporate my changes into his product ((c) permission granted)
Updated version attached.
New Joe
02-08-2011, 02:30 AM
Sorry about that.
New version attached (it had a dependency on our Photo Comp system I've made optional)
Hopefully Digital point could incorporate my changes into his product ((c) permission granted)
Updated version attached.
Yes that worked.
Have the times showing and can set user group permissions.
Thanks.
HondaATC
02-08-2011, 02:41 PM
Please excuse the technically challenged (Myself, :)) asking this question, but what would I need to do to run this inside a widget on the CMS?
edit: Could this be done a "quick and dirty" way with the spy feed on a blank page (No heading or other templates), and then iframe it in a widget? I think it can which is what I'm trying to figure out how to do now...
digitalpoint
02-08-2011, 07:05 PM
It's not possible currently to run it inside a widget (unless you change it of course).
Alfa1
02-12-2011, 12:28 PM
I was just looking for a way to put ispy into a vbadvanced block.
Do you have any tips on how to accomplish this?
OldSchoolDSL
02-13-2011, 02:52 PM
Confirmed to work with jQuery 1.5.0
To apply update, search in template (theme / style) for SPY
Simply change the version number:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script>
I think the original was 1.4.4, so I guest changed it as seen above to 1.5.0
Da-Vinci
02-13-2011, 11:07 PM
Has anybody seen an increase in server load with this? I personally can't see it but my host is blaming this for high server loads, just need some opinions please.
digitalpoint
02-13-2011, 11:55 PM
You would need an insane amount of people actively looking at it at once... It's VERY low resource... so would be talking thousands of people would need to be looking at it at once on a crappiest shared setup for it to be an issue.
Da-Vinci
02-14-2011, 11:05 AM
Thanks I thought as much, just needed some clarification.
NovoCiv
02-14-2011, 06:17 PM
This product produces a vulnerability in my Hide Hack that I'd like to patch. I want to put this code in a hook, but I don't know which hook would apply to the spy.php page. Any ideas?
global $vbphrase, $db;
$post_text = $db->query_first("SELECT pagetext FROM " . TABLE_PREFIX . "post WHERE postid = $post[postid] ORDER BY dateline ASC");
$post_hide['pagetext'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', 'Your Message Goes Here', $post_text[pagetext]);
$post['pagetext'] = nl2br(vbchop($post_hide['pagetext'], 200));
digitalpoint
02-14-2011, 06:38 PM
There are no spy specific hooks, but all the normal ones that run globally on all pages should be run. If you enable debug mode on your setup, it should tell you exactly what hooks are being run for any page you are on.
NovoCiv
02-14-2011, 11:32 PM
But see, I don't want to run that code globally. If I do that the moderators can't communicate with the hide hack because it's always replaced with "Message Hidden".
Is there a way to create a new hook located inside spy.php?
digitalpoint
02-15-2011, 12:09 AM
No clue what a hide hack is. But if you need to run some special code only on the spy page for whatever reason, couldn't you just check to see if THIS_SCRIPT == 'spy' and then run it if it is?
OcR Envy
02-17-2011, 02:12 PM
Hey digitalpoint,
Any way to update the links to have vbseo parse them? I realize the whole client side / server side just looking for a suggestion.
digitalpoint
02-17-2011, 05:43 PM
Not that I know of. Doesn't vbseo redirect automatically to it's special URL?
OcR Envy
02-17-2011, 08:18 PM
Sure it does but I don't want it to 301 ;)
function text2seo(text) {
text=text.replace(/[^a-z-A-Z-0-9]+/g,'-');
text=text.toLowerCase();
return text;
}Then edit the js file to match your url structure, not easy but works.
Ever think about tracking other events like article, blogs etc.. ?
digitalpoint
02-17-2011, 08:43 PM
Sure it does but I don't want it to 301 ;)
function text2seo(text) {
text=text.replace(/[^a-z-A-Z-0-9]+/g,'-');
text=text.toLowerCase();
return text;
}Then edit the js file to match your url structure, not easy but works.
Ever think about tracking other events like article, blogs etc.. ?Truthfully, it doesn't matter a ton if it redirects. The instances that people actually click something from the scrolling spy are pretty rare. And it doesn't muck with search engines because the feed is coming from an AJAX request that is built from JavaScript. And even then the underlying AJAX response is nothing more than numbers (not URLs). So a search engine or any other automated process aren't going to be seeing the content that is withIn the scrolling area.
And yeah... Would like to support additional events, but can't until vBulletin adds hook locations that would support it.
OcR Envy
02-17-2011, 11:38 PM
Understandable and agreeable on both, I just like pretty links.
AusPhotography
03-20-2011, 05:14 AM
FYI 'Report Post' does not log under vB4.1.2.
I'll have a look at it this week
digitalpoint
03-20-2011, 05:57 PM
Reported Post still works fine for me under 4.1.2.
nerowolfe
03-21-2011, 01:55 PM
Hi
is perfect for me.
How I can delete the voice in submenu Community>"Spy"?
Thank to all!
EDIT: it's ok now. Ty
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
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.
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.
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).
2.
Can we add time stamp on each message that comes down the list?No, sorry.
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:
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
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
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
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
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
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.
Is it backwards compatible (3.8 series) please?Nope, 4.x only.
Methok
06-07-2011, 09:46 PM
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
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
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
No error, there is no feed at all
Url is /spy.phpThe actual URL would be helpful. :)
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,
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)
digitalpoint
08-11-2011, 08:11 AM
There aren't any options in the AdminCP (it's fairly simple).
It can be renamed.
It can't be installed in a widget/block if that's that you mean?
There aren't any options in the AdminCP (it's fairly simple).
It can be renamed.
It can't be installed in a widget/block if that's that you mean?
thank you for the response,
how do I block some sub forums from appearing on the spy page?
what needs to be edited if I want to change the spy.php file name? (other than the file name)
digitalpoint
08-11-2011, 07:19 PM
Why would you want to block certain sub-forums? The system already takes into account user permissions (if a user doesn't have permission to a forum, they can't see stuff related to it on the Spy).
I have not tried to change the filename personally, but I suspect you just would need to change the filename is all.
jeepsurf
08-13-2011, 11:49 PM
Installed on 4.1.5. No feed.
digitalpoint
08-14-2011, 12:04 AM
Installed on 4.1.5. No feed.Do you have posts happening recently (after you installed it)?
jeepsurf
08-14-2011, 01:14 AM
Do you have posts happening recently (after you installed it)?
Yes. We went on a posting spree and nothing showed up.
digitalpoint
08-14-2011, 05:16 AM
What URL do you have it installed at?
jeepsurf
08-14-2011, 05:54 AM
.............
digitalpoint
08-14-2011, 06:09 PM
The digitalpoint_spy.js file is missing in your setup (it's pretty important). :)
Why would you want to block certain sub-forums? The system already takes into account user permissions (if a user doesn't have permission to a forum, they can't see stuff related to it on the Spy).
I have not tried to change the filename personally, but I suspect you just would need to change the filename is all.
Because I have this "spam" subforum where users can play games like "rate avatar above you, what did u eat today, etc etc". I don't want that forum to be included as the posts there are not important.
Is that possible?
digitalpoint
08-17-2011, 06:49 PM
There isn't a setting for it, but I suppose it wouldn't be terribly difficult to omit that forum if you were to change the query in the spy.php file that queries for new items.
rab3rd
09-16-2011, 03:03 PM
Trying to install this mod, I give up on trying to make vaispy work with 4.1.5.
I dont have the following folders in my AdminCP folder....
" -> Plugins & Products -> Manage Products -> Add/Import Product"
Only folder I have is "control_examples"
so where should the xml file go in this case. I dropped it in the "adminCP" folder but I get a DB error.
Eq4bits
09-16-2011, 03:21 PM
Not your admincp folder... you have to LOG IN to the admincp in your browser window. look on the left for the dropdown menues, find 'Plugins & Products' click that to open, click 'Managa Products' then click 'add/import product'
you should actually be IN vB NOT in your server/hosts cpanel/filemanager. =\
rab3rd
09-16-2011, 03:31 PM
ohhh, duh.... thanks...
rab3rd
09-16-2011, 03:38 PM
is it possible to exclude forums? I have a mod one that I dont want showing up. Also what bout permissions, can I exclude, or include groups like in ispy?
rab3rd
09-16-2011, 03:43 PM
looking at the php code i dont see any permissions related stuff...
DonosOdD
09-16-2011, 03:51 PM
This looks outstanding. Tagged for later!
digitalpoint
09-16-2011, 03:59 PM
It filters based on what the user has access to.
BlueCheri
09-17-2011, 12:05 PM
Installed, working fine.
Thanx
tommythejoat
09-23-2011, 08:41 PM
Can this feed a block as opposed to being its own page? i.e. can I just name this script in forum block manager?
MikeTrin
10-06-2011, 02:17 AM
sorry if this has been asked before but how long can the spy run before it times out?
Fready
10-06-2011, 09:04 AM
sorry if this has been asked before but how long can the spy run before it times out?I found it would time out within an hour.
I use the 'other' ispy version as it never times out, it just keeps on going.
digitalpoint
10-06-2011, 05:30 PM
It does not time out.
MikeTrin
10-06-2011, 06:48 PM
I left it running last night but it stopped updating at some point. Could something else cause it to time out?
digitalpoint
10-06-2011, 07:48 PM
I left it running last night but it stopped updating at some point. Could something else cause it to time out?If you can get to your browser console, you should be able to see any errors (maybe HTTP timeout or something).
MyPeSePe
10-16-2011, 04:27 PM
I have aproblem with this mod :
Database error in vBulletin 4.1.7:
Invalid SQL:
+ + + + + + + + + +SELECT languageid,
+ + + + + +phrasegroup_global AS phrasegroup_global,
+ + + + + +phrasegroup_spy AS phrasegroup_spy,
+ + + + + +phrasegroupinfo AS lang_phrasegroupinfo,
+ + + + + +options AS lang_options,
+ + + + + +languagecode AS lang_code,
+ + + + + +charset AS lang_charset,
+ + + + + +locale AS lang_locale,
+ + + + + +imagesoverride AS lang_imagesoverride,
+ + + + + +dateoverride AS lang_dateoverride,
+ + + + + +timeoverride AS lang_timeoverride,
+ + + + + +registereddateoverride AS lang_registereddateoverride,
+ + + + + +calformat1override AS lang_calformat1override,
+ + + + + +calformat2override AS lang_calformat2override,
+ + + + + +logdateoverride AS lang_logdateoverride,
+ + + + + +decimalsep AS lang_decimalsep,
+ + + + + +thousandsep AS lang_thousandsep
+ + + + + + + + + +FROM vb_language
+ + + + + + + + + +WHERE languageid = 2;
MySQL Error ++: Unknown column 'phrasegroup_spy' in 'field list'
Error Number +: 1054
Request Date +: Sunday, October 16th 2011 @ 12:52:51 PM
Error Date +++: Sunday, October 16th 2011 @ 12:52:51 PM
Script +++++++: http://www.phonesfera.com/spy.php?langid=1
Referrer +++++:
IP Address +++: 72.167.232.130
Username +++++:
Classname ++++: vB_Database
MySQL Version :
digitalpoint
10-16-2011, 05:16 PM
Did you install the product? Is it listed under your installed products?
MyPeSePe
10-17-2011, 05:37 PM
already solved. Delete all files in this hack and install another
1320Nation
10-17-2011, 09:24 PM
I made back to back attempts to install this mod on a 4.1.7 board. with no luck. First install resulted in an all white page per the spy.php page. Uninstalled 1st attempt all files completely, and reinstalled. Same results. All white page.
ofir24
10-22-2011, 02:54 PM
nice mod to monitoring new forums or little forums etc, can you update the mod to vb 4.1.7?
digitalpoint
10-22-2011, 04:43 PM
Works fine with 4.1.7 (we run 4.1.7 on our site).
ofir24
10-22-2011, 05:05 PM
thanks
yesfans
10-22-2011, 08:36 PM
Set it up on my site, yesfans.com but when it is displaying everything is set over to the left, does not look right.
yesfans
10-22-2011, 08:37 PM
all the info is jsut stacked on the left, verse spread across the line of each entry.
yesfans
10-22-2011, 08:41 PM
log in as TEST and TEST for pass and see for yourself. HELP
yesfans
10-22-2011, 08:44 PM
test1 for password, sorry
yesfans
10-22-2011, 08:56 PM
when or how does it refresh. Do you have to LOG OUT and back in for it to start from new?
digitalpoint
10-22-2011, 10:33 PM
Can't look at anything without a URL.
yesfans
10-22-2011, 10:53 PM
whoops. www.yesfans.com
digitalpoint
10-22-2011, 11:30 PM
Looks normal to me...
https://vborg.vbsupport.ru/external/2011/10/20.png
yesfans
10-22-2011, 11:42 PM
that is not what I see. It is all loading on the left side.
yesfans
10-22-2011, 11:45 PM
how the hell do I screen save?
yesfans
10-22-2011, 11:53 PM
hum. I am on my PC and a laptop here at home and some issueinstead of mine reading across the pagem all the info is stacked on the left side.
yesfans
10-23-2011, 12:23 AM
This is what I see on ANY of my skins....
digitalpoint
10-23-2011, 03:21 AM
Did you try flushing your browser cache?
yesfans
10-23-2011, 11:41 PM
i will try it
Addlonfire
10-26-2011, 11:13 AM
Hello Digitalpoint,
thanks for creating this great plugin!
I would like to implement this as a newsfeed under my Facebook App. But size needs to be reduced. Is it possible to adjust the size of the plugin and reduce the information to reach a size of the "standard" sidebar of the vBulletin Board?
(http://www.worldofleveldesign.com/categories/tools_utilities/images/woldvbulletin01-sidebar.jpg)
See, i am not a coder, but I know someone who COULD do that for me. Is it "much" work to adjust the size and functions, as i described?
I read that it is not allowed to change the code. Is adjusting the code, so the plugin can be used for the same, origin sence it was made, not allowed ? Just asking.
digitalpoint
10-26-2011, 08:30 PM
It's not really designed for use in a block, it only works on it's own page, sorry...
Cyburbia
11-05-2011, 11:07 PM
Installed this as a replacemrnt for Vaispy when I upgraded to vB 4.1.7. Works great! Thank you for making and releasing this.
My only issues, and they're minor: it only shows details about posts that were made or edited after spy.php is first visited; spy.php is empty at first. Vaispy will load a certain number of posts that were made before the spy page was visited. spy.php also doesn't show the time of the post or action.
digitalpoint
11-05-2011, 11:46 PM
It shows stuff from before it was first visited.
You can go here to see: http://forums.digitalpoint.com/spy.php
It loads up 25 items right away.
marmopasquale
11-11-2011, 09:00 AM
how do I remove "spy" from navtab?
RTWAP
11-28-2011, 04:02 PM
vb 4.1.8. Plugin works but the options menu doesn't appear.
Should we manually add in the forums list variable until an update comes out?
Ex: (line 80 in spy.php)
$forumids = '3,4,5,6';
$forumids = implode (',', $forumids);
digitalpoint
11-28-2011, 06:39 PM
What options menu are you referring to exactly?
jefferis
12-09-2011, 01:54 PM
Hi, I've installed the latest version in 4.1.8 and it appears in the Admin Management area as active, but the Live Feed Tab does not appear, even though I have it selected as On.
http://IGOTASUBARU.Com/spy.php
digitalpoint
12-09-2011, 05:47 PM
The last thing posted on your forum is from 12 hours ago... it doesn't track anything more than an hour old.
OldSchoolDSL
12-09-2011, 05:54 PM
Installed and working
4.1.8
:D
jefferis
12-09-2011, 06:13 PM
The last thing posted on your forum is from 12 hours ago... it doesn't track anything more than an hour old.
Was that directed to me? Surely the live menu should appear in the tabs even if there are no new posts?
digitalpoint
12-09-2011, 06:54 PM
Not sure what the "live menu" is, but it should have a link under the "Community" sub-menu.
jefferis
12-09-2011, 07:51 PM
Not sure what the "live menu" is, but it should have a link under the "Community" sub-menu.
Sorry, I meant Live Feed Tab at the top level menu... I see it under community. I must have used vB tabs to place it at the top... I thought it went there by default.
digitalpoint
12-09-2011, 09:48 PM
Yep, if it was there for you at one point it wasn't put there by the add-on. It's always only been under the Community menu.
buddyheiko
12-12-2011, 07:59 PM
I`ve installed it, but it won?t work with my 4.1.8 like yyour DEMO.
http://www.scooter-freunde-karlsruhe.de/spy.php
digitalpoint
12-12-2011, 09:13 PM
You would need posts within the last hour for it to show anything.
MyGameCompany
01-17-2012, 05:10 AM
I installed it, but nothing happens. I had a couple of friends log in and post in existing threads, but nothing shows up in the feed. It's blank. I'm running 4.1.10. I tested it on Mac using Safari and Firefox, and on Windows XP using IE 7.
Here's the link: http://www.mygamecompany.com/forums/spy.php
digitalpoint
01-17-2012, 05:16 AM
Not sure... your server seems to be blocking the request for the feed...
http://www.mygamecompany.com/forums/spy.php?do=feed
MyGameCompany
01-17-2012, 02:28 PM
Thanks. I submitted a ticket with my web host. We'll see what they say...
MyGameCompany
01-17-2012, 03:09 PM
They said the script was being blocked by something called modsecurity. They added the script to a whitelist, and now it seems to be working. Thanks!
Now I have a couple of questions:
1) How do I clear the list? Refreshing the page doesn't seem to do it.
2) If I log out for the night, then log in the next day, will it show me everything that changed since I last ran the script? Or does it only pick up stuff since I logged in?
digitalpoint
01-18-2012, 12:01 AM
It only goes back to the last 25 events to initially fill up the page.
dutchbb
01-31-2012, 11:43 PM
Is there any way to make this work on vb 3.8 since I can't find the version released for 3 series and can't upgrade to vb 4.
digitalpoint
02-01-2012, 12:10 AM
No, sorry.
dutchbb
02-01-2012, 11:33 PM
Ok but I just need the old vb3 files , perhaps my developer can tweak them to work with the latest vb3?
digitalpoint
02-02-2012, 01:10 AM
Ok but I just need the old vb3 files , perhaps my developer can tweak them to work with the latest vb3?They don't exist anymore, sorry. I don't have a vB3 site, so there was no point in keeping them.
dutchbb
02-02-2012, 01:25 AM
They don't exist anymore, sorry. I don't have a vB3 site, so there was no point in keeping them.
Ok I understand.
Edit: found old backup of it and attached it for anyone interested. If you don't want them uploaded please contact so I can remove them.
Mark.B
03-01-2012, 08:01 PM
In IE8, this seems to have all but the first row indented (compared to the first row).
Seems to be the same on DP's site so I don't think it's anything in my style.
digitalpoint
03-01-2012, 09:36 PM
Can you post a screenshot by chance? Haven't had a Windows machine since about 1995.
Mark.B
03-01-2012, 10:26 PM
Can you post a screenshot by chance? Haven't had a Windows machine since about 1995.
Sure.
136762
Seductor
03-03-2012, 02:36 PM
Hello, I was trying to not show what the admin is doing and to show only the new post and new threads actions.
Am I doing this right?
if ($vbulletin->GPC['last'] > 0) $extra = 'AND spyid > ' . $vbulletin->GPC['last'] . ' AND forumid > 0';
// don't force to forums.*
$events = $db->query_read_slave("
SELECT spy.*, user.username, thread.title, thread.forumid, post.pagetext AS preview
FROM " . TABLE_PREFIX . "digitalpoint_spy AS spy
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.userid = spy.userid)
LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (thread.threadid = spy.threadid)
LEFT JOIN " . TABLE_PREFIX . "post AS post ON (post.postid = spy.postid)
WHERE (thread.forumid IS NULL OR (thread.forumid IN ($forumids)$sql_subscribed) AND (action IN (1,2,3)))
$extra
ORDER BY dateline DESC
LIMIT 25
");
clutchthese
03-03-2012, 03:28 PM
4.1.11 working. Thanks.
sportsfroma2
03-07-2012, 08:16 PM
if my site used this of vbulletin's built-in "new posts" search feature, would it result lower resource usage?
digitalpoint
03-07-2012, 11:21 PM
if my site used this of vbulletin's built-in "new posts" search feature, would it result lower resource usage?They are two unrelated functions.
Taurus1
04-07-2012, 07:21 AM
Great mod thank you.
Is there any way to exclude certain forums? I have some RSS feeds that gets posted on my forum, and when these post I don't all of these posts to display on the spy page.
Oh, and is it perhaps possible to edit the green border line to a different color?
Thanks
GhostHunter2010
04-07-2012, 03:24 PM
doesnt work on vb 4.1.10
compuminus
04-09-2012, 01:02 AM
Whenever I add a post/thread using the tapatalk vbulletin app, it never appears in the spy list (and isn't added to the digitalpoint_spy table in the database). What hook code do I need to add to the plugin for it to register this event and log it to the database? Posts from tapatalk appear fine everywhere else in my forum. Thanks.
Emeralda
04-12-2012, 08:05 PM
This doesn't have any options or such in Options? And what kind of things does it show? Or are those only posted and deleted posts?
Uhm... would it be possible to make it add a Tab to the navbar?
EDIT: Uhm, after checking the php file, could it also post things like, edited signature, avatar, visitor message (friends only, for you only, all, user selectable, you know)?~
EDIT2: Rawr, did you know League of Legends forum once used your mod? I'm not sure if it's still there, I saw it like, 2 years ago?
EDIT3: For people who would like to have the Spy location displayed in Who's Online, upload the plugin. Note: you will need to edit the "live" phrases to "spy" if you have kept the original naming. The two plugins should be called WOL and WOL Unknown under Digital Point Spy plugin. Kudos to Hippy for the original code.
sross
04-22-2012, 09:47 PM
I'm on 4.1.11 can't seem to get a feed going. I updated the spy from 1.0 to the latest. Double checked copying files over etc, imported and overwrote.. http://www.apug.org/forums/spy.php
Thanks
digitalpoint
04-23-2012, 06:26 PM
It looks like maybe you customized the SPY template? If so, you need to revert it to the default.
sross
04-23-2012, 11:37 PM
Ah, i forgot about that. All good now, thanks!
Webrunner
06-13-2012, 10:55 AM
Post that are put into the moderation queue are shown, even though they haven't been approved yet. Is there something that i can do to prevent that?
sinucello
06-14-2012, 07:31 AM
Hi,
great mod. Could this cover social groups, too?
all the best,
Sacha
tsptom
06-19-2012, 05:42 PM
This looks like a great mod. Kind of makes the activity stream look like a toy.
I'll give it a try.
Thanks!
tsptom
06-19-2012, 06:58 PM
Very cool! It even filters out the private forums by permission.
If I had one suggestion it would be to call it something other than "spy". Sounds devious like we're spying on members. Maybe something friendlier like 'activity stream', but of course that was taken. :)
How about 'Forum Monitor" or "Live Action?" Just say'in.
Great mod! Thanks again.
tsptom
06-20-2012, 11:34 PM
Would it be possible to ignore the Edit Post rows?
What would need changed? Both the xml and the php files, or would just commenting out this line in the php do it?
12 => $vbphrase['edit_post'],
Update: Nevermind. Changed the SELECT in spy.php adding:
"AND action <> 12"
... to the where clause.
datoneer
08-06-2012, 09:30 AM
vb 4.2.0 spy gone from community tab
digitalpoint
08-06-2012, 05:33 PM
vb 4.2.0 spy gone from community tabYep, they changed how tabs work in vB 4.2.0. From what I hear, they have an interface to create your own tabs fairly simply, but I haven't looked at it myself since I don't have access to a 4.2.0 installation yet.
datoneer
08-07-2012, 08:13 AM
Yes i found it much better and easier now
To be honest, I'm disappointed I have to post this here.
This mod is still vulnerable to allowing a user to pass non-sanitized HTML to the spy window.
I approached the author around 6-8 months ago and informed him of this, however it is clear that he did nothing about it - didn't fix it, didn't inform users that they were using vulnerable software. While I understand it is hard to admit that you made a mistake when coding, it is even more of a mistake to allow people to run software on their site which is vulnerable to XSS. Cross site scripting ruins companies and ruins lives.
http://img266.imageshack.us/img266/7924/xss1.png
http://img837.imageshack.us/img837/2915/xss2.png
For those of you who want to fix this yourselves, simply edit spy.php and find the following line:
$xml->add_tag('preview', $event['preview']);
...and change it to:
$xml->add_tag('preview', strip_tags($event['preview']));
Do the right thing and fix your software before someone gets hit.
digitalpoint
09-10-2012, 04:46 PM
Oh yeah... forgot I fixed that on my site years ago and never got around to uploading the new version here. Should be uploaded now.
Wseries
09-19-2012, 12:10 PM
Is there a way to increase the preview displayed for posts when looking at the spy.php page?
blackberry
09-19-2012, 12:48 PM
Ok I understand.
Edit: found old backup of it and attached it for anyone interested. If you don't want them uploaded please contact so I can remove them.
its not working :(
DefiantComplex
10-15-2012, 12:52 PM
Great mod, in fact this is way better then the default activity manager in vb4.2 lol.
Thanks for the share ;)
fevredsuk
01-03-2013, 01:54 PM
anyway to show more than an hours worth of activity
digitalpoint
01-04-2013, 12:18 AM
No, sorry.
scourge
02-07-2013, 01:31 AM
I'm trying this mod out but I'm seeing numbers next to the table rows. Any ideas as to what's causing this?
digitalpoint
02-07-2013, 07:23 AM
Probably weird list CSS formatting in whatever style you are using.
scourge
02-07-2013, 03:40 PM
Thanks, that was it.
Everything actually works with 3.8.7 well, I just had to tweak the style sheet and template calls in spy.php for the most part.
vimarc
03-03-2013, 02:43 AM
Installed but didn't find any options to change in setting section or somewhere else also no navigation link found on forum. should i need to create manual navigation link ?
Baghira
03-06-2013, 04:42 PM
mhm...
I think, not everything can be translated... I changed every phrase but there are still english words like "edit thread" and "by" and more...
Can you give advide how to change them?
EDIT:
fount "by" in the js-file... but not the other ones
Bob_R
03-23-2013, 11:06 PM
I recently put in a new theme and now the Spy has stopped working. I have my old theme still installed and checked it and the Spy works.
What would be the reason for this?
Thanks!
Bob_R
03-30-2013, 05:59 PM
Uninstalled.
Just a FYI for some: This hack doesn't necessarily work on all themes.
kalilo81
06-06-2013, 10:21 PM
Can we display this in a forum block?
BGObsession
06-09-2013, 04:42 PM
Installed on 4.2.0 and working great - I love this mod :)
BGObsession
06-20-2013, 02:08 AM
This would really be a nice CMS widget...any chance you might be able to create that - I tried pluggin in the php code but can't get that to work?
deltahawk5
06-21-2013, 05:33 AM
Uninstalled.
Just a FYI for some: This hack doesn't necessarily work on all themes.
No kidding...
l0l4s0
07-10-2013, 04:37 AM
update version please, no show in vbulletin 4.2.1 ***
New Joe
07-10-2013, 05:44 AM
update version please, no show in vbulletin 4.2.1 ***
I have it installed on two 4.2.1 forums with no problems at all..
DemOnstar
07-10-2013, 08:49 AM
This would really be a nice CMS widget...any chance you might be able to create that - I tried pluggin in the php code but can't get that to work?
Yep, ideal.....A widget to be placed at the side of the screen would be preferable....
Great idea though but not full screen....
stevieb
07-30-2013, 11:58 AM
vB 4.2.0 - not loading, literally get a static page without any activity!
** uninstalling.
I.G.O.T.A.
08-21-2013, 10:41 AM
vB 4.2.0 - not loading, literally get a static page without any activity!
** uninstalling.
Same here.
Bubble #5
09-12-2013, 02:44 AM
Yep, ideal.....A widget to be placed at the side of the screen would be preferable....
Great idea though but not full screen....
Yep, two or three lines at the top of the forum constantly revolving would be very nice. Full page is way too big.
autoescala
09-12-2013, 06:51 AM
the update dont works! :(
alexkohler
10-24-2014, 08:27 PM
Anyone interested in some code extensions for this mod?
They include HTML username markup, BBcode parsing and inclusion of the vB ignored users feature.
I wrote the code for my own use but i can publish it if anyone is interested and digitalpoint gives me permission to do so.
Live version: https://adhs-chaoten.net/livestream.html
Runs on php 5.4.4 and vB 4.2.2 PL1.
I.G.O.T.A.
10-25-2014, 11:27 AM
Anyone interested in some code extensions for this mod?
They include HTML username markup, BBcode parsing and inclusion of the vB ignored users feature.
I wrote the code for my own use but i can publish it if anyone is interested and digitalpoint gives me permission to do so.
Live version: https://adhs-chaoten.net/livestream.html
Runs on php 5.4.4 and vB 4.2.2 PL1.
That would be great. This hack hasn't been updated for awhile now. :)
the one
11-05-2015, 11:14 AM
I am having like an omg moment.
Ok so i installed all files correctly and imported it through admin cp no problemo.
So where does this feature work,i have gone to my forums and nothing i have looked in admin cp options and nothing no settings
My question is this does this plugin need to be turned on somewhere and if so where
I put this file spy.php in my public_htlm folder
I put this file digitalpoint_spy.js in my public_html/clientscript
I the imported the plugin the normal way no problem..Have i done something wrong.Can i ask for this plug in to work does your activity stream need to be working
I have solved it just needed to add /spy/ to the end of my domain
Many thanks
Alan_SP
11-05-2015, 09:08 PM
You need to call spy.php script to see this mod working, if that is your omg moment. :D
If you don't call it (i.e. put in browser something like this: http://mysite.com/spy.php), nothing happens.
I.G.O.T.A.
12-29-2016, 11:16 AM
You need to call spy.php script to see this mod working, if that is your omg moment. :D
If you don't call it (i.e. put in browser something like this: http://mysite.com/spy.php), nothing happens.
Ours quit a while back. Is there anything to check at why it quit?
Thanks
Cla75
12-29-2016, 11:37 AM
not work in my vb 4.2.3 Patch Level 2
155615
I.G.O.T.A.
12-30-2016, 01:40 PM
not work in my vb 4.2.3 Patch Level 2
155615
Either does ours. :(
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.