The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBISpy module - live AJAX feed of new threads - for vBAdvanced CMPS Details »» | |||||||||||||||||||||||||||
vBISpy module - live AJAX feed of new threads - for vBAdvanced CMPS
Developer Last Online: Dec 2016
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 = ''; Code:
var vburl = '/forum/'; ################################################## ################################ ################################################## ################################ STEP 2 You will need to modify the 'adv_portal' template to add a few lines: ################################################## ################################ Find: Code:
$headinclude 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 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
|
Comments |
#92
|
|||
|
|||
This module will only work with vbaspy 1.0.12 if you require previous modules pm me.
Can anyone who is having a problem with the upload of the module try this one I have attached here. I have changed code to give what I believe is the best solution ( Have not touched the opera code yet!) I have deleted and uploaded this module through the ACP countless times and it has loaded every time. I am running vB 3.6.2 on vBa CMPS 2.2.0 I have also installed it to a custom skin all works good, formatting looks good, fixed what i believe were errors on the html side. Tested in IE 6 and FF 1.5.0.7 live demo in my sig, let me know any problems, but i am sure you will Install follow directions by MPDev as per top of this page, unzip and upload module in ACP through vBa cmps upload/download module option. The only change you may need to make is the directory of vaispy, it is currently setup as forums/vaispy.php to change this go to edit module and change the option, module link. |
#93
|
|||
|
|||
Quote:
I'm not trying to install it again, its uninstalled. Its not worth my time to get it working. thanks for trying! |
#94
|
||||
|
||||
Sorry, Dave; wish I could be of more help.
|
#95
|
|||
|
|||
Great stuff, took a bit of messing with the template till i got it how i wanted it but hey nothing is ever easy is it
|
#96
|
||||
|
||||
Don't forget to click install!
|
#97
|
|||
|
|||
Ok, I have my vBAdvanced and forums on two different domains. I cannot for the life of me figure out how to get your mod to work. I've spent probably a good hour or more trying...
I had to use the above user posted module file to even install it as yours wouldn't work. I still cannot get it to work. vaispy.php works fine, however. vB v3.6.2 CMPS v2.2.1 |
#98
|
|||
|
|||
Quote:
I reckon it should be this Code:
var vburl = '/forums/'; |
#99
|
|||
|
|||
It's set to var vburl = 'http://forums.domainname.com/';
The vaispy page works fine though... The home page with CMPS is www.domainname.com and the forums are on forums.domainname.com When you say full path... you mean like /home/user/public_html/ ??? |
#100
|
|||
|
|||
Ok, I've made that change - either or, full file path or url the vaispy.php still works from the forums url, but the module does not work.
|
#101
|
|||
|
|||
says
The file you have uploaded is not a valid module file. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|