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)

Spikeman 09-22-2006 05:40 PM

I have installed mod and it works perfectly, however, I have my whole site wrapped in vBa which now becomes a problem.
I have 2 pages within vBa, the first shows my front page(index) with most of the modules including vbispy module, this page works fine.
The second page wraps all the forum pages inluding a links directory which works fine with the vbispy module installed, however i do not want vbispy on every page in my site just the front page.
So, I disable vbispy on second page (turn off module) which works, however I get the dreaded yellow triangle showing javascript error!! I know the error is the vBispy script in the header of vba portal calling for the object.

Any ideas on a fix, site works in firefox and shows no error ie gives me the yellow triangle but the site works, I have for the moment uninstalled the vBa side of vbispy as i will not have javascript erros in my site, call it my OCD :)

Any suggestions welcomed, but i do want to use vbispy within vBa.

oh and please do not say go to vBa site as i have spent enough wasted time waiting for replies there!

MPDev 09-23-2006 04:14 PM

I don't know enough about vBa to tell you what to do; but can you put a condition tag around the include for the va_*.js files in the vbadvanced header so that those are only included on a specific page (like 'index')?

Spikeman 09-24-2006 04:53 AM

Quote:

Originally Posted by MPDev
I don't know enough about vBa to tell you what to do; but can you put a condition tag around the include for the va_*.js files in the vbadvanced header so that those are only included on a specific page (like 'index')?

I did not think about that :ermm: I will give that a try and get back to you, thanks.

MPDev 09-26-2006 02:00 AM

Correction below.

MPDev 09-26-2006 11:20 AM

For the new release, the template adv_portal_vbispy should be replaced with:

Code:

<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/vaispy.php">Live Forum Updates</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>
<tr><td colspan="4" class="tcat smallfont" align="left" colspan="4"><strong>&raquo; <a href="/forum/vaispy.php">Live Forum Updates</a></strong></td></tr>
<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; subscribed theads only


Trana 09-26-2006 08:36 PM

This doesn't seem to be working for me. I made the file edit and added the template changes. Also I replaced the template with the post above, still nothing. My vbispy self contained page loads fine.

G_Man 09-26-2006 11:02 PM

Quote:

Originally Posted by Trana
This doesn't seem to be working for me. I made the file edit and added the template changes. Also I replaced the template with the post above, still nothing. My vbispy self contained page loads fine.


ditto.

MPDev 09-27-2006 11:10 AM

Make sure your vburl variable in va_spy.js is filled in properly:

For example:

var vburl = '/theforum/';

not:

var vburl = 'theforum';

G_Man 09-27-2006 11:31 AM

Quote:

Originally Posted by MPDev
Make sure your vburl variable in va_spy.js is filled in properly:

For example:

var vburl = '/theforum/';

not:

var vburl = 'theforum';

Yeah... goofed this last time, but changed it and no difference.

maroceve 09-27-2006 11:38 AM

same problem as Gman

Still points to forum/...instead of forums/...


All times are GMT. The time now is 11:58 AM.

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.01422 seconds
  • Memory Usage 1,751KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_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