vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Portal Software - vBISpy module - live AJAX feed of new threads - for vBAdvanced CMPS (https://vborg.vbsupport.ru/showthread.php?t=126421)

yotsume 03-11-2008 10:44 PM

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?

KeyHunterz 03-22-2008 05:34 PM

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>&raquo; <a href="/forum/live.php"></a></strong></td></tr>
<tr><td width="20" class="tcat" nowrap="nowrap" style="height:25px;">&nbsp;</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">&nbsp;</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">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row2"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row3"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row5"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row6"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row7"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row8"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row9"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row10" class="spyfade4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
</tbody>
</table>

</if>

<input type="checkbox" id="subscribe" value="1" /> &nbsp; Click for subscribed threads only!

</td>
</tr>

8 Change "live.php" in the code above to "vaispy.php" or whatever you change the name to.

to view an example of this code working go to http://keyhunterz.com

bada_bing 03-29-2008 05:08 PM

Any chance to make this hack for vbportal?

dancue 05-16-2008 01:14 AM

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.

dancue 05-16-2008 02:00 AM

Ah...you guys are ALL going to love me!!!

Found out the issue.

The following instructions will achieve the following:
  • Compatible with the latest version of vBulletin. (3.7 Gold)
  • Add a link to the bottom of the module, on the right side, allowing you to go to the full page of your vBIspy.
  • Includes corrected issues for Opera.
  • Includes Corrected code to get rid of double boxes, by keyhunters. NOW, also corrected for Opera.

STEP ONE:
Open va_spy.js and find:
Code:

var vburl = '';
Replace it with this: (replacing what's in red with the directory of your forums)
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">&nbsp;</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" /> &nbsp; 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">&nbsp;</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">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row2"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row3"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row5"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row6"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row7"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row8"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row9"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
<tr id="row10" class="spyfade4"><td align="center">&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td align="center">&nbsp;</td></tr>
</tbody>

<td class="thead" colspan="2" align="left"><input type="checkbox" id="subscribe" value="1" /> &nbsp; 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
add below: (Replacing what's in red with your information)
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>

Find:
Code:

$footer
Add Below:
Code:

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

Almost every time I have an issue with something not working on a vbadvanced script I have to enter the full url. I tried it on this, and voila!!

I am using vBAdvanced 3.0.1 and vBulletin 3.7.0 Gold

dizzine 05-16-2008 01:36 PM

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..

dizzine 05-27-2008 09:58 AM

anyone..?

dancue 05-28-2008 01:21 AM

Did you try mine? post #215

Harley D 05-28-2008 09:08 PM

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>

I've also have been attempting to remove the skins header and footer, but for some reason editing out the $header & $footer has no effect?

Trana 05-28-2008 09:47 PM

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.


All times are GMT. The time now is 08:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01363 seconds
  • Memory Usage 1,790KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete