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
vBISpy module - live AJAX feed of new threads - for vBAdvanced CMPS Details »»
vBISpy module - live AJAX feed of new threads - for vBAdvanced CMPS
Version: 1.01, by MPDev MPDev is offline
Developer Last Online: Dec 2016 Show Printable Version Email this Page

Category: Portal Software - Version: 3.6.0 Rating:
Released: 09-11-2006 Last Update: 09-27-2006 Installs: 110
Template Edits
 
No support by the author.

This is my first module for vBAdvanced, but its a simple one, so I don't expect any installation problems.

You can see an example of this working on:

ViperAlley.Com

You must already have a working copy of the vBIspy client v1.0.7 or better in place. (vB 3.5 users need v1.06 or better)

INSTALLATION

Add the vbispyblock.module to your vBAdvance portal - keep in mind the size of the block when you choose it's placement - if you use three columns, then really only the center column will work.

To install you should have a working copy of the VBIspy client already working on your system. Once you have one of the clients working adding vBIspy blocks to other pages becomes easier.

################################################## ################################
################################################## ################################

STEP 1

Because vBAdvanced CMPM usually resides outside of the forum directory, you will need to make one change to the clientscript/va_spy.js script that comes with vBIspy.

In va_spy.js, find:

Code:
var vburl = '';
and change this to read:

Code:
var vburl = '/forum/';
using the name of the directory your forums are in in place of "forum". This is important as otherwise the links from the vBIspy block will not resolve to the forum directory.

################################################## ################################
################################################## ################################

STEP 2

You will need to modify the 'adv_portal' template to add a few lines:

################################################## ################################

Find:

Code:
$headinclude
Add after:

Code:
<script language="javascript" src="{$vbulletin->options['bburl']}/clientscript/va_prototype.js"></script>
<script language="javascript" src="{$vbulletin->options['bburl']}/clientscript/va_effects.js"></script>
<script language="javascript" src="{$vbulletin->options['bburl']}/clientscript/va_spy.js"></script>
<script language="javascript">
    spymax = 10;
    highestid = 0;
</script>
################################################## ################################

Find:

Code:
$footer
Add after:

Code:
<script language="javascript">
    spyinit();
</script>
################################################## ################################

You are done. Activate the module and you should start seeing a live feed of threads on your portal page.

If you do not see an updating list of threads:

1) Double check that your vBIspy.php script is working properly!
2) Make sure you followed the above instructions.
3) If all else fails, open the JavaScript Console in Firefox and see what errors you might be getting.

1.0.1 - 9.28.06
Modified template for module to support 1.0.12 release of vBIspy (you can modify your template manually from this post; but you also need to note the changes to the spymax and addition of the highestid variable to be changed in your adv_portal template).

Show Your Support

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

Comments
  #162  
Old 03-25-2007, 08:51 AM
Strike3ForumsMH Strike3ForumsMH is offline
 
Join Date: May 2005
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also got the same error with this.
Reply With Quote
  #163  
Old 03-27-2007, 06:38 PM
Invalid ID's Avatar
Invalid ID Invalid ID is offline
 
Join Date: Apr 2006
Location: Karachi. Pakistan
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think this Mod does not work
Reply With Quote
  #164  
Old 04-03-2007, 12:22 PM
stud stud is offline
 
Join Date: May 2004
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's a shame... MPDev used to be soo helpful.

This is quite possibly THE most important and useful CMPS module in existence... and NO ONE knows how to remedy what is likely something simple like a missing command or formatting issue?!
Reply With Quote
  #165  
Old 04-03-2007, 07:28 PM
Invalid ID's Avatar
Invalid ID Invalid ID is offline
 
Join Date: Apr 2006
Location: Karachi. Pakistan
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I agree.
Reply With Quote
  #166  
Old 04-03-2007, 07:45 PM
Trana Trana is offline
 
Join Date: Apr 2005
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stud View Post
it's a shame... MPDev used to be soo helpful.

This is quite possibly THE most important and useful CMPS module in existence... and NO ONE knows how to remedy what is likely something simple like a missing command or formatting issue?!
Agreed!

So let's take this discussion to the VBAdvanced board and solicit someone to get it to work! I would personally chip in to get it to work right.

Thoughts?
Reply With Quote
  #167  
Old 04-03-2007, 08:14 PM
Invalid ID's Avatar
Invalid ID Invalid ID is offline
 
Join Date: Apr 2006
Location: Karachi. Pakistan
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, please do it
Reply With Quote
  #168  
Old 04-04-2007, 12:17 AM
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Location: Virginia
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry guys, I've tried to be as helpful as I can not knowing vBadvanced that well. I had it working on my site and exported the module, but that was the extent of my ability to make it work. The code itself should work just fine, I just dont know how to wrap it up as a module for it to be imported.

I did another export of the file from my current setup which you can try; it works on my current setup with 3.6.4 and vBadvanced. You may need to change the path in the file if you don't use "/forum/vaispy.php"; otherwise the instructions in the original post apply.
Reply With Quote
  #169  
Old 04-04-2007, 12:33 AM
Trana Trana is offline
 
Join Date: Apr 2005
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MPDev View Post
Sorry guys, I've tried to be as helpful as I can not knowing vBadvanced that well. I had it working on my site and exported the module, but that was the extent of my ability to make it work. The code itself should work just fine, I just dont know how to wrap it up as a module for it to be imported.

I did another export of the file from my current setup which you can try; it works on my current setup with 3.6.4 and vBadvanced. You may need to change the path in the file if you don't use "/forum/vaispy.php"; otherwise the instructions in the original post apply.
It's not just the module issue that is a problem. A LOT of people were able to install it but never see any posts.
Reply With Quote
  #170  
Old 04-04-2007, 12:04 PM
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Location: Virginia
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alot of people were also trying to modify it; and that's where most people will quickly get themselves messed up if they don't know where to make all their changes. I can help with the module and code as it is, but once you start changing it, then its out of my hands.
Reply With Quote
  #171  
Old 04-04-2007, 01:49 PM
stud stud is offline
 
Join Date: May 2004
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the response MPDev!! ... the problems seem completely random.


a. I did a completely fresh install of VaSpy. It currently works when loaded in it's own window.
(http://<<mywebsite.com>>/forum/vaispy.php)


b. I uploaded this new module you attached, unmodified - and it actually uploads! It gives the following message:
Quote:
The following template(s) already exist in this style:
adv_portal_vbispy
Select 'yes' to overwrite your current templates with the new ones, or select no to keep your current templates.
To which, I said yes. It looks to be successful, except it DOES NOT show any information on the module.



c. If i attempt to make an edit, such as changing:
<a href="/forum/vaispy.php">
to
<a href="http://<<mywebsite.com>>/forum/vaispy.php">

It gives the error "The file you have uploaded is not a valid module file."

So it appears it somehow isn't pulling the thread data for the module, meanwhile vaispy.php IS working properly and is in the same default location of /forum/vaispy.php

Is it possible there are templates or phrases from previous installs that could be causing conflict?!
(i've been a user of your vaispy since version 1)
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 09:38 AM.


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.10304 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
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
  • (6)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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