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 |
#212
|
||||
|
||||
Yea it give a database error no matter which way I try to add this by either uploading it or creating it through the vba admincp.
Can someone help here? |
#213
|
||||
|
||||
To get rid of the double boxes use this verison
1. Login to your vb-cp 2. Under vba cmps click "add module" 3. Select "Template" 4. Fill in module title, can be anything 5. Fill in template to include: adv_portal_vBiSpy 6. Select style you want to install. 7. Paste the following in template content: Code:
<tr> <td class="$bgclass"> <if condition="is_browser('opera')"> <table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" id="spy_table"> <tr><td colspan="4" class="tcat smallfont" align="left" style="height:25px;"><strong>» <a href="/forum/live.php"></a></strong></td></tr> <tr><td width="20" class="tcat" nowrap="nowrap" style="height:25px;"> </td> <td class="tcat" width="190" nowrap="nowrap" style="height:20px;">By</td> <td class="tcat" width="80%" style="height:20px;">Thread/Post</td> <td class="tcat" width="200" nowrap="nowrap" style="height:20px;">Forum </tr> <tr><td colspan="4" class="alt1"> <div id="row1" style="display:none;"></div> <div id="row2" style="display:none;"></div> <div id="row3" style="display:none;"></div> <div id="row4" style="display:none;"></div> <div id="row5" style="display:none;"></div> <div id="row6" style="display:none;"></div> <div id="row7" style="display:none;"></div> <div id="row8" style="display:none;"></div> <div id="row9" style="display:none;"></div> <div id="row10" style="display:none;"></div> </td></tr> </table> <else /> <table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" id="spy_table"> <thead> <a href="/forum/live.php"></a> <tr align="center"><td class="thead" width="20"> </td><td class="thead" width="190">By</td><td class="thead">Thread/Post</td><td class="thead" width="190">Forum</td></tr> </thead> <tbody class="alt1"> <tr id="row1"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row2"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row3"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row4"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row5"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row6"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row7"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row8"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row9"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row10" class="spyfade4"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> </tbody> </table> </if> <input type="checkbox" id="subscribe" value="1" /> Click for subscribed threads only! </td> </tr> to view an example of this code working go to http://keyhunterz.com |
#214
|
||||
|
||||
Any chance to make this hack for vbportal?
|
#215
|
|||
|
|||
has anyone got this to work on 3.7?
I followed keyhunterz instructions, because the upload gave me a db error, but all I'm seeing is the box. just a blank box. |
#216
|
|||
|
|||
Ah...you guys are ALL going to love me!!!
Found out the issue. The following instructions will achieve the following:
STEP ONE: Open va_spy.js and find: Code:
var vburl = ''; Code:
var vburl = '/forum/'; STEP TWO: 1. Login to your vb-cp 2. Under vba cmps click "add module" 3. Select "Template" 4. Fill in module title, can be anything 5. Fill in template to include: adv_portal_vBiSpy 6. Select style you want to install. 7. Paste the following in template content, replacing what's in RED (4 Instances) with your information: Code:
<tr> <td class="$bgclass"> <if condition="is_browser('opera')"> <table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" id="spy_table"> <thead> <a href="ENTER FULL URL/vaispy.php"></a> <tr align="center"><td class="thead" width="20"> </td><td class="thead" width="190">By</td><td class="thead">Thread/Post</td><td class="thead" width="190">Forum</td></tr> </thead> <tr><td colspan="4" class="alt1"> <div id="row1" style="display:none;"></div> <div id="row2" style="display:none;"></div> <div id="row3" style="display:none;"></div> <div id="row4" style="display:none;"></div> <div id="row5" style="display:none;"></div> <div id="row6" style="display:none;"></div> <div id="row7" style="display:none;"></div> <div id="row8" style="display:none;"></div> <div id="row9" style="display:none;"></div> <div id="row10" style="display:none;"></div> </td></tr> <td class="thead" colspan="2" align="left"><input type="checkbox" id="subscribe" value="1" /> Click for subscribed threads only!</td><td class="thead" colspan="2" align="right"><a href="ENTER FULL URL/vaispy.php">Click here to view Full Page</a></td> </table> <else /> <table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" id="spy_table"> <thead> <a href="ENTER FULL URL/vaispy.php"></a> <tr align="center"><td class="thead" width="20"> </td><td class="thead" width="190">By</td><td class="thead">Thread/Post</td><td class="thead" width="190">Forum</td></tr> </thead> <tbody class="alt1"> <tr id="row1"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row2"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row3"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row4"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row5"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row6"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row7"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row8"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row9"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> <tr id="row10" class="spyfade4"><td align="center"> </td><td> </td><td> </td><td align="center"> </td></tr> </tbody> <td class="thead" colspan="2" align="left"><input type="checkbox" id="subscribe" value="1" /> Click for subscribed threads only!</td><td class="thead" colspan="2" align="right"><a href="ENTER FULL URL/vaispy.php">Click here to view Full Page</a></td> </table> </if> </td> </tr> STEP THREE: Open adv_portal template and find this: Code:
$headinclude Code:
<script language="javascript" src="ENTER FULL URL/clientscript/va_prototype.js"></script> <script language="javascript" src="ENTER FULL URL/clientscript/va_effects.js"></script> <script language="javascript" src="ENTER FULL URL/clientscript/va_spy.js"></script> <script language="javascript"> spymax = 10; highestid = 0; </script> Code:
$footer Code:
<script language="javascript"> spyinit(); </script> I am using vBAdvanced 3.0.1 and vBulletin 3.7.0 Gold |
#217
|
|||
|
|||
is there a module available for vBa CMPS v2.1.0 sitting on vBulletin 3.5.4 ????
when i upload the module it is reported as 'not valid' which i guess is due to my older versions.. tia.. |
#218
|
|||
|
|||
anyone..?
|
#219
|
|||
|
|||
Did you try mine? post #215
|
#220
|
||||
|
||||
I tried your version and still no joy.
So I thought about using an iframe to display it. it displays but it breaks my style by removing the footer and 3rd column. i'm not sure why this is happening? adv_portal_vBiSpy Code:
<tr> <td class="$bgclass"> <IFRAME SRC = "http://www.laserenthusiast.com/forums/vBIspy.php" width="100%" height="450" scrolling="yes"> </td> </tr> |
#221
|
|||
|
|||
Anyone want to do some custom work on this mod for me? I need it to match the CMPS recentthreads.php module in style and format. It needs to support the post icons as well.
I'll pay if you can get it to work. PM me for more info. Thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|