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 |
#222
|
|||
|
|||
Quote:
|
#223
|
|||
|
|||
oops. I've edited my post.
|
#224
|
|||
|
|||
i have increased the number of displayed posts to 20 in the .js file but my module box will not increase in height above 10 posts..!
anyone know what the problem could be..or how i can force the height value in the .php/template..? many thanks.. |
#225
|
||||
|
||||
Still doesn't work for me even with dancue's recent post. Everything displays correctly no javascript errors but it does not load the content.
|
#226
|
|||
|
|||
Hi,
I tired it many hours without any success. But finally it works for me. My forum is 3.7.3 and vBa 3.0.1 check out http://forum.xbox-offensive.eu what I did: first: Do not change the line in step 1 var vburl = ''; leave it as it is! second: now do the second step, there has nothing changed and third and last step: add a new module in your admin panel as you see in post number #212 now it shows me my content without any problems |
#227
|
|||
|
|||
ive seen that some forums got for example 10 topics, but only 2 are "sliding in"...how can i change that ?
the number of postings that are static and the new ones are updated live ? so for the first visit ? you know whatta mean ? |
#228
|
|||
|
|||
i tried vBulletin 3.7.4 PL1 with vBAdvance CMPS 3.1 (latest), vBulletin 3.7.4 PL1 with vBAdvance CMPS 3.0.1 & vBulletin 3.6.8 PL2 with vBAdvance CMPS 2.2.1
but the result is same. when i tried to upload the *.module file of vBISpy module - live AJAX feed of new threads - for vBAdvanced CMPS, it shows The file you have uploaded is not a valid module file. what should i do ? |
#229
|
|||
|
|||
I've upgraded my forum to 3.8 and it is working just fine with my corrections.
For those of you who have tried it before and not got it to work, you should retry following my directions because I have found some mistakes in the original post. Here is the fix for people who want this on there CMPS. For those of you who want to see a live demo click here. |
#230
|
|||
|
|||
|
#231
|
|||
|
|||
Quote:
The module file dosn't work with later versions of vb advanced it seems. I like you figured out how to add it manually and to save other people the trouble, heres an XML module file that i exported from my working setup. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|