![]() |
Nice hack.
It would be even cooler if you had some sort of fading background color for the table cells or div tags, so you could easily see what was new. |
I made a slight change to vaispy.php to wrap words a little better and removed my own preg_reaplce to use vB's code to remove quotes.
|
any idea why it won't work if I'm logged in?
|
Sorry, no idea.
|
Quote:
ok so you have no plans on making this members only or giving it permissions? |
I would consider it; although I would expect adding a couple lines of code to the script would take care of it (after the global.php include).
Code:
if ( !$vbulletin->userinfo['userid'] ) |
Mine definitely isn't working:
http://www.volconvo.com/forums/vaispy.php It's displaying just the one batch of posts, and the posts are from random times (like yesterday or months ago). What's going on? |
|
a small fix...
in the by tab you have the userid pointing to the userid of the thread starter. It should be pointing to the guy who made the post.. change this in viaspy.php find Code:
SELECT thread.*, post.pagetext AS preview Code:
SELECT thread.*, post.pagetext AS preview, post.userid AS lastpuserid then find Code:
<userid>{$thread['postuserid']}</userid> Code:
<userid>{$thread['lastpuserid']}</userid> grt addon though :) congrats :D ps: i have it only for selected usergroups. For those who want permissions can simply do this add this below require_once('global.php') line in viaspy.php //set up usergroup permissions for view if (!is_member_of($vbulletin->userinfo , #usergroups to check#)) { print_no_permission(); } or Code:
//set up usergroup permissions for view |
I modified the va_spy.js and vaispy.php script to include the change above and also add a date stamp to the entry.
|
All times are GMT. The time now is 11:11 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|