Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
AJAX Spy Details »»
AJAX Spy
Version: 1.00, by codemoxie codemoxie is offline
Developer Last Online: Oct 2006 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.1 Rating:
Released: 09-18-2006 Last Update: Never Installs: 24
 
No support by the author.

Introduction:
This script (addon) was developed to give your forums a new nice feature by allowing readers/contributors to have a live spy monitor they can use to watch latest forums activity. This script is supposed to be much faster and more reliable than those variants that place database hooks to watch for changes. The script works without even needing to connect to any database and relies totally on your RSS feeds already generated by the forums.

Please be gentle, our first module. Should work with all versions of vBulletin that provide RSS feeds, which I think is all of them

Installation:
Please follow all instructions carefully and back up and files modified.
1- Uploading Files
Within the folder this document is contained, a folder named "Upload" should be present Open this folder and upload the following files to the corresponding locations. Please notice that no files will be replaced.

The /tmp folder included MUST be CHMODed to 755 OR 777 because the spy script needs to write data into that folder. The data there is auto deleted so there is actually nothing you need to worry about. For your information, the data store3d there is a copy of the latest RSS feeds and is used as a simple caching system to lower the loads on the server when 10K users for example have the spy script open and monitoring.

2- Setting System Environment
In your browser (Internet Explorer/Mozilla etc..)
Go to this url: http://YOURSITE.COM/admincp/install_vbspy.php
[You will need to change the capitals within this url to meet your site's domain and forum location]

Follow the file through each step, if step 1 was configured correctly no errors should occur when running this file. Once finished you will be prompted to delete 2 specific file's, YOU MUST DO THIS.

3- Integrating The System
In your forums admin cp, go to the following destination:
Styles & Templates -> Style Manager -> Edit Templates -> Expand All

Templates:
Find the template 'navbar'
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++
FIND:
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++
UNDERNEATH ADD:
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++
<td class="vbmenu_control"><a href="vbSpy.php?$session[sessionurl]">vbSPY</a></td>
::: Save Template 'navbar'

Author Notices:
While i have been coding for long, this is still my first product dedicated to the vBulleting community. If you are familiar with vBulletin codes and think you know a better way to perform some task, please let me know by leaving a comment at the codeMoxie website available at www.codeMoxie.net

Official Support:
This product is fully supported by CodeMoxie, please visit our newly released forums for more info http://www.codemoxie.net/forum

Demo
http://www.prousers.net/vBSpy.php

Release History
Version 1.21b RC1 - September 19, Initial release on vBulletin
Version 1.21b RC1 - September 22, several bug fixes.

Examples:


!#================================================ #!
Enjoy!
Keep checking http://www.codeMoxie.net for more cool products
!#================================================ #!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 09-23-2006, 02:30 PM
codemoxie codemoxie is offline
 
Join Date: Sep 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Regarding the REG_EPAREN (which should appear on few systems only with strict settings), this can be fixed by replacing the mentioned line with:

Code:
if(eregi("example.com", $uid))
The other 15 items limitation, i will be honest and say that i have no idea where the error is being generated from. The script will work with any number of resulks.. 1result->1000 results so i do not know why is it complaining about 15 only. Can you provide any log lines?

Thanks again for the feedback, good luck.
Reply With Quote
  #53  
Old 09-23-2006, 02:40 PM
warnmar10 warnmar10 is offline
 
Join Date: Nov 2003
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by codemoxie
Hello,

Regarding the REG_EPAREN (which should appear on few systems only with strict settings), this can be fixed by replacing the mentioned line with:

Code:
if(eregi("example.com", $uid))
The other 15 items limitation, i will be honest and say that i have no idea where the error is being generated from. The script will work with any number of resulks.. 1result->1000 results so i do not know why is it complaining about 15 only. Can you provide any log lines?

Thanks again for the feedback, good luck.
I think it repeats 15 times because I have Maximum External Records set to 15 in Admin CP > vBulletin Options > External Data Provider > Maximum External Records. I guess I should validate that but I suspect there is a connection.

But for the error warnings, it seems to be working in every way.

What is the purpose of
Code:
if(eregi("example.com", $uid))
Reply With Quote
  #54  
Old 09-24-2006, 04:15 PM
codemoxie codemoxie is offline
 
Join Date: Sep 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by warnmar10
What is the purpose of
Code:
if(eregi("example.com", $uid))
This code snippet is used to take out the example@example.com email address that appears besides almost all usernames on most installations. As the script needs to know the poster's username to make alink to his profile, we need to crop the username without that fake email address.

That code checks if the email address exists, if so it chopps it out then work further to render the member's profile link.

Thanks, and have a nice day
Reply With Quote
  #55  
Old 09-24-2006, 05:19 PM
warnmar10 warnmar10 is offline
 
Join Date: Nov 2003
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the explaination.

The times displayed in vBSpy.php seem to be the server/host time, not the time offset from vBulletin settings or the offset in user profile. Is there a way to change that or is it something about my configuration?
Reply With Quote
  #56  
Old 02-21-2007, 10:32 AM
maxicep maxicep is offline
 
Join Date: Oct 2006
Location: California
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice work but do not work on IE6 and
where is uninstall ?
Reply With Quote
  #57  
Old 03-23-2007, 07:11 AM
FRANKTHETANK 2 FRANKTHETANK 2 is offline
 
Join Date: Sep 2006
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I keep getting this error, any ideas?

Quote:
Sorry, cached version unavailable
[/home/thronefi/public_html/armyselite/forum/tmp/051ee9e08c914135a8a71d4c7c776738.xml]
We are currently unable to display results from our cached results container. Please try again in a couple of minutes.
Reply With Quote
  #58  
Old 05-28-2008, 07:57 PM
Chirag patel Chirag patel is offline
 
Join Date: May 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just as an idea...

Can I install this mod in vulletin and then have only three posts display on my front page of the fourm?
Reply With Quote
  #59  
Old 06-21-2010, 12:45 PM
jgruberman jgruberman is offline
 
Join Date: Apr 2009
Location: Dallas, TX
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

CMPS module coming for this?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:38 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06509 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete