hmm hereJust uploaded 1.0.3, which should have all the known issues worked out. Let me know if it's not working for anyone.

hmm hereJust uploaded 1.0.3, which should have all the known issues worked out. Let me know if it's not working for anyone.
Not really sure what's going on there to be honest... the json feed doesn't appear to be getting any errors, yet it's barfing out a bunch of null lines:I am getting a javascript error as shown in the following screenshot:
![]()
Link: http://www.urduweb.org/mehfil/spy/
http://gotvirtual.net/community/spy/Anyone have a working demo they can share?
ah, yepp ;-)If you look are your server log in your Admin control panel, do you see any errors logged there?
ErrorException: json_encode(): Invalid UTF-8 sequence in argument - library/DigitalPointSpy/ControllerPublic/Spy.php:65
Generated By: tobi, Today at 1:50 AM
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(2, 'json_encode(): ...', '/var/www/xenfor...', 65, Array)
#1 /var/www/xenforo/htdocs/library/DigitalPointSpy/ControllerPublic/Spy.php(65): json_encode(Array)
#2 /var/www/xenforo/htdocs/library/XenForo/FrontController.php(310): DigitalPointSpy_ControllerPublic_Spy->actionFeed()
#3 /var/www/xenforo/htdocs/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /var/www/xenforo/htdocs/index.php(13): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
["url"] => string(72) "http://domain.com/spy/feed?last=0&r=0.7711458157282323"
["_GET"] => array(3) {
["/spy/feed"] => string(0) ""
["last"] => string(1) "0"
["r"] => string(18) "0.7711458157282323"
}
["_POST"] => array(0) {
}
}
If I send you a new version to try that I think fixes it, could you try it?ah, yepp ;-)
Not by default, but probably wouldn't be terribly difficult to do... something along the lines of this in the beginning of the public controller for the spy...I wonder if there's a way to install this and only have it viewable by a direct url or certain user groups? It might be a good feature for my moderators, but I don't think I want 20,000 users tinkering with it.
if (XenForo_Visitor::getInstance()->get('is_admin') || XenForo_Visitor::getInstance()->get('is_moderator')) return $this->responseNoPermission()
It is not the intended behavior. It's been fixed for the next version.Is it intentional that when a mod/admin claims a reported post that it shows up? Also when the change the status to resolved it generates an entry as well (but doesn't state what it is).
I can understand reported posts themselves showing up but not really the subsequent actions.
It is not the intended behavior. It's been fixed for the next version.
Would you not want that to be:If I send you a new version to try that I think fixes it, could you try it?
Not by default, but probably wouldn't be terribly difficult to do... something along the lines of this in the beginning of the public controller for the spy...
PHP:if (XenForo_Visitor::getInstance()->get('is_admin') || XenForo_Visitor::getInstance()->get('is_moderator')) return $this->responseNoPermission()
if(!(XenForo_Visitor::getInstance()->get('is_admin') || XenForo_Visitor::getInstance()->get('is_moderator'))) return $this->responseNoPermission();
Any ideas guys? I really just need the location of the link and then I can put:Is there an easy way to wrap the navbar link for "Spy" in a conditional, so that only certain groups can see//use it?
..around it.<xen:if is="{$visitor.is_admin} OR {$visitor.is_moderator}">
This content will show to Administrators and Moderators</xen:if>
Hmmmm... that doesn't sounds good... did anything get populated in the dp_spy table?
It does preload the 25 latest actions, but those are still more or less "now". On digitalpoint.com, 25 actions is probably about 1 minute worth of activity, so...
Where exactly is that table? I have installed the addon but I can't seem to find the location of the options/statistics.
We use essential cookies to make this site work, and optional cookies to enhance your experience.