![]() |
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.
|
Very cool mod, but a few comments:
* Fix the 'on' before dates Today and Yesturday, for example: "on Today 03:07 PM" -- that just doesn't sound right. * Somehow add a drop-down quick reply or something along this nature to reply to the post. EDIT: Also, you should make it so the image directory goes to the image directory of the current template, and not the /images/ directory in the root vBulletin install. EDIT #2: For thoes who want to do this manually, replace all occurances of: images/misc WITH $stylevar[imgdir_misc] in vaispy.php EDIT #3: There are also images in the va_spy.js that show up AFTER you pause it, and it won't work to replace thoes... I dunno, I don't have time to investigate right now. |
^^ I was just about to post edit2...lol....
Peace |
MPDev, with your new code I got:
Username on null But no timestamp... Tobi |
This is great! I wonder how much it affects server load, though. I have a pretty small forum that I'll try it on soon. :)
|
Not working for me here: http://www.mustangevolution.com/forum/spy.php
|
It doesn´t work in IE6. Can anybody confirm that?
|
^^did you make sure u uploaded the javascript files into the clientscript folder??
Peace |
I cant get it to work in either firfox or IE6 for my site.
|
^^works fine in IE for me....
Peace |
Quote:
Tobi |
Quote:
|
Quote:
|
^^va_spy.js is the only javascript file that would need to be edited if you change the name of the php file.
Peace |
Quote:
|
Feature request: Parse Smilies :)
|
Quote:
Peace |
Quote:
Peace |
I've made a couple more slight modifications to the vaispy.php and va_spy.js files - format changes and some slight enhancements for an integration package I am working on.
|
Quote:
|
Smilies are probably okay; I think images would be obnoxious.
|
Quote:
Quote:
Peace |
Quote:
|
Mhh, I still get no date, just null ;(
|
Maybe, right now I have bb codes turned off because of potential formatting issues; big text, etc. But it is something we can play around with as we go.
|
Quote:
|
There is a template bug with Opera , also is it possible to move templates to regular vbulletin templates ? So we can customize the look etc :)
|
Templates are not that simple using this foundation because html code is included in the javascript files and as such, the layout in the javascript has to match the layout for the page - which is why I didn't put these into a template to begin with. But, with time, it could be possible.
In the meantime, you can modify the va_spy.js and vaispy.php scripts to customize the look. |
Is it also possible to add poster avatars ? and admin - mod only visible actions like edit message , edit thread , move thread , delete message etc...
Doing test for last 15 min with 20 user keeping the page open and browsing the page and no increase in server load at all. Great mod |
nice, do you have any issues if i change the filename? (allready done so on my pc server but not done so on a public one, so i know it works!)
|
Is there a way to make the thread title link to the latest post instead of the first post in the thread?
|
All times are GMT. The time now is 03:21 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|