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)

digitalpoint 12-09-2010 10:36 PM

For a site that has it installed, but it's not working, can you give me the URL to the spy.php page and also check that you have something in the digitalpoint_spy table? I have a theory... but need to see one that is doing it (don't need server access, just normal public access to see the spy.php page).

MonsterDK 12-10-2010 10:38 AM

Quote:

Originally Posted by digitalpoint (Post 2131644)
For a site that has it installed, but it's not working, can you give me the URL to the spy.php page and also check that you have something in the digitalpoint_spy table? I have a theory... but need to see one that is doing it (don't need server access, just normal public access to see the spy.php page).

dp, as I asked you in PM, what is this digitalpoint_spy table? and where is it found?
as I can't find it and you sorta dismissed it saying nothing apart from installing the mod needs to be done.
thanks

betts02 12-10-2010 10:44 AM

Is there a way to use this in a forumblock ?

ShadowStalker 12-10-2010 03:15 PM

Doesn't work on 4.1 PL2 for me

MonsterDK 12-10-2010 03:22 PM

Quote:

Originally Posted by digitalpoint (Post 2131644)
For a site that has it installed, but it's not working, can you give me the URL to the spy.php page and also check that you have something in the digitalpoint_spy table? I have a theory... but need to see one that is doing it (don't need server access, just normal public access to see the spy.php page).

I will however provide you with the test site url in private (PM).

thanks

digitalpoint 12-10-2010 08:06 PM

Quote:

Originally Posted by MonsterDK (Post 2131836)
dp, as I asked you in PM, what is this digitalpoint_spy table? and where is it found?
as I can't find it and you sorta dismissed it saying nothing apart from installing the mod needs to be done.
thanks

It should be in your forum database along with the other normal forum tables.

digitalpoint 12-10-2010 08:25 PM

The ones I've seen not working so far has the web servers returning an HTTP "406 - Not Acceptable" when the web browser requests the XML feed. This is going to be some sort of configuration issue on the server-side.

Maybe a mod_security module set in overly aggressive blocking mode.

You could try adding this to your .htaccess file to test if disabling mod_security fixes it:

Code:

SecFilterEngine Off
Either way, it's something specific to the web server that's forcing a 406 error, but only when it's getting the XML feed of new events.

MonsterDK 12-11-2010 11:16 PM

Quote:

Originally Posted by digitalpoint (Post 2132065)
The ones I've seen not working so far has the web servers returning an HTTP "406 - Not Acceptable" when the web browser requests the XML feed. This is going to be some sort of configuration issue on the server-side.

Maybe a mod_security module set in overly aggressive blocking mode.

You could try adding this to your .htaccess file to test if disabling mod_security fixes it:

Code:

SecFilterEngine Off
Either way, it's something specific to the web server that's forcing a 406 error, but only when it's getting the XML feed of new events.

If I try that, I get the following error when putting a .htaccess file on my forum root with that line.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@blah.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

digitalpoint 12-12-2010 06:15 AM

You will want to check with your hosting company to see if they have mod_security enabled or something similar.

Habsy 12-14-2010 06:32 AM

Is this working on 4.1 PL2 or not?

digitalpoint 12-14-2010 06:35 AM

Yep, works fine with 4.1.x

MonsterDK 12-14-2010 05:25 PM

Digital Point.... my host fixed the problem. They had to change a setting on their security that was blocking something.
Works great now.

So for those of you that can't get this to work. You have the templates, you have the database table.. still does not work? Contact your host and ask them to look at it. Refer to the advice that digital point gave me on the previous page.

Thanks for your help digital point!!

MonsterDK 12-14-2010 05:27 PM

QUESTION:
Is there a way to remove the link on the community drop down menu?
I'd rather just use the link to access it.

digitalpoint 12-14-2010 05:55 PM

You can disable the "Add Spy Link To Navigation" plug-in for the spy.

res6cue 12-15-2010 03:39 PM

Nice mod!

One issue found and fixed, figured I'd pass it along so you can update the php file. After trying out the 'Only Include Subscribed Forums' function, I received a database error email advising me that 'subscribeforum' was not a valid table. Naturally this is true, because I use the vb_ prefix in my database. So I changed line 80 in the php file to include the table_prefix, and it works fine now.

In spy.php change line 80 from:
Code:

FROM subscribeforum
To:
Code:

FROM " . TABLE_PREFIX . "subscribeforum

OziloZ 12-19-2010 01:36 AM

i have problems with turkish characters

It says "unknown" at thread/post section when somebody creates a new thread or post a message.

Is this compatible with vb 4.1.0 PL2?

OldSchoolDSL 01-10-2011 03:53 PM

Quote:

Originally Posted by res6cue (Post 2134302)
Nice mod!

One issue found and fixed, figured I'd pass it along so you can update the php file. After trying out the 'Only Include Subscribed Forums' function, I received a database error email advising me that 'subscribeforum' was not a valid table. Naturally this is true, because I use the vb_ prefix in my database. So I changed line 80 in the php file to include the table_prefix, and it works fine now.

In spy.php change line 80 from:
Code:

FROM subscribeforum
To:
Code:

FROM " . TABLE_PREFIX . "subscribeforum

This surely does help. Thank you.

Installed and working

4.1 PL2 :)

res6cue 01-11-2011 06:06 PM

Ok I found a rather odd issue that hopefully can be resolved:

From time to time, nothing populates on the page for logged in users. However if you log out and check the page as a guest, it populates! I've tried a ton of things to get it to work, including disabling all other mods, to no avail. The digitalpoint_spy table has all the entries in it (as evidenced by the page populating for guests), but it just refuses to populate for logged in users from time to time. The 'Only Include Subscribed Forums' option makes no difference, either it works or it doesn't regardless.

Is there anything that could be causing this behavior? It's driving me nuts, because I really want to keep this mod around, it's extremely handy and our users love it...when it works!

beatyourtruck 01-12-2011 02:28 AM

Quote:

Originally Posted by digitalpoint (Post 2133887)
You can disable the "Add Spy Link To Navigation" plug-in for the spy.

Can you explain this a little more? what file to edit? Thanks! GREAT mod....my moderators love it to watch over the herd LOL

res6cue 01-12-2011 09:19 AM

Quote:

Originally Posted by beatyourtruck (Post 2147834)
Can you explain this a little more? what file to edit? Thanks! GREAT mod....my moderators love it to watch over the herd LOL

The easiest way to disable the link from showing on the navbar is to go to the Plugin Manager in the AdminCP, find Product : Digital Point Spy, uncheck the Active box for Add Spy Link To Navigation, then save active status. No need to edit any files.

digitalpoint 01-12-2011 06:32 PM

Quote:

Originally Posted by res6cue (Post 2147649)
Ok I found a rather odd issue that hopefully can be resolved:

From time to time, nothing populates on the page for logged in users. However if you log out and check the page as a guest, it populates! I've tried a ton of things to get it to work, including disabling all other mods, to no avail. The digitalpoint_spy table has all the entries in it (as evidenced by the page populating for guests), but it just refuses to populate for logged in users from time to time. The 'Only Include Subscribed Forums' option makes no difference, either it works or it doesn't regardless.

Is there anything that could be causing this behavior? It's driving me nuts, because I really want to keep this mod around, it's extremely handy and our users love it...when it works!

Are you getting any JavaScript or XML errors on the page when it doesn't show the feed?

Da-Vinci 01-12-2011 08:47 PM

Hi DP, great mod, installed and working 100% on 4.1.0 PL2, the only question I have is, are there any options in the Admin CP?

I saw very early on in the thread that somebody mentioned they have there's set to populate the last 10 entries from a historical record, yet I just can't find any options to alter anything anywhere in the ACP.

My forum is fairly busy but has peak times so at certain times of the day it's busier than others, I'd like it to load the last 10 Posts or Threads when the page is opened, obviously if the forum is experiencing lots of Posts/Threads these records would quickly move to the bottom of the page, otherwise they will sit there and show the last 10 entries.

Thanks in advance, installed and rated 5.

digitalpoint 01-12-2011 09:17 PM

As long as you've had posts within the last hour, it should fully populate on the initial page with the 25 last events...

res6cue 01-12-2011 09:28 PM

Quote:

Originally Posted by digitalpoint (Post 2148147)
Are you getting any JavaScript or XML errors on the page when it doesn't show the feed?

Nope, the page itself loads fine, it just never populates. Checked in Firefox, Chrome and IE, same results for each. What's odd is that it populates for Guests as well as Users Pending Moderation, but not for Registered Users or any other "full access" accounts. Well, not consistently at least, sometimes it will and sometimes it won't. I just checked it as I was typing this and it wouldn't populate when I was logged in (either under my admin account or my test Registered Users account), however as soon as I logged out it started to populate. :erm:

Da-Vinci 01-12-2011 10:01 PM

Quote:

Originally Posted by digitalpoint (Post 2148191)
As long as you've had posts within the last hour, it should fully populate on the initial page with the 25 last events...

Yes I can see more posts now, it must of been because I had only just installed it and was only getting 4 results now, I'm nearer to 25, great hack thanks very much for the share.

beatyourtruck 01-13-2011 01:53 AM

Quote:

Originally Posted by res6cue (Post 2147952)
The easiest way to disable the link from showing on the navbar is to go to the Plugin Manager in the AdminCP, find Product : Digital Point Spy, uncheck the Active box for Add Spy Link To Navigation, then save active status. No need to edit any files.

Thank you! Been using vB for years and never really realized there were options in there for me to play with :o Fixed.

OlijO 01-13-2011 07:07 PM

Hi everybody
I try to use it to my forum vB4.1.0PL2
I obtain a white page, no message.
In the AdminCP, is there any option to enable ? I can't see any option...

Paul. 01-15-2011 05:04 PM

I get an error.. I'm sure it's something that can easily be fixed?

Parse error: syntax error, unexpected '{', expecting ')' in D:\root\root\root\root\Forum\includes\class_core.p hp(4010) : eval()'d code on line 32

alfanexus 01-16-2011 11:00 AM

Quote:

Originally Posted by digitalpoint (Post 2128903)
No, blog entries lack the hooks necessary to make it work for them. Plus, how often would you really see a new blog entry stream by compared to a new post?

Actually about 40-50 percent of posts on my site are blogs :) So I guess it depends of the kind of site.

New Joe 01-27-2011 02:53 AM

I have posted in the past on this but here we go.

I have been using the vBIspy one for a long time, it works out of the box and never stops working.
I would like to change over to this one but at this present time I am unable to as this one still doesn't work right.

I installed this again today.
I opened up 2 tabs.
One with the vBIspy and one with this mod.

Both were working and posts and threads up dating fine.
But when there was about an hour between posts this one stopped up dating but the vBispy continued to up date after the hour.

So it looks like if there are no post after an hour then this one stops working, where as the vBIspy keeps on working.

I am sure there is a simple way to have this one do the same as the vBIsy mod.
I will wait for digitalpoint to get back to me with the answer.

digitalpoint 01-27-2011 08:39 AM

The next version will have better handling of thread titles and usernames that have strange characters in them... I would bet you had a thread come across that it choked on the title or username posting it.

New Joe 01-27-2011 08:54 AM

Not sure about the above, but it was all working fine until there were no posts for an hour, then it just stopped.

When will the next version be out?

digitalpoint 01-27-2011 07:16 PM

The 1.1.0 version I just uploaded should handle non-standard characters better. Go ahead and try it out and let me know.

res6cue 01-27-2011 07:23 PM

Quote:

Originally Posted by res6cue (Post 2147649)
Ok I found a rather odd issue that hopefully can be resolved:

From time to time, nothing populates on the page for logged in users. However if you log out and check the page as a guest, it populates! I've tried a ton of things to get it to work, including disabling all other mods, to no avail. The digitalpoint_spy table has all the entries in it (as evidenced by the page populating for guests), but it just refuses to populate for logged in users from time to time. The 'Only Include Subscribed Forums' option makes no difference, either it works or it doesn't regardless.

Is there anything that could be causing this behavior? It's driving me nuts, because I really want to keep this mod around, it's extremely handy and our users love it...when it works!

Any fix for this issue? You asked me a followup question, then never replied again.

digitalpoint 01-27-2011 07:25 PM

What's the URL you have it running at?

res6cue 01-27-2011 07:27 PM

I don't currently, I uninstalled it because it wasn't doing much good not populating. I will try installing the latest release and see if it behaves better.

kingMOB 01-28-2011 08:32 AM

Latest version worked in Chrome, not in Firefox. This one works in Firefox, not in Chrome, vBulletin 4.0.8 here. Any word for a widget or forum block? =)

digitalpoint 01-28-2011 08:37 AM

What's the URL you have it installed at that it's not working with Chrome? Works fine in Chrome for me.

As far as a widget block... It just hasn't been a huge priority since we don't use the sidebar on our site, so... :) But one of these days... Was thinking about maybe doing something along the lines putting new events into the area at the top of our pages that currently stream new tweets (relevant to the forum someone is in).

For example: http://forums.digitalpoint.com/forumdisplay.php?f=64 forum shows tweets related to forum software (ignore the "Did You Know..." one.

wipedout 01-28-2011 10:03 AM

any way to make this function more like on this site?

http://www.facepunch.com/fp_ticker.php and if so, how hard would implementing it be?

OldSchoolDSL 01-28-2011 02:33 PM

Installed update & working

4.1.1


All times are GMT. The time now is 04: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.01620 seconds
  • Memory Usage 1,841KB
  • 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
  • (6)bbcode_code_printable
  • (13)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